FC more FHS clashes (was: BIND and FHS)

Tomasz Kłoczko kloczek at zie.pg.gda.pl
Mon Mar 6 23:31:56 UTC 2006


Dnia 06-03-2006, pon o godzinie 15:45 -0700, Dax Kelson napisał(a):
> On Mon, 2006-03-06 at 23:28 +0100, Tomasz Kłoczko wrote:
> 
> > BTW bind.
> > Anyone work on fix Fedora bind for make this package FHS compliant ?
> > Current base directory for bind files is /var/named and acording to FHS
> > specification it will be better use /var/lib/named.
> 
> That'd would be nice.
> 
> I write multi-distro "Linux" documentation I'm painfully aware of
> unneeded and trivial differences between distributions.
> 
> The "other" big distro does stick bind in /var/lib/named.
> 
> I'm not faulting Red Hat for /var/named/ though, as it does have 10+
> years of momentum behind it and when it was chosen most likely there was
> no standard location defined.

Current FC have much more FHS clashes with FHS.
More examples:

- many programs still uses /var/spool/mail,

# LANG= grep /var/spool/mail /usr/bin/* /usr/sbin/* /sbin/* /bin/*
Binary file /usr/bin/balsa matches
Binary file /usr/bin/balsa-ab matches
Binary file /usr/bin/epic matches
Binary file /usr/bin/epic-EPIC4-2.2 matches
Binary file /usr/bin/gkrellm matches
Binary file /usr/bin/incm matches
Binary file /usr/bin/korn matches
Binary file /usr/bin/mail.local matches
Binary file /usr/bin/omshell matches
/usr/sbin/ctl-hlfsd:elif [ -d /var/spool/mail/. ]; then
/usr/sbin/ctl-hlfsd:    maildir="/var/spool/mail"
Binary file /usr/sbin/dhcpd matches
Binary file /usr/sbin/dhcrelay matches
Binary file /sbin/dhclient matches

- many programs still uses /usr/sbin/sendmail
  instead /usr/lib/sendmail (acording to FHS on this path must be
  avaialible sendmail commandline compliant program and for save this
  complinace anly this path will be good use).

# LANG= grep /usr/sbin/sendmail /usr/bin/* /usr/sbin/* /sbin/* /bin/*
Binary file /bin/mail matches
/usr/bin/bashbug-64:elif [ -f /usr/sbin/sendmail ] ; then
/usr/bin/bashbug-64:    RMAIL="/usr/sbin/sendmail"
Binary file /usr/bin/bug-buddy matches
/usr/bin/cmail:    $MAILPROG    = "/usr/sbin/sendmail" if (   (-x
"/usr/sbin/sendmail")
/usr/bin/cvsbug:SENDMAIL="/usr/sbin/sendmail"
Binary file /usr/bin/emacs-21.4-nox matches
Binary file /usr/bin/emacs-21.4-x matches
Binary file /usr/bin/emacs-nox matches
Binary file /usr/bin/emacs-x matches
/usr/bin/flea:SENDMAIL=/usr/sbin/sendmail
Binary file /usr/bin/lynx matches
Binary file /usr/bin/Mail matches
Binary file /usr/bin/mailsettings matches
Binary file /usr/bin/mutt matches
Binary file /usr/bin/nex-nocanna matches
Binary file /usr/bin/nview-nocanna matches
Binary file /usr/bin/nvi-nocanna matches
Binary file /usr/bin/oldrdist matches
/usr/bin/perlbug:       for
(qw(/usr/lib/sendmail /usr/sbin/sendmail /usr/ucblib/sendmail)) {
Binary file /usr/bin/php matches
Binary file /usr/bin/php-cgi matches
Binary file /usr/bin/procmail matches
Binary file /usr/bin/rcs matches
Binary file /usr/bin/rdist matches
/usr/bin/rmail:SENDMAIL="/usr/sbin/sendmail"
/usr/bin/rmail.postfix:SENDMAIL="/usr/sbin/sendmail"
Binary file /usr/bin/slrn matches
Binary file /usr/bin/sudo matches
Binary file /usr/bin/sudoedit matches
Binary file /usr/bin/sylpheed matches
Binary file /usr/sbin/anacron matches
Binary file /usr/sbin/arpsnmp matches
Binary file /usr/sbin/arpwatch matches
Binary file /usr/sbin/atd matches
Binary file /usr/sbin/crond matches
Binary file /usr/sbin/postconf matches
Binary file /usr/sbin/postfix matches
Binary file /usr/sbin/visudo matches
Binary file /sbin/mdadm matches
Binary file /sbin/mdadm.static matches

Looks like there is no hardcoded /usr/sbin/sendmail and /var/spool/mail
paths in libraries (I'm not check DSO installed in %{_libdir}
subdirectories).

- now are used for example /var/{arpwatch,gdm,kerberos,racoon,tux} (this
  is probably not all).
  Acording to FHS all this directories must be /var/lib.

kloczek




More information about the fedora-devel-list mailing list