bin/81555: Cron exits from SIGPIPE after crontab -e when using
dean at stack.nl
Fri May 27 06:00:14 PDT 2005
>Synopsis: Cron exits from SIGPIPE after crontab -e when using NSS-LDAP
>Arrival-Date: Fri May 27 13:00:13 GMT 2005
>Originator: Dean Strik
>Release: FreeBSD 5.4-RELEASE-p1
Eindhoven University of Technology
FreeBSD tesla.stack.nl 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Tue May 17 19:53:43 CEST 2005 root at snail.stack.nl:/usr/obj/usr/src/sys/SMP i386
SMP system (dual P2-233) using NSS-LDAP (static root).
Cron(8) seems to exit after a SIGPIPE when a user runs crontab
-e. This way normal users can effectively, even without intent, easily
kill the cron daemon, so this is serious.
I ktraced one cron daemon, and it shows a SIGPIPE (and therefore
exit) after using NSS-LDAP lookups. So local users do not trigger the
problem, but LDAP users do.
As local user with account info in LDAP, run crontab -e and save.
Haven't looked at a fix yet, but perhaps ignoring SIGPIPE is the
way to here.
More information about the freebsd-bugs