[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 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 ""

(the printf is there to quench the noise). It should complain
when it detects a cycle.

Warning: untested.

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


Reply to: