Updating link to change in openSUSE:Factory/sysvinit revision 61.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=ab99a9c6d336c48f2a3ef033a2bb8bb2
This commit is contained in:
OBS User buildservice-autocommit 2010-02-09 21:29:00 +00:00 committed by Git OBS Bridge
parent 86b6a037cd
commit 5a69badb3b
6 changed files with 70 additions and 27 deletions

View File

@ -1,7 +1,5 @@
Index: man/init.8
===================================================================
--- man/init.8.orig
+++ man/init.8
--- man/init.8
+++ man/init.8 2004-03-12 12:44:29.000000000 +0000
@@ -232,7 +232,7 @@ It activates the \fIkbrequest\fP action.
.SH CONFORMING TO
\fBInit\fP is compatible with the System V init. It works closely
@ -11,10 +9,8 @@ Index: man/init.8
If your system uses this convention, there should be a \fIREADME\fP
file in the directory \fI/etc/init.d\fP explaining how these scripts work.
.\"}}}
Index: src/paths.h
===================================================================
--- src/paths.h.orig
+++ src/paths.h
--- src/paths.h
+++ src/paths.h 2004-03-12 12:45:00.000000000 +0000
@@ -26,10 +26,10 @@
#define SHELL "/bin/sh" /* Default shell */
#define SULOGIN "/sbin/sulogin" /* Sulogin */

View File

@ -1,7 +1,5 @@
Index: src/init.c
===================================================================
--- src/init.c.orig
+++ src/init.c
--- src/init.c
+++ src/init.c 2005-10-19 10:01:15.000000000 +0000
@@ -20,6 +20,14 @@
*
*/

View File

@ -1,7 +1,5 @@
Index: src/init.c
===================================================================
--- src/init.c.orig
+++ src/init.c
--- src/init.c
+++ src/init.c 2006-08-22 13:04:27.000000000 +0000
@@ -107,6 +107,8 @@ sig_atomic_t got_signals; /* Set if we r
int emerg_shell = 0; /* Start emergency shell? */
int wrote_wtmp_reboot = 1; /* Set when we wrote the reboot record */
@ -103,10 +101,8 @@ Index: src/init.c
/*
* Say hello to the world
Index: src/init.h
===================================================================
--- src/init.h.orig
+++ src/init.h
--- src/init.h
+++ src/init.h 2006-08-22 12:29:39.000000000 +0000
@@ -99,6 +99,10 @@ typedef struct _child_ {
extern CHILD *family;
extern int wrote_wtmp_reboot;
@ -125,10 +121,8 @@ Index: src/init.h
+#define D_WROTE_WTMP_RLEVEL -16
+#define D_WROTE_UTMP_RLEVEL -17
Index: src/utmp.c
===================================================================
--- src/utmp.c.orig
+++ src/utmp.c
--- src/utmp.c
+++ src/utmp.c 2006-08-22 12:28:52.000000000 +0000
@@ -49,6 +49,12 @@ char *line) /* Which line is this */
struct utsname uname_buf;

View File

@ -50,7 +50,7 @@
-USRBIN += utmpdump wall
-MAN1 += mountpoint.1 wall.1
+USRBIN += utmpdump wall mesg
+MAN1 += mountpoint.1 wall.1 mesg.1
+MAN1 += utmpdump.1 mountpoint.1 wall.1 mesg.1
MAN8 += sulogin.8 bootlogd.8
endif
@ -74,7 +74,7 @@
+BIN += mountpoint
+SBIN += sulogin
+USRBIN += utmpdump
+MAN1 += mountpoint.1
+MAN1 += utmpdump.1 mountpoint.1
+MAN8 += sulogin.8
endif
@ -917,3 +917,53 @@
#else
time(&utmp.ut_time);
#endif
--- doc/utmpdump.1
+++ doc/utmpdump.1 2010-02-08 13:41:51.154825000 +0000
@@ -0,0 +1,47 @@
+.TH UTMPDUMP 1 "Februar 8, 2010" "" "Linux System Administrator's Manual"
+.SH NAME
+utmpdump \- dump UTMP and WTMP files in raw format
+.SH SYNOPSIS
+.B utmpdump
+.RB [ \-froh ]
+.I filename
+.SH DESCRIPTION
+\fButmpdump\fP is a simple program to dump UTMP and WTMP files
+in raw format, so they can be examined.
+.SH OPTIONS
+.IP \fB\-f\fP
+output appended data as the file grows.
+.IP "\fB\-r\fP"
+reverse. Write back edited login information into utmp or wtmp files.
+.IP \fB\-o\fP
+use old libc5 format.
+.IP \fB\-h\fP
+usage information.
+.PP
+utmpdump can be useful in cases of corrupted utmp or wtmp entries.
+It can dump out utmp/wtmp to an ASCII file, then that file can
+be edited to remove bogus entries and reintegrated, using
+.PP
+.sp 1
+.in +1c
+.nf
+\fButmpdump -r < ascii file > wtmp\fP
+.fi
+.in -1c
+.sp 1
+but be warned as
+.B utmpdump
+was written for debugging purpose only.
+.SH BUGS
+You may
+.B not
+use the option \fB\-r\fP as the format for the
+utmp/wtmp files strongly depends on the
+input format. This tool is
+.B not
+supported, use it at your own risk only.
+.SH "SEE ALSO"
+.BR last (1),
+.BR w (1),
+.BR who (1),
+.BR utmp (5),

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 8 15:58:56 CET 2010 - werner@suse.de
- Add a manual page for utmpdump (bnc#576967)
-------------------------------------------------------------------
Fri Jan 29 14:30:44 CET 2010 - werner@suse.de

View File

@ -30,7 +30,7 @@ Group: System/Base
PreReq: coreutils
AutoReqProv: on
Version: 2.86
Release: 219
Release: 220
Summary: SysV-Style init
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libselinux-devel libsepol-devel