From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 10.70.49.229 with SMTP id x5mr2075813pdn.5.1422436761467; Wed, 28 Jan 2015 01:19:21 -0800 (PST) X-BeenThere: voidlinux@googlegroups.com Received: by 10.140.107.69 with SMTP id g63ls466336qgf.87.gmail; Wed, 28 Jan 2015 01:19:21 -0800 (PST) X-Received: by 10.140.107.4 with SMTP id g4mr91756qgf.0.1422436761268; Wed, 28 Jan 2015 01:19:21 -0800 (PST) Date: Wed, 28 Jan 2015 01:19:20 -0800 (PST) From: =?UTF-8?Q?Stefan_M=C3=BChlinghaus?= To: voidlinux@googlegroups.com Message-Id: In-Reply-To: <2e7696dc-6d63-4eea-b015-45bb77426f15@googlegroups.com> References: <2e7696dc-6d63-4eea-b015-45bb77426f15@googlegroups.com> Subject: Re: Default runit services MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_86_1319104736.1422436760851" ------=_Part_86_1319104736.1422436760851 Content-Type: multipart/alternative; boundary="----=_Part_87_1719609971.1422436760851" ------=_Part_87_1719609971.1422436760851 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I updated yesterday on my home PC without a problem, but just now I updated from 20150127_1 to 20150127_3 on another PC and had the problem, that the default services were removed but not reinstalled. I was missing the whole "single" runlevel and all TTYs from the "default" runlevel, effectively pulling the system from underneath my feet and leaving it unable to boot. I assume this happened because the default links in /etc/runit/runsvdir are removed since they are no longer package content and the INSTALL file had no chance to create them because now all TTYs were immediately killed by their runsv-processes. I do not think this will be a problem in any further updates, but right now I guess others could run into this too. Maybe the INSTALL file could install a helper-service pre-installation, that checks after a couple of seconds if there is at least one TTY running and if not install them as the post-install-process would do. After that it could remove itself. I can submit a pull request when I'm back home later today. ------=_Part_87_1719609971.1422436760851 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
I updated yesterday on my home PC without a problem, but j= ust now I updated from 20150127_1 to 20150127_3 on another PC and had the p= roblem, that the default services were removed but not reinstalled. I was m= issing the whole "single" runlevel and all TTYs from the "default" runlevel= , effectively pulling the system from underneath my feet and leaving it una= ble to boot.

I assume this happened because the default = links in /etc/runit/runsvdir are removed since they are no longer package c= ontent and the INSTALL file had no chance to create them because now all TT= Ys were immediately killed by their runsv-processes.

I do not think this will be a problem in any further updates, but right = now I guess others could run into this too. Maybe the INSTALL file could in= stall a helper-service pre-installation, that checks after a couple of seco= nds if there is at least one TTY running and if not install them as the pos= t-install-process would do. After that it could remove itself. I can submit= a pull request when I'm back home later today.
------=_Part_87_1719609971.1422436760851-- ------=_Part_86_1319104736.1422436760851--