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

KatolaZ katolaz at
Fri Nov 16 08:50:09 GMT 2018

On Fri, Nov 16, 2018 at 12:06:48AM +0000, Jonathan de Boyne Pollard wrote:
> KatolaZ:
> > /etc/rc.local is expected to be executed by rc at the end of each
> > multiuser runlevel.
> > [...]
> > Removing the +x bit will break it immediately, and to no avail.
> There is a bit of a myth that has grown up about /etc/rc.local in recent
> years, that it was executed "last".

I am not interested in a digression about who and why used or executed
rc.local (since there are many other cases you are forgetting about in
your post, and several inaccuracies as well).

The important point is just: what is the benefit of removing +x from

IMHO: no benefit at all. If we go for testing its existence and then
subshell it if it exists, we remove the flexibility of disabling it by
just chmod-ing it (and we force the sysadmin to delve into another
script to disable it, if so she likes).

It seems obvious to me that removing +x just adds complications and
unneded surprise.



[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] --- katolaz [at]  ]
[       @) ---  Devuan GNU + Linux User  ]
[     @@) --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <>

More information about the Debian-init-diversity mailing list