Debian Bug report logs - #66963
does not copy in /etc/skel

version graph

Package: passwd; Maintainer for passwd is Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>; Source for passwd is src:shadow (PTS, buildd, popcon).

Reported by: Ottavio Campana <bott@gauss>

Date: Sun, 9 Jul 2000 19:49:19 UTC

Severity: normal

Tags: unreproducible

Found in version 20000902-12

Done: Christian Perrier <bubulle@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#66963; Package boot-floppies. (full text, mbox, link).


Acknowledgement sent to Ottavio Campana <bott@gauss>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ottavio Campana <bott@gauss>
To: submit@bugs.debian.org
Subject: boot-floppies: The installation program has a bug creating a new account.
Date: Sun, 09 Jul 2000 21:32:52 +0200
Package: boot-floppies
Version: N/A
Severity: normal

During the installation the program ask if you want to create a normal account. 
When it creates the new account it doesn't create the .bashrc and the
.bash_profile in the home directory of the new user.

If you use useradd it works.

Bye

-- System Information
Debian Release: 2.2
Kernel Version: Linux gauss 2.2.16 #2 Sat Jul 8 15:49:22 CEST 2000 i686 unknown




Bug reassigned from package `boot-floppies' to `base-config'. Request was from Adam Di Carlo <adam@onshore.com> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Joey Hess <joey@silk.kitenet.net> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `base-config' to `passwd'. Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Karl Ramm <kcr@debian.org>:
Bug#66963; Package passwd. (full text, mbox, link).


Acknowledgement sent to <l4vim@plutons>:
Extra info received and forwarded to list. Copy sent to Karl Ramm <kcr@debian.org>. (full text, mbox, link).


Message #16 received at 66963@bugs.debian.org (full text, mbox, reply):

From: <l4vim@plutons>
To: Debian Bug Tracking System <66963@bugs.debian.org>
Subject: passwd: useradd -m do not copy /etc/skel/* subfirctories
Date: Fri, 30 Apr 2004 01:37:35 +0200
Package: passwd
Version: 20000902-12
Followup-For: Bug #66963



In that example:

----- cut

mail:~# ls -lRa /etc/skel
/etc/skel:
total 28
drwx-----x    3 root     root         4096 Oct 26  2003 .
drwxr-x--x   55 root     root         4096 Apr 30 00:46 ..
-rw-r--r--    1 root     root          266 Apr  2  2002 .alias
-rw-r--r--    1 root     root          509 Apr  8  2002 .bash_profile
-rw-r--r--    1 root     root         1093 Apr  8  2002 .bashrc
-rw-r--r--    1 root     root          375 Apr  2  2002 .cshrc
drwx------    5 root     root         4096 Oct 26  2003 Maildir

/etc/skel/Maildir:
total 20
drwx------    5 root     root         4096 Oct 26  2003 .
drwx-----x    3 root     root         4096 Oct 26  2003 ..
drwx------    2 root     root         4096 Oct 26  2003 cur
drwx------    2 root     root         4096 Oct 26  2003 new
drwx------    2 root     root         4096 Oct 26  2003 tmp

----- cut

cur, new and tmp will not be copied.

Pawel Biel
l4vim@czajen.pl



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux pluton 2.4.18 #5 Wed Mar 26 09:25:24 CET 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages passwd depends on:
ii  libc6                        2.2.5-11.5  GNU C Library: Shared libraries an
ii  libpam-modules               0.72-35     Pluggable Authentication Modules f
ii  libpam0g                     0.72-35     Pluggable Authentication Modules l
ii  login                        20000902-12 System login tools




Information forwarded to debian-bugs-dist@lists.debian.org, Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>:
Bug#66963; Package passwd. (full text, mbox, link).


Acknowledgement sent to Nicolas François <nicolas.francois@centraliens.net>:
Extra info received and forwarded to list. Copy sent to Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #21 received at 66963@bugs.debian.org (full text, mbox, reply):

From: Nicolas François <nicolas.francois@centraliens.net>
To: 66963@bugs.debian.org
Cc: Ottavio Campana <bott@iol.it>, l4vim@pluton.czajen.pl, control@bugs.debian.org
Subject: Re: Bug#66963: passwd: useradd -m do not copy /etc/skel/* subdirectories
Date: Sun, 27 Mar 2005 21:00:01 +0200
tags 66963 unreproducible
thanks

Hello,

I'm contacting both of you, Ottavio and Pawel, because I'm not able to
reproduce this bug.
I've tried with the current 4.0.3-31sarge1 version and with
20000902-12woody.
Given the difference between 20000902-12 (the version Pawel was using) and
20000902-12woody, I doubt it can be reproduced with 20000902-12.

The piece of code responsible to copy the content of /etc/skel is in
libmisc/copydir.c:copy_tree, and didn't changed for a long time.

What also worry me is that Ottavio wrote that it was working when he
used useradd, and Pawel bug title is "useradd -m do not copy /etc/skel/*
subdirectories".


Can you still reproduce this bug?
Do you still have an access to the box?
Do you remember of anything unusual (disk full, contents of /etc/skel
being symbolic links, ...)?



Thanks in advance for any update on this subject,
-- 
Nekral



Tags added: unreproducible Request was from Nicolas François <nicolas.francois@centraliens.net> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>:
Bug#66963; Package passwd. (full text, mbox, link).


Acknowledgement sent to Alexander Gattin <arg@online.com.ua>:
Extra info received and forwarded to list. Copy sent to Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #28 received at 66963@bugs.debian.org (full text, mbox, reply):

From: Alexander Gattin <arg@online.com.ua>
To: 66963@bugs.debian.org
Cc: Ottavio Campana <bott@iol.it>, l4vim@pluton.czajen.pl
Subject: Re: [Pkg-shadow-devel] Bug#66963: passwd: useradd -m do not copy /etc/skel/* subdirectories
Date: Mon, 28 Mar 2005 01:26:13 +0300
Hi!
On Sun, Mar 27, 2005 at 09:00:01PM +0200, Nicolas François wrote:
> What also worry me is that Ottavio wrote that it was working when he
> used useradd, and Pawel bug title is "useradd -m do not copy /etc/skel/*
> subdirectories".

Citing Ottavio:
> During the installation the program ask if you want
> to create a normal account.  When it creates the new
> account it doesn't create the .bashrc and the
> .bash_profile in the home directory of the new user.

I think it is filed against /var/lib/dpkg/info/passwd.config

The script is run during installation and on
`dpkg-reconfigure passwd`...

I can check if it's buggy tomorrow.

About Pawel's:
> mail:~# ls -lRa /etc/skel
> /etc/skel:
> total 28
> drwx-----x    3 root     root         4096 Oct 26  2003 .
> drwxr-x--x   55 root     root         4096 Apr 30 00:46 ..

permissions for /etc/skel and /etc look strange.
But even with such ones, useradd -m copies Maildir/*
wery well :) -- passwd 1:4.0.3-31sarge1

-- 
WBR,
xrgtn



Information forwarded to debian-bugs-dist@lists.debian.org, Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>:
Bug#66963; Package passwd. (full text, mbox, link).


Acknowledgement sent to Alexander Gattin <arg@online.com.ua>:
Extra info received and forwarded to list. Copy sent to Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #33 received at 66963@bugs.debian.org (full text, mbox, reply):

From: Alexander Gattin <arg@online.com.ua>
To: 66963@bugs.debian.org
Cc: Ottavio Campana <bott@iol.it>, l4vim@pluton.czajen.pl
Subject: Re: Bug#66963: [Pkg-shadow-devel] Bug#66963: passwd: useradd -m do not copy /etc/skel/* subdirectories
Date: Tue, 29 Mar 2005 01:06:48 +0300
On Mon, Mar 28, 2005 at 01:26:13AM +0300, Alexander Gattin wrote:
> Citing Ottavio:
> > During the installation the program ask if you want
> > to create a normal account.  When it creates the new
> > account it doesn't create the .bashrc and the
> > .bash_profile in the home directory of the new user.
> 
> I think it is filed against /var/lib/dpkg/info/passwd.config
> 
> The script is run during installation and on
> `dpkg-reconfigure passwd`...
> 
> I can check if it's buggy tomorrow.

It works in woody as intended. So, ... the bug is
really unreproducible.

-- 
WBR,
xrgtn



Reply sent to Christian Perrier <bubulle@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Ottavio Campana <bott@gauss>:
Bug acknowledged by developer. (full text, mbox, link).


Message #38 received at 66963-done@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: 66963-done@bugs.debian.org
Subject: Unreproducible bug, no more input....closing
Date: Wed, 30 Mar 2005 20:01:42 +0200
There is no added value in keeping this bug opened, given that it is
certainlyimpossible to reproduce and certainly away for ages, too.

Hence closing it.

-- 





Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 19:56:41 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.