Re: [sysvinit-devel] Reading runlevel without utmp

2018-07-09 Thread Matias Fonzo
On Sun, 8 Jul 2018 20:31:41 -0300 Matias Fonzo wrote: > On Sat, 7 Jul 2018 20:39:10 -0300 > Jesse Smith wrote: > > > Today I pushed new code to the git "2.91" branch which makes init > > (and its associated tools) write the current runlevel to a log file > > (/var/run/runlevel). Having this inf

Re: [sysvinit-devel] Reading runlevel without utmp

2018-07-08 Thread Matias Fonzo
On Sat, 7 Jul 2018 20:39:10 -0300 Jesse Smith wrote: > Today I pushed new code to the git "2.91" branch which makes init (and > its associated tools) write the current runlevel to a log file > (/var/run/runlevel). Having this information here, as well as in utmp, > lets us check/confirm the curre

Re: [sysvinit-devel] Reading runlevel without utmp

2018-07-08 Thread Jesse Smith
> Personally, I believe it to be a really bad idea to duplicate the > runlevel information in several locations, and would have instead > choosen to simply state that systems without utmp(x) suppport are broken > and need to get utmp support before they will work properly with > sysvinit. utmpx

Re: [sysvinit-devel] Reading runlevel without utmp

2018-07-07 Thread Petter Reinholdtsen
[Jesse Smith] > Today I pushed new code to the git "2.91" branch which makes init (and > its associated tools) write the current runlevel to a log file > (/var/run/runlevel). Having this information here, as well as in utmp, > lets us check/confirm the current runlevel on systems that do not > supp