Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2022-07-13 Thread Marc Haber
Control: tags -1 wontfix
thanks

Hi,

On Wed, Nov 15, 2006 at 05:21:38PM +0100, Olaf van der Spek wrote:
> 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.

the adduser maintainers have decided to remove Debconf support,
therefore preseeding will no longer be possible. The advice is to
disable account generation in debian-installer and create the user
account after installation.

Greetings
Marc



Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Olaf van der Spek
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.8Debian configuration management sy
ii  passwd  1:4.0.18.1-5 change and administer password and
ii  perl-base   5.8.8-6.1The Pathologically Eclectic Rubbis

adduser recommends no packages.

-- debconf information:
* adduser/homedir-permission: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Stephen Gran
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 |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Olaf van der Spek

On 11/15/06, Stephen Gran [EMAIL PROTECTED] 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?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Stephen Gran
This one time, at band camp, Olaf van der Spek said:
 On 11/15/06, Stephen Gran [EMAIL PROTECTED] 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 |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Olaf van der Spek

On 11/15/06, Stephen Gran [EMAIL PROTECTED] 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?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Olaf van der Spek

On 11/15/06, Olaf van der Spek [EMAIL PROTECTED] 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
...




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Olaf van der Spek

adduser.conf is consistent with the debconf-show output.

# cat /etc/adduser.conf
...
DIR_MODE=0755
...


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Stephen Gran
This one time, at band camp, Olaf van der Spek said:
 On 11/15/06, Olaf van der Spek [EMAIL PROTECTED] 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=0755

I will start digging.  Please let me know about the above two.

Thanks again,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Olaf van der Spek

On 11/15/06, Stephen Gran [EMAIL PROTECTED] wrote:

This one time, at band camp, Olaf van der Spek said:
 On 11/15/06, Olaf van der Spek [EMAIL PROTECTED] 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 |
|  : :' :[EMAIL PROTECTED] |
|  `. `'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-






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#398802: [Adduser-devel] Bug#398802: Preseeding adduser/homedir-permission doesn't appear to work

2006-11-15 Thread Stephen Gran
This one time, at band camp, Olaf van der Spek said:
 On 11/15/06, Stephen Gran [EMAIL PROTECTED] 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 |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature