From: Stuart Henderson Subject: /etc/daily should exclude .sem as well as .shm To: tech Date: Thu, 30 May 2024 15:02:59 +0100 spotted by landry with OpenLDAP slapcat. seems I didn't realise that /tmp/*.sem were also used when I added the exclusion for /tmp/*.shm. ok? Index: daily =================================================================== RCS file: /cvs/src/etc/daily,v diff -u -p -r1.98 daily --- daily 16 May 2024 11:33:59 -0000 1.98 +++ daily 30 May 2024 14:01:23 -0000 @@ -50,7 +50,7 @@ if [ -d /tmp -a ! -L /tmp ]; then find -x . \ \( -path './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \ -o -path './tmux-*' \) -prune -o \ - -type f -and ! -path './*.shm' -atime +7 -delete 2>/dev/null + -type f -and ! -path './*.s[eh]m' -atime +7 -delete 2>/dev/null find -x . -type d -mtime +1 ! -path ./vi.recover ! -path ./.X11-unix \ ! -path ./.ICE-unix ! -name . \ -delete >/dev/null 2>&1; }