Olaf van der Spek
2006-Nov-15 18:28 UTC
Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
Package: adduser Version: 3.99 Severity: normal Hi, I''ve put "adduser adduser/homedir-permission boolean false" in preseed.cfg, but /etc/adduser.conf contains "DIR_MODE=0755". The preseed entry appears to be ignored. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, ''testing'') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-486 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages adduser depends on: ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy ii passwd 1:4.0.18.1-5 change and administer password and ii perl-base 5.8.8-6.1 The Pathologically Eclectic Rubbis adduser recommends no packages. -- debconf information: * adduser/homedir-permission: false
Stephen Gran
2006-Nov-15 19:19 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
This one time, at band camp, Olaf van der Spek said:> I''ve put "adduser adduser/homedir-permission boolean false" in preseed.cfg, but /etc/adduser.conf contains "DIR_MODE=0755". > The preseed entry appears to be ignored.I don''t know the fields for a preseed entry, I''m afraid, so can you tell me what the first one represents? Package? Title? Something else? I''m guessing at package, but I want to be sure. I don''t really see how this happened, looking over the maintainer scripts, so can you help debug it? Thanks, -- ----------------------------------------------------------------- | ,''''`. 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/20061115/20173939/attachment.pgp
Olaf van der Spek
2006-Nov-15 19:50 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
On 11/15/06, Stephen Gran <sgran@debian.org> wrote:> This one time, at band camp, Olaf van der Spek said: > > I''ve put "adduser adduser/homedir-permission boolean false" in preseed.cfg, but /etc/adduser.conf contains "DIR_MODE=0755". > > The preseed entry appears to be ignored. > > I don''t know the fields for a preseed entry, I''m afraid, so can you tell > me what the first one represents? Package? Title? Something else?According to http://d-i.alioth.debian.org/manual/en.i386/apbs03.html the format is "<owner> <question name> <question type> <value>".> I''m guessing at package, but I want to be sure. I don''t really see how > this happened, looking over the maintainer scripts, so can you help > debug it?Sure. What can I do?
Stephen Gran
2006-Nov-15 20:11 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
This one time, at band camp, Olaf van der Spek said:> On 11/15/06, Stephen Gran <sgran@debian.org> wrote: > >This one time, at band camp, Olaf van der Spek said: > >> I''ve put "adduser adduser/homedir-permission boolean false" in > >preseed.cfg, but /etc/adduser.conf contains "DIR_MODE=0755". > >> The preseed entry appears to be ignored. > > > >I don''t know the fields for a preseed entry, I''m afraid, so can you tell > >me what the first one represents? Package? Title? Something else? > > According to http://d-i.alioth.debian.org/manual/en.i386/apbs03.html > the format is "<owner> <question name> <question type> <value>".Oh, cool. I didn''t know about that manual. Thanks.> >I''m guessing at package, but I want to be sure. I don''t really see how > >this happened, looking over the maintainer scripts, so can you help > >debug it? > > Sure. What can I do?debconf-show adduser is a start. I expect it to just answer * adduser/homedir-permission: true but I''d like to be sure. If it doesn''t then there is a wierd bug that I can''t spot in the postinst. If it does, then can you rerun the installer, but set -x the adduser scripts and send the resulting output? Thanks, -- ----------------------------------------------------------------- | ,''''`. 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/20061115/71fb46a5/attachment.pgp
Olaf van der Spek
2006-Nov-15 20:20 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
On 11/15/06, Stephen Gran <sgran@debian.org> wrote:> > >I''m guessing at package, but I want to be sure. I don''t really see how > > >this happened, looking over the maintainer scripts, so can you help > > >debug it? > > > > Sure. What can I do? > > debconf-show adduser > is a start. I expect it to just answer > * adduser/homedir-permission: true > but I''d like to be sure.# debconf-show adduser * adduser/homedir-permission: false> If it doesn''t then there is a wierd bug that I can''t spot in the > postinst. If it does, then can you rerun the installer, but set -x the > adduser scripts and send the resulting output?How do I do that? I''m installing from debian-testing-i386-binary-1.iso?
Olaf van der Spek
2006-Nov-15 20:21 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
On 11/15/06, Olaf van der Spek <olafvdspek@gmail.com> wrote:> adduser.conf is consistent with the debconf-show output.Grr, I mean inconsistent. The debconf output (false) is right, since that''s what I set in preseed.cfg.> # cat /etc/adduser.conf > ... > DIR_MODE=0755 > ... >
Olaf van der Spek
2006-Nov-15 20:22 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
adduser.conf is consistent with the debconf-show output. # cat /etc/adduser.conf ... DIR_MODE=0755 ...
Stephen Gran
2006-Nov-16 00:01 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
This one time, at band camp, Olaf van der Spek said:> On 11/15/06, Olaf van der Spek <olafvdspek@gmail.com> wrote: > >adduser.conf is consistent with the debconf-show output. > > Grr, I mean inconsistent. > The debconf output (false) is right, since that''s what I set in preseed.cfg.OK, just to be absolutely clear - debconf-show adduser says ''false'' for adduser/homedir-permission and nothing for adduser/homedir-changed? Wow.> ># cat /etc/adduser.conf > >... > >DIR_MODE=0755I will start digging. Please let me know about the above two. Thanks again, -- ----------------------------------------------------------------- | ,''''`. 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/20061115/d96bb61c/attachment.pgp
Olaf van der Spek
2006-Nov-16 01:22 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
On 11/15/06, Stephen Gran <sgran@debian.org> wrote:> This one time, at band camp, Olaf van der Spek said: > > On 11/15/06, Olaf van der Spek <olafvdspek@gmail.com> wrote: > > >adduser.conf is consistent with the debconf-show output. > > > > Grr, I mean inconsistent. > > The debconf output (false) is right, since that''s what I set in preseed.cfg. > > OK, just to be absolutely clear - debconf-show adduser says ''false'' for > adduser/homedir-permission and nothing for adduser/homedir-changed? Wow.Yes. debian:~# debconf-show adduser * adduser/homedir-permission: false debian:~#> > ># cat /etc/adduser.conf > > >... > > >DIR_MODE=0755 > > I will start digging. Please let me know about the above two. > > Thanks again, > -- > ----------------------------------------------------------------- > | ,''''`. Stephen Gran | > | : :'' : sgran@debian.org | > | `. `'' Debian user, admin, and developer | > | `- http://www.debian.org | > ----------------------------------------------------------------- > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQFFW5Y4SYIMHOpZA44RAq1eAKCMtL/XwHsIaoWg1DMWLEHd6Hm5JgCfR6Ss > UmkLafTkAVAoiK2YhJB2RR0> =/tr/ > -----END PGP SIGNATURE----- > > >
Stephen Gran
2006-Nov-16 03:22 UTC
Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn''t appear to work
This one time, at band camp, Olaf van der Spek said:> On 11/15/06, Stephen Gran <sgran@debian.org> wrote: > > > >OK, just to be absolutely clear - debconf-show adduser says ''false'' for > >adduser/homedir-permission and nothing for adduser/homedir-changed? Wow. > > Yes. > > debian:~# debconf-show adduser > * adduser/homedir-permission: false > debian:~#OK. I am stumped. I don''t see how those could be the settings at postinst time, and still have the result you describe. Is there something I''m missing about the d-i/preseed environemnt? Anybody else have any ideas? -- ----------------------------------------------------------------- | ,''''`. 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/20061116/124f9316/attachment.pgp