Problems when rebooting or shutting down the system.
Posted: Sat Apr 19, 2003 11:09 am
Hi, I recently upgraded grsecurity from 1.9.7d to 1.9.7f, and since then I've had problems rebooting my system. It seems none of the shutdown scripts are granted their permissions unless grsecurity is shut down or reloaded first.
Following are my rules for the scripts under /etc/rc.d:
Following are my rules for the scripts under /etc/rc.d:
- Code: Select all
/etc/rc.d/init.d/rc kv {
+CAP_DAC_OVERRIDE
+CAP_KILL
+CAP_MKNOD
+CAP_NET_ADMIN
+CAP_SYS_ADMIN
+CAP_SYS_BOOT
+CAP_SYS_PACCT
+CAP_SYS_RAWIO
+CAP_SYS_TIME
+CAP_SYS_TTY_CONFIG
/bin/dd ix
/bin/kill ix
/bin/stty ix
/bin/umount x
/dev/log w
/dev/lvm rw
/dev/rtc rw
/etc/rc.d irx
/etc/sysconfig irx
/etc/adjtime rw
/etc/random-seed rw
/sbin/halt ix
/sbin/hwclock ix
/sbin/ifconfig ix
/sbin/killall5 ix
/sbin/route ix
/sbin/swapoff ix
/sbin/vgchange ix
}