Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:12.2:PowerPC
systemd
support-sysvinit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File support-sysvinit.patch of Package systemd
Index: systemd-36/src/systemctl.c =================================================================== --- systemd-36.orig/src/systemctl.c +++ systemd-36/src/systemctl.c @@ -4672,10 +4672,13 @@ static int parse_argv(int argc, char *ar /* Hmm, so some other init system is * running, we need to forward this * request to it. For now we simply - * guess that it is Upstart. */ - - execv("/lib/upstart/telinit", argv); + * guess that it is Sysvinit or Upstart. */ + if (!access("/lib/sysvinit/telinit", X_OK)) { + execv("/lib/sysvinit/telinit", argv); + } else { + execv("/lib/upstart/telinit", argv); + } log_error("Couldn't find an alternative telinit implementation to spawn."); return -EIO; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor