Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
sysvinit
sysvinit-2.88+dsf-run.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sysvinit-2.88+dsf-run.diff of Package sysvinit
use /run/utmp Index: src/paths.h =================================================================== --- src/paths.h.orig +++ src/paths.h @@ -48,3 +48,5 @@ #define REBOOTSCRIPT2 "/etc/rc.d/rc.6" /* Ditto. */ #endif +#undef UTMP_FILE +#define UTMP_FILE "/run/utmp" Index: src/init.c =================================================================== --- src/init.c.orig +++ src/init.c @@ -2634,6 +2634,7 @@ void init_main(void) */ if ((fd = open(UTMP_FILE, O_WRONLY|O_CREAT|O_TRUNC, 0644)) >= 0) close(fd); + utmpname(UTMP_FILE); /* * Say hello to the world
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