/usr boot time dependencies
Paul Jakma
paul at dishone.st
Wed Aug 20 01:28:52 UTC 2003
On Mon, 18 Aug 2003, Michael K. Johnson wrote:
> Since this is really a development discussion, please followup to
> rhl-devel-list. Thanks!
noted.
> > neither id nor uniq should be considered available before netfs and
> > autofs have run.
>
> OK, sort -u is the obvious answer IRT uniq.
well, the use of sort and grep in pipelines including awk always bugs
me a bit:
sysctl -a | awk '$0 ~ /^net\.ipv6\.conf\./ { split($1,a,/\./);
foo[a[4]] = a[4]; } END {asort(foo); for (i in foo) { if (foo[i] !=
"all" && foo[i] != "default") print foo[i];}}'
at a minimum, grep regex | awk '....' can nearly always trivially be
replaced with: awk '$0 ~ /regex/ ....' - grep | awk -> no! :)
> do_netreport will never need to call id if it doesn't exist, so
> ! -x /usr/bin/id -o ...
> should resolve that issue.
use the bash EUID builtin variable :)
> In either case, bugzilla. :-)
see:
102702 - tcp_wrappers install libwrap to /usr/lib
102703 - portmap links to /usr/lib/libwrap (comment refers to 102702)
102704 - portmap init script uses /usr/bin/id
102706 - initscripts network-functions uses uniq
> michaelkjohnson
thanks!
regards,
--
Paul Jakma paul at clubi.ie paul at jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam at dishone.st
Fortune:
In less than a century, computers will be making substantial progress on
... the overriding problem of war and peace.
-- James Slagle
More information about the fedora-devel-list
mailing list