A bit more info:
Ubuntu raring with quantal packages (version 7.5.5-0adiscon2), executing
reload as syslog works, as myself it doesn't:
ubuntu@ip-10-238-198-103:~$ sudo -u syslog reload rsyslog
ubuntu@ip-10-238-198-103:~$ reload rsyslog
reload: Operation not permitted
ubuntu@ip-10-238-198-103:~$
Ubuntu saucy with saucy packages (version 7.5.6-0adiscon2), executing
reload rsyslog as syslog or as myself does not work:
ubuntu@domU-12-31-39-06-75-11:~$ sudo -u syslog reload rsyslog
reload: Rejected send message, 1 matched rules; type="method_call",
sender=":1.273" (uid=101 pid=3814 comm="reload rsyslog ")
interface="com.ubuntu.Upstart0_6.Instance" member="Reload" error
name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart"
(uid=0 pid=1 comm="/sbin/init ")
ubuntu@domU-12-31-39-06-75-11:~$ reload rsyslog
reload: Rejected send message, 1 matched rules; type="method_call",
sender=":1.274" (uid=1000 pid=3815 comm="reload rsyslog ")
interface="com.ubuntu.Upstart0_6.Instance" member="Reload" error
name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart"
(uid=0 pid=1 comm="/sbin/init ")
ubuntu@domU-12-31-39-06-75-11:~$
looking at what rsyslog installs I can't even figure out how was
syslog user special before. Any ideas where to look?
erik
On 11/04/2013 01:45 PM, Erik Steffl wrote:
Packages from deb http://ubuntu.adiscon.com/v7-devel quantal/ (in quatal
or raring) user syslog could reload rsyslog (i.e. run 'reload rsyslog'
(upstart command))
This is no longer possible using saucy packages from deb
http://ubuntu.adiscon.com/v7-devel saucy/ (using currently (2013-11-04)
latest version 7.5.6-0adiscon2)
The error message is the regular message that a user gets when they do
not have permission to performa given upstart command:
reload: Rejected send message, 1 matched rules; type=\"method_call\",
sender=\":1.267\" (uid=101 pid=3686 comm=\"/sbin/reload rsyslog \")
interface=\"com.ubuntu.Upstart0_6.Instance\" member=\"Reload\" error
name=\"(unset)\" requested_reply=\"0\"
destination=\"com.ubuntu.Upstart\" (uid=0 pid=1 comm=\"/sbin/init \")
Is this intented change? Bug?
thanks,
erik
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.