Re: Incorrect suggestion in sysvinit packaging guide?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/02/2012 01:56 PM, Michel Alexandre Salim wrote:
> Hi,
> 
> The Packaging:SysVInitScript page on the wiki:
> 
> http://fedoraproject.org/wiki/Packaging:SysVInitScript#Initscripts_in_addition_to_systemd_unit_files
>
> 
> 
> has the following uninstall trigger example:
> 
> %triggerpostun -n packagename-sysvinit -- packagename < 1.0-2 
> /sbin/chkconfig --add httpd >/dev/null 2>&1 || :
> 
> That should probably be "%{_sbindir}/chkconfig --del packagename
>> /dev/null 2>&1 || :" ?
> 
> i.e. deleting, instead of adding, and not using httpd as the
> default example as that might be confusing (and not hard-coding
> /sbin given that it's an additional symlink to dereference in
> F-17+)
> 
> Not sure what the procedure is for updating packaging pages so I'm
> not making the change myself, just in case.
> 
Filed a ticket for this with FPC:

  https://fedorahosted.org/fpc/ticket/181

- -- 
Michel Alexandre Salim
Fedora Project Contributor: http://fedoraproject.org/

Email:  salimma@xxxxxxxxxxxxxxxxx  | GPG key ID: A36A937A
Jabber: hircus@xxxxxxxxxxxxx       | IRC: hircus@xxxxxxxxxxxxxxxx

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPyb0PAAoJEEr1VKujapN6NfAH/jcHtQxo+JHI9y0SLYP80WFw
c8wGvtYy1YJw6InBvJRsZ2Y8pZFLeNSiojXGnkldnw+Q87+urjmgNBuq150D3bF9
MrdvW1UgyDYShHQclQPfpvnHh407LZNoYWOHihm2oWQbl1PuBq9BKdSJlymylpEB
VLhUjQp6spMHOdsJySZK5WKT7t8PGVQqaFWPaicg2mP6CTmdE3UsgTA7GeFGeHhl
pSgva61zo5x8eW7OXECuQmHw04VyM90ifJouGvT+g+Cr4u15+RJFhG840ao3EZmD
IYw0hUM3TaSIZ05uX/RaVA1Yh3zjmCzq6Y5Ca0Y7nSIIwZEUMCQ8kNFJenzljME=
=G9t2
-----END PGP SIGNATURE-----
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux