* [gentoo-user] "systemd sysv-utils blocker resolution" @ 2018-02-11 0:16 allan gottlieb 2018-02-11 0:29 ` Rich Freeman ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: allan gottlieb @ 2018-02-11 0:16 UTC (permalink / raw To: gentoo-user I have a question on this news item. I use systemd (gnome3) on a gentoo stable system. eix reports that sys-apps/systemd-236-r5 is installed But euse -I sysv-utils reports no matching entries found Is something wrong? I do *not* have sys-apps/sysvinit, sys-apps/openrc, or net-misc/netifrc in my world file. However, the last two are installed. thanks, allan ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "systemd sysv-utils blocker resolution" 2018-02-11 0:16 [gentoo-user] "systemd sysv-utils blocker resolution" allan gottlieb @ 2018-02-11 0:29 ` Rich Freeman 2018-02-11 3:02 ` allan gottlieb 2018-02-11 1:31 ` [gentoo-user] " Nikos Chantziaras 2018-02-11 3:26 ` [gentoo-user] " Dale 2 siblings, 1 reply; 10+ messages in thread From: Rich Freeman @ 2018-02-11 0:29 UTC (permalink / raw To: gentoo-user On Sat, Feb 10, 2018 at 7:16 PM, allan gottlieb <gottlieb@nyu.edu> wrote: > I have a question on this news item. > > I use systemd (gnome3) on a gentoo stable system. > eix reports that sys-apps/systemd-236-r5 is installed > > But > euse -I sysv-utils > reports > no matching entries found > > Is something wrong? > > I do *not* have > sys-apps/sysvinit, sys-apps/openrc, or net-misc/netifrc > in my world file. > > However, the last two are installed. > Interesting. Does /sbin/reboot exist? What does "qfile /sbin/reboot" return? The only thing that is changing is a default - that flag was defaulted off before, and is defaulted on now. So, an emerge --changed-use -u world should reinstall systemd with this flag enabled, assuming you didn't manually disable it. In any case, you can probably actually survive without poweroff, reboot, etc, assuming you shutdown using systemctl. Obviously some legacy scripts/programs/etc that are supposed to shut down your system might balk at the missing symlinks. All the use flag does is install compatibility symlinks to systemctl for these sysvinit programs and their manpages. Unless you have some package installed that explicitly depends on sysvinit or openrc you should be fine. Do you actually get any blockers/etc? Ultimately it comes down to whether you care about the compatibility symlinks. It probably isn't a bad idea to have them though. Maybe some day you'll install a UPS and its shutdown scripts will just call shutdown/poweroff/etc and not work. Software that shuts down using either systemctl or dbus would be fine. -- Rich ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "systemd sysv-utils blocker resolution" 2018-02-11 0:29 ` Rich Freeman @ 2018-02-11 3:02 ` allan gottlieb 2018-02-11 3:30 ` Rich Freeman 0 siblings, 1 reply; 10+ messages in thread From: allan gottlieb @ 2018-02-11 3:02 UTC (permalink / raw To: gentoo-user On Sat, Feb 10 2018, Rich Freeman wrote: > On Sat, Feb 10, 2018 at 7:16 PM, allan gottlieb <gottlieb@nyu.edu> wrote: >> I have a question on this news item. >> >> I use systemd (gnome3) on a gentoo stable system. >> eix reports that sys-apps/systemd-236-r5 is installed >> >> But >> euse -I sysv-utils >> reports >> no matching entries found >> >> Is something wrong? >> >> I do *not* have >> sys-apps/sysvinit, sys-apps/openrc, or net-misc/netifrc >> in my world file. >> >> However, the last two are installed. >> > > Interesting. Does /sbin/reboot exist? gottlieb@E6430 ~ $ ls -l /sbin/reboot lrwxrwxrwx 1 root root 16 Jan 28 13:08 /sbin/reboot -> ../bin/systemctl > What does "qfile /sbin/reboot" return? gottlieb@E6430 ~ $ qfile /sbin/reboot sys-apps/systemd (/sbin/reboot) > The only thing that is changing is a default - that flag was defaulted > off before, and is defaulted on now. So, an emerge --changed-use -u > world should reinstall systemd with this flag enabled, assuming you > didn't manually disable it. I have not dis- or en- abled the flag > In any case, you can probably actually survive without poweroff, > reboot, etc, assuming you shutdown using systemctl. Obviously some > legacy scripts/programs/etc that are supposed to shut down your system > might balk at the missing symlinks. All the use flag does is install > compatibility symlinks to systemctl for these sysvinit programs and > their manpages. My poweroff sequence is to use the gnome icon to logoff and then the gnome icon to poweroff > Unless you have some package installed that explicitly depends on > sysvinit or openrc you should be fine. Do you actually get any > blockers/etc? No blockers. I have two similar machines. Only problems are a long-standing difficulty with one machine compiling chromium and a known bug in compiling webkit-gtk-2.4.11-r200 on either machine. > Ultimately it comes down to whether you care about the compatibility > symlinks. It probably isn't a bad idea to have them though. Maybe > some day you'll install a UPS and its shutdown scripts will just call > shutdown/poweroff/etc and not work. Software that shuts down using > either systemctl or dbus would be fine. Since you lean toward having the symlinks, why is the new default for the use flag on? Upstream? Also why do I have the symlinks with the 236-r5 system, contracting the news item. (This is true for both machines.) Thanks again for all your help, allan ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "systemd sysv-utils blocker resolution" 2018-02-11 3:02 ` allan gottlieb @ 2018-02-11 3:30 ` Rich Freeman 2018-02-11 15:26 ` allan gottlieb 0 siblings, 1 reply; 10+ messages in thread From: Rich Freeman @ 2018-02-11 3:30 UTC (permalink / raw To: gentoo-user On Sat, Feb 10, 2018 at 10:02 PM, allan gottlieb <gottlieb@nyu.edu> wrote: > On Sat, Feb 10 2018, Rich Freeman wrote: > >> >> Interesting. Does /sbin/reboot exist? > > gottlieb@E6430 ~ $ ls -l /sbin/reboot > lrwxrwxrwx 1 root root 16 Jan 28 13:08 /sbin/reboot -> ../bin/systemctl > >> What does "qfile /sbin/reboot" return? > > gottlieb@E6430 ~ $ qfile /sbin/reboot > sys-apps/systemd (/sbin/reboot) Ok, your systemd is built with USE=sysv-utils. >> Ultimately it comes down to whether you care about the compatibility >> symlinks. It probably isn't a bad idea to have them though. Maybe >> some day you'll install a UPS and its shutdown scripts will just call >> shutdown/poweroff/etc and not work. Software that shuts down using >> either systemctl or dbus would be fine. > > Since you lean toward having the symlinks, why is the new default for > the use flag on? Upstream? When the flag is on the symlinks are created. They're only missing (from systemd) when the flag is off. > Also why do I have the symlinks with the 236-r5 system, contracting the > news item. (This is true for both machines.) You have them because the default is USE=sysv-utils, which installs the symlinks. The real question is why euse didn't show you has having the flag enabled. That I'm not sure about. It shows it as enabled on my system. I'd have to dig into where it is getting its data and how this might get out of sync. To avoid a second email - a lack of depcleaning might explain why software like openrc/netifrc is still installed. I don't believe it has anything to do with the output of euse. -- Rich ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "systemd sysv-utils blocker resolution" 2018-02-11 3:30 ` Rich Freeman @ 2018-02-11 15:26 ` allan gottlieb 0 siblings, 0 replies; 10+ messages in thread From: allan gottlieb @ 2018-02-11 15:26 UTC (permalink / raw To: gentoo-user On Sat, Feb 10 2018, Rich Freeman wrote: > On Sat, Feb 10, 2018 at 10:02 PM, allan gottlieb <gottlieb@nyu.edu> wrote: >> On Sat, Feb 10 2018, Rich Freeman wrote: >> >>> >>> Interesting. Does /sbin/reboot exist? >> >> gottlieb@E6430 ~ $ ls -l /sbin/reboot >> lrwxrwxrwx 1 root root 16 Jan 28 13:08 /sbin/reboot -> ../bin/systemctl >> >>> What does "qfile /sbin/reboot" return? >> >> gottlieb@E6430 ~ $ qfile /sbin/reboot >> sys-apps/systemd (/sbin/reboot) > > Ok, your systemd is built with USE=sysv-utils. > >>> Ultimately it comes down to whether you care about the compatibility >>> symlinks. It probably isn't a bad idea to have them though. Maybe >>> some day you'll install a UPS and its shutdown scripts will just call >>> shutdown/poweroff/etc and not work. Software that shuts down using >>> either systemctl or dbus would be fine. >> >> Since you lean toward having the symlinks, why is the new default for >> the use flag on? Upstream? > > When the flag is on the symlinks are created. They're only missing > (from systemd) when the flag is off. > >> Also why do I have the symlinks with the 236-r5 system, contracting the >> news item. (This is true for both machines.) > > You have them because the default is USE=sysv-utils, which installs > the symlinks. > > The real question is why euse didn't show you has having the flag > enabled. That I'm not sure about. It shows it as enabled on my > system. I'd have to dig into where it is getting its data and how > this might get out of sync. > > To avoid a second email - a lack of depcleaning might explain why > software like openrc/netifrc is still installed. I don't believe it > has anything to do with the output of euse. Thank you (and dale) again. allan ^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: "systemd sysv-utils blocker resolution" 2018-02-11 0:16 [gentoo-user] "systemd sysv-utils blocker resolution" allan gottlieb 2018-02-11 0:29 ` Rich Freeman @ 2018-02-11 1:31 ` Nikos Chantziaras 2018-02-11 3:09 ` allan gottlieb 2018-02-11 3:26 ` [gentoo-user] " Dale 2 siblings, 1 reply; 10+ messages in thread From: Nikos Chantziaras @ 2018-02-11 1:31 UTC (permalink / raw To: gentoo-user On 11/02/18 02:16, allan gottlieb wrote: > I have a question on this news item. > > I use systemd (gnome3) on a gentoo stable system. > eix reports that sys-apps/systemd-236-r5 is installed > > But > euse -I sysv-utils > reports > no matching entries found > > Is something wrong? > > I do *not* have > sys-apps/sysvinit, sys-apps/openrc, or net-misc/netifrc > in my world file. > > However, the last two are installed. When you ran: emerge -auDN --changed-deps --with-bdeps=y @world did you forget to run: emerge -a --depclean afterwards? ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Re: "systemd sysv-utils blocker resolution" 2018-02-11 1:31 ` [gentoo-user] " Nikos Chantziaras @ 2018-02-11 3:09 ` allan gottlieb 2018-02-11 17:52 ` Nikos Chantziaras 0 siblings, 1 reply; 10+ messages in thread From: allan gottlieb @ 2018-02-11 3:09 UTC (permalink / raw To: gentoo-user On Sun, Feb 11 2018, Nikos Chantziaras wrote: > On 11/02/18 02:16, allan gottlieb wrote: >> I have a question on this news item. >> >> I use systemd (gnome3) on a gentoo stable system. >> eix reports that sys-apps/systemd-236-r5 is installed >> >> But >> euse -I sysv-utils >> reports >> no matching entries found >> >> Is something wrong? >> >> I do *not* have >> sys-apps/sysvinit, sys-apps/openrc, or net-misc/netifrc >> in my world file. >> >> However, the last two are installed. > > When you ran: > > emerge -auDN --changed-deps --with-bdeps=y @world > > did you forget to run: > > emerge -a --depclean > > afterwards? I am indeed behind in depcleaning. Does that explain why euse doesn't fine sysv-utils and why I have the symlinks /sbin/poweroff and friends with systemd-236? I will be working on depcleans but rather slowly. thanks for the help. allan ^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: "systemd sysv-utils blocker resolution" 2018-02-11 3:09 ` allan gottlieb @ 2018-02-11 17:52 ` Nikos Chantziaras 2018-02-11 17:58 ` Rich Freeman 0 siblings, 1 reply; 10+ messages in thread From: Nikos Chantziaras @ 2018-02-11 17:52 UTC (permalink / raw To: gentoo-user On 11/02/18 05:09, allan gottlieb wrote: > On Sun, Feb 11 2018, Nikos Chantziaras wrote: >> When you ran: >> >> emerge -auDN --changed-deps --with-bdeps=y @world >> >> did you forget to run: >> >> emerge -a --depclean >> >> afterwards? > > I am indeed behind in depcleaning. Does that explain why > euse doesn't fine sysv-utils > and why > I have the symlinks /sbin/poweroff and friends with systemd-236? Yes. How else is sys-apps/sysvinit going to be unmerged? Either you let portage clean it up (depclean), or you need to do it manually. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Re: "systemd sysv-utils blocker resolution" 2018-02-11 17:52 ` Nikos Chantziaras @ 2018-02-11 17:58 ` Rich Freeman 0 siblings, 0 replies; 10+ messages in thread From: Rich Freeman @ 2018-02-11 17:58 UTC (permalink / raw To: gentoo-user On Sun, Feb 11, 2018 at 12:52 PM, Nikos Chantziaras <realnc@gmail.com> wrote: > > Yes. How else is sys-apps/sysvinit going to be unmerged? Either you let > portage clean it up (depclean), or you need to do it manually. > He already has sysvinit unmerged. Portage unmerged that because it was a blocker for systemd[sysv-utils]. Portage doesn't remove non-blocking packages unless you run emerge --depclean. -- Rich ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "systemd sysv-utils blocker resolution" 2018-02-11 0:16 [gentoo-user] "systemd sysv-utils blocker resolution" allan gottlieb 2018-02-11 0:29 ` Rich Freeman 2018-02-11 1:31 ` [gentoo-user] " Nikos Chantziaras @ 2018-02-11 3:26 ` Dale 2 siblings, 0 replies; 10+ messages in thread From: Dale @ 2018-02-11 3:26 UTC (permalink / raw To: gentoo-user allan gottlieb wrote: > I have a question on this news item. > > I use systemd (gnome3) on a gentoo stable system. > eix reports that sys-apps/systemd-236-r5 is installed > > But > euse -I sysv-utils > reports > no matching entries found > > Is something wrong? > > I do *not* have > sys-apps/sysvinit, sys-apps/openrc, or net-misc/netifrc > in my world file. > > However, the last two are installed. > > thanks, > allan > > I would use 'equery d openrc netifrc'to see what if anything depends on them. If you get packages listed, then you know why they are there, and maybe why as well. If it lists nothing, then --depclean should clean it up when you get a chance to run it. Just my thinking. Dale :-) :-) ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-02-11 17:59 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-02-11 0:16 [gentoo-user] "systemd sysv-utils blocker resolution" allan gottlieb 2018-02-11 0:29 ` Rich Freeman 2018-02-11 3:02 ` allan gottlieb 2018-02-11 3:30 ` Rich Freeman 2018-02-11 15:26 ` allan gottlieb 2018-02-11 1:31 ` [gentoo-user] " Nikos Chantziaras 2018-02-11 3:09 ` allan gottlieb 2018-02-11 17:52 ` Nikos Chantziaras 2018-02-11 17:58 ` Rich Freeman 2018-02-11 3:26 ` [gentoo-user] " Dale
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox