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

Re: Using hamm? READ THIS about /usr/spool and related links...

On Wed, 11 Feb 1998, Craig Sanders wrote:

> On Tue, 10 Feb 1998, Santiago Vila Doncel wrote:
> > But then: How will we know which programs do not use /var/spool yet?
> > The answer is very simple: Just remove the symlinks and see which programs
> > break. Of course, this has to be done in *unstable*, where every
> > program may break.
> > 
> > So if a program breaks because it uses /usr/spool, *that* is a bug.
> how about this as a start:
>     #!/bin/sh
>     for i in /bin /sbin /sbin /usr/sbin /usr/X11R6/bin [...etc...] ; do
>         for j in $i/* ; do
>             strings -a $j | grep -q "/usr/spool" && echo $j uses /usr/spool
>         done
>     done

here's what a similar loop run on my /usr/bin reports:

# cd /usr/bin
# for i in * ; do strings -a $i | grep -q "/usr/spool" && echo $i uses /usr/spool ; done
Broken pipe
epic4 uses /usr/spool
mailserver uses /usr/spool
Broken pipe
ncftp uses /usr/spool
nn uses /usr/spool
nnbatch uses /usr/spool
nncheck uses /usr/spool
nngrep uses /usr/spool
nnpost uses /usr/spool
nntidy uses /usr/spool
nnview uses /usr/spool
Broken pipe
pine uses /usr/spool
strings: smath: Too many levels of symbolic links
sortmail uses /usr/spool
Broken pipe
xemacs uses /usr/spool
Broken pipe
xemacs-20.2 uses /usr/spool

the "broken pipe" messages are presumably from binaries with no strings in

on my system, /usr/bin/smath is a symlink to /etc/alternatives/smath.
/etc/alternatives/smath is a symlink to /usr/bin/smath. i suppose
it's a good think i don't use smath for anything :-). smath is from
staroffice. it's installed weirdly on my systems...i have it installed
on kali.taz.net.au and have /usr/lib/StarOffice3.1 nfs mounted on my
workstation siva.taz.net.au because kali has gobs of free disk space and
i built siva with a way-too-small /usr partition a long time ago.

it may be necessary for bug reports to be filed against the other
packages - depends on whether they are written to only use /usr/spool
or if the string is in there because they can use it as a second-choice
alternative to /var/spool.


craig sanders

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: