Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487494 - app-admin/syslog-ng-3.4.2 fails to start with busybox sh
Summary: app-admin/syslog-ng-3.4.2 fails to start with busybox sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 468914
  Show dependency tree
 
Reported: 2013-10-10 07:11 UTC by Patrick Lauer
Modified: 2017-02-26 16:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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