public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration
@ 2012-01-05 23:52 Michał Górny
  2012-01-05 23:59 ` Philip Webb
  2012-01-06  1:29 ` Alexandre Rostovtsev
  0 siblings, 2 replies; 9+ messages in thread
From: Michał Górny @ 2012-01-05 23:52 UTC (permalink / raw
  To: gentoo-dev

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

Hello,

I'm going to move systemd completely to /usr soonish and thus I'd like
to submit the following news item for review. I'd appreciate any
comments and suggestions.

-- NEWS ITEM FOLLOWS --

Title: systemd /usr migration
Author: Michał Górny <mgorny@gentoo.org>
Content-Type: text/plain
Posted: 2012-01-06
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: sys-apps/systemd

We have decided to move our systemd installation into /usr prefix.
After the upgrade, the main systemd executable will be installed
as /usr/bin/systemd and the unit files will be installed
to /usr/lib/systemd; however, systemd will still look for unit files
in the /lib location.

For this reason, a new revisions of all systemd versions have been
added to the tree and all users are advised to upgrade ASAP to make
the transition as painless as possible. To achieve that, the following
steps have been taken:

1) the new systemd versions install and enable a path monitoring helper
which automatically updates /etc/systemd symlinks when unit files
are moved from /lib to /usr/lib;

2) the systemd.eclass will block older versions of systemd to ensure
that the service files aren't installed in the new location before
the helper service is in place;

3) a symlink is installed at /bin/systemd to ensure that current init=
specifications are still valid.

Please note that these features will be removed after the transitional
period and users upgrading afterwards will have to manually ensure
correctness of their installations. The former two features will be
removed on 2012-03-01, the last one on 2012-05-01.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

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

* Re: [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration
  2012-01-05 23:52 [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration Michał Górny
@ 2012-01-05 23:59 ` Philip Webb
  2012-01-06  1:29 ` Alexandre Rostovtsev
  1 sibling, 0 replies; 9+ messages in thread
From: Philip Webb @ 2012-01-05 23:59 UTC (permalink / raw
  To: gentoo-dev

120106 Michał Górny wrote:
> I'm going to move systemd completely to /usr soonish
> and thus I'd like to submit the following news item for review.
> I'd appreciate any comments and suggestions.
> -- NEWS ITEM FOLLOWS --
...
> For this reason, a new revisions of all systemd versions have been
                   ^^ delete (plural follows)
> added to the tree and all users are advised to upgrade ASAP to make
> the transition as painless as possible ...

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




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

* Re: [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration
  2012-01-05 23:52 [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration Michał Górny
  2012-01-05 23:59 ` Philip Webb
@ 2012-01-06  1:29 ` Alexandre Rostovtsev
  2012-01-06  2:03   ` Olivier Crête
  2012-01-06  9:25   ` [gentoo-dev] " Michał Górny
  1 sibling, 2 replies; 9+ messages in thread
From: Alexandre Rostovtsev @ 2012-01-06  1:29 UTC (permalink / raw
  To: gentoo-dev

On Fri, 2012-01-06 at 00:52 +0100, Michał Górny wrote:
> 3) a symlink is installed at /bin/systemd to ensure that current init=
> specifications are still valid.
> 
> Please note that these features will be removed after the transitional
> period and users upgrading afterwards will have to manually ensure
> correctness of their installations. The former two features will be
> removed on 2012-03-01, the last one on 2012-05-01.

Positive effects of removing the /bin/systemd symlink on 2021-05-01:
saves one inode in the root fs.

Negative effects of removing the /bin/systemd symlink on 2021-05-01: an
unknown number of users who had forgotten to update their grub.conf will
discover that they can no longer boot their systems.

I would suggest not removing the symlink unless there is a technical
reason why its presence is undesirable.

-Alexandre.




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

* Re: [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration
  2012-01-06  1:29 ` Alexandre Rostovtsev
@ 2012-01-06  2:03   ` Olivier Crête
  2012-01-06  9:28     ` [gentoo-dev] " Duncan
  2012-01-06  9:25   ` [gentoo-dev] " Michał Górny
  1 sibling, 1 reply; 9+ messages in thread
From: Olivier Crête @ 2012-01-06  2:03 UTC (permalink / raw
  To: gentoo-dev

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

Hi,

On Thu, 2012-01-05 at 20:29 -0500, Alexandre Rostovtsev wrote:
> Negative effects of removing the /bin/systemd symlink on 2021-05-01: an
> unknown number of users who had forgotten to update their grub.conf will
> discover that they can no longer boot their systems.
> 
> I would suggest not removing the symlink unless there is a technical
> reason why its presence is undesirable.

Doing aggressive migrations like that should really be avoided.. But we
know that the real long term solution is to have a /bin -> /usr/bin
symlink.


-- 
Olivier Crête
tester@gentoo.org
Gentoo Developer

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration
  2012-01-06  1:29 ` Alexandre Rostovtsev
  2012-01-06  2:03   ` Olivier Crête
@ 2012-01-06  9:25   ` Michał Górny
  2012-01-10 19:49     ` Donnie Berkholz
  1 sibling, 1 reply; 9+ messages in thread
From: Michał Górny @ 2012-01-06  9:25 UTC (permalink / raw
  To: gentoo-dev; +Cc: tetromino

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

On Thu, 05 Jan 2012 20:29:53 -0500
Alexandre Rostovtsev <tetromino@gentoo.org> wrote:

> On Fri, 2012-01-06 at 00:52 +0100, Michał Górny wrote:
> > 3) a symlink is installed at /bin/systemd to ensure that current
> > init= specifications are still valid.
> > 
> > Please note that these features will be removed after the
> > transitional period and users upgrading afterwards will have to
> > manually ensure correctness of their installations. The former two
> > features will be removed on 2012-03-01, the last one on 2012-05-01.
> 
> Positive effects of removing the /bin/systemd symlink on 2021-05-01:
> saves one inode in the root fs.
> 
> Negative effects of removing the /bin/systemd symlink on 2021-05-01:
> an unknown number of users who had forgotten to update their
> grub.conf will discover that they can no longer boot their systems.
> 
> I would suggest not removing the symlink unless there is a technical
> reason why its presence is undesirable.

The symlink is distro-specific. Honestly, I'd get rid of it sooner --
but almost four months seem to be a safe period considering that we
are still in 'testing' stage mostly.

I'll add greps for the few common config files and 'ps' check in the
ebuild after the migration. I can also add a 'die' after that date.

Keeping backwards compatibility files for the lifetime is never a good
solution. It just makes users lazy, and right now using systemd under
Gentoo requires some abilities anyway.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

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

* [gentoo-dev] Re: RFC: news item for sys-apps/systemd -> /usr migration
  2012-01-06  2:03   ` Olivier Crête
@ 2012-01-06  9:28     ` Duncan
  2012-01-06 15:31       ` Ian Stakenvicius
  0 siblings, 1 reply; 9+ messages in thread
From: Duncan @ 2012-01-06  9:28 UTC (permalink / raw
  To: gentoo-dev

Olivier Crête posted on Thu, 05 Jan 2012 21:03:32 -0500 as excerpted:

> Hi,
> 
> On Thu, 2012-01-05 at 20:29 -0500, Alexandre Rostovtsev wrote:
>> Negative effects of removing the /bin/systemd symlink on 2021-05-01: an
>> unknown number of users who had forgotten to update their grub.conf
>> will discover that they can no longer boot their systems.
>> 
>> I would suggest not removing the symlink unless there is a technical
>> reason why its presence is undesirable.
> 
> Doing aggressive migrations like that should really be avoided.. But we
> know that the real long term solution is to have a /bin -> /usr/bin
> symlink.

I'm not a systemd user, but I did see his gentoo planet entry on the
topic, which explains why he's moving this fast.

http://blogs.gentoo.org/mgorny/2012/01/04/moving-systemd-into-usr-the-technical-side/

In it he said he wished he'd introduced systemd with everything on /usr in
the first place.  He sees the mistake now, and prefers to correct it while
the fewest gentoo users possible are yet using systemd.  As few are using
it at this time and that number is likely to grow over time, only making
the transition harder, he's moving much faster with the change than he'd
ordinarily move.

Keep in mind that at present, systemd has no stable keywords at all, and
only amd64 and x86 in ~arch.  For gentooers anyway systemd is thus still
beta, and he's choosing to move stuff around now while that's still the
case, instead of later, after stabilization.  Those gentooers using it now
are early adopters by definition, and should be ready to deal with this
sort of stuff.

Given that, the March and June timeframes are IMO PLENTY.  IMO, even a
mere 30 days would be reasonable for a package at this stage in the
process, and he's running a news item and giving them WAY more than that.

-- 
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] 9+ messages in thread

* Re: [gentoo-dev] Re: RFC: news item for sys-apps/systemd -> /usr migration
  2012-01-06  9:28     ` [gentoo-dev] " Duncan
@ 2012-01-06 15:31       ` Ian Stakenvicius
  2012-01-06 15:46         ` Michał Górny
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Stakenvicius @ 2012-01-06 15:31 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06/01/12 04:28 AM, Duncan wrote:
> Olivier Crête posted on Thu, 05 Jan 2012 21:03:32 -0500 as
> excerpted:
> 
>> Hi,
>> 
>> On Thu, 2012-01-05 at 20:29 -0500, Alexandre Rostovtsev wrote:
>>> Negative effects of removing the /bin/systemd symlink on
>>> 2021-05-01: an unknown number of users who had forgotten to
>>> update their grub.conf will discover that they can no longer
>>> boot their systems.
>>> 
>>> I would suggest not removing the symlink unless there is a
>>> technical reason why its presence is undesirable.
>> 
>> Doing aggressive migrations like that should really be avoided..
>> But we know that the real long term solution is to have a /bin ->
>> /usr/bin symlink.
> 
> I'm not a systemd user, but I did see his gentoo planet entry on
> the topic, which explains why he's moving this fast.
> 
> http://blogs.gentoo.org/mgorny/2012/01/04/moving-systemd-into-usr-the-technical-side/
>
>  In it he said he wished he'd introduced systemd with everything on
> /usr in the first place.  He sees the mistake now, and prefers to
> correct it while the fewest gentoo users possible are yet using
> systemd.  As few are using it at this time and that number is
> likely to grow over time, only making the transition harder, he's
> moving much faster with the change than he'd ordinarily move.

If that's the case, why not force the breakage now and not install a
symlink??

Maybe make this particular systemd update an interactive ebuild if
it's replacing an older version of itself, so it forces users to
actually stop, read, and take action when they do the upgrade?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iF4EAREIAAYFAk8HE8IACgkQAJxUfCtlWe3hpwD8DHonBsyaV9DZQsCYH75CwiFH
60Jrbv2smIG4yrzbAR4A/3IuD9qYzdzzqxr+n4Tnuv4mlbEgocMNanoyALKExSEg
=mRW1
-----END PGP SIGNATURE-----



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

* Re: [gentoo-dev] Re: RFC: news item for sys-apps/systemd -> /usr migration
  2012-01-06 15:31       ` Ian Stakenvicius
@ 2012-01-06 15:46         ` Michał Górny
  0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2012-01-06 15:46 UTC (permalink / raw
  To: gentoo-dev; +Cc: axs

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

On Fri, 06 Jan 2012 10:31:14 -0500
Ian Stakenvicius <axs@gentoo.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 06/01/12 04:28 AM, Duncan wrote:
> >  In it he said he wished he'd introduced systemd with everything on
> > /usr in the first place.  He sees the mistake now, and prefers to
> > correct it while the fewest gentoo users possible are yet using
> > systemd.  As few are using it at this time and that number is
> > likely to grow over time, only making the transition harder, he's
> > moving much faster with the change than he'd ordinarily move.
> 
> If that's the case, why not force the breakage now and not install a
> symlink??
> 
> Maybe make this particular systemd update an interactive ebuild if
> it's replacing an older version of itself, so it forces users to
> actually stop, read, and take action when they do the upgrade?

What if user thinks he/she's got the init= update right while, say,
forgets to call 'lilo'? Forcing the breakage would mean systemd will
fail to boot. Delaying it will just make user see 'you didn't update
init=' one more time.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

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

* Re: [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration
  2012-01-06  9:25   ` [gentoo-dev] " Michał Górny
@ 2012-01-10 19:49     ` Donnie Berkholz
  0 siblings, 0 replies; 9+ messages in thread
From: Donnie Berkholz @ 2012-01-10 19:49 UTC (permalink / raw
  To: gentoo-dev; +Cc: tetromino

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

On 10:25 Fri 06 Jan     , Michał Górny wrote:
> On Thu, 05 Jan 2012 20:29:53 -0500
> Alexandre Rostovtsev <tetromino@gentoo.org> wrote:
> > I would suggest not removing the symlink unless there is a technical 
> > reason why its presence is undesirable.
> 
> The symlink is distro-specific. Honestly, I'd get rid of it sooner -- 
> but almost four months seem to be a safe period considering that we 
> are still in 'testing' stage mostly.

So other systemd-using distros have it in /usr? I'd follow their 
convention.

-- 
Thanks,
Donnie

Donnie Berkholz
Council Member / Sr. Developer
Gentoo Linux
Blog: http://dberkholz.com

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

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

end of thread, other threads:[~2012-01-10 19:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-05 23:52 [gentoo-dev] RFC: news item for sys-apps/systemd -> /usr migration Michał Górny
2012-01-05 23:59 ` Philip Webb
2012-01-06  1:29 ` Alexandre Rostovtsev
2012-01-06  2:03   ` Olivier Crête
2012-01-06  9:28     ` [gentoo-dev] " Duncan
2012-01-06 15:31       ` Ian Stakenvicius
2012-01-06 15:46         ` Michał Górny
2012-01-06  9:25   ` [gentoo-dev] " Michał Górny
2012-01-10 19:49     ` Donnie Berkholz

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