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

Re: LSB Spec 1.0 Criticism



Anthony Towns <aj@azure.humbug.org.au> wrote:

> LSB compliant packages have to "adhere to the FHS 2.2". Does this
> mean they should put their files in /opt and /etc/opt? Or just that
> they can't put them in /FooCorp? If they have to put them in /opt and
> /etc/opt, should they install symlinks in /usr/bin so you can easily
> use their program?

Hi all,

sorry if this has been discussed before, but I really like Debian's way
of using /etc/alternatives as a place for variable symlinks.  Also, as
far as I understand the FHS, "/usr/local/bin" should be the place where
to install binaries to anyway, not "/usr/bin", right?

So I'd probably suggest a package to install as follows:

/opt/package/
/opt/package/bin/
/opt/package/bin/executable
/opt/etc/packagerc
/usr/local/bin/exectuable -> /etc/alternatives/executable
/etc/alternatives/executable -> /opt/package/bin/executable

Sorry if this is a dumb idea or has been discussed before - I just
joined the list.

-Jan

-- 
Jan Schaumann 
http://www.netmeister.org



Reply to: