systemd issue on upgrade 12.2>12.3 had to symlink /lib/systemd

I followed the instructions to upgrade with zypper in
http://en.opensuse.org/SDB:System_upgrade

It all went fairly smooth until I rebooted to use the new kernel etc… And it couldn’t shutdown. {I had to pull the plug on it.}

I booted another installed Linux and examined the opensuse file system. I had almost given up and gone with a fresh install when I noticed that the symlinks in /etc/systemd were broken… All /lib/systemd had were a few empty directories…
So when I found the systemd stuff in /usr/lib/systemd I deleted the virtually empty /lib/systemd tree and did a

ln -s /usr/lib/systemd /lib/systemd

When I finaly booted opensuse 12.3, it all seems to work.

I just hope my fix won’t give me grief later…

Was the symlink a good idea?

I don’t know I can’t find any ref to upgrading via zypper in. Maybe you mean zypper dup??

It shouldn’t be necessary.
Maybe it would be better to just remove the dangling symlinks in /etc/systemd/. The defaults should be used then.
Or redirect the symlinks to /usr/lib/systemd/.
Or enable the corresponding services again with systemctl, the links should be corrected then.

Although having symlinked /lib/systemd to /usr/lib/systemd should do no harm.

He doesn’t say anything about having used “zypper in”. He said he “followed the instructions to upgrade with zypper, in http://en.opensuse.org/SDB:System_upgrade”. (I added a comma for clarity… :wink: )

On 2014-03-14 18:26, gogalthorp wrote:
>
> I don’t know I can’t find any ref to upgrading via zypper in. Maybe you
> mean zypper dup??

No, he means he used the instructions about using “zypper” found on the
site of the URL posted. :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

On 2014-03-14 07:56, jtwdyp wrote:
> When I finaly booted opensuse 12.3, it all seems to work.
>
> I just hope my fix won’t give me grief later…
>
> Was the symlink a good idea?

Dunno.

If you have doubts, you can do an “offline upgrade” on top of wht you
have. Offline upgrade
method


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Thanks to all of you!

and oops, my bad, that missing comma, was in fact a typo…

Sorry for the confusion.

BTW: The upgraded {yes via “zypper dup”} opensuse system is running strong, so I think I shall leave that symlink in place…