diff options
-rw-r--r-- | initscripts.spec | 5 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec index ffd3c1a7..8a453e88 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -1,6 +1,6 @@ Summary: The inittab file and the /etc/rc.d scripts. Name: initscripts -Version: 5.02 +Version: 5.03 Copyright: GPL Group: System Environment/Base Release: 1 @@ -246,6 +246,9 @@ rm -rf $RPM_BUILD_ROOT %ghost %attr(0664,root,utmp) /var/run/utmp %changelog +* Tue Mar 21 2000 Bernhard Rosenkraenzer <bero@redhat.com> +- Mount /var/shm if required (2.3.99, 2.4) + * Mon Mar 20 2000 Bill Nottingham <notting@redhat.com> - don't create resolv.conf 0600 - don't run ps as much (speed issues) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 5a1c80ce..47f622b4 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -11,7 +11,11 @@ if [ -z "$IN_INITLOG" ]; then fi # If we're using devfs, start devfsd now - we need the old device names -[ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd +[ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd /dev + +# Mount shm - ignore errors because the only "error" that can occur is +# a kernel < 2.3.99 which doesn't require /var/shm +mount -t shm none /var/shm &>/dev/null || : # Set the path PATH=/bin:/sbin:/usr/bin:/usr/sbin |