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

Re: /usr boot time dependencies



On Fri, 15 Aug 2003, Michael K. Johnson wrote:

> That /usr is required to init IPv6 would be a bug.

Indeed.

[root 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.

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.

> We tend to fix this by looking at the whole problem, though -- we
> don't automatically move things out of /usr, we think about what
> else we can do.

Absolutely, / should not be bloated.

> > - 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.

> michaelkjohnson

regards,
-- 
Paul Jakma	paul clubi ie	paul jakma org	Key ID: 64A2FF6A
	warning: do not ever send email to spam dishone st
Fortune:
Politics, as a practice, whatever its professions, has always been the
systematic organisation of hatreds.
		-- Henry Adams, "The Education of Henry Adams"




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