Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 549904

Summary: app-admin/tmpwatch-2.11 noisy when removing dead symlinks
Product: Gentoo Linux Reporter: Horst Prote <prote>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: enhancement Keywords: NeedPatch
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Horst Prote 2015-05-19 15:11:13 UTC
Even with option --quiet tmpwatch writes messages
"Specified filename .... does not exist." when removing a dead symbolic link.

Reproducible: Always

Steps to Reproduce:
1. mkdir /tmp/foo/
2. cd /tmp/foo/
3. ln -s ../too
   where ../too does not exist.
4. touch -h --date=2015-01-01 too
5. tmpwatch [--quiet] --mtime --fuser 48 /tmp/foo/

Actual Results:  
The dead link "too" is removed but the warning
"Specified filename ./too does not exist."
is printed in both cases (with or without --quiet option).


Expected Results:  
Remove "too" quietly in both cases (with or without --quiet option).