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

Bug#548230: dropbear: configuration in /etc/<package> does not follow FHS



On Thu, 2009-09-24 at 21:36 +0300, Jari Aalto wrote:

> CONCERNING
> 
>     "dropbear: Please patch sources not to use /etc/dropbear/{log,run}"
>     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545242

Jari, it's not a big deal, but for something like this it might be
easier in the future if you re-assigned the existing bug to the
tech-ctte pseudo-package instead of creating a new bug number.

Gerrit, in reviewing the dropbear package source, I couldn't help but
wonder why /etc/dropbear/log/run specifies ./main as the log file?  That
motivates use of a symlink to point /etc/dropbear/log/main
to /var/log/dropbear.  Wouldn't it be simpler and cleaner to just
specify /var/log/dropbear as the last argument to svlogd in that script,
and thus avoid another level of useless indirection?

I don't immediately see any problem with the other files that are
delivered to /etc/dropbear from an FHS / Debian policy perspective.

Gerrit, in reviewing other instances of runit support, I do find some
inconsistency in where things are delivered.  The fact that dropbear is
delivering these files to /etc/dropbear but git-daemon-run
uses /etc/sv/git-daemon seems inconsistent to me, for example.  While
that's completely orthogonal to this request of the Tech Ctte, settling
on one approach might make it easier for others like me to read and
comprehend what's being delivered.

Bdale





Reply to: