From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 47A1E1381F3 for ; Sun, 26 May 2013 13:15:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACB76E0B5F; Sun, 26 May 2013 13:14:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C06FAE0A9E for ; Sun, 26 May 2013 13:14:55 +0000 (UTC) Received: from localhost (178-37-163-206.adsl.inetia.pl [178.37.163.206]) (using SSLv3 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id E73EA33DFC8; Sun, 26 May 2013 13:14:53 +0000 (UTC) Date: Sun, 26 May 2013 15:15:26 +0200 From: =?ISO-8859-2?B?TWljaGGzIEfzcm55?= To: gentoo-dev@lists.gentoo.org Cc: TomWij@gentoo.org Subject: Re: [gentoo-dev] eselect init Message-ID: <20130526151526.1c2393c7@gentoo.org> In-Reply-To: <20130525215520.77ca8df0@TOMWIJ-GENTOO> References: <51A08A68.3020900@gentoo.org> <20130525153827.61ed2ca4@TOMWIJ-GENTOO> <5d832c4680bfbd3ae7da6dfe5608be2d.squirrel@www.antarean.org> <20130525215520.77ca8df0@TOMWIJ-GENTOO> Organization: Gentoo X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/gj8W58BymEGOAryuCyZXnj8"; protocol="application/pgp-signature" X-Archives-Salt: a8cccd1e-49cf-4e1b-8d16-3f7dea9b3f06 X-Archives-Hash: 714b2c195d99f995f3eb00aeb8728203 --Sig_/gj8W58BymEGOAryuCyZXnj8 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable On Sat, 25 May 2013 21:55:20 +0200 Tom Wijsman wrote: > On Sat, 25 May 2013 21:09:47 +0200 > "J. Roeleveld" wrote: >=20 > > +1 for wrapper, from my understanding, symlinks for init-systems > > can't be altered on a running system without risking strange > > behaviour. >=20 > Exactly... >=20 > # shutdown -h now >=20 > The system is going down for system halt NOW!s/1) (Sat May 25 21:25:41 > 2013): Excess arguments. I don't know what is the state of your system when testing this but on my system /sbin/telinit is a symlink to /sbin/init. So replacing the latter also replaces telinit with something unexpected. Of course, the solution is to make telinit point to the real sysvinit executable. Not sure how well it will reboot then, however. It may be necessary to also change 'halt' to use 'telinit' if it uses 'init' directly. > > I am assuming that should be for the user to keep in mind, but will > > it be possible to add something that will make init.d-scripts not > > work when systemd is running and unit-files not work when systemd is > > not running? >=20 > They currently just bail out with bogus errors as far as I am aware. >=20 > # /etc/init.d/ntpd start > ntpd | * WARNING: ntpd is already starting > # /etc/init.d/ntpd stop > ntpd | * ERROR: ntpd stopped by something else I think we fixed this already... well, not exactly this because openrc used to try to actually start stuff. I would consider this a regression since it had explanatory error messages. --=20 Best regards, Micha=B3 G=F3rny --Sig_/gj8W58BymEGOAryuCyZXnj8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQJ8BAEBCgBmBQJRogruXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RUJGMjBGOTk2RkIzQzIyQ0M2RkNBNDBC QUJGMUQ1RkY4QzgxMTBBAAoJELq/HV/4yBEKB7wQAJ13tk8yRNu8ItK2kn8A23TG wVmG7dgYxiWqVu7kAr0cP6pHk50RNMQqJG3ld7BqB9UESYMczQQxotPOcdvL8RQV yKoUuOEOqYd9e6R7C1E4imxzZVVbWjUO+K+wLYKamdSGl0NSHfH1pK++kfXA+/VU 4iiSw+JX1XOLj9qwYPa+oCacifrX2hcn2Hc+P81n0Uau6g+XtWl0PQ6LdBhFWFUr eZbb94U3MuS1ILaPRzyEJui+zRve6rmXPJwtBebm97Tq1A8RhwBF6wrClB6qps56 b/vgeUoSDOC1TZw16bQ0LQ5wpsNoVbkOfNcLKsrunUaYtPxSuVF4VCDpMjYkDiYd rd5OVEuXCHG2bWYYGJJhv/QrxYLmCLQLAKtvQmS/LP+iggHVsc55JaYLJR/Tskph AnvNl83j4gdKpDR8UfHLONwXQv14G+uI1J0P4i28NKLzfMhudpeXAoW1+tjFMkl8 h0kgtev+d7FGeGCLxD4+whhfWnEDd/7wrY1x868cchK+9bNsyDKJi0OvCqvmukMt PcWaKRGkboPWtcSdAHmG1iqcr4+1tJOa11PQPJoNibtHmaiOzoOmcfHreYD2S7Th 7XwJaSFf2zIVlANVqUTSn6amJswac++hn/+hfu6EczeW7y1riFEox+VwI4bqoOaZ pyKGSI8o/opPXQP8XQMC =yTYC -----END PGP SIGNATURE----- --Sig_/gj8W58BymEGOAryuCyZXnj8--