Ticket #2145 (closed task: wontfix)

Opened 10 months ago

Last modified 2 months ago

shadow-4.0.18.2

Reported by: dnicholson@linuxfromscratch.org Assigned to: lfs-book@linuxfromscratch.org
Priority: normal Milestone: 7.0
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

There was also a new maintenance release of shadow, 4.0.18.2. I believe this resolves the needs for the patches we have, but I haven't tested anything yet.

http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2007-November/006202.html

ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-4.0.18.2.tar.bz2

I think this should probably go in now (assuming some people test it out), before jumping to 4.1.0, which may be very different. At least we can drop the broken URL warning :)

Change History

02/08/08 16:33:58 changed by ken@linuxfromscratch.org

When I get past grep in my current build, I'll be using 4.1.0. I'm already scheduled to do a "can it build itself" test (partly, for flex-2.5.34), but after that I can add some extra tests for 4.1.0. But, I only ever build shadow in the most basic version. What would you like ? I can add cracklib, but how to check either the interaction with it, or whatever you suspect in shadow itself ?

I see cracklib needs Python, so the extra tests won't happen until after I've got a desktop running. On current form, that suggests there is at least a week for somebody to play with 4.0.18.2, and maybe longer!

02/09/08 01:01:35 changed by matthew@linuxfromscratch.org

Ken,

The testcase that triggered the original bug in 4.0.18.1 was:

mkdir -p /srv/pgsql/data groupadd -g 41 postgres useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \

-u 41 postgres

Basically, it didn't like the 'postgres' argument to the '-g' switch of 'useradd' - it would only accept the group id of 41, rather than group name. I don't tend to stretch Shadow much more beyond that.

(follow-up: ↓ 4 ) 02/09/08 14:18:27 changed by matthew@linuxfromscratch.org

This bug is still present in 4.0.18.2. I'll give 4.1.0 a try some time next week.

root:/sources# mkdir -pv /srv/pgsql/data
mkdir: created directory `/srv/pgsql'
mkdir: created directory `/srv/pgsql/data'
root:/sources# groupadd -g 41 postgres
root:/sources# grep postgres /etc/group
postgres:x:41:
root:/sources# useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \
> -u 41 postgres
useradd: unknown GID 1000
useradd: invalid numeric argument 'postgres'

(in reply to: ↑ 3 ) 02/27/08 13:43:54 changed by ken@linuxfromscratch.org

Replying to matthew@linuxfromscratch.org:

This bug is still present in 4.0.18.2. I'll give 4.1.0 a try some time next week.

Looks as if 4.1.0 fixed this.

root@bluesbreaker /home/ken #mkdir -p /srv/pgsql/data
oot@bluesbreaker /home/ken #groupadd -g 41 postgres
root@bluesbreaker /home/ken #useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data/ -u 41 postgres
Group 'mail' not found. Creating the user mailbox file with 0600 mode.
root@bluesbreaker /home/ken #echo $?
0

10/05/08 12:24:42 changed by bdubbs@linuxfromscratch.org

  • status changed from new to closed.
  • resolution set to wontfix.

See ticket 2144 for newer version.