sysvinit.git
10 years agoMention where the license text is on Debian systems.
Petter Reinholdtsen [Mon, 22 Mar 2010 19:43:23 +0000 (19:43 +0000)] 
Mention where the license text is on Debian systems.

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

10 years agoMention project mailing list in the README file too.
Petter Reinholdtsen [Sat, 20 Mar 2010 08:23:51 +0000 (08:23 +0000)] 
Mention project mailing list in the README file too.

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

10 years agoFix typo.
Petter Reinholdtsen [Sat, 20 Mar 2010 08:22:48 +0000 (08:22 +0000)] 
Fix typo.

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

10 years agoMerge in preparation of new release.
Petter Reinholdtsen [Sat, 20 Mar 2010 07:32:19 +0000 (07:32 +0000)] 
Merge in preparation of new release.

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

10 years ago * Fix some minor problems
Dr. Werner Fink [Fri, 19 Mar 2010 16:53:57 +0000 (16:53 +0000)] 
  * Fix some minor problems
  * init - enable is_selinux_enabled() to detect selinuxfs

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

10 years ago* Increase buffer size for path checking to normal limit PATH_MAX+1
Dr. Werner Fink [Fri, 19 Mar 2010 14:10:55 +0000 (14:10 +0000)] 
* Increase buffer size for path checking to normal limit PATH_MAX+1

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

10 years agoremove empty blanks from empty lines
Dr. Werner Fink [Fri, 19 Mar 2010 14:09:15 +0000 (14:09 +0000)] 
remove empty blanks from empty lines

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

10 years ago* sulogin - add the possibility to reset the terminal io
Dr. Werner Fink [Fri, 12 Mar 2010 18:18:28 +0000 (18:18 +0000)] 
* sulogin - add the possibility to reset the terminal io

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

10 years ago * init - avoid compiler warnings
Dr. Werner Fink [Fri, 26 Feb 2010 13:45:49 +0000 (13:45 +0000)] 
  * init - avoid compiler warnings
  * init - initialize console by using the macros from ttydefaults.h
  * init - add the possiblity to ignore further interrupts from keyboard
  * init - add the possiblity to set sane terminal line settings

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

10 years ago * pidof - shorten list check a bit for network based processes
Dr. Werner Fink [Tue, 23 Feb 2010 17:12:12 +0000 (17:12 +0000)] 
 * pidof - shorten list check a bit for network based processes

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

10 years ago * pidof/killall5 - make omit pid list a dynamic one.
Dr. Werner Fink [Tue, 23 Feb 2010 16:51:18 +0000 (16:51 +0000)] 
  * pidof/killall5 - make omit pid list a dynamic one.
  * pidof - provide '-n' to skip stat(2) syscall on network based FS.

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

10 years ago * remove left over
Dr. Werner Fink [Tue, 23 Feb 2010 13:23:08 +0000 (13:23 +0000)] 
 * remove left over

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

10 years ago * Set SHELL to /bin/sh in the environmant of shutdown.
Dr. Werner Fink [Tue, 23 Feb 2010 12:26:26 +0000 (12:26 +0000)] 
  * Set SHELL to /bin/sh in the environmant of shutdown.
  * Retry to write out shutdown messages if interrupted.

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

10 years ago * Detected also removable block devices at halt/reboot to be able
Dr. Werner Fink [Mon, 22 Feb 2010 14:59:58 +0000 (14:59 +0000)] 
  * Detected also removable block devices at halt/reboot to be able
    to flush data and send them the ATA standby command.  This should
    avoid data loss on USB sticks and other removable block devices.
  * Flush block devices on halt/reboot if not done by the kernel.

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

10 years ago * Add option -w to the last command to display the full user and
Dr. Werner Fink [Fri, 19 Feb 2010 15:51:36 +0000 (15:51 +0000)] 
  * Add option -w to the last command to display the full user and
    domain names in the output.  Patch from Petr Lautrbach.
  * Add a manual page for utmpdump as this tool is sometimes
    very useful even if not intended for normal use.
  * Use paths.h macros for wall
  * Change path "/etc/powerstatus" to "/var/run/powerstatus"

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

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