[udev/f14/master] - fix /dev/systty Resolves: rhbz#654935

Harald Hoyer harald at fedoraproject.org
Fri Nov 19 08:11:17 UTC 2010


commit fbdc9f8abf81b19299d8ff44b9c8f61069669c94
Author: Harald Hoyer <harald at redhat.com>
Date:   Fri Nov 19 09:11:48 2010 +0100

    - fix /dev/systty
    Resolves: rhbz#654935

 start_udev |    1 +
 udev.spec  |   10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/start_udev b/start_udev
index 49fc286..3596b4c 100755
--- a/start_udev
+++ b/start_udev
@@ -55,6 +55,7 @@ if ! [ -x /sbin/hotplug ]; then
 		echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
 	fi
 fi
+[ -c /dev/systty ] && ln -fs tty0 /dev/systty
 
 /sbin/udevd -d
 
diff --git a/udev.spec b/udev.spec
index b83b368..e7003a0 100644
--- a/udev.spec
+++ b/udev.spec
@@ -7,7 +7,7 @@
 Summary: A rule-based device node and kernel event manager
 Name: udev
 Version: 161
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Provides: udev-persistent = %{version}-%{release}
@@ -272,6 +272,10 @@ if test -f /proc/1/exe -a -d /proc/1/root; then
 fi
 exit 0
 
+%triggerpostun -- udev < 161-7
+[ -c /dev/systty ] && ln -fs tty0 /dev/systty
+:
+
 %post
 # start daemon if we are not in a chroot
 if test -f /proc/1/exe -a -d /proc/1/root; then
@@ -411,6 +415,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_libdir}/pkgconfig/gudev-1.0*
 
 %changelog
+* Thu Nov 18 2010 Harald Hoyer <harald at redhat.com> 161-7
+- fix /dev/systty
+Resolves: rhbz#654935
+
 * Fri Nov 12 2010 Harald Hoyer <harald at redhat.com> 161-6
 - add ACLs for PDA devices
 Resolves: rhbz#642435


More information about the scm-commits mailing list