public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: News: systemd sysv-utils blocker resolution
@ 2017-12-25  0:38 Mike Gilbert
  2017-12-25  5:47 ` [gentoo-dev] " Duncan
  0 siblings, 1 reply; 10+ messages in thread
From: Mike Gilbert @ 2017-12-25  0:38 UTC (permalink / raw
  To: gentoo-dev; +Cc: pr

Hi all, 

There has been a bit of confusion over a change I made recently. I
would like to publish a news item before the relevant version of
systemd is marked stable.

Any suggestions are welcome.

--

Title: systemd sysv-utils blocker resolution
Author: Mike Gilbert <floppym@gentoo.org>
Posted: ????-??-??
Revision: 1
News-Item-Format: 2.0
Display-If-Installed: sys-apps/systemd

Starting with systemd-236, the sysv-utils USE flag is enabled by
default. 

The sysv-utils USE flag controls installation of symlinks for several
key commands:

    /sbin/halt -> ../bin/systemctl
    /sbin/init -> ../lib/systemd/systemd
    /sbin/reboot -> ../bin/systemctl
    /sbin/poweroff -> ../bin/systemctl
    /sbin/runlevel -> ../bin/systemctl
    /sbin/shutdown -> ../bin/systemctl
    /sbin/telinit -> ../bin/systemctl

These commands are otherwise provided by sys-apps/sysvinit. This package
is blocked by systemd when the sysv-utils USE flag is enabled.

If you wish to keep sysvinit (and openrc) installed, you may disable the
sysv-utils USE flag locally.

If you run into unresolvable blockers with sysv-utils enabled, ensure
that you do not have any reverse dependencies of sys-apps/sysvinit
selected (in your world file).

Common packages to look for:

    sys-apps/sysvinit
    sys-apps/openrc
    net-misc/netifrc

The equery command from gentoolkit may help track down installed
packages that depend on openrc.

    equery depends sys-apps/openrc


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-25  0:38 [gentoo-dev] RFC: News: systemd sysv-utils blocker resolution Mike Gilbert
@ 2017-12-25  5:47 ` Duncan
  2017-12-26 22:22   ` Jason A. Donenfeld
  0 siblings, 1 reply; 10+ messages in thread
From: Duncan @ 2017-12-25  5:47 UTC (permalink / raw
  To: gentoo-dev

Mike Gilbert posted on Sun, 24 Dec 2017 19:38:30 -0500 as excerpted:

> There has been a bit of confusion over a change I made recently. I would
> like to publish a news item before the relevant version of systemd is
> marked stable.
> 
> Any suggestions are welcome.
> 
> --
> 
> Title: systemd sysv-utils blocker resolution

+1

The news item reads very clearly to me. =:^)

Thanks especially for explicitly including the list of symlinks and that 
sysvinit otherwise provides those files, as well as the explicitly 
suggested equery depends line for those who need it.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-25  5:47 ` [gentoo-dev] " Duncan
@ 2017-12-26 22:22   ` Jason A. Donenfeld
  2017-12-27  0:11     ` Rich Freeman
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jason A. Donenfeld @ 2017-12-26 22:22 UTC (permalink / raw
  To: gentoo-dev

You might want to mention that alternatively, uninstalling
openrc&sysvinit&netifrc on a systemd profile system is fine to do
these days, despite the warning.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-26 22:22   ` Jason A. Donenfeld
@ 2017-12-27  0:11     ` Rich Freeman
  2017-12-27  0:16       ` Ben Kohler
  2017-12-27  0:18     ` Robin H. Johnson
  2017-12-27 15:49     ` Mike Gilbert
  2 siblings, 1 reply; 10+ messages in thread
From: Rich Freeman @ 2017-12-27  0:11 UTC (permalink / raw
  To: gentoo-dev

On Tue, Dec 26, 2017 at 5:22 PM, Jason A. Donenfeld <zx2c4@gentoo.org> wrote:
> You might want to mention that alternatively, uninstalling
> openrc&sysvinit&netifrc on a systemd profile system is fine to do
> these days, despite the warning.
>

Does this still cause a warning?  I thought that openrc/sysvinit were
now pulled in via a virtual these days (alongside systemd), and were
not directly in @system.  Or do we still have functions.sh issues?

-- 
Rich


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-27  0:11     ` Rich Freeman
@ 2017-12-27  0:16       ` Ben Kohler
  0 siblings, 0 replies; 10+ messages in thread
From: Ben Kohler @ 2017-12-27  0:16 UTC (permalink / raw
  To: gentoo-dev

On Tue, Dec 26, 2017 at 6:11 PM, Rich Freeman <rich0@gentoo.org> wrote:
> Does this still cause a warning?  I thought that openrc/sysvinit were
> now pulled in via a virtual these days (alongside systemd), and were
> not directly in @system.  Or do we still have functions.sh issues?
>
> --
> Rich
>

Still throws warning due to unresolved bug https://bugs.gentoo.org/375115

-Ben


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-26 22:22   ` Jason A. Donenfeld
  2017-12-27  0:11     ` Rich Freeman
@ 2017-12-27  0:18     ` Robin H. Johnson
  2017-12-27 15:47       ` Mike Gilbert
  2017-12-27 15:49     ` Mike Gilbert
  2 siblings, 1 reply; 10+ messages in thread
From: Robin H. Johnson @ 2017-12-27  0:18 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 550 bytes --]

On Tue, Dec 26, 2017 at 11:22:50PM +0100, Jason A. Donenfeld wrote:
> You might want to mention that alternatively, uninstalling
> openrc&sysvinit&netifrc on a systemd profile system is fine to do
> these days, despite the warning.
If you're using netifrc's systemd support, this would break your
networking ;-).

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Asst. Treasurer
E-Mail   : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 1113 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-27  0:18     ` Robin H. Johnson
@ 2017-12-27 15:47       ` Mike Gilbert
  2017-12-27 16:18         ` Francesco Riosa
  0 siblings, 1 reply; 10+ messages in thread
From: Mike Gilbert @ 2017-12-27 15:47 UTC (permalink / raw
  To: Gentoo Dev

On Tue, Dec 26, 2017 at 7:18 PM, Robin H. Johnson <robbat2@gentoo.org> wrote:
> On Tue, Dec 26, 2017 at 11:22:50PM +0100, Jason A. Donenfeld wrote:
>> You might want to mention that alternatively, uninstalling
>> openrc&sysvinit&netifrc on a systemd profile system is fine to do
>> these days, despite the warning.
> If you're using netifrc's systemd support, this would break your
> networking ;-).

I guess the winky face means you are not serious, but I'll respond anyway. :-)

I suspect the number of people using systemd with netifrc is in the
single digits. I would rather not clutter the news item to account for
this scenario.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-26 22:22   ` Jason A. Donenfeld
  2017-12-27  0:11     ` Rich Freeman
  2017-12-27  0:18     ` Robin H. Johnson
@ 2017-12-27 15:49     ` Mike Gilbert
  2 siblings, 0 replies; 10+ messages in thread
From: Mike Gilbert @ 2017-12-27 15:49 UTC (permalink / raw
  To: Gentoo Dev

On Tue, Dec 26, 2017 at 5:22 PM, Jason A. Donenfeld <zx2c4@gentoo.org> wrote:
> You might want to mention that alternatively, uninstalling
> openrc&sysvinit&netifrc on a systemd profile system is fine to do
> these days, despite the warning.

I have added the following text after the third paragraph. Let me know
if this is insufficient.

Enabling sysv-utils should cause Portage to un-merge sysvinit and OpenRC
if they are currently installed. emerge may emit a warning message
before doing so; if you are booting with systemd, this message is safe
to ignore.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-27 15:47       ` Mike Gilbert
@ 2017-12-27 16:18         ` Francesco Riosa
  2017-12-27 20:47           ` Robin H. Johnson
  0 siblings, 1 reply; 10+ messages in thread
From: Francesco Riosa @ 2017-12-27 16:18 UTC (permalink / raw
  To: gentoo-dev, Mike Gilbert



On 12/27/17 16:47, Mike Gilbert wrote:
> On Tue, Dec 26, 2017 at 7:18 PM, Robin H. Johnson <robbat2@gentoo.org> wrote:
>> On Tue, Dec 26, 2017 at 11:22:50PM +0100, Jason A. Donenfeld wrote:
>>> You might want to mention that alternatively, uninstalling
>>> openrc&sysvinit&netifrc on a systemd profile system is fine to do
>>> these days, despite the warning.
>> If you're using netifrc's systemd support, this would break your
>> networking ;-).
> I guess the winky face means you are not serious, but I'll respond anyway. :-)
>
> I suspect the number of people using systemd with netifrc is in the
> single digits. I would rather not clutter the news item to account for
> this scenario.
Just for the record,
 I'm using it if using systemd (desktop systems), it's the only network
manager that use iproute2 syntax, shortening it if context is available
(no need to specify interface if it's mentioned in variable name f.ex.).
Beside I don't like NetworkManager

worse than that I'm actually using the same gentoo image with openrc and
systemd in different scenarios.
Basically my build box is using openrc inside a lxc container (no use of
netifrc, since net is managed by lxc).
The clients of the build box instead boot with systemd _and_ netifrc.

Gentoo is used by people who like to change defaults and (ab)use the
(autodocumented) flexibility offered by portage and ebuilds. Don't be
light in assuming how strange people is using strange configuration, and
population of strange people, that could be surprising.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: RFC: News: systemd sysv-utils blocker resolution
  2017-12-27 16:18         ` Francesco Riosa
@ 2017-12-27 20:47           ` Robin H. Johnson
  0 siblings, 0 replies; 10+ messages in thread
From: Robin H. Johnson @ 2017-12-27 20:47 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]

On Wed, Dec 27, 2017 at 05:18:11PM +0100, Francesco Riosa wrote:
> 
> 
> On 12/27/17 16:47, Mike Gilbert wrote:
> > On Tue, Dec 26, 2017 at 7:18 PM, Robin H. Johnson <robbat2@gentoo.org> wrote:
> >> On Tue, Dec 26, 2017 at 11:22:50PM +0100, Jason A. Donenfeld wrote:
> >>> You might want to mention that alternatively, uninstalling
> >>> openrc&sysvinit&netifrc on a systemd profile system is fine to do
> >>> these days, despite the warning.
> >> If you're using netifrc's systemd support, this would break your
> >> networking ;-).
> > I guess the winky face means you are not serious, but I'll respond anyway. :-)
> >
> > I suspect the number of people using systemd with netifrc is in the
> > single digits. I would rather not clutter the news item to account for
> > this scenario.
It was a GSOC project, but since then I hadn't heard of any users of it,
other than the GSOC student, and haven't had any bug reports of it being
broken.

I'm happy to hear it has at least one other user in Francesco.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Asst. Treasurer
E-Mail   : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 1113 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-12-27 20:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-25  0:38 [gentoo-dev] RFC: News: systemd sysv-utils blocker resolution Mike Gilbert
2017-12-25  5:47 ` [gentoo-dev] " Duncan
2017-12-26 22:22   ` Jason A. Donenfeld
2017-12-27  0:11     ` Rich Freeman
2017-12-27  0:16       ` Ben Kohler
2017-12-27  0:18     ` Robin H. Johnson
2017-12-27 15:47       ` Mike Gilbert
2017-12-27 16:18         ` Francesco Riosa
2017-12-27 20:47           ` Robin H. Johnson
2017-12-27 15:49     ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox