View previous topic :: View next topic |
Author |
Message |
cfgauss l33t
Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Thu Jun 13, 2024 9:36 pm Post subject: [SOLVED] Protection of symlinks |
|
|
With each emerge world I get
Code: | * Messages for package sys-auth/elogind-252.9:
*
* Directory symlink(s) may need protection:
*
* /lib/udev
*
* Use the UNINSTALL_IGNORE variable to exempt specific symlinks
* from the following search (see the make.conf man page).
*
* Searching all installed packages for files installed via above symlink(s)...
*
* One or more symlinks to directories have been preserved in order to
* ensure that files installed via these symlinks remain accessible. This
* indicates that the mentioned symlink(s) may be obsolete remnants of an
* old install, and it may be appropriate to replace a given symlink with
* the directory that it points to.
*
* /lib/udev |
What action should I take?
[SOLVED] I followed stefantalpalaru's advice (below). [/SOLVED]
Last edited by cfgauss on Sun Oct 20, 2024 2:25 am; edited 1 time in total |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1720 Location: Germany
|
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Thu Jun 20, 2024 10:06 pm Post subject: |
|
|
I believe I've done this.
Code: | $ eselect profile show
Current /etc/portage/make.profile symlink:
default/linux/amd64/23.0/split-usr/desktop/plasma |
|
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1720 Location: Germany
|
Posted: Sat Jun 22, 2024 6:45 am Post subject: |
|
|
How does the result of ls -l / look?
Mine is:
Code: | lrwxrwxrwx 1 root root 7 Jan 7 10:29 bin -> usr/bin
drwxr-xr-x 2 root root 4096 Nov 28 2019 boot
drwxr-xr-x 16 root root 3860 Jun 22 08:17 dev
drwxr-xr-x 63 root root 4096 Jun 22 08:32 etc
drwxr-xr-x 3 root root 4096 Dec 1 2019 home
lrwxrwxrwx 1 root root 7 Jan 7 10:29 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Jan 7 10:29 lib64 -> usr/lib64
drwxr-xr-x 3 root root 4096 Jun 16 14:28 media
drwxr-xr-x 3 root root 4096 Dec 14 2019 mnt
drwxr-xr-x 8 root root 4096 Apr 28 21:18 opt
dr-xr-xr-x 325 root root 0 Jun 22 2024 proc
drwx------ 6 root root 4096 Jun 22 08:19 root
drwxr-xr-x 15 root root 580 Jun 22 08:19 run
lrwxrwxrwx 1 root root 7 Jan 7 10:29 sbin -> usr/bin
dr-xr-xr-x 11 root root 0 Jun 22 08:44 sys
drwxrwxrwt 9 root root 12288 Jun 22 08:39 tmp
drwxr-xr-x 11 root root 4096 Jan 7 10:29 usr
drwxr-xr-x 12 root root 4096 May 1 08:55 var |
_________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
Posted: Sat Jun 22, 2024 2:19 pm Post subject: |
|
|
Banana's output comes from a merged-usr system, so OP's split-usr system should look different.
OP: what is the output of namei -l /{,usr/}{bin,lib} /lib/udev? |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Sat Jun 22, 2024 5:36 pm Post subject: |
|
|
Hu wrote: | What is the output of namei -l /{,usr/}{bin,lib} /lib/udev? |
Code: | f: /bin
drwxr-xr-x root root /
drwxr-xr-x root root bin
f: /lib
drwxr-xr-x root root /
drwxr-xr-x root root lib
f: /usr/bin
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root bin
f: /usr/lib
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root lib
f: /lib/udev
drwxr-xr-x root root /
drwxr-xr-x root root lib
lrwxrwxrwx root root udev -> ../usr/lib/udev
drwxr-xr-x root root ..
drwxr-xr-x root root usr
drwxr-xr-x root root lib
drwxr-xr-x root root udev |
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2401
|
Posted: Sat Jun 22, 2024 6:41 pm Post subject: |
|
|
cfgauss wrote: |
I believe I've done this.
Code: | $ eselect profile show
Current /etc/portage/make.profile symlink:
default/linux/amd64/23.0/split-usr/desktop/plasma |
|
It's not just an eselect command, there's a whole procedure. If you did it you would remember, not just believe. It was just too big to miss it. Did you run the emptytree emerge?
Best Regards,
Georgi |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Sat Jun 22, 2024 7:02 pm Post subject: |
|
|
logrusx wrote: | cfgauss wrote: |
I believe I've done this.
Code: | $ eselect profile show
Current /etc/portage/make.profile symlink:
default/linux/amd64/23.0/split-usr/desktop/plasma |
|
If you did it you would remember, not just believe. It was just too big to miss it. Did you run the emptytree emerge?
|
I remember this (long) procedure and ran emptytree as part of it. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2401
|
Posted: Sat Jun 22, 2024 7:08 pm Post subject: |
|
|
cfgauss wrote: |
I remember this (long) procedure and ran emptytree as part of it. |
Did you run into problems?
Best Regards,
Georgi |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Sat Jun 22, 2024 7:10 pm Post subject: |
|
|
logrusx wrote: | cfgauss wrote: |
I remember this (long) procedure and ran emptytree as part of it. |
Did you run into problems?
|
This was a while back and my system ran smoothly until recently. At the moment I can't emerge world nor boot into KDE. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2401
|
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 723 Location: USA
|
Posted: Thu Jul 18, 2024 9:33 pm Post subject: |
|
|
logrusx wrote: | OK, maybe continue in your other thread until we fix your emerge world issue. |
emerge world is fixed. Here's my latest symlink message:
Code: | Messages for package net-misc/networkmanager-1.46.0-r1:
* One or more symlinks to directories have been preserved in order to
* ensure that files installed via these symlinks remain accessible. This
* indicates that the mentioned symlink(s) may be obsolete remnants of an
* old install, and it may be appropriate to replace a given symlink with
* the directory that it points to.
*
* /lib/systemd
* /lib/udev |
Should I change my profile to default/linux/amd64/23.0/desktop/plasma (stable)
to get rid of this error? |
|
Back to top |
|
|
stefantalpalaru n00b
Joined: 11 Jan 2009 Posts: 65 Location: Italy
|
Posted: Sat Jul 20, 2024 10:42 pm Post subject: |
|
|
I silenced those silly warnings by adding this to "make.conf":
Code: | UNINSTALL_IGNORE="/lib/modules/* /lib/udev /lib/systemd" |
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
Posted: Sun Jul 21, 2024 12:45 am Post subject: |
|
|
Why are these warnings silly? Is there an ebuild bug that is triggering this? |
|
Back to top |
|
|
niick Tux's lil' helper
Joined: 09 Mar 2006 Posts: 94
|
Posted: Thu Oct 17, 2024 3:49 pm Post subject: |
|
|
Hello all. I have the same as issue as OP, did you solve it?
Should I just mask the warnings as above or is there a better way? _________________ "Give me control of a nation's money and I care not who makes the laws."
Mayer Amschel Rothschild |
|
Back to top |
|
|
|