[Pkg-sysvinit-devel] Bug#539352: /etc/init.d/mountkernfs.sh: Please mount debugfs when available in the kernel
Josh Triplett
josh at joshtriplett.org
Thu Jul 30 22:38:57 UTC 2009
Package: initscripts
Version: 2.86.ds1-65
Severity: wishlist
File: /etc/init.d/mountkernfs.sh
Please consider automatically mounting debugfs on /sys/kernel/debug when
available. Adding the following code to /etc/init.d/mountkernfs.sh,
after the mount of sysfs, will do that:
if grep -E -qs "debugfs\$" /proc/filesystems && [ -d /sys/kernel/debug ]
then
domount debugfs "" /sys/kernel/debug debugfs -onodev,noexec,nosuid
fi
- Josh Triplett
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-rc4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initscripts depends on:
ii debianutils 3.2 Miscellaneous utilities specific t
ii libc6 2.9-12 GNU C Library: Shared libraries
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii mount 2.15.1~rc1-1 Tools for mounting and manipulatin
ii sysvinit-utils 2.86.ds1-65 System-V-like utilities
Versions of packages initscripts recommends:
ii e2fsprogs 1.41.3-1 ext2/ext3/ext4 file system utiliti
ii psmisc 22.7-1 utilities that use the proc file s
initscripts suggests no packages.
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list