Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-16 Thread Ian Jackson
KatolaZ writes ("Re: Please make /etc/rc.local non-executable by default"): > The important point is just: what is the benefit of removing +x from > /etc/rc.local? > > IMHO: no benefit at all. This is the clear and overwhelming consensus of the Debian sysvinit maintainers. We have made our decis

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Jonathan de Boyne Pollard
Josh Triplett: (Personally, I *wish* that /etc/rc.local didn't exist at all by default and you had to *create* it if you wanted it used.) So too did Lennart Poettering. * https://bugzilla.redhat.com/show_bug.cgi?id=734268 Matthew Dillon went a step further, and deleted /etc/rc.local from F

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Jonathan de Boyne Pollard
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". * https://github

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Jonathan de Boyne Pollard
Thorsten Glaser: I would be massively surprised if I installed a system, added something to rc.local, and it were not run. You would be massively surprised on Arch Linux and its derivatives, then. systemd is built without its backwards compatibility mechanisms on Arch, and /etc/rc.local sto

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Josh Triplett
On Thu, Nov 15, 2018 at 08:44:03PM +0100, Thorsten Glaser wrote: > On Thu, 15 Nov 2018, Josh Triplett wrote: > > > Are you saying that even *with* that comment you'd be surprised? > > Yes. > > You probably know how many people read such instructions. But my > main point is “not being surprised”

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Josh Triplett
On Thu, Nov 15, 2018 at 09:22:20PM +0100, Svante Signell wrote: > On Thu, 2018-11-15 at 12:01 -0800, Josh Triplett wrote: > > I will refrain from expanding on how much I care about "Unix admin > > tradition". I'd like /etc to be *empty* on a freshly installed > > system, thank you. ;) > > And plea

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Josh Triplett
On Thu, Nov 15, 2018 at 09:14:19PM +0100, Michael Biebl wrote: > On Thu, 15 Nov 2018 11:37:51 -0800 Josh Triplett > wrote: > > On Thu, Nov 15, 2018 at 01:18:34PM +0100, Thorsten Glaser wrote: > > > On Thu, 15 Nov 2018, Dmitry Bogatov wrote: > > > > > > > I tend to agree. Dear co-maintainers, do y

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Svante Signell
On Thu, 2018-11-15 at 12:01 -0800, Josh Triplett wrote: > On Thu, Nov 15, 2018 at 08:44:03PM +0100, Thorsten Glaser wrote: > > On Thu, 15 Nov 2018, Josh Triplett wrote: > > > (Personally, I *wish* that /etc/rc.local didn't exist at all by > > > default > > > and you had to *create* it if you wante

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Michael Biebl
Am 15.11.18 um 21:14 schrieb Michael Biebl: > Just wanted to chime in here: > A default Debian installation using systemd will no longer create a > /etc/rc.local file. If you have such a file, this means you probably > have an older system which was upgraded. > sysvinit is of course free to create

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Michael Biebl
On Thu, 15 Nov 2018 11:37:51 -0800 Josh Triplett wrote: > On Thu, Nov 15, 2018 at 01:18:34PM +0100, Thorsten Glaser wrote: > > On Thu, 15 Nov 2018, Dmitry Bogatov wrote: > > > > > I tend to agree. Dear co-maintainers, do you have objections? Any > > > > I do have an objection — a veto even. > >

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Josh Triplett
On Thu, Nov 15, 2018 at 01:18:34PM +0100, Thorsten Glaser wrote: > On Thu, 15 Nov 2018, Dmitry Bogatov wrote: > > > I tend to agree. Dear co-maintainers, do you have objections? Any > > I do have an objection — a veto even. > > Installation instructions throughout the world say that “add the > f

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Thorsten Glaser
On Thu, 15 Nov 2018, Josh Triplett wrote: > Are you saying that even *with* that comment you'd be surprised? Yes. You probably know how many people read such instructions. But my main point is “not being surprised” and “tons of existing, mostly OS-independent, installation manuals out there”. P

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread KatolaZ
On Thu, Nov 15, 2018 at 01:18:34PM +0100, Thorsten Glaser wrote: > On Thu, 15 Nov 2018, Dmitry Bogatov wrote: > > > I tend to agree. Dear co-maintainers, do you have objections? Any > > I do have an objection — a veto even. > > Installation instructions throughout the world say that “add the > f

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Ian Jackson
Thorsten Glaser writes ("Re: Please make /etc/rc.local non-executable by default"): > On Thu, 15 Nov 2018, Dmitry Bogatov wrote: > > I tend to agree. Dear co-maintainers, do you have objections? Any > > I do have an objection - a veto even. I agree with your objection. Although please don't use

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Thorsten Glaser
On Thu, 15 Nov 2018, Dmitry Bogatov wrote: > I tend to agree. Dear co-maintainers, do you have objections? Any I do have an objection — a veto even. Installation instructions throughout the world say that “add the following script lines to /etc/rc.local”. None of them says to add the +x bit, and

Bug#746442: Please make /etc/rc.local non-executable by default

2018-11-15 Thread Adam Borowski
On Thu, Nov 15, 2018 at 10:37:27AM +, Dmitry Bogatov wrote: > [2014-04-29 22:05] Josh Triplett > > 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 f

Bug#746442: Please make /etc/rc.local non-executable by default

2014-04-29 Thread Josh Triplett
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 effi