Download raw body.
/etc/daily should exclude .sem as well as .shm
On Thu, May 30, 2024 at 03:02:59PM +0100, Stuart Henderson wrote: > 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? ok tb > > 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; } >
/etc/daily should exclude .sem as well as .shm