Date: Wed, 28 Aug 2019 10:15:38 -0400 From: William Dudley <wfdudley@gmail.com> To: MJ <mafsys1234@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: openwebmail broke with latest update Message-ID: <CAFsnNZJFTRRX4NZ%2BbdR-dBRjNa=iaiU921=2GA%2BNrp6xp=VoBg@mail.gmail.com> In-Reply-To: <428030f8-4b77-0f48-0c29-2ac3dc4cf965@gmail.com> References: <CAFsnNZKhm97zBjKi1VHSx0ZWzm_W-qKkJZwuTTte3s7etfmquA@mail.gmail.com> <ae843fb4-8a24-f19b-0f00-6670fe01f46e@gmail.com> <CAFsnNZKZDxGBZoW9kaUgNJuJsnjKEcqWnWo9vOkV4%2BDLWh4SXg@mail.gmail.com> <d3177524-6c8f-ec45-ef00-ef0a98c77ae1@gmail.com> <CAFsnNZJ0Jag4CFgRGPZG7FPciu3WoDYhM%2B1Wye-ShwHB7e2p=A@mail.gmail.com> <8f4b383d-5c50-1f52-c6d0-95ff8e63ea66@gmail.com> <428030f8-4b77-0f48-0c29-2ac3dc4cf965@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
/var/log/openwebmail.log doesn't give more than the error message. I can't imagine what more logging would accomplish -- the Perl tries a setgid, and fails. And then it prints the error message and exits. Bill This email is free of malware because I run Linux. On Tue, Aug 27, 2019 at 2:02 AM MJ <mafsys1234@gmail.com> wrote: > Oops, not too clear. > When I said I think it's in another location, I meant the error message is > in at least two files, one being the openwebmail.pl script. I didn't > bother looking in the other because it seemed logical that the problem is > in the login() function of openwebmail.pl > > > On 27/08/2019 3:21 pm, MJ wrote: > > Hi Bill, > > > > > > On 27/08/2019 1:43 pm, William Dudley wrote: > >> MJ, > >> > >> Again, thanks for your time on this. > >> My comments are interspersed below: > >> > >> On Mon, Aug 26, 2019 at 1:53 AM MJ <mafsys1234@gmail.com> wrote: > >> > >>> Hi Bill, > >>> > >>> On 26/08/2019 12:30 am, William Dudley wrote: > >>>> Mark, > >>>> > >>>> Thanks for your suggestions. > >>>> > >>>> I left my debugging attempts out of my email to the list. > >>>> > >>>> I checked the permissions, and they are as they should be: 4755 for > >>>> openwebmail.pl, owned by root:mail. > >>> Can you run the openwebmail.pl script in the directory? > >>> > >> If you mean run it from the command line, yes, I can, it poops out the > >> login screen. > >> The bug occurs if I successfully login to openwebmail -- then I get the > >> error message. > > > > Yes that's the one because it's the script that contains login() and > sets group/user ids and ultimately fails (I think - because it's also in > another location which I will check out later) > > > > > >>> Look, curiosity took hold and I decided to install everything in a new > VM, > >>> :-) > >>> > >>> FreeBSD freebsd 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 > >>> > >>> (and that may be a problem, the version of bsd though I doubt it.) > >>> > >> I'm running 11.3, and I fear that the version of either Perl or > openwebmail > >> is different between 11.3 and 12.0, > >> such that your test, while useful, may not have much bearing on my > current > >> situation. At least, it suggests > >> that, when I upgrade to 12.x, openwebmail may once again work. > >> > >> My pkg versions are: > >> perl5-5.30.0 > >> openwebmail-2.53_4 > >> apache24-2.4.41 (though I very much doubt apache has anything to do > with > >> the error) > > > > The only difference is I'm running perl: perl5-5.28.2 > > > > Yes, all the files are present; openwebmail isn't failing to run, it's > >> failing to do a change group. > >> For fun, I just uninstalled and re-installed openwebmail, to make sure > all > >> files are present. There > >> was no change in the failure mode; still fails to change group. > >> > >> Thanks, > >> Bill Dudley > > > > You know, openwebmail produces a log in /var/log. I just checked mine > and it has some handy information. > > > > Checking the code quickly, you might be able to enable more verbose > debugging. First check your log. > > > > Regards, > > > > Mark > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZJFTRRX4NZ%2BbdR-dBRjNa=iaiU921=2GA%2BNrp6xp=VoBg>