[Pkg-sysvinit-devel] Bug#746442: Please make /etc/rc.local non-executable by default
Josh Triplett
josh at joshtriplett.org
Wed Apr 30 05:05:42 UTC 2014
Package: initscripts
Version: 2.88dsf-53
Severity: normal
The default /etc/rc.local says:
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
However, the file has the executable bit set by default, making it do
nothing less efficiently. Since the file already includes instructions
to enable it by making it executable, please consider making it
non-executable by default, so that the init script and systemd service
can efficiently skip it without invoking a shell.
- Josh Triplett
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initscripts depends on:
ii coreutils 8.21-1.2
ii debianutils 4.4
ii libc6 2.18-5
ii lsb-base 4.1+Debian12
ii mount 2.20.1-5.7
ii sysv-rc 2.88dsf-53
ii sysvinit-utils 2.88dsf-53
Versions of packages initscripts recommends:
ii e2fsprogs 1.42.9-3
ii psmisc 22.21-2
initscripts suggests no packages.
-- Configuration Files:
/etc/default/tmpfs changed [not included]
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list