Hello community, here is the log from the commit of package sysvinit for openSUSE:Factory checked in at Mon Jun 6 11:05:57 CEST 2011.
-------- --- sysvinit/sysvinit.changes 2011-05-19 12:55:24.000000000 +0200 +++ /mounts/work_src_done/STABLE/sysvinit/sysvinit.changes 2011-06-01 14:58:18.000000000 +0200 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Jun 1 12:57:08 UTC 2011 - lnus...@suse.de + +- use /run for utmp as that's already mounted by the initrd + calling whatdependson for head-i586 New: ---- sysvinit-2.88+dsf-run.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysvinit.spec ++++++ --- /var/tmp/diff_new_pack.LR0Nwn/_old 2011-06-06 11:00:36.000000000 +0200 +++ /var/tmp/diff_new_pack.LR0Nwn/_new 2011-06-06 11:00:36.000000000 +0200 @@ -29,7 +29,7 @@ Group: System/Base AutoReqProv: on Version: 2.88+ -Release: 48 +Release: 50 Summary: SysV-Style init BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: audit-devel libselinux-devel libsepol-devel pam-devel @@ -50,6 +50,7 @@ Patch3: sysvinit-2.88dsf-no-kill.patch Patch4: notify-pam-dead.patch Patch5: sysvinit-2.88dsf-multiple-sulogin.patch +Patch6: sysvinit-2.88+dsf-run.diff Patch20: powerd-2.0.2.dif Patch21: powerd-2.0.2-getaddrinfo.patch Patch30: killproc-2.19.dif @@ -91,6 +92,7 @@ %patch3 -p0 -b .no-kill %patch4 -p0 -b .pam %patch5 -p0 -b .sulogin +%patch6 -p0 -b .run %patch pushd ../powerd-%{PDVER} %patch20 ++++++ sysvinit-2.88+dsf-run.diff ++++++ 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org