RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ CHANGES macros.in

From: Jason Corley <jason.corley@gmail.com>
Date: Thu 10 Apr 2008 - 19:22:22 CEST
Message-ID: <3118d8de0804101022wa704da6qeb2b0c69eb457d21@mail.gmail.com>
On Thu, Apr 10, 2008 at 12:37 PM, Michael Jennings <mej@kainx.org> wrote:
> On Thursday, 10 April 2008, at 09:49:16 (+0200),
>
> Per ?yvind Karlsen wrote:
>
>  >   +%_initrddir                %{_sysconfdir}/rc.d/init.d
>
>  Can anyone explain to me why this macro is "initrddir" when
>  /etc/init.d and /etc/rc.d/init.d have absolutely nothing whatsoever to
>  do with the initial RAM disk?  Shouldn't it be "initdir?"

I've argued for removal of the macro numerous times (unsuccessfully)
based on the fact that initrddir conjures up kernels, not sysvinit.
My recollection is the same as JBJ's, historical typo compounded with
inertia (that is now official Fedora policy amusingly).  Given that
/etc/rc.d/init.d will not work for say anything conforming to FHS
(should be /etc/init.d), Solaris 10 (which uses SMF instead of
sysvinit), Free/NetBSD (rcNG/rc.d, respectively), and prolly a host of
others, I'd also recommend removal here as well.
Jason
Received on Thu Apr 10 19:22:26 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.