Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev-236 issue [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 81

PostPosted: Fri Feb 02, 2018 7:16 pm    Post subject: udev-236 issue [Solved] Reply with quote

my /usr /opt /var are not on root file system. They have their own volume.

When I update to udev-236 from sys-fs/udev-233. my box suddenly stopped working. After days troubleshooting, I found it was udev-236 which failed at loading shared libraries when detecting hardware when boot. So it failed to create all device files including those for lvm in /dev/mapper.

As a result, the /usr failed mounted.

My Question: what others should I have to prepare before my system get on to udev-236 ?

Quote:
udevadm trigger
got error "udevadm: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory.

Note: my libidn.so.11 is on /usr which haven't mounted yet


Last edited by weiypan_us on Sat Feb 03, 2018 3:49 am; edited 1 time in total
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 435
Location: Australia

PostPosted: Fri Feb 02, 2018 7:58 pm    Post subject: Reply with quote

This seems like a rootptrefix issue per the below?

Quote:
2017-07-16-systemd-rootprefix
Title systemd rootprefix migration
Author Mike Gilbert <floppym@gentoo.org>
Posted 2017-07-16
Revision 4

Starting with the 234 release, Gentoo's sys-apps/systemd package will
be built with rootprefix=/. This means most of the included programs
and system units will be installed under /lib/systemd instead of
/usr/lib/systemd.

This change brings Gentoo into alignment with most other distros which
still maintain a distinction between boot-critical programs in /, and
less critical programs in /usr. This also means that users with a
separate /usr filesystem will have an easier time booting if their
initramfs should become corrupt or fail.

Symlinks are provided for /usr/lib/systemd/systemd and
/usr/lib/systemd/systemd-shutdown to avoid breaking bootloader configs
and to allow the system to be shutdown/rebooted without issue. These
symlinks will likely be removed in the 237 release, so please update
your boot configuration to reference init=/lib/systemd/systemd.

This change will be mostly transparent to typical users. You may notice
that system units move from /usr/lib/systemd/system to
/lib/systemd/system as you upgrade/re-install packages; this is normal.
Units will function properly from both locations.

After upgrading, please run systemctl daemon-reexec ensure that the new
version is executed. Also make sure to regenerate your initramfs if it
includes a copy of systemd (dracut).

If you encounter a problem, please report a bug.
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 81

PostPosted: Fri Feb 02, 2018 9:30 pm    Post subject: Reply with quote

Hi Ian, Thank you for the info.

It is interesting because my system only have openrc. It does not systemd package installed.
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 435
Location: Australia

PostPosted: Fri Feb 02, 2018 10:11 pm    Post subject: Reply with quote

weiypan_us,

systemd has a tendency to pollute the pool irrespective of adoption, it's one of the reasons people here dislike it.

Have you tried swapping out udev for the eudev fork? That's how I've gone on openrc systems.
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 81

PostPosted: Fri Feb 02, 2018 10:30 pm    Post subject: Reply with quote

Hi Ian,
Thank you for the info on eudev.

Appreciate If you can provide some info on how to steer into fork eudev from udev .
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 435
Location: Australia

PostPosted: Sat Feb 03, 2018 12:16 am    Post subject: Reply with quote

weiypan_us wrote:
Hi Ian,
Thank you for the info on eudev.

Appreciate If you can provide some info on how to steer into fork eudev from udev .

You're welcome. There's a guide here ;) https://wiki.gentoo.org/wiki/Eudev
To be clear, I really don't know if this will fix your issue, it may or may not, but you are running a configuration I'm unfamiliar with and I haven't tracked to see whether eudev / udev has much diverged in code. They were almost identical at one point.

Anyway, moving to the fork can't hurt and once installed your system will at least be consistent with most users openrc systems if further troubleshooting is required.

Edit- fix url
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 81

PostPosted: Sat Feb 03, 2018 3:48 am    Post subject: Reply with quote

I have successfully migrated to eudev, thanks Ian.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum