Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#844220: exim4: fails to install: user mail was not found

129 views
Skip to first unread message

Holger Levsen

unread,
Nov 13, 2016, 10:20:02 AM11/13/16
to
Package: exim4
Version: 4.88~RC4-2
Severity: serious
Justification: package fails to install

Hi,

seen in unstable since today, eg found via https://jenkins.debian.net/job/chroot-installation_sid_install_education-desktop-mate/734//console

Setting up exim4-config (4.88~RC4-2) ...
Adding system-user for exim (v4)
2016-11-13 05:30:11 Exim configuration error in line 682 of /var/lib/exim4/config.autogenerated.tmp:
user mail was not found
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
dpkg: error processing package exim4-config (--configure):
subprocess installed post-installation script returned error exit status 1


--
cheers,
Holger
signature.asc

Holger Levsen

unread,
Nov 15, 2016, 8:50:02 AM11/15/16
to
reassign 844220 usrmerge
thanks

Hi Marco,

to summarize this bug: upon running these jenkins jobs with debootstrap
from jessie-backports (which defaults to /usr-merged), several jobs
testing installations in a sid chroot failed. The symptom was that there
was no mail user when exim4 was configured…

When I downgraded debootstrap to the jessie version again, the error
went away, so that's why I now reassign to usrmerge.

https://jenkins.debian.net/job/chroot-installation_sid_install_education-desktop-mate/
on November 13 and 14 have the two installs with usrmerge. As said,
there were several jobs failing like this (though I think all failed
like this…)

this is the rest of the essential backlog of this bug:

On Sun, Nov 13, 2016 at 06:53:04PM +0000, Holger Levsen wrote:
> On Sun, Nov 13, 2016 at 05:29:16PM +0100, Marc Haber wrote:
> > On Sun, Nov 13, 2016 at 03:11:32PM +0000, Holger Levsen wrote:
> > > Setting up exim4-config (4.88~RC4-2) ...
> > > Adding system-user for exim (v4)
> > > 2016-11-13 05:30:11 Exim configuration error in line 682 of /var/lib/exim4/config.autogenerated.tmp:
> > > user mail was not found
> > Can you please verify that the user mail is present on the system?
>
> It was a normal installation like jenkins has done since years, every
> day… so basic debootstrap + apt-get install some packages.
>
> > If it is present, please note this in this bug.
> >
> > If it is not present, check the correctness of the essential package
> > base-passwd, which is responsible to keep the user mail present on all
> > Debian systems (and which packages can explicitly rely on). If
> > base-passwd is correct, and mail not present, check why the user is
> > not there.
>
> cc:ing the base-passwd maintainer.


--
cheers,
Holger
signature.asc

Michael Biebl

unread,
Nov 15, 2016, 3:40:02 PM11/15/16
to
On Tue, 15 Nov 2016 13:38:59 +0000 Holger Levsen <hol...@layer-acht.org>
wrote:
> reassign 844220 usrmerge
> thanks
>
> Hi Marco,
>
> to summarize this bug: upon running these jenkins jobs with debootstrap
> from jessie-backports (which defaults to /usr-merged), several jobs
> testing installations in a sid chroot failed. The symptom was that there
> was no mail user when exim4 was configured…
>

I can't reproduce the problem.

# getent passwd mail
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin

works just fine in a usr-merged system.

I also can't reproduce the installation failure of exim4 (tried in
chroot created with the new debootstrap).

Fwiw, the new d-i alpha8 uses the new deboostrap as well and exim4 is
typically installed as part of the system installation.

I just tried a stretch alpha8 installation. Worked fine as well.

Can you attach the exim4 generated config file?
What does
# getent passwd mail
say in your jenkins build chroot?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

signature.asc

Holger Levsen

unread,
Nov 16, 2016, 5:20:03 PM11/16/16
to
Hi,

On Tue, Nov 15, 2016 at 09:56:53PM +0100, Michael Biebl wrote:
> Am 15.11.2016 um 21:31 schrieb Michael Biebl:
> > On Tue, 15 Nov 2016 13:38:59 +0000 Holger Levsen <hol...@layer-acht.org>
> > wrote:
> >> reassign 844220 usrmerge
> >> thanks
> >>
> >> Hi Marco,
> >>
> >> to summarize this bug: upon running these jenkins jobs with debootstrap
> >> from jessie-backports (which defaults to /usr-merged), several jobs
> >> testing installations in a sid chroot failed. The symptom was that there
> >> was no mail user when exim4 was configured…
> >>
> >
> > I can't reproduce the problem.

thanks for trying and reporting here, Michael!

> > # getent passwd mail
> > mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
> >
> > works just fine in a usr-merged system.
> >
> > I also can't reproduce the installation failure of exim4 (tried in
> > chroot created with the new debootstrap).

how strange…

> > Fwiw, the new d-i alpha8 uses the new deboostrap as well and exim4 is
> > typically installed as part of the system installation.
> >
> > I just tried a stretch alpha8 installation. Worked fine as well.
> >
> > Can you attach the exim4 generated config file?
> > What does
> > # getent passwd mail
> > say in your jenkins build chroot?
> >
>
> I have to add, that I'm running sid on this particular system and I
> created the chroots with debootstrap from sid. Not sure if that makes a
> difference.

it should not, but oh well…

> Holger, can you specify how we can re-create the exact environment that
> is used on jenkins.d.n so we have a chance of reproducing the issue.

just debootstrap+pbuilder really…

sadly I dont have much time atm to try to reproduce manually, so if
noone else can I would suggest downgrading this bug to normal and
unreproducible and maybe I'll find the time to properly debug or the bug
comes back when /usr-merged comes back as a default…


--
cheers,
Holger
signature.asc

Marco d'Itri

unread,
Dec 11, 2016, 11:00:03 PM12/11/16
to
Control: severity -1 normal
Control: tag -1 unreproducible

On Nov 16, Holger Levsen <hol...@layer-acht.org> wrote:

> sadly I dont have much time atm to try to reproduce manually, so if
> noone else can I would suggest downgrading this bug to normal and
> unreproducible and maybe I'll find the time to properly debug or the bug
> comes back when /usr-merged comes back as a default…
Unreproducible for me too:

# debootstrap --merged-usr --variant=minbase --include=exim4-config stretch root http://.../debian/
# ls -l
totale 4
drwxr-xr-x 17 root root 4096 Dec 12 04:48 root/
# chroot root/ /bin/sh -c 'getent passwd mail'
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
#

--
ciao,
Marco
signature.asc
0 new messages