Re: [exim] After upgrade to Exim 4.95 or 4.96: "setgroups: I…

Inizio della pagina
Delete this message
Reply to this message
Autore: Lasse Törngren
Data:  
To: Andrew C Aitchison
CC: exim-users
Oggetto: Re: [exim] After upgrade to Exim 4.95 or 4.96: "setgroups: Invalid argument"
Hello Andrew,



To get the error to appear, I have to do one of two things:



1. Run the queue either as root or with sudo. I can not run the queue as a normal user, this results in “permission denied” as the binary and configure file is owned by root.
lasse ~ % sudo /usr/local/exim/bin/exim -q

Password:

2022-09-22 16:32:51.864 [1597] RIM8CM-00017M-1T getdegid() 0 != 6



2. Start the daemon in debug mode as root in a terminal window where I can see the whole process.


16:31:34.927 1571 Delivery address list:

16:31:34.927 1571 lasse@???

16:31:34.931 1571 LOG: PANIC DIE

16:31:34.931 1571 getdegid() 0 != 6

16:31:34.933 1571 search_tidyup called



If I start Exim normally (with -bd -q30m), the error does not appear, but neither does the delivery take place. I can see the message in the log where it is initially received, but then only SMTP Connection QUIT and nothing more. Nothing about any delivery (because it gets stucked in the spool folder).



Best regards

Lasse



Hello again Andrew,



Thanks for the new patch. Sorry to hear about the family emergency. I hope it will turn out well.



After applying your second patch, I get a slightly different error message (I think this is the last line I put in into the file priv.c).



sh-3.2# /usr/local/exim/bin/exim -q



2022-09-22 14:39:42.331 [21537] RIKJJJ-0005NK-2O getdegid() 0 != 6



Thanks. I had not expected the extra value to be 0 (root).

Are you running this command as root ?

Happen happens if you run it as an ordinary user ?



--

Andrew C. Aitchison                      Kendal, UK


                    andrew@???