sysvinit.git
11 years agoMerge changelogs.
Petter Reinholdtsen [Tue, 24 Nov 2009 17:37:31 +0000 (17:37 +0000)] 
Merge changelogs.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@29 456724a4-4300-0410-8514-c89748c515a2

11 years agoAdd changelog entry
Dr. Werner Fink [Tue, 24 Nov 2009 10:07:47 +0000 (10:07 +0000)] 
Add changelog entry

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@28 456724a4-4300-0410-8514-c89748c515a2

11 years agoAdd the comment from Andrea Arcangeli about the correct
Dr. Werner Fink [Tue, 24 Nov 2009 10:03:19 +0000 (10:03 +0000)] 
Add the comment from Andrea Arcangeli about the correct
place of setting the default childhandler within spawn().
Make sure that newline is printed out for last(1) even
if an utmp record entry is truncated.
Check if utmp not only exists but is writable and delay
writing out of the utmp runlevel record if utmp is not writable.
Be able to find libcrypt also on 64 bit based architectures.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@27 456724a4-4300-0410-8514-c89748c515a2

11 years agoNew address sysvinit-devel@nongnu.org for patches in COPYRIGHT
Dr. Werner Fink [Mon, 23 Nov 2009 10:50:43 +0000 (10:50 +0000)] 
New address sysvinit-devel@nongnu.org for patches in COPYRIGHT

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@26 456724a4-4300-0410-8514-c89748c515a2

11 years agoGet rid of signed/unsigned warning.
Petter Reinholdtsen [Sun, 22 Nov 2009 22:36:29 +0000 (22:36 +0000)] 
Get rid of signed/unsigned warning.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@25 456724a4-4300-0410-8514-c89748c515a2

11 years agoLeftover.
Petter Reinholdtsen [Sun, 22 Nov 2009 22:32:54 +0000 (22:32 +0000)] 
Leftover.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@24 456724a4-4300-0410-8514-c89748c515a2

11 years agoMake sure bootlogd fflush() every line, even if asked not to flush
Petter Reinholdtsen [Sun, 22 Nov 2009 22:23:14 +0000 (22:23 +0000)] 
Make sure bootlogd fflush() every line, even if asked not to flush
to disk using fdatasync().  Patch from Scott Gifford via Debian.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@23 456724a4-4300-0410-8514-c89748c515a2

11 years agoMake sure bootlogd findpty() returns an error value when it fails to
Petter Reinholdtsen [Sun, 22 Nov 2009 22:22:09 +0000 (22:22 +0000)] 
Make sure bootlogd findpty() returns an error value when it fails to
find a usable pty.  Patch from Rob Leslie via Debian.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@22 456724a4-4300-0410-8514-c89748c515a2

11 years agoRewrite findtty() in bootlogd to recursively search /dev/ for the
Petter Reinholdtsen [Sun, 22 Nov 2009 22:21:02 +0000 (22:21 +0000)] 
Rewrite findtty() in bootlogd to recursively search /dev/ for the
correct device, to handle terminal devices for example in /dev/pty/.
Patch from Debian.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@21 456724a4-4300-0410-8514-c89748c515a2

11 years agoGet rid of warning about unused argument fromshutdown, and make sure the wall string...
Petter Reinholdtsen [Sun, 22 Nov 2009 22:05:53 +0000 (22:05 +0000)] 
Get rid of warning about unused argument fromshutdown, and make sure the wall string isn't changed by the wall() function.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@20 456724a4-4300-0410-8514-c89748c515a2

11 years agoHide unused variable when not building with WITH_SELINUX.
Petter Reinholdtsen [Sun, 22 Nov 2009 21:53:37 +0000 (21:53 +0000)] 
Hide unused variable when not building with WITH_SELINUX.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@19 456724a4-4300-0410-8514-c89748c515a2

11 years agoFix race condition in utmp writing. Patch from Gil Kloepfer via
Petter Reinholdtsen [Sun, 22 Nov 2009 21:03:03 +0000 (21:03 +0000)] 
Fix race condition in utmp writing.  Patch from Gil Kloepfer via
Mike Frysinger and Gentoo.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@18 456724a4-4300-0410-8514-c89748c515a2

11 years agoSimplify build rules, based on patch from Mike Frysinger and Gentoo.
Petter Reinholdtsen [Fri, 20 Nov 2009 22:55:47 +0000 (22:55 +0000)] 
Simplify build rules, based on patch from Mike Frysinger and Gentoo.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@17 456724a4-4300-0410-8514-c89748c515a2

11 years agoSync shutdown manual page and usage information. Patch from Mike
Petter Reinholdtsen [Fri, 20 Nov 2009 22:33:35 +0000 (22:33 +0000)] 
Sync shutdown manual page and usage information.  Patch from Mike
Frysinger and Gentoo.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@16 456724a4-4300-0410-8514-c89748c515a2

11 years agoPrint usage information when shutdown is used by non-root user. Patch from Mike Frysi...
Petter Reinholdtsen [Sat, 14 Nov 2009 21:35:42 +0000 (21:35 +0000)] 
Print usage information when shutdown is used by non-root user. Patch from Mike Frysinger and Gentoo.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@15 456724a4-4300-0410-8514-c89748c515a2

11 years agoMention new home on Savannah in README.
Petter Reinholdtsen [Sat, 14 Nov 2009 21:33:43 +0000 (21:33 +0000)] 
Mention new home on Savannah in README.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@14 456724a4-4300-0410-8514-c89748c515a2

11 years agoAdd Makefile in toplevel directory.
Petter Reinholdtsen [Sat, 14 Nov 2009 21:31:20 +0000 (21:31 +0000)] 
Add Makefile in toplevel directory.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@13 456724a4-4300-0410-8514-c89748c515a2

11 years agoChange tty handling in init to make sure the UTF-8 flag is not cleared on boot. ...
Petter Reinholdtsen [Sat, 14 Nov 2009 21:28:32 +0000 (21:28 +0000)] 
Change tty handling in init to make sure the UTF-8 flag is not cleared on boot.  Patch from Samuel Thibault.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@12 456724a4-4300-0410-8514-c89748c515a2

11 years agoAdd casts to get rid of compiler warning about signed/unsigned issues.
Petter Reinholdtsen [Sat, 14 Nov 2009 21:27:13 +0000 (21:27 +0000)] 
Add casts to get rid of compiler warning about signed/unsigned issues.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@11 456724a4-4300-0410-8514-c89748c515a2

11 years agoFix minor bug in optimizing of argument parsing. Based on report from jakemus on...
Petter Reinholdtsen [Sat, 14 Nov 2009 21:12:00 +0000 (21:12 +0000)] 
Fix minor bug in optimizing of argument parsing.  Based on report from jakemus on freshmeat.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@10 456724a4-4300-0410-8514-c89748c515a2

11 years agoAdjust makefile to make sure the install directories are created before files are...
Petter Reinholdtsen [Sat, 14 Nov 2009 21:09:19 +0000 (21:09 +0000)] 
Adjust makefile to make sure the install directories are created before files are copied into them.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@9 456724a4-4300-0410-8514-c89748c515a2

11 years agoRevert change from Fedora/RedHat where the now obsolete command
Petter Reinholdtsen [Sat, 14 Nov 2009 21:00:43 +0000 (21:00 +0000)] 
Revert change from Fedora/RedHat where the now obsolete command
INIT_CMD_CHANGECONS was introduced.  Based on feedback and patch
from Bill Nottingham.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@8 456724a4-4300-0410-8514-c89748c515a2

11 years agoNext version will be 2.88.
Petter Reinholdtsen [Sat, 14 Nov 2009 20:52:17 +0000 (20:52 +0000)] 
Next version will be 2.88.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@7 456724a4-4300-0410-8514-c89748c515a2

11 years agoDrop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12). It is
Petter Reinholdtsen [Thu, 10 Sep 2009 08:28:49 +0000 (08:28 +0000)] 
Drop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12).  It is
no longer needed according to Michael Bunk.  Patch from Michael
Biebl.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@1 456724a4-4300-0410-8514-c89748c515a2