Package: syslog-ng Version: 2.0.9-4.1 Severity: grave
In order to launch syslog-ng in non root pid user, there is 2 possibilities: First, option ---user=<user> and ---group=<group> on command line. This option are ok but on Debian Lenny, it is not possible to use it due to the fact that /etc/default/syslog-ng has no variable in order to support this feature. (note 1) Second, in configuration file, option owner and group If setting this feature, it seems that parameters are parsed correctly, but the process is not launched with this id. Test 1: ------- sudo /usr/sbin/syslog-ng --user u_syslog --group=grp_syslog -> ps auxww |grep syslog-ng u_syslog 22797 0.0 0.1 3048 1036 ? Ss 11:06 0:00 /usr/sbin/syslog-ng --user u_syslog --group=grp_syslog Behavior is correct except that not supported in standard configuration (look at note 1) Test 2: ------- -> grep _syslog /etc/syslog-ng/syslog-ng.conf dir_owner (u_syslog); dir_group (grp_syslog); owner (u_syslog); group (grp_syslog); -> sudo /etc/init.d/syslog-ng restart Stopping system logging: syslog-ng. Starting system logging: syslog-ng. -> ps auxww |grep syslog-ng root 23645 0.0 0.0 2904 720 ? Ss 11:10 0:00 /usr/sbin/syslog-ng -p /var/run/syslog-ng.pid lacroix 23660 0.0 0.1 3404 776 pts/2 S+ 11:10 0:00 grep syslog-ng as you can see, pid is launched with root access -- -------------------------------------- -- Jean-Marc LACROIX -- -- mailto : jeanmarc.lacr...@free.fr -- --------------------------------------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org