public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] preparing for the "systemd rootprefix migration"
@ 2018-02-07 20:28 allan gottlieb
  2018-02-07 20:39 ` Mike Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: allan gottlieb @ 2018-02-07 20:28 UTC (permalink / raw
  To: gentoo-user

I run a stable system using gnome3 and hence systemd, specifically
systemd-236-r5.  My bootloader is grub2.  I do *not* have an EFI
platform and do *not* have an initramfs.
I do *not* have a separate /usr filesystem.

The news item says that, in preparation for the 237 release and the
likely removal of the symlinks
   /usr/lib/systemd/systemd and
   /usr/lib/systemd/systemd-shutdown
we should update our boot config to reference init=/lib/systemd/system

1.  Updating the boot config to reference init=/lib/systemd/system seems
to mean a 1-line change in /etc/default/grub
  GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd" -->
  GRUB_CMDLINE_LINUX="init=/lib/systemd/systemd"
followed by the usual
   grub-mkconfig -o /boot/grub/grub.cfg
Is that it?

2.  What should I be doing to prepare for the removal of the
/usr/lib/systemd/systemd-shutdown symlink?

3.  "After upgrading, please run systemctl daemon-reexec".  Which
upgrade is being referred to?  Is it the upgrade to the 237 release,
with the likely removal of the two symlinks.

Thanks in advance,
allan


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

* Re: [gentoo-user] preparing for the "systemd rootprefix migration"
  2018-02-07 20:28 [gentoo-user] preparing for the "systemd rootprefix migration" allan gottlieb
@ 2018-02-07 20:39 ` Mike Gilbert
  2018-02-07 22:16   ` allan gottlieb
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Gilbert @ 2018-02-07 20:39 UTC (permalink / raw
  To: gentoo-user

On Wed, Feb 7, 2018 at 3:28 PM, allan gottlieb <gottlieb@nyu.edu> wrote:
> I run a stable system using gnome3 and hence systemd, specifically
> systemd-236-r5.  My bootloader is grub2.  I do *not* have an EFI
> platform and do *not* have an initramfs.
> I do *not* have a separate /usr filesystem.
>
> The news item says that, in preparation for the 237 release and the
> likely removal of the symlinks
>    /usr/lib/systemd/systemd and
>    /usr/lib/systemd/systemd-shutdown
> we should update our boot config to reference init=/lib/systemd/system
>
> 1.  Updating the boot config to reference init=/lib/systemd/system seems
> to mean a 1-line change in /etc/default/grub
>   GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd" -->
>   GRUB_CMDLINE_LINUX="init=/lib/systemd/systemd"
> followed by the usual
>    grub-mkconfig -o /boot/grub/grub.cfg
> Is that it?

Yes.

> 2.  What should I be doing to prepare for the removal of the
> /usr/lib/systemd/systemd-shutdown symlink?

You don't need to do anything specific here.

> 3.  "After upgrading, please run systemctl daemon-reexec".  Which
> upgrade is being referred to?  Is it the upgrade to the 237 release,
> with the likely removal of the two symlinks.

You should run that command after any systemd upgrade, but
specifically after upgrading from a version prior to 234.


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

* Re: [gentoo-user] preparing for the "systemd rootprefix migration"
  2018-02-07 20:39 ` Mike Gilbert
@ 2018-02-07 22:16   ` allan gottlieb
  0 siblings, 0 replies; 3+ messages in thread
From: allan gottlieb @ 2018-02-07 22:16 UTC (permalink / raw
  To: gentoo-user

On Wed, Feb 07 2018, Mike Gilbert wrote:

> On Wed, Feb 7, 2018 at 3:28 PM, allan gottlieb <gottlieb@nyu.edu> wrote:
>> I run a stable system using gnome3 and hence systemd, specifically
>> systemd-236-r5.  My bootloader is grub2.  I do *not* have an EFI
>> platform and do *not* have an initramfs.
>> I do *not* have a separate /usr filesystem.
>>
>> The news item says that, in preparation for the 237 release and the
>> likely removal of the symlinks
>>    /usr/lib/systemd/systemd and
>>    /usr/lib/systemd/systemd-shutdown
>> we should update our boot config to reference init=/lib/systemd/system
>>
>> 1.  Updating the boot config to reference init=/lib/systemd/system seems
>> to mean a 1-line change in /etc/default/grub
>>   GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd" -->
>>   GRUB_CMDLINE_LINUX="init=/lib/systemd/systemd"
>> followed by the usual
>>    grub-mkconfig -o /boot/grub/grub.cfg
>> Is that it?
>
> Yes.
>
>> 2.  What should I be doing to prepare for the removal of the
>> /usr/lib/systemd/systemd-shutdown symlink?
>
> You don't need to do anything specific here.
>
>> 3.  "After upgrading, please run systemctl daemon-reexec".  Which
>> upgrade is being referred to?  Is it the upgrade to the 237 release,
>> with the likely removal of the two symlinks.
>
> You should run that command after any systemd upgrade, but
> specifically after upgrading from a version prior to 234.

Thank you.
allan gottlieb


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

end of thread, other threads:[~2018-02-07 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-07 20:28 [gentoo-user] preparing for the "systemd rootprefix migration" allan gottlieb
2018-02-07 20:39 ` Mike Gilbert
2018-02-07 22:16   ` allan gottlieb

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