Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29038 - [syslog-ng] default config for DAEMON start Options

Attached to Project: Arch Linux
Opened by Thomas Lucke (Lucky) - Wednesday, 21 March 2012, 15:35 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 25 March 2012, 04:45 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
PROBLEM

In OpenVZ container:
On DAEMON start 2 messages:
syslog-ng: Error setting capabilities, capability management disabled; error='Operation not permitted'
---
/etc/cron.daily/logrotate:
syslog-ng: Error setting capabilities, capability management disabled; error='Operation not permitted'

SOLUTION
replace in /etc/rc.d/syslog-ng
"syslog-ng" with "syslog-ng --no-caps"

on Debian:
/etc/default/syslog-ng:SYSLOGNG_OPTS="--no-caps"

Additional info:
3.3.4-2

I don't like to replace stuff in the rc.d script, so please provide a default config file for add/chang DAEMON start Options like in Debian.
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 25 March 2012, 04:45 GMT
Reason for closing:  Fixed
Comment by Dave Reisner (falconindy) - Friday, 23 March 2012, 00:16 GMT
This is in testing.
Comment by Thomas Lucke (Lucky) - Friday, 23 March 2012, 03:20 GMT
Thanks, but i got on boot one error message because checkconfig use syslog-ng with caps. I need there also --no-caps, maybe this would be realise with a second variable?
Comment by Thomas Lucke (Lucky) - Sunday, 25 March 2012, 04:44 GMT
3.3.4-4 works as expected. Add --no-caps to the conf.d file silence OpenVZ container boot and on i686 system without any change like the old version.

So this "bug" is fixed and can now be closed.

Loading...