perfsonar-user - Re: [perfsonar-user] owamp/twamp apparmor problem in lxd container
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Brian Candler <>
- To: "" <>
- Subject: Re: [perfsonar-user] owamp/twamp apparmor problem in lxd container
- Date: Sun, 1 Sep 2019 16:17:45 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:from:to :references:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=HUSKsT wNAq3pU80FMnsGuL2dgu5cgazvfUZRaRk7xoy1IScb+CchCUXbhltsLoH+cE2lyK 6zDXPL43R7V4v5eRduLoMsLvXJaK/tEZJwCjXF9KGSvBCOITURD4CIy21G1KVML7 GmmojBiTeEkSwd5flpFtBYI0OLTYyeFF7gPto=
Another permissions problem (again perfsonar 4.2 toolkit running under Ubuntu 18.04 in lxd container), seen in syslog:
Sep 1 01:05:03 perf1 systemd[1]: Stopping OWAMP server...
Sep 1 01:05:03 perf1 owampd[279]: FILE=owampd.c, LINE=1937, owampd: exiting...
Sep 1 01:05:03 perf1 owampd[279]: FILE=owampd.c, LINE=1984, owampd: exited.
Sep 1 01:05:03 perf1 rsyslogd: file '/var/log/perfsonar/owamp.log': open error: Permission denied [v8.32.0 try http://www.rsyslog.com/e/2433 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for
suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for
suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for
suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for
suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for
suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for
suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
Sep 1 01:05:03 perf1 rsyslogd: action 'action 8' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for
suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
... further retries ...
In this case, I think the problem is with the file permissions, since rsyslogd is running as the "syslog" user not the "perfsonar" user:
# ls -l /var/log/perfsonar/owamp.log*
-rw-r--r-- 1 perfsonar perfsonar 0 Aug 31 12:29 /var/log/perfsonar/owamp.log
-rw-r--r-- 1 perfsonar perfsonar 0 Aug 31 12:27 /var/log/perfsonar/owamp.log.old
I could chown it, but I don't know how come it was created with owner 'perfsonar' in the first place.
Anyway, pretty minor, but I thought I'd point it out.
Regards,
Brian.
- Re: [perfsonar-user] owamp/twamp apparmor problem in lxd container, Brian Candler, 09/01/2019
Archive powered by MHonArc 2.6.19.