Opened 16 years ago

Closed 16 years ago

#2145 closed task (wontfix)

shadow-4.0.18.2

Reported by: dnicholson@… Owned by: lfs-book@…
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 (5)

comment:1 by ken@…, 16 years ago

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!

comment:2 by Matthew Burgess, 16 years ago

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.

comment:3 by Matthew Burgess, 16 years ago

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 comment:4 by ken@…, 16 years ago

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

comment:5 by bdubbs@…, 16 years ago

Resolution: wontfix
Status: newclosed

See ticket 2144 for newer version.

Note: See TracTickets for help on using tickets.