/usr boot time dependencies

Michael K. Johnson johnsonm at redhat.com
Mon Aug 18 13:40:35 UTC 2003


Since this is really a development discussion, please followup to
rhl-devel-list.  Thanks!

On Sat, Aug 16, 2003 at 04:18:57PM +0100, Paul Jakma wrote:
> On Fri, 15 Aug 2003, Michael K. Johnson wrote:
> 
> > That /usr is required to init IPv6 would be a bug.
> 
> Indeed.
> 
> [root at fogarty network-scripts]# egrep '\<(id|uniq)\>' *
> init.ipv6-global:               sysctl -a | grep "^net\.ipv6\.conf\." 
> | awk -F. '{ print $4 }' | sort | uniq | while read interface; do
> init.ipv6-global:               sysctl -a | grep "^net\.ipv6\.conf\." 
> | awk -F. '{ print $4 }' | sort | uniq | while read interface; do
> init.ipv6-global:               sysctl -a | grep "^net\.ipv6\.conf\." 
> | awk -F. '{ print $4 }' | sort | uniq | while read interface; do
> network-functions:        if [ "`id -u`" = "0" ]; then
> 
> neither id nor uniq should be considered available before netfs and
> autofs have run.

OK, sort -u is the obvious answer IRT uniq.

do_netreport will never need to call id if it doesn't exist, so
! -x /usr/bin/id -o ...
should resolve that issue.

> either these 2 utils should be installed to /bin, not /usr/bin (sort
> is installed to /bin) or network init scripts should not use them.

In these cases, the latter.

> > > - portmap resides in /bin but links to libwrap.so - which is in
> > > /usr/lib and may not be available.
> > 
> > Again, a bug one way or another.
> 
> I suggest either portmap should statically link libwrap, or 
> libwrap.so should install to /lib.

In either case, bugzilla.  :-)

michaelkjohnson

 "He that composes himself is wiser than he that composes a book."
 Linux Application Development                     -- Ben Franklin
 http://people.redhat.com/johnsonm/lad/





More information about the devel mailing list