[Pkg-sysvinit-commits] r1956 - in sysvinit/trunk/debian: . src/initscripts/etc/init.d

Kel Modderman kelmo-guest at alioth.debian.org
Sat Apr 16 10:51:48 UTC 2011


Author: kelmo-guest
Date: 2011-04-16 10:51:37 +0000 (Sat, 16 Apr 2011)
New Revision: 1956

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/src/initscripts/etc/init.d/bootmisc.sh
Log:
Remove code from /etc/init.d/bootmisc.sh which is not needed with modern
kernel which do not support BSD ptys. The udev check is not reliable
anymore due to /run/. Thanks Marco d'Itri (Closes: #620784)

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2011-04-16 10:44:34 UTC (rev 1955)
+++ sysvinit/trunk/debian/changelog	2011-04-16 10:51:37 UTC (rev 1956)
@@ -119,8 +119,13 @@
   Hurd does not currently support tmpfs mounts, but will do in the
   future.  Use firmlinks in place of bind mounts.
 
- -- Roger Leigh <rleigh at debian.org>  Sat, 16 Apr 2011 01:17:29 +0100
+  [ Kel Modderman ]
+  * Remove code from /etc/init.d/bootmisc.sh which is not needed with modern
+    kernel which do not support BSD ptys. The udev check is not reliable
+    anymore due to /run/. Thanks Marco d'Itri (Closes: #620784)
 
+ -- Kel Modderman <kel at otaku42.de>  Sat, 16 Apr 2011 20:48:53 +1000
+
 sysvinit (2.88dsf-13.2) unstable; urgency=low
 
   * Non-maintainer upload.

Modified: sysvinit/trunk/debian/src/initscripts/etc/init.d/bootmisc.sh
===================================================================
--- sysvinit/trunk/debian/src/initscripts/etc/init.d/bootmisc.sh	2011-04-16 10:44:34 UTC (rev 1955)
+++ sysvinit/trunk/debian/src/initscripts/etc/init.d/bootmisc.sh	2011-04-16 10:51:37 UTC (rev 1956)
@@ -33,13 +33,6 @@
 		chgrp utmp /var/run/utmp
 	fi
 
-	# Set pseudo-terminal access permissions.
-	if [ ! -e /dev/.udev ] && [ -c /dev/ttyp0 ]
-	then
-		chmod -f 666 /dev/tty[p-za-e][0-9a-f]
-		chown -f root:tty /dev/tty[p-za-e][0-9a-f]
-	fi
-
 	# Remove bootclean's flag files.
 	# Don't run bootclean again after this!
 	rm -f /tmp/.clean /var/run/.clean /var/lock/.clean




More information about the Pkg-sysvinit-commits mailing list