On Sat, Sep 17, 2022 at 10:53:53AM -0400, Jonathan Billings wrote:
On Sep 16, 2022, at 20:44, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Was not aware of that program? Was already installed on my system. Following instructions from link, it found 279 of the broken links under /usr and after checking, I went ahead are removed them. Doing the run using / instead of /usr it comes up with the other 29 in various placed. That includes the one I created for test earlier, but is 28 I'll have to look into more. Using the symlink to fix the 279 seems good
Why do you care about broken symlinks again? What harm are they causing? Because looking at the following output makes me think you’re just going to break stuff.
Wish there was a better term than "BROKEN" for symlinks whose target does not currently exist. There certainly are use cases for symlinks that point to files "when they are available".
My backup software uses virtual tapes (vtapes) and a virtual tape changer. My changer has 240 symlink "slots". The vtapes are on removable disks. If a disk is in offsite storage, or is otherwise not mounted, an entire group of "slots" are broken symlinks. But that is not an error, those slots are just "empty".
I'd hate for some nimwit* admin to remove those broken symlinks.
Jon
* It would be like the time a nimwit admin of a multi-user computer (300 users) came home from a security class learning that "setuid programs were bad". Over the weekend they used chmod to remove the setuid bit of every program on the system. Resulted in a few problems Monday morning.