Junichi Uekawa
2006-Jun-26 15:52 UTC
[Adduser-devel] Bug#375524: cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error.
Package: adduser Version: 3.90 my $chage = &which(''chage''); print "$chage -M 99999 $new_name\n" if ($verbose > 1); # do _not_ use systemcall() here, since systemcall() dies on # non-zero exit code and we need to do special handling here! if (&systemcall($chage, ''-M'', ''99999'', $new_name)) { if( ($?>>8) ne 15 ) { &cleanup("$0: `$chage -M 99999 $new_name'' returned error code " . ($?>>8) . ". Aborting.\n") if ($?>>8); &cleanup("$0: `$chage -M 99999 $new_name'' exited from signal " . ($?&255) . ". Aborting.\n"); } else { printf (gtx("%s failed with return code 15, shadow not enabled, password aging cannot be set. Continuing.\n"), $chage); } } Why are you calling systemcall here? It used to be if (system(''/usr/bin/chage'', ''-M'', ''99999'', $new_name)) { root@dancer64:/# chage -M 99999 Debian-exim chage: the shadow password file is not present root@dancer64:/# echo $? 15 root@dancer64:/# shadowconfig on Shadow passwords are now on. root@dancer64:/# chage -M 99999 Debian-exim root@dancer64:/# echo $? 0 root@dancer64:/# shadowconfig off Shadow passwords are now off. root@dancer64:/# chage -M 99999 Debian-exim chage: the shadow password file is not present root@dancer64:/# echo $? 15 O: Setting up exim4-config (4.62-2) ... P: Configuring package exim4-config O: hostname: O: Host name lookup failure O: O: hostname: O: Host name lookup failure O: O: Adding system-user for exim (v4) O: chage: the shadow password file is not present O: adduser: `/usr/bin/chage -M 99999 Debian-exim'' returned error code 15. Aborting. -O: 4838 files and directories currently installed.) -O: Unpacking adduser (from .../bootstrap/adduser_3.87_all.deb) ... +O: 4856 files and directories currently installed.) +O: Unpacking adduser (from .../bootstrap/adduser_3.90_all.deb) ... -O: Unpacking exim4-config (from .../exim4-config_4.62-1_all.deb) ... +O: Unpacking exim4-config (from .../exim4-config_4.62-2_all.deb) ... regards, junichi -- dancer@{debian.org,netfort.gr.jp} Debian Project
Stephen Gran
2006-Jun-26 18:47 UTC
Bug#375524: [Adduser-devel] Bug#375524: cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error.
This one time, at band camp, Junichi Uekawa said:> # do _not_ use systemcall() here, since systemcall() dies on > > Why are you calling systemcall here? It used to beAgreed. This is most likely my fault. Reverting it in svn now. -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran@debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060626/1886ae04/attachment.pgp
Junichi Uekawa
2006-Jun-27 00:28 UTC
Bug#375524: [Adduser-devel] Bug#375524: cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error.
> This one time, at band camp, Junichi Uekawa said: > > # do _not_ use systemcall() here, since systemcall() dies on > > > > Why are you calling systemcall here? It used to be > > Agreed. This is most likely my fault. Reverting it in svn now.Thanks. regards, junichi -- dancer@{debian.org,netfort.gr.jp} Debian Project
Debian Bug Tracking System
2006-Jun-27 21:28 UTC
[Adduser-devel] Bug#375524: marked as done (cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error.)
Your message dated Tue, 27 Jun 2006 14:02:20 -0700 with message-id <E1FvKhQ-0003Ht-GK@spohr.debian.org> and subject line Bug#375524: fixed in adduser 3.91 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------- next part -------------- An embedded message was scrubbed... From: Junichi Uekawa <dancer@netfort.gr.jp> Subject: cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error. Date: Tue, 27 Jun 2006 00:24:48 +0900 Size: 3523 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060627/848c0b88/attachment.mht -------------- next part -------------- An embedded message was scrubbed... From: Marc Haber <mh+debian-packages@zugschlus.de> Subject: Bug#375524: fixed in adduser 3.91 Date: Tue, 27 Jun 2006 14:02:20 -0700 Size: 3354 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060627/848c0b88/attachment-0001.mht
Debian Bug Tracking System
2006-Jun-27 21:31 UTC
[Adduser-devel] Bug#375524: marked as done (cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error.)
Your message dated Tue, 27 Jun 2006 14:02:20 -0700 with message-id <E1FvKhQ-0003Hw-Io@spohr.debian.org> and subject line Bug#375720: fixed in adduser 3.91 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------- next part -------------- An embedded message was scrubbed... From: Junichi Uekawa <dancer@netfort.gr.jp> Subject: cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error. Date: Tue, 27 Jun 2006 00:24:48 +0900 Size: 3523 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060627/62cafbcc/attachment.mht -------------- next part -------------- An embedded message was scrubbed... From: Marc Haber <mh+debian-packages@zugschlus.de> Subject: Bug#375720: fixed in adduser 3.91 Date: Tue, 27 Jun 2006 14:02:20 -0700 Size: 3329 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060627/62cafbcc/attachment-0001.mht
Debian Bug Tracking System
2006-Jun-27 21:32 UTC
[Adduser-devel] Bug#375524: marked as done (cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error.)
Your message dated Tue, 27 Jun 2006 14:02:20 -0700 with message-id <E1FvKhQ-0003He-E1@spohr.debian.org> and subject line Bug#375510: fixed in adduser 3.91 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------- next part -------------- An embedded message was scrubbed... From: Junichi Uekawa <dancer@netfort.gr.jp> Subject: cdebootstrap: exim4-config doesn''t install; adduser is failing with chage, logic error. Date: Tue, 27 Jun 2006 00:24:48 +0900 Size: 3523 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060627/fadbe19f/attachment.mht -------------- next part -------------- An embedded message was scrubbed... From: Marc Haber <mh+debian-packages@zugschlus.de> Subject: Bug#375510: fixed in adduser 3.91 Date: Tue, 27 Jun 2006 14:02:20 -0700 Size: 3354 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060627/fadbe19f/attachment-0001.mht