Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 487494

Summary: app-admin/syslog-ng-3.4.2 fails to start with busybox sh
Product: Gentoo Linux Reporter: Patrick Lauer <patrick>
Component: New packagesAssignee: Mr. Bones. (RETIRED) <mr_bones_>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 468914    

Description Patrick Lauer gentoo-dev 2013-10-10 07:11:09 UTC
using /bin/sh -> /bin/busybox:

localhost ~ # /etc/init.d/syslog-ng start
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ... [ ok ]
 * Starting syslog-ng ...start-stop-daemon: unknown user root:root
 * Failed to start syslog-ng
                                             [ !! ]
 * ERROR: syslog-ng failed to start
localhost ~ # ln -sf /bin/bash /bin/sh
localhost ~ # /etc/init.d/syslog-ng start
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ... [ ok ]
 * Starting syslog-ng ... [ ok ]
localhost ~ #
Comment 1 Patrick Lauer gentoo-dev 2013-10-10 07:29:59 UTC
Right, busybox has a built-in s-s-d which behaves a little bit differently.
Comment 2 Patrick Lauer gentoo-dev 2013-10-10 07:33:16 UTC
it works with -c instead of -u:

start_stop_daemon_args="-c ${SYSLOG_NG_USER}:${SYSLOG_NG_GROUP}"

And we already have a bug open for that whole class of problems #468914