Please make /etc/rc.local non-executable by default

Dmitry Bogatov KAction at debian.org
Thu Nov 15 10:37:27 GMT 2018


[2014-04-29 22:05] Josh Triplett <josh at joshtriplett.org>
> 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.

I tend to agree. Dear co-maintainers, do you have objections? Any
scenario, when making `/etc/rc.local' non-executable by default will
cause breakages?




More information about the Debian-init-diversity mailing list