From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: bug#34211: error running container: mingetty cannot find ttys Date: Fri, 15 Feb 2019 09:57:44 +0100 Message-ID: <87zhqxbf93.fsf@roquette.mug.biscuolo.net> References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> <8736otfgmo.fsf@roquette.mug.biscuolo.net> <874l97ehc7.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guZK0-0006GO-B6 for help-guix@gnu.org; Fri, 15 Feb 2019 03:58:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guZJz-0006Hp-CA for help-guix@gnu.org; Fri, 15 Feb 2019 03:58:12 -0500 Received: from ns13.heimat.it ([46.4.214.66]:44116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guZJz-0006G4-0J for help-guix@gnu.org; Fri, 15 Feb 2019 03:58:11 -0500 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Arun Isaac Cc: 34211@debbugs.gnu.org, help-guix@gnu.org --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi Arun, Arun Isaac writes: >> please any hint on how to "manually" remove those two failing services? > > You should do something along the lines of the following: > > (remove (lambda (service) > (let ((type (service-type-name (service-kind service)))) > (or (eq? type 'mingetty) > (eq? type 'console-fonts)))) > %base-services) [...] thank you for your suggestion but this does not work in everyone is willing to reproduce this bug [1] this is the container config: --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxmfwkACgkQ030Op87M ORJ9cQ/+MAvz7KBvo+dyoUhc4F0zZXOwsYrHShWwHBpJ8+7JWnZvN8IEHGcVjtrR d0ba+AZJ02dVc47Q7uFNMEtLIqM2AaBjeQO3NVBhvDr8P3/6hH2pAUtHVuFfCWoY HdAufqTdisu9z97AT+pVliaqlp+d1uSC0YvczI4ixidjBWNgOQ4D+hZwrqpUCYnd m5sYO87dZWPvQbHjU2n3EABfAIUXDxgbqio7ikYcffzcwPRtzpJLHLozgPn9LjWq cDCRjAbcq1JCh9mKugklumLhnarFFqLcyr+BN++54t9arQrQVEOsvcBJEFo52gBK ejlUxRK7YPalwqDa3f4ZSyxV5BBUyN/qgMbvzQqr2HR6PicL0XOgEamMq0T92N5Y OOcYQf/7XNmC34J5T0or7RkmhGl5EqiXz+MqrwCUk/i8WaYbjkxuvZKtY56mrqL/ Lge/owBVRy38FDbDDgVLl0O5vgRwiDN06aO8UI50U9pDEIt9R4nj4dS7PV3p7qiE uWjSB68VcN6NCjKsPfIEs/tgDbyfoRwaLwLWJz50mpXzohKQkYguDAE2p/8luJUm BhfPt9rf6RvRknr5Z3yxlcKxHv4ePHmjQGwFQAztvYqCQdw2TsIaAxIRwKowTY2g DcVeHXVZGqz2sb/9qO4HSQxN7XL5I1GZgTriB7wsaF4jm3hp4Ww= =LdFW -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=container-minimal.scm Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChnbnUpKQoodXNlLW1vZHVsZXMgKHJucnMgbGlzdHMpKQoKKG9wZXJhdGlu Zy1zeXN0ZW0KICAoaG9zdC1uYW1lICJ0ZXN0LWNvbnRhaW5lciIpCiAgKHRpbWV6b25lICJFdXJv cGUvUm9tZSIpCiAgKGxvY2FsZSAiZW5fVVMudXRmOCIpCgogIDs7IEJvb3QgaW4gImxlZ2FjeSIg QklPUyBtb2RlCiAgKGJvb3Rsb2FkZXIgKGJvb3Rsb2FkZXItY29uZmlndXJhdGlvbgogICAgICAg ICAgICAgICAgKGJvb3Rsb2FkZXIgZ3J1Yi1ib290bG9hZGVyKQogICAgICAgICAgICAgICAgKHRh cmdldCAiL2Rldi9zZGEiKSkpCgogIChmaWxlLXN5c3RlbXMgKGNvbnMgKGZpbGUtc3lzdGVtCiAg ICAgICAgICAgICAgICAgICAgICAgIChkZXZpY2UgKGZpbGUtc3lzdGVtLWxhYmVsICJndWl4c2Qi KSkKICAgICAgICAgICAgICAgICAgICAgICAgKG1vdW50LXBvaW50ICIvIikKICAgICAgICAgICAg ICAgICAgICAgICAgKHR5cGUgImV4dDQiKSkKICAgICAgICAgICAgICAgICAgICAgICViYXNlLWZp bGUtc3lzdGVtcykpCiAgCiAgOzsgVGhpcyBpcyB3aGVyZSB1c2VyIGFjY291bnRzIGFyZSBzcGVj aWZpZWQuICBUaGUgInJvb3QiCiAgOzsgYWNjb3VudCBpcyBpbXBsaWNpdCwgYW5kIGlzIGluaXRp YWxseSBjcmVhdGVkIHdpdGggdGhlCiAgOzsgZW1wdHkgcGFzc3dvcmQuCiAgKHVzZXJzIChjb25z ICh1c2VyLWFjY291bnQKICAgICAgICAgICAgICAgIChuYW1lICJ0ZXN0IikKICAgICAgICAgICAg ICAgIChjb21tZW50ICJUZXN0IFVzZXIiKQogICAgICAgICAgICAgICAgKGdyb3VwICJ1c2VycyIp CiAgICAgICAgICAgICAgICAoc3VwcGxlbWVudGFyeS1ncm91cHMgJygid2hlZWwiICJhdWRpbyIg InZpZGVvIikpCiAgICAgICAgICAgICAgICAoaG9tZS1kaXJlY3RvcnkgIi9ob21lL3Rlc3QiKSkK ICAgICAgICAgICAgICAgJWJhc2UtdXNlci1hY2NvdW50cykpCiAgCiAgOzsgR2xvYmFsbHktaW5z dGFsbGVkIHBhY2thZ2VzLgogIChwYWNrYWdlcyAoY29ucyogJWJhc2UtcGFja2FnZXMpKQoKICA7 OyByZW1vdmUgbWluZ2V0dHkgYW5kIGNvbnNvbGUtZm9udHMgZnJvbSBjb250YWluZXIKICAoc2Vy dmljZXMgKGNvbnMqIChyZW1vdmUgKGxhbWJkYSAoc2VydmljZSkKCQkJICAgICAobGV0ICgodHlw ZSAoc2VydmljZS10eXBlLW5hbWUgKHNlcnZpY2Uta2luZCBzZXJ2aWNlKSkpKQoJCQkgICAgICAg KG9yIChlcT8gdHlwZSAnbWluZ2V0dHkpCgkJCQkgICAoZXE/IHR5cGUgJ2NvbnNvbGUtZm9udHMp KSkpCgkJCSAgICViYXNlLXNlcnZpY2VzKSkpKQo= --=-=-= Content-Type: text/plain it's _very_ lightweight so it'll not waste your store space, to test it just do --8<---------------cut here---------------start------------->8--- $ rm container-minimal $ guix system container container-minimal.scm -r container-minimal $ sudo ./container-minimal --8<---------------cut here---------------end--------------->8--- in all my tests mingetty gets started and respawned, I can enter the container and manually stop term-tty[1..6] services Thanks! Giovanni [1] may it depend on my user environment? I'm on a foreign distro (Debian 9.7) -- Giovanni Biscuolo Xelera IT Infrastructures --=-=-=--