Mailinglist Archive: opensuse-factory (1324 mails)

< Previous Next >
Re: [opensuse-factory] syslog-ng / apparmor issue
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Mon, 05 Oct 2015 08:43:57 +0200
  • Message-id: <mut67b$532$>
Per Jessen wrote:

Marcus Meissner wrote:

On Mon, Oct 05, 2015 at 08:27:33AM +0200, Per Jessen wrote:
Per Jessen wrote:

/sbin/syslog-ng is a symlink to /usr/sbin/syslog-ng.

To get syslog-ng to run, I went through starting it, then running
aa-genprof etc.
It seemed the profile was non-existent. When I run
"/usr/sbin/syslog-ng -F" from the command line, it doesn't pick up
the sbin.syslog profile, does it?

I copied sbin.syslog-ng to usr.sbin.syslog-ng, then tried starting

# /sbin/syslog-ng -F
Auto configuration failed
139651616061200:error:0200100D:system library:fopen:Permission
139651616061200:error:2006D002:BIO routines:BIO_new_file:system
139651616061200:error:0E078002:configuration file
routines:DEF_LOAD:system lib:conf_def.c:199:

# aa-genprof /usr/sbin/syslog-ng

/etc/apparmor.d/usr.sbin.syslog-ng contains no profile


You notice perhaps that you use /usr/sbin instead of /sbin/

Yes, I just use what the systemd unit uses too.

Sorry, I misread - yes, I used /sbin/syslog-ng, but that's only a
symlink to /usr/sbin/syslog-ng.

Per Jessen, Zürich (11.9°C) - your free DNS host, made in Switzerland.

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >