On Wed, 2005-10-19 at 09:17 -0700, Dan Nicholson wrote:
> On 10/19/05, Andrew Benton <[EMAIL PROTECTED]> wrote:
> > Dan Nicholson wrote:
> > > Glancing through /usr/sbin on my system for BLFS
> > > packages, I see things such as sshd and usermod that I definitely want
> > > in root's path.  What about sftp-server?  I'm not sure if that should be
> > > called or not.  What about alsaconf and alsactl?
> >
> > alsactl is needed to restore volume levels after you reboot so it needs to 
> > be in roots path.
> 
> Thanks, but I really just wrote that to show an example.  As Tushar
> said in a different post in this thread, each package is going to have
> to be examined about what goes into sbin lib or lib/packagename.  It
> sounds like it could be a lot of extra work, and there would
> inevitably be arguments about sbin vs. lib/packagename similar to the
> /bin vs. /usr/bin arguments on LFS-dev.  But I suppose if the editor
> working on the package wants to hash out what goes where, I'll
> probably follow their instructions.

I didn't comment earlier, and should have.

Dan, what you are citing as examples are *not* installed via
libexecdir. The programs you cite: sshd, usermod, alsaconf, alsactl
are all installed *by default* to $PREFIX/sbin.

It is only the programs that are installed via libexecdir is what
we are proposing being moved. Please keep in mind that $PREFIX/sbin
is the default location for many programs that reside there. 
Pointing libexecdir somewhere else would have no effect on these.

As far as a lot of work, I would anticipate that as packages are
touched in one way or another, the change would be made. It would
be a gradual change to get it all done. I do agree that good 
discretion needs to be used in decided where libexecdir programs
should be installed.

But I'd bet a Coke that 19 out of 20 programs would belong in
/usr/lib/packagename. My belief is that you won't find many
libexecdir installed programs that should be run directly by the
root user.

-- 
Randy

rmlinux: [bogomips 3923.96] [GNU ld version 2.16.1] [gcc (GCC) 4.0.1]
[GNU C Library stable release version 2.3.5] [Linux 2.6.12.6 i686]
11:25:01 up 10 days, 20:34, 9 users, load average: 0.80, 0.28, 0.10

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to