Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #230843

Re: Too many levels of symbolic links

From steve <dlist@bluewin.ch>
Newsgroups linux.debian.user
Subject Re: Too many levels of symbolic links
Date 2021-01-19 15:50 +0100
Message-ID <Bz0uu-2K3-11@gated-at.bofh.it> (permalink)
References <ByVbr-821-9@gated-at.bofh.it> <ByYCl-1Cc-5@gated-at.bofh.it> <ByZyp-2aq-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 19-01-2021, à 14:49:36 +0100, tomas@tuxteam.de a écrit :

>On Tue, Jan 19, 2021 at 07:41:13AM -0500, Greg Wooledge wrote:
>> On Tue, Jan 19, 2021 at 10:03:12AM +0100, steve wrote:
>> > Jan 19 09:47:52 box systemd-udevd[611]: sdg5: Failed to update device symlinks: Too many levels of symbolic links
>> > Jan 19 09:47:52 box systemd-udevd[581]: sdg6: Failed to update device symlinks: Too many levels of symbolic links
>>
>> Look for a symlink that points to itself, presumably in either /dev or
>> /etc/udev.  If you can't find one, then look for a symlink that points
>> to an earlier point in the path to itself, creating a loop.
>
>FWIW GNU find is said to detect circular links. Try
>
>  find $YOUR_SUSPECT_ROOT -follow -printf ""

Ok, I found some circular links:

find /usr -follow -printf ""
find: Boucle détectée dans le système de fichiers ; « ‘/usr/bin/X11’ » est dans la même boucle que ‘/usr/bin’.

ls -l /usr/bin/X11
lrwxrwxrwx 1 root root 1  6 mai  2013 /usr/bin/X11 -> .


find /sys -follow -printf ""
find: Boucle détectée dans le système de fichiers ; « ‘/sys/kernel/iommu_groups/55/devices/0000:64:0a.5/subsystem/devices/0000:16:0e.2/iommu_group/devices/0000:16:0e.0/firmware_node/wakeup/wakeup44/subsystem/wakeup58/device/physical_node/i2c-3/subsystem/devices/i2c-0/firmware_node/physical_node/iTCO_wdt/subsystem/devices/PNP0C14:00/firmware_node/subsystem/devices/LNXCPU:13/thermal_cooling/subsystem/cooling_device13/device/physical_node/node0/cpu21/driver/cpu26/subsystem/devices/cpu15/firmware_node/thermal_cooling/subsystem’ » est dans la même boucle que ‘/sys/kernel/iommu_groups/55/devices/0000:64:0a.5/subsystem/devices/0000:16:0e.2/iommu_group/devices/0000:16:0e.0/firmware_node/wakeup/wakeup44/subsystem/wakeup58/device/physical_node/i2c-3/subsystem/devices/i2c-0/firmware_node/physical_node/iTCO_wdt/subsystem/devices/PNP0C14:00/firmware_node/subsystem/devices/LNXCPU:13/thermal_cooling/subsystem’.

And a lot of others very similar.


find /dev -follow -printf ""
find: Boucle détectée dans le système de fichiers ; « ‘/dev/fd/3/proc/2669/root’ » est dans la même boucle que ‘/dev/fd/3’.
find: Boucle détectée dans le système de fichiers ; « ‘/dev/fd/3/proc/2670/task/2670/cwd’ » est dans la même boucle que ‘/dev/fd/3’.
find: Boucle détectée dans le système de fichiers ; « ‘/dev/fd/3/proc/2670/task/2670/root’ » est dans la même boucle que ‘/dev/fd/3’.

and a lot more like that.

find /proc -follow -printf ""
ind: Boucle détectée dans le système de fichiers ; « ‘/proc/self/task/65823/fd/3/sys/kernel/iommu_groups/55/devices/0000:64:0a.5/subsystem/devices/0000:16:0e.2/iommu_group/devices/0000:16:0e.0/firmware_node/wakeup/wakeup44/subsystem/wakeup58/device/physical_node/i2c-3/subsystem/devices/i2c-0/firmware_node/physical_node/iTCO_wdt/subsystem/devices/PNP0C14:00/firmware_node/subsystem/devices/LNXCPU:13/thermal_cooling/subsystem/cooling_device13/device/physical_node/node0/cpu21/driver/cpu5/subsystem/devices/cpu19/firmware_node’ » est dans la même boucle que ‘/proc/self/task/65823/fd/3/sys/kernel/iommu_groups/55/devices/0000:64:0a.5/subsystem/devices/0000:16:0e.2/iommu_group/devices/0000:16:0e.0/firmware_node/wakeup/wakeup44/subsystem/wakeup58/device/physical_node/i2c-3/subsystem/devices/i2c-0/firmware_node/physical_node/iTCO_wdt/subsystem/devices/PNP0C14:00/firmware_node/subsystem/devices/LNXCPU:13’.

idem


Now, what should I do with this information ?

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-19 10:10 +0100
  Re: Too many levels of symbolic links Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-19 13:50 +0100
    Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-19 14:50 +0100
      Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-19 15:50 +0100
        Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-19 16:00 +0100
          Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-19 16:10 +0100
            Re: Too many levels of symbolic links Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-19 17:20 +0100
              Re: Too many levels of symbolic links David Wright <deblis@lionunicorn.co.uk> - 2021-01-19 18:10 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 08:50 +0100
                [SOLVED] Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 08:50 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 09:50 +0100
                Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-20 10:20 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 10:50 +0100
                Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-20 11:00 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 11:20 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 11:30 +0100
                Bluewin bouncing my mails [was: Too many levels of symbolic links] tomas@tuxteam.de - 2021-01-20 11:30 +0100
                Re: Bluewin bouncing my mails tomas@tuxteam.de - 2021-01-20 12:50 +0100
                Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-20 11:30 +0100
                Re: Too many levels of symbolic links Erwan David <erwan@rail.eu.org> - 2021-01-20 11:40 +0100
                Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-20 11:40 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 12:10 +0100
                Re: Too many levels of symbolic links Stefan Monnier <monnier@iro.umontreal.ca> - 2021-01-20 16:20 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 16:40 +0100
                Re: Too many levels of symbolic links Stefan Monnier <monnier@iro.umontreal.ca> - 2021-01-20 22:10 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-21 08:10 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-21 08:40 +0100
                Re: Too many levels of symbolic links Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-21 08:50 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-22 08:10 +0100
                Re: Too many levels of symbolic links Vincent Lefevre <vincent@vinc17.net> - 2021-01-22 13:50 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-23 09:40 +0100
                Re: Too many levels of symbolic links Vincent Lefevre <vincent@vinc17.net> - 2021-01-23 16:20 +0100
                Re: Too many levels of symbolic links Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-22 14:00 +0100
                remove me from this list J B Martin <bryant@ab-domain.com> - 2021-01-22 14:10 +0100
                Re: remove me from this list Charles Curley <charlescurley@charlescurley.com> - 2021-01-22 18:50 +0100
                Re: remove me from this list "Andrew M.A. Cater" <amacater@einval.com> - 2021-01-23 11:00 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-23 09:40 +0100
                Re: Too many levels of symbolic links David Wright <deblis@lionunicorn.co.uk> - 2021-01-22 03:50 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-22 08:10 +0100
                Re: Too many levels of symbolic links David Wright <deblis@lionunicorn.co.uk> - 2021-01-22 20:30 +0100
                Re: Too many levels of symbolic links Dan Ritter <dsr@randomstring.org> - 2021-01-22 21:10 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-23 15:40 +0100
            Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-19 17:20 +0100
              Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-19 18:00 +0100

csiph-web