[exim-dev] [Bug 1071] New: Privilege due to -C or -D options…

Inizio della pagina
Delete this message
Reply to this message
Autore: Andreas Metzler
Data:  
To: exim-dev
Nuovi argomenti: [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging, [exim-dev] [Bug 1071] Privilege dropping due to -C or -D options breaks logging
Oggetto: [exim-dev] [Bug 1071] New: Privilege due to -C or -D options dropping breaks logging
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1071
           Summary: Privilege due to -C or -D options dropping breaks
                    logging
           Product: Exim
           Version: 4.73
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Logging
        AssignedTo: nigel@???
        ReportedBy: eximusers@???
                CC: exim-dev@???



Since 4.73rc1 specifying -D or -C stops exim from re-gaining root privileges.
However it also breaks logging.

Compare theses two *remote* (i.e. no superuser privileges necessary) delivery
logging entries:

a) regular exim (exim -bd -q15m)
----------------------------------------------------
2011-01-20 18:00:17 1Pfxrt-0003U7-UG <= ametzler@??? H=localhost
(argenau.downhill.at.eu.org) [127.0.0.1] U=[yUfBTrjnbVtteQlDaqHwNT2uH+LwMkK5]
P=esmtp S=576
2011-01-20 18:00:24 1Pfxrt-0003U7-UG => ametzler@??? R=smarthost
T=remote_smtp_smarthost H=m26s25.vlinux.de [83.151.30.59]
2011-01-20 18:00:24 1Pfxrt-0003U7-UG Completed
----------------------------------------------------

b) exim started as "exim -bd -DFOOOO"
----------------------------------------------------
2011-01-20 18:02:19 exim 4.73 daemon started: pid=13412, no queue runs,
listening for SMTP on [127.0.0.1]:25
2011-01-20 18:02:27 1Pfxtz-0003UM-K3 <= ametzler@??? H=localhost
(argenau.downhill.at.eu.org) [127.0.0.1] U=[5Do7KA0MfTwQDjC3jGYGTb2bDZ9Jal1l]
P=esmtp S=576
----------------------------------------------------

Note how the second entry is missing both => line and "Completed" although the
message was delivered successfully.

I think the logging should work, the first entry (<=) is successfully written
as eximuser:eximuser.

This PANIC message never apears in the logs, too:
13456 LOG: MAIN PANIC
13456 exim user lost privilege for using -D option

cu andreas


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email