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

2016-12-11 Thread Marco d'Itri
Control: severity -1 normal
Control: tag -1 unreproducible

On Nov 16, Holger Levsen  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
Description: PGP signature


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

2016-11-16 Thread Holger Levsen
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 + Holger Levsen 
> > 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
Description: Digital signature


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

2016-11-15 Thread Michael Biebl
Am 15.11.2016 um 21:31 schrieb Michael Biebl:
> On Tue, 15 Nov 2016 13:38:59 + Holger Levsen 
> 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?
> 

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.

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.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2016-11-15 Thread Michael Biebl
On Tue, 15 Nov 2016 13:38:59 + Holger Levsen 
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
Description: OpenPGP digital signature


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

2016-11-15 Thread Holger Levsen
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 +, 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 +, 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
Description: Digital signature


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

2016-11-13 Thread Holger Levsen
On Sun, Nov 13, 2016 at 05:29:16PM +0100, Marc Haber wrote:
> On Sun, Nov 13, 2016 at 03:11:32PM +, 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.

(typing this in an airport and not likely to be able to further debug
this in the next 48h…)
 
> 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
Description: Digital signature


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

2016-11-13 Thread Marc Haber
On Sun, Nov 13, 2016 at 03:11:32PM +, 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?

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.

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany|  lose things."Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



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

2016-11-13 Thread Holger Levsen
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
Description: Digital signature