Hallo,
on https://bugzilla.redhat.com/show_bug.cgi?id=501130 the submitter of a review request has posted the following coment:
Well, /usr/lib/rpm/platform/i586-linux/macros from rpm-4.6+ shows following:
%_initddir %{_sysconfdir}/rc.d/init.d # Deprecated misspelling %_initrddir %{_initddir}
For clarification I want to ask for the current status of using _initrddir versus _initddir on the packaging guildelines.
Best Regards:
Jochen Schmitt
Jochen Schmitt (Jochen@herr-schmitt.de) said:
Hallo,
on https://bugzilla.redhat.com/show_bug.cgi?id=501130 the submitter of a review request has posted the following coment:
Well, /usr/lib/rpm/platform/i586-linux/macros from rpm-4.6+ shows following:
%_initddir %{_sysconfdir}/rc.d/init.d # Deprecated misspelling %_initrddir %{_initddir}
For clarification I want to ask for the current status of using _initrddir versus _initddir on the packaging guildelines.
Honestly? I'd say use neither, as _sysconfdir is an overridable macro, and if you actually use either _initrddir or _initddir in the case where _sysconfdir is overriden, your script won't work, at all.
(That being said, _initddir is more correct, as the scripts aren't initrds.)
Bill
Bill Nottingham schrieb:
Jochen Schmitt (Jochen@herr-schmitt.de) said:
Hallo,
on https://bugzilla.redhat.com/show_bug.cgi?id=501130 the submitter of a review request has posted the following coment:
Well, /usr/lib/rpm/platform/i586-linux/macros from rpm-4.6+ shows following:
%_initddir %{_sysconfdir}/rc.d/init.d # Deprecated misspelling %_initrddir %{_initddir}
For clarification I want to ask for the current status of using _initrddir versus _initddir on the packaging guildelines.
Honestly? I'd say use neither, as _sysconfdir is an overridable macro, and if you actually use either _initrddir or _initddir in the case where _sysconfdir is overriden, your script won't work, at all.
(That being said, _initddir is more correct, as the scripts aren't initrds.)
If so, it may be nice, if someone can correct
https://fedoraproject.org/wiki/Packaging/RPMMacros
for clarification.
Best Regards:
Jochen Schmitt
On 05/19/2009 11:38 AM, Jochen Schmitt wrote:
If so, it may be nice, if someone can correct
https://fedoraproject.org/wiki/Packaging/RPMMacros
for clarification.
Corrected.
~spot
Tom "spot" Callaway wrote, at 05/20/2009 12:44 AM +9:00:
On 05/19/2009 11:38 AM, Jochen Schmitt wrote:
If so, it may be nice, if someone can correct
https://fedoraproject.org/wiki/Packaging/RPMMacros
for clarification.
Corrected.
~spot
Then would you correct this? https://fedoraproject.org/wiki/Packaging/SysVInitScript#Initscripts_on_the_f...
Regards, Mamoru
On 05/19/2009 12:17 PM, Mamoru Tasaka wrote:
Tom "spot" Callaway wrote, at 05/20/2009 12:44 AM +9:00:
On 05/19/2009 11:38 AM, Jochen Schmitt wrote:
If so, it may be nice, if someone can correct
https://fedoraproject.org/wiki/Packaging/RPMMacros
for clarification.
Corrected.
~spot
Then would you correct this? https://fedoraproject.org/wiki/Packaging/SysVInitScript#Initscripts_on_the_f...
Done.
~spot
On Tuesday 19 May 2009, Tom "spot" Callaway wrote:
On 05/19/2009 12:17 PM, Mamoru Tasaka wrote:
Tom "spot" Callaway wrote, at 05/20/2009 12:44 AM +9:00:
On 05/19/2009 11:38 AM, Jochen Schmitt wrote:
If so, it may be nice, if someone can correct
https://fedoraproject.org/wiki/Packaging/RPMMacros
for clarification.
Corrected.
~spot
Then would you correct this? https://fedoraproject.org/wiki/Packaging/SysVInitScript#Initscripts_on_th e_filesystem
Done.
Note that _initddir doesn't exist in F-9 or any EL versions at the moment, it would be good to mention especially the latter.
See also https://bugzilla.redhat.com/455279
packaging@lists.fedoraproject.org