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

Bug#276589: installing exim4-config in a pbuilder chroot fails weirdly

30 views
Skip to first unread message

martin f krafft

unread,
Oct 14, 2004, 6:40:10 PM10/14/04
to
Package: exim4-config
Version: 4.34-6
Severity: normal

In a pbuilder sid system:

Setting up exim4-config (4.34-6) ...
2004-10-14 22:14:08 Exim configuration error in line 285 of /var/lib/exim4/config.autogenerated.tmp:
user mail was not found
2004-10-14 22:14:08 Exim configuration error in line 285 of /var/lib/exim4/config.autogenerated.tmp:
user mail was not found
2004-10-14 22:14:08 Exim configuration error in line 285 of /var/lib/exim4/config.autogenerated.tmp:
user mail was not found
exim: could not open panic log - aborting: see message(s) above
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 exim4-config (--configure):
subprocess post-installation script returned error exit status 1

But:

# getent passwd mail
mail:*:8:8:mail:/var/mail:/bin/sh

(as expected.)

-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (600, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-cirrus
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

Versions of packages exim4-config depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.38 Debian configuration management sy
ii passwd 1:4.0.3-30.1 Change and administer password and

--
Please do not CC me when replying to lists; I read them!

.''`. martin f. krafft <mad...@debian.org>
: :' : proud Debian developer, admin, and user
`. `'`
`- Debian - when you have better things to do than fixing a system

Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

signature.asc

Andreas Metzler

unread,
Nov 5, 2004, 5:00:24 AM11/5/04
to
On 2004-10-15 martin f krafft <mad...@debian.org> wrote:
> Package: exim4-config
> Version: 4.34-6
> Severity: normal

> In a pbuilder sid system:

> Setting up exim4-config (4.34-6) ...
> 2004-10-14 22:14:08 Exim configuration error in line 285 of /var/lib/exim4/config.autogenerated.tmp:
> user mail was not found

[...]
> But:

> # getent passwd mail
> mail:*:8:8:mail:/var/mail:/bin/sh

[...]

Hello,
I remember hearing about similar problems with debootstrap, and cannot
find the exact explanation-mail for it, by the reason was that what
happened was not

~: chroot /somewhere
inchroot~: installexim

but some weird other stuff that had the effect that the
exim-installationscripts did not see the password data *in* *the*
chroot but in the outside system.
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Andreas Metzler

unread,
Dec 1, 2004, 9:30:15 AM12/1/04
to
reassign 276589 pbuilder
thanks
On Fri, Oct 15, 2004 at 12:19:11AM +0200, martin f krafft wrote:
> Package: exim4-config
[...]

> In a pbuilder sid system:

> Setting up exim4-config (4.34-6) ...
> 2004-10-14 22:14:08 Exim configuration error in line 285 of /var/lib/exim4/config.autogenerated.tmp:
> user mail was not found

[...]

> But:
>
> # getent passwd mail
> mail:*:8:8:mail:/var/mail:/bin/sh
>
> (as expected.)

Hello,
I am reassigning this to pbuilder becase afaict exim does as nothing
special, the corresponding code is this in src/readconf.c:

if (!route_finduser(sptr, &pw, &uid))
log_write(0, LOG_PANIC_DIE|LOG_CONFIG_IN, "user %s was not found", sptr);

with route_finduser in src/route.c using getpwnam().
cu andreas

Junichi Uekawa

unread,
Dec 1, 2004, 5:30:21 PM12/1/04
to
tags 276589 + moreinfo
thanks

> > Setting up exim4-config (4.34-6) ...
> > 2004-10-14 22:14:08 Exim configuration error in line 285 of /var/lib/exim4/config.autogenerated.tmp:
> > user mail was not found
> [...]
> > But:
> >
> > # getent passwd mail
> > mail:*:8:8:mail:/var/mail:/bin/sh
> >
> > (as expected.)
>
> Hello,
> I am reassigning this to pbuilder becase afaict exim does as nothing
> special, the corresponding code is this in src/readconf.c:
>
> if (!route_finduser(sptr, &pw, &uid))
> log_write(0, LOG_PANIC_DIE|LOG_CONFIG_IN, "user %s was not found", sptr);

Can you try obtaining strace logs and see why it's failing ?
I can't reproduce it here.


root@atoron:/# apt-get install exim4
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
exim4-base exim4-config exim4-daemon-light
Suggested packages:
mail-reader eximon4 exim4-doc-html exim4-doc-info
The following NEW packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light
0 upgraded, 4 newly installed, 0 to remove and 20 not upgraded.
Need to get 1340kB of archives.
After unpacking 2888kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ring.asahi-net.or.jp sid/main exim4-config 4.34-8 [202kB]
Get:2 http://ring.asahi-net.or.jp sid/main exim4-base 4.34-8 [790kB]
Get:3 http://ring.asahi-net.or.jp sid/main exim4-daemon-light 4.34-8 [347kB]
Get:4 http://ring.asahi-net.or.jp sid/main exim4 4.34-8 [1202B]
Fetched 1340kB in 0s (1744kB/s)
Preconfiguring packages ...
Selecting previously deselected package exim4-config.
(Reading database ... 11111 files and directories currently installed.)
Unpacking exim4-config (from .../exim4-config_4.34-8_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.34-8_i386.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.34-8_i386.deb) ...
Selecting previously deselected package exim4.
Unpacking exim4 (from .../archives/exim4_4.34-8_all.deb) ...
Setting up exim4-config (4.34-8) ...

Setting up exim4-base (4.34-8) ...

Setting up exim4-daemon-light (4.34-8) ...

Setting up exim4 (4.34-8) ...

regards,
junichi

Andreas Metzler

unread,
Dec 2, 2004, 2:30:16 PM12/2/04
to
On 2004-12-01 Junichi Uekawa <dan...@netfort.gr.jp> wrote:
> tags 276589 + moreinfo
> thanks
[...]

> > I am reassigning this to pbuilder becase afaict exim does as nothing
> > special, the corresponding code is this in src/readconf.c:
[...]

> Can you try obtaining strace logs and see why it's failing ?
> I can't reproduce it here.
[...]

No, but perhaps the bug submitter can, cc-ed.


cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

0 new messages