From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:33429) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilTbL-0005yG-9V for guix-patches@gnu.org; Sun, 29 Dec 2019 03:07:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilTbK-0005Oj-5c for guix-patches@gnu.org; Sun, 29 Dec 2019 03:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilTbK-0005Nr-0w for guix-patches@gnu.org; Sun, 29 Dec 2019 03:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilTbJ-0002H0-SG for guix-patches@gnu.org; Sun, 29 Dec 2019 03:07:01 -0500 Subject: [bug#38304] [PATCH]: Make more services one-shot Resent-Message-ID: Date: Sun, 29 Dec 2019 10:06:12 +0200 From: Efraim Flashner Message-ID: <20191229080612.GB23018@E5400> References: <20191120194544.GV15074@E5400> <20191120195408.GW15074@E5400> <87wob6mrqt.fsf@gnu.org> <20191213205011.GK8302@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uHXdqxJKu4m6W3Gg" Content-Disposition: inline In-Reply-To: <20191213205011.GK8302@E5400> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 38304@debbugs.gnu.org --uHXdqxJKu4m6W3Gg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 13, 2019 at 10:50:11PM +0200, Efraim Flashner wrote: > On Sun, Dec 08, 2019 at 10:28:42PM +0100, Ludovic Court=C3=A8s wrote: > > Hello! > >=20 > > Efraim Flashner skribis: > >=20 > > > On Wed, Nov 20, 2019 at 09:45:44PM +0200, Efraim Flashner wrote: > > >> After changing the sysctl service to use one-shot I found 3 more that > > >> look like they'd be good choices. > > >>=20 > > > > > > Actually, it looks like agetty and mingetty both rely on the host-name > > > service, so that one doesn't look like a good choice after all. > >=20 > > Is it a problem, though? I think they should still get started, even if > > =E2=80=98host-name=E2=80=99 is one-shot, no? >=20 > I'll try to test this in the next week or so. I tested this a bit with some other services I'm working on. When service A is one-shot and service B depends on it, when service B starts it also 'runs' service A. So it looks like it won't be a problem after all. >=20 > >=20 > > Conceptually, =E2=80=98console-keymap=E2=80=99 and =E2=80=98console-fon= t=E2=80=99 do not look like > > one-shot to me though: it=E2=80=99s not implemented, but their =E2=80= =98stop=E2=80=99 method > > could very much restore the previous keymap/font. > >=20 >=20 > I feel like since these commands don't have an 'undo' command from the > terminal or from various DEs (that I know of) that making them one-shot > would make more sense. >=20 > Also we wouldn't want the keymap or font to change during shutdown when > services get stopped. >=20 > --=20 > Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7= =9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 > GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypt= ed --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --uHXdqxJKu4m6W3Gg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl4IXnQACgkQQarn3Mo9 g1H4TBAAuwykxITR6tJ29cQXxAGrPtylsOrGpAonggHNV972IZUW9gSOYuhk2QTi XXa+F1a1hBMgYAuGxZX9Ve7+eOdofmHz8HivtBShkCYCP7hezR6XsyNeNvmLzax5 uJLJ89RV9E3Oc+9sDxnjqZgNyyJUsP8xrTXus0vvQYErrWFiyVRuTHy5EpDDALZr Rkw8RCdwFwIcv4RsHzookLHOEDW9ozyPb0uiAsTh5IkHmNwk/gTaOhEo9ULI5gME +Ry2UNftUCiqdCoM2hab7+eyc7Jagv6RZxvvS3Br/jO8SZNTC7uAF+QCp75S07X5 RFH+i68xO9iu4IgUy7mkyA0xnxAG/ef7Mr0rPKXu7g9MXD0Ce7e8v6Ni9ElhpDAY 2JCk6IPkjCxflpuWUCFXT+T+uxAnPqqVVvDO82yWI3NJG06hJsJXC8QKp5FYAsFM 7Z8dRtDXYwG6SGaRRxGGll7GVY4IZZC6DzEjQXdyaE9aUhqxy9B1SZsObeSCuTTB NSZhUCDIswvX+mudBzs0fXSn+9PgO2Unjb45OBM+0/G+PSOCTszq/AJZAQeC38x5 BI+QuQQUhsoTF1acrdS+7/kuuGgFtR6WLCuFr/4Rf0trcG7eJJgM8okollI+auny OCJ0REb493GVYTHtLpYnJHtqnN+NZkXU1fmm2IyHRwcHk+X0oww= =W7RR -----END PGP SIGNATURE----- --uHXdqxJKu4m6W3Gg--