Hello community, here is the log from the commit of package sysvinit for openSUSE:Factory checked in at Wed Mar 16 10:43:25 CET 2011.
-------- --- sysvinit/sysvinit.changes 2011-03-10 15:16:40.000000000 +0100 +++ /mounts/work_src_done/STABLE/sysvinit/sysvinit.changes 2011-03-15 16:09:25.000000000 +0100 @@ -1,0 +2,37 @@ +Tue Mar 15 16:01:22 CET 2011 - [email protected] + +- Update to current SVN version of sysvinit 2.88dsf: + * Fix counting message lines in wall. Patch from Petr Lautrbach. + * Fix bad printf conversion specifier in wall. Patch from Sébastien Luttringer. + * Add patches from Openwall project. Thanks goes to Solar Designer. + * Add code to detect the system consoles with the help of the + new /proc/consoles files of linux kernel 2.6.38+ + * Try to make utmpdump IPv6 valid, change based on suggestion from + Navdeep Bhatia (see local bug #32429) + * Fix signal and alarm handling based on the patch from Florent Viard. + (was local bug #32304) + * Add fix for Redhat bug #573346: last incorrectly displays IPv6 + addresses (was local bug #29497) + * Correct fix for Debian bug #547073: use IUTF8 flag if defined + and if already set to make sure the utf-8 flag is not cleared + from the tty. Patch from Samuel Thibault. + * Include limits.h in killall.c to enforce definition of PATH_MAX + * Fix sysvinit bug #29758 Linker invocation should not contain + headers. Change based on patch from Elias Pipping. + * Add fix for Debian bug #580272: use return value 1 of + is_selinux_enabled() to determine if SELinux is enabled, + otherwise initialize SELinux and load the policy. Patch from + Petter Reinholdtsen. + * Make quotes visible in example of the manual page of fstab-decode + * Add #ifdef in bootlogd.c to avoid gcc warnings about unused + variable on non-linux platforms. + * Only set the VSWTC field for termios in init if it is available, + to get the source building on FreeBSD. + +------------------------------------------------------------------- +Fri Mar 11 17:05:55 CET 2011 - [email protected] + +- startpar: fix location of consoles under /proc +- startpar: ignore errors from system console not being a tty + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- sysvinit-2.88dsf-nfs.patch sysvinit-2.88dsf-selinux.patch sysvinit-2.88dsf-utf8.dif sysvinit-2.88dsf.dif sysvinit-2.88dsf.tar.bz2 sysvinit-last-ipv6-heuristic.patch New: ---- sysvinit-2.88+dsf.dif sysvinit-2.88+dsf.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysvinit.spec ++++++ --- /var/tmp/diff_new_pack.BIJfxD/_old 2011-03-16 10:38:41.000000000 +0100 +++ /var/tmp/diff_new_pack.BIJfxD/_new 2011-03-16 10:38:41.000000000 +0100 @@ -23,18 +23,18 @@ %define PDVER 2.0.2 %define KPVER 2.19 %define SCVER 1.13 -%define SIVER 2.88 +%define SIVER 2.88+ %define START 0.57 License: GPLv2+ Group: System/Base AutoReqProv: on -Version: 2.88 -Release: 40 +Version: 2.88+ +Release: 1 Summary: SysV-Style init BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: audit-devel libselinux-devel libsepol-devel pam-devel Url: http://savannah.nongnu.org/projects/sysvinit/ -Source: http://download.savannah.gnu.org/releases/sysvinit/sysvinit-2.88dsf.tar.bz2 +Source: http://download.savannah.gnu.org/releases/sysvinit/sysvinit-2.88+dsf.tar.bz2 Source2: killproc-2.19.tar.bz2 Source3: powerd-2.0.2.tar.bz2 Source4: showconsole-1.13.tar.bz2 @@ -44,15 +44,11 @@ Source8: mkinitrd-boot.sh Source9: mkinitrd-kill1.sh Source10: mkinitrd-kill2.sh -Patch: sysvinit-2.88dsf.dif +Patch: sysvinit-2.88+dsf.dif Patch1: sysvinit-2.82-startstop.patch Patch2: sysvinit-2.88dsf-suse.patch Patch3: sysvinit-2.88dsf-no-kill.patch Patch4: notify-pam-dead.patch -Patch5: sysvinit-last-ipv6-heuristic.patch -Patch6: sysvinit-2.88dsf-utf8.dif -Patch7: sysvinit-2.88dsf-selinux.patch -Patch8: sysvinit-2.88dsf-nfs.patch Patch20: powerd-2.0.2.dif Patch21: powerd-2.0.2-getaddrinfo.patch Patch30: killproc-2.19.dif @@ -93,10 +89,6 @@ %patch2 -p0 -b .suse %patch3 -p0 -b .no-kill %patch4 -p0 -b .pam -%patch5 -p2 -b .ipv6 -%patch6 -p0 -b .utf8 -%patch7 -p0 -b .selinux -%patch8 -p0 -b .nfs %patch pushd ../powerd-%{PDVER} %patch20 ++++++ startpar-0.57.dif ++++++ --- /var/tmp/diff_new_pack.BIJfxD/_old 2011-03-16 10:38:41.000000000 +0100 +++ /var/tmp/diff_new_pack.BIJfxD/_new 2011-03-16 10:38:41.000000000 +0100 @@ -1,5 +1,5 @@ --- makeboot.c -+++ makeboot.c 2010-10-12 16:42:53.996426160 +0000 ++++ makeboot.c 2010-10-12 16:42:54.000000000 +0000 @@ -407,6 +407,7 @@ void check_run_files(const char *action, */ #ifndef USE_BLOGD @@ -9,7 +9,7 @@ /* --- proc.c -+++ proc.c 2010-09-30 12:19:16.000000000 +0000 ++++ proc.c 2011-03-11 16:00:04.491925980 +0000 @@ -94,3 +94,74 @@ int read_proc(unsigned long int * const return 0; } @@ -50,7 +50,7 @@ +void detect_consoles(void) +{ + FILE *fc; -+ if ((fc = fopen("/proc/tty/consoles", "r"))) { ++ if ((fc = fopen("/proc/consoles", "r"))) { + char fbuf[16]; + int maj, min; + DIR *dir; @@ -94,7 +94,7 @@ -extern void unraw_consoles(void); -extern void raw_consoles(void); --- startpar.c -+++ startpar.c 2010-10-12 16:45:32.040429641 +0000 ++++ startpar.c 2011-03-11 15:59:16.388425553 +0000 @@ -52,6 +52,12 @@ #include <string.h> #include <stdlib.h> @@ -164,6 +164,15 @@ if (setpgid(0, 0)) perror("setpgid"); +@@ -486,7 +481,7 @@ void run(struct prg *p) + _exit(1); + } + TEMP_FAILURE_RETRY(dup2(1, 2)); +- if (tcsetattr(1, TCSANOW, &tio)) ++ if (tcsetattr(1, TCSANOW, &tio) && errno != ENOTTY) + perror("tcsetattr"); + if (wzok) + ioctl(1, TIOCSWINSZ, &wz); @@ -582,14 +577,7 @@ int run_single(const char *prg, const ch { sigset_t nmask; @@ -244,3 +253,13 @@ (void)sigemptyset(&nmask); (void)sigaddset(&nmask, SIGHUP); sigprocmask(SIG_UNBLOCK, &nmask, NULL); +@@ -1015,7 +1021,8 @@ int main(int argc, char **argv) + + if (tcgetattr(0, &tio)) + { +- perror("tcgetattr"); ++ if (errno != ENOTTY) ++ perror("tcgetattr"); + tcgetattr(2, &tio); + } + cfmakeraw(&tio); ++++++ sysvinit-2.88+dsf.dif ++++++ --- src/Makefile +++ src/Makefile 2010-03-23 15:11:12.000000000 +0000 @@ -9,16 +9,16 @@ # CPPFLAGS = -DUSE_PAM -CFLAGS ?= -ansi -O2 -fomit-frame-pointer +CFLAGS ?= $(RPM_OPT_FLAGS) override CFLAGS += -W -Wall -D_GNU_SOURCE STATIC = # For some known distributions we do not build all programs, otherwise we do. BIN = SBIN = init halt shutdown runlevel killall5 fstab-decode -USRBIN = last mesg +USRBIN = last -MAN1 = last.1 lastb.1 mesg.1 +MAN1 = last.1 lastb.1 MAN5 = initscript.5 inittab.5 MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8 MAN8 += shutdown.8 telinit.8 fstab-decode.8 @@ -170,7 +170,8 @@ endif ln -sf halt $(ROOT)/sbin/reboot ln -sf halt $(ROOT)/sbin/poweroff ln -sf init $(ROOT)/sbin/telinit - ln -sf /sbin/killall5 $(ROOT)/bin/pidof + ln -sf killall5 $(ROOT)/sbin/pidof + ln -sf ../sbin/killall5 $(ROOT)/bin/pidof if [ ! -f $(ROOT)/usr/bin/lastb ]; then \ ln -sf last $(ROOT)/usr/bin/lastb; \ fi --- src/bootlogd.c +++ src/bootlogd.c 2011-03-15 14:58:54.000000000 +0000 @@ -241,7 +241,7 @@ int consolename(char *res, size_t rlen) { #ifdef TIOCGDEV - unsigned int kdev; + kdev_t kdev; #endif struct stat st; int n; @@ -559,7 +559,7 @@ } (void)ioctl(0, TIOCCONS, NULL); -#if 1 +#if 0 /* Work around bug in 2.1/2.2 kernels. Fixed in 2.2.13 and 2.3.18 */ if ((n = open("/dev/tty0", O_RDWR)) >= 0) { (void)ioctl(n, TIOCCONS, NULL); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
