[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Too many levels of symbolic links



On Tue, Jan 19, 2021 at 03:45:41PM +0100, steve wrote:
> 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 ""
[...]

Not every one of those are "bad". The X11 one is normal. Many of those in
/sys and /dev, too.

It'd be interesting to know which one your startup is choking on.

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


Reply to: