Debian bug report logs - #1657
Sendmail uses flock instead of fcntl and is setgid root
Package: sendmail; Reported by: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>; 19 days old.
Message received at debian-bugs:
From i17linuxb.ists.pwr.wroc.pl!marekm Thu Oct 12 13:41:12 1995
Return-Path: <marekm@i17linuxb.ists.pwr.wroc.pl>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0t3URE-000GV6C; Thu, 12 Oct 95 13:41 PDT
Received: from i17linuxb.ists.pwr.wroc.pl by pixar.com with SMTP id AA01121
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 12 Oct 1995 13:40:46 -0700
Received: (from marekm@localhost) by i17linuxb.ists.pwr.wroc.pl (8.6.12/8.6.9) id VAA32207 for debian-bugs@pixar.com; Thu, 12 Oct 1995 21:41:02 +0100
From: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>
Message-Id: <199510122041.VAA32207@i17linuxb.ists.pwr.wroc.pl>
Subject: Sendmail uses flock instead of fcntl and is setgid root
To: debian-bugs@pixar.com
Date: Thu, 12 Oct 1995 21:40:59 +0100 (MET)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 634
Package: sendmail
Version: 8.6.12-8
It is necessary to #define HASFLOCK 0 in src/conf.h because the current
(as of 1.2.x) implementation of flock() is broken (fixed in some 1.3.x
version, don't remember which one). Believe me, using flock() it will
work most of the time, but sometimes sendmail will send double messages
- not nice, especially on mailing lists... And don't tell me to use
smail instead :-).
Another small problem I noticed is that sendmail is setgid root. I know
it needs to be setuid root and it is. I wouldn't be surprised if it were
setgid mail, but it is setgid root. I suspect this is incorrect...
Marek
Acknowledgement sent to Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#1657
; Package sendmail
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism