Le 19-01-2021, à 14:49:36 +0100, to...@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 ?