The other implementation option would be to drop the dd upstart job for
good, and just let rsyslogd run as root if it detects that reading from
/proc/kmsg requires root.

Test case schema:

$ sudo python
[sudo] password for martin: 
>>> import os
>>> f=open('/proc/kmsg')
>>> os.seteuid(1000)
>>> f.read(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IOError: [Errno 1] Operation not permitted


** Changed in: rsyslog (Ubuntu Lucid)
   Importance: Undecided => Medium

** Tags added: ubuntu-boot

-- 
Drop the dd process
https://bugs.launchpad.net/bugs/517773
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to