From owner-freebsd-bugs@FreeBSD.ORG Fri May 27 13:00:14 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74FBC16A41C for ; Fri, 27 May 2005 13:00:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B5ED43D53 for ; Fri, 27 May 2005 13:00:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4RD0Dpn016282 for ; Fri, 27 May 2005 13:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4RD0D6v016281; Fri, 27 May 2005 13:00:13 GMT (envelope-from gnats) Resent-Date: Fri, 27 May 2005 13:00:13 GMT Resent-Message-Id: <200505271300.j4RD0D6v016281@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dean Strik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 073D216A41C for ; Fri, 27 May 2005 12:56:47 +0000 (GMT) (envelope-from dean@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id B82F943D1D for ; Fri, 27 May 2005 12:56:46 +0000 (GMT) (envelope-from dean@stack.nl) Received: from toad.stack.nl (zen.stack.nl [IPv6:2001:610:1108:5010::130]) by mailhost.stack.nl (Postfix) with ESMTP id E19111F1BC for ; Fri, 27 May 2005 14:56:45 +0200 (CEST) Received: by toad.stack.nl (Postfix, from userid 1600) id BB74088; Fri, 27 May 2005 14:56:45 +0200 (CEST) Message-Id: <20050527125645.BB74088@toad.stack.nl> Date: Fri, 27 May 2005 14:56:45 +0200 (CEST) From: Dean Strik To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/81555: Cron exits from SIGPIPE after crontab -e when using NSS-LDAP X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dean Strik List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2005 13:00:14 -0000 >Number: 81555 >Category: bin >Synopsis: Cron exits from SIGPIPE after crontab -e when using NSS-LDAP >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 27 13:00:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dean Strik >Release: FreeBSD 5.4-RELEASE-p1 >Organization: Eindhoven University of Technology >Environment: FreeBSD tesla.stack.nl 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Tue May 17 19:53:43 CEST 2005 root@snail.stack.nl:/usr/obj/usr/src/sys/SMP i386 SMP system (dual P2-233) using NSS-LDAP (static root). >Description: 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. >How-To-Repeat: As local user with account info in LDAP, run crontab -e and save. >Fix: Haven't looked at a fix yet, but perhaps ignoring SIGPIPE is the way to here. >Release-Note: >Audit-Trail: >Unformatted: