You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current master branch has 2 dangling symlinks:
[dag@moria rear]$ make validate
find . -name '*.sh' -exec bash -n {} \;
bash: ./usr/share/rear/format/OBDR/default/04_set_NETFS_requirements.sh: No such file or directory
bash: ./usr/share/rear/format/OBDR/default/04_set_tape_device.sh: No such file or directory
These symlinks link towards the prep/OBDR stage where similar files no longer exist:
[dag@moria rear]$ ls -l ./usr/share/rear/format/OBDR/default/04_set_NETFS_requirements.sh ./usr/share/rear/format/OBDR/default/04_set_tape_device.sh
lrwxrwxrwx. 1 dag dag 55 Jun 6 20:13 ./usr/share/rear/format/OBDR/default/04_set_NETFS_requirements.sh -> ../../../prep/OBDR/default/04_set_NETFS_requirements.sh
lrwxrwxrwx. 1 dag dag 48 Jun 6 20:13 ./usr/share/rear/format/OBDR/default/04_set_tape_device.sh -> ../../../prep/OBDR/default/04_set_tape_device.sh
The text was updated successfully, but these errors were encountered:
I added a validation check for dangling symlinks to the Makefile, which now blocks every usage:
Locating dangling symlinks
find -L . -type l
find: File system loop detected; `./usr/share/rear/skel/default/lib/tls' is part of the same file system loop as `./usr/share/rear/skel/default/lib'.
./usr/share/rear/format/OBDR/default/04_set_NETFS_requirements.sh
./usr/share/rear/format/OBDR/default/04_set_tape_device.sh
@schlomo@gdha Does any of you remember what the /lib/tls symlink was for ? I'd like to remove it as it does not seem to serve any purpose and blocks both make validate as well as the make dist process.
The current master branch has 2 dangling symlinks:
These symlinks link towards the prep/OBDR stage where similar files no longer exist:
The text was updated successfully, but these errors were encountered: