:: [devuan-dev] bug#952: openrc: syslo…
Top Page
Delete this message
Reply to this message
Author: Tom
Date:  
To: Mark Hindley, 952
Subject: [devuan-dev] bug#952: openrc: syslog-ng service fails to start
On 7/4/2026 18:35, Mark Hindley wrote:
> Control: tags -1 debian
>
> Hi,
>
> Thanks for this.
>
> I believe at least some of what you are reporting is Debian #1119659 which was
> fixed in 0.63-2.
>
> On Tue, Apr 07, 2026 at 01:38:53PM +1000, wirelessduck@??? wrote:
>> Package: openrc
>> Version: 0.56-1
>
> So with this version, 'service foo start' is expected to work correctly whereas
> 'rc-service foo start' is known not to update the openrc state correctly for LSB
> initscripts, so the output of rc-status can be incorrect.
>
> Can you confirm that syslog-ng really isn't running and logging anything?
>
> Mark


Hi Mark,

I can confirm that syslog-ng is not running at system startup.

I believe I may have found the cause of the issue, but I'm not sure
which package is at fault.

I was testing the various components in the openrc service startup
workflow and found `/usr/lib/rc/bin/lsb2rcconf`.

When I run `/usr/lib/rc/bin/lsb2rcconf /etc/init.d/syslog-ng` there is
no output.

If I run `/usr/lib/rc/bin/lsb2rcconf /etc/init.d/seatd` I get a
"description" string and "depend" function printed to the console.

Checking the diff between /etc/init.d/syslog-ng and other initscripts
showed that there is an extra `#` at the end of the last LSB header line.

https://sources.debian.org/src/syslog-ng/4.8.1-7/debian/syslog-ng-core.syslog-ng.init#L11

If I remove that trailing `#` then I can see syslog-ng in the output of
`rc-status`. Also after a reboot I can see syslog-ng starts up succesfully.

I am unable to determine whether this is either a bug in the
syslog-ng-core initscript for having invalid LSB header syntax, or if
the initscript is valid and openrc is failing to parse a valid LSB
header. Hopefully you can shed some light on that.

Thanks,
Tom