[opensuse-packaging] apparmor help
Hello, I'm working on upgrading syslog-ng from 2.0 to 3.0. My packages are available at http://download.opensuse.org/repositories/home:/czanik/openSUSE_11.2/ The current syslog-ng profile at /etc/apparmor.d/syslog-ng is for syslog-ng 2.0 and does not work for syslog-ng 3.0. I get: Mar 17 10:46:19 bigone112 syslog-ng[455]: Error opening control socket, bind() failed; socket='/var/run/syslog-ng.ctl', error='Address already in use (98)' First of all: is there anybody, who could help me to fix the apparmor profile? And of course I also have a packaging question: The apparmor profile file is not owned by syslog-ng, but by apparmor-profiles: bigone112:~ # rpm -qf /etc/apparmor.d/sbin.syslog-ng apparmor-profiles-2.3-50.2.noarch What is the proper way of packaging a new /etc/apparmor/sbin.syslog-ng, if I want to provide syslog-ng packages for 11.1, 11.2 and factory? Bye, CzP -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-03-17 11:22:43 +0100, Peter Czanik wrote:
I'm working on upgrading syslog-ng from 2.0 to 3.0. My packages are available at http://download.opensuse.org/repositories/home:/czanik/openSUSE_11.2/
The current syslog-ng profile at /etc/apparmor.d/syslog-ng is for syslog-ng 2.0 and does not work for syslog-ng 3.0. I get: Mar 17 10:46:19 bigone112 syslog-ng[455]: Error opening control socket, bind() failed; socket='/var/run/syslog-ng.ctl', error='Address already in use (98)' First of all: is there anybody, who could help me to fix the apparmor profile?
And of course I also have a packaging question: The apparmor profile file is not owned by syslog-ng, but by apparmor-profiles:
bigone112:~ # rpm -qf /etc/apparmor.d/sbin.syslog-ng apparmor-profiles-2.3-50.2.noarch
What is the proper way of packaging a new /etc/apparmor/sbin.syslog-ng, if I want to provide syslog-ng packages for 11.1, 11.2 and factory?
ping me on irc. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, 2010-03-17 12:28 keltezéssel, Marcus Rueckert írta:
And of course I also have a packaging question:
The apparmor profile file is not owned by syslog-ng, but by apparmor-profiles:
bigone112:~ # rpm -qf /etc/apparmor.d/sbin.syslog-ng apparmor-profiles-2.3-50.2.noarch
What is the proper way of packaging a new /etc/apparmor/sbin.syslog-ng, if I want to provide syslog-ng packages for 11.1, 11.2 and factory?
ping me on irc.
OK, which channel? BTW: part of the problem seems to be solved. Adding this line to the apparmor profile results in a working syslog-ng: @{CHROOT_BASE}/var/run/syslog-ng.ctl rw, But it is still a question, how to package it... Bye, CzP -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, Mar 17, 2010 at 12:35:59PM +0100, Peter Czanik wrote:
Hello,
2010-03-17 12:28 keltezéssel, Marcus Rueckert írta:
And of course I also have a packaging question:
The apparmor profile file is not owned by syslog-ng, but by apparmor-profiles:
bigone112:~ # rpm -qf /etc/apparmor.d/sbin.syslog-ng apparmor-profiles-2.3-50.2.noarch
What is the proper way of packaging a new /etc/apparmor/sbin.syslog-ng, if I want to provide syslog-ng packages for 11.1, 11.2 and factory?
ping me on irc.
OK, which channel? BTW: part of the problem seems to be solved. Adding this line to the apparmor profile results in a working syslog-ng: @{CHROOT_BASE}/var/run/syslog-ng.ctl rw, But it is still a question, how to package it...
Not sure if it works, but can you perhaps provide a /etc/apparmor.d/sbin.syslog-ng2 with /sbin/syslog-ng { ... } Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
2010-03-17 13:18 keltezéssel, Marcus Meissner írta:
But it is still a question, how to package it...
Not sure if it works, but can you perhaps provide a /etc/apparmor.d/sbin.syslog-ng2 with
/sbin/syslog-ng { ... }
No, it fails: bigone112:/etc/apparmor.d # rcapparmor start Loading AppArmor profiles /sbin/apparmor_parser: Unable to add "/sbin/syslog-ng". Profile already exists Profile /etc/apparmor.d/sbin.syslog-ng2 failed to load failed done Bye, CzP -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Marcus Meissner
-
Marcus Rueckert
-
Peter Czanik