Petter Reinholdtsen wrote:
> [Michael Biebl]
>> Isn't this problematic (at least for start), as rsyslogd is in /usr
>> (because it uses libz)?
> 
> Yes.  You are right.  For starting, it should depend on $remote_fs as
> long as it need a mounted /usr/.  I did not think of that.  But to
> make sure it can start before /usr/ is mounted and after it is
> umounted, I would recommend moving it to /(s)bin/.

That would only be possible if libz was moved to /lib (which I can't
decide).
Also, there are plugins for rsyslog (like mysql or postgresql support),
which definitely require a mounted /usr, and those libs will surely  not
be moved to /lib.
Right now, those plugins are in separate packages, so the rsyslog core
package (minus libz) could be installed to /sbin.
Problem is, that the LSB header is static (definitely a limitation of
this spec!). What would be required, is dynamic dependencies (i.e. if
plugin-foo is installe $remote_fs is require, otherwise $local_fs).

I don't see, how I can achieve what you want (given the plugin nature of
rsyslog) within our current limited init system.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to