Your message dated Sun, 19 Jul 2009 23:32:07 +0000
with message-id <[email protected]>
and subject line Bug#245017: fixed in tftp-hpa 5.0-2
has caused the Debian Bug report #245017,
regarding tftpd-hpa: Fails with "cannot set groups for user nobody"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
245017: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=245017
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tftpd-hpa
Version: 0.36-1
Severity: grave
Justification: renders package unusable
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.24
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to POSIX)
Versions of packages tftpd-hpa depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libwrap0 7.6-ipv6.1-3 Wietse Venema's TCP wrappers libra
-- no debconf information
Trying to use tftpd-hpa to netboot a x86 Linux machine. The netbooting machine
gets a DHCP address and attempts to connect to tftpd but this fails. In syslog
I get a set of messages like this:
Apr 21 10:30:53 ook in.tftpd[30760]: cannot set groups for user nobody
Apr 21 10:30:53 ook in.tftpd[30761]: cannot set groups for user nobody
Apr 21 10:30:55 ook in.tftpd[30762]: cannot set groups for user nobody
I had a look at the code and the relevant area is this:
setrv = initgroups(user, pw->pw_gid);
if ( setrv ) {
syslog(LOG_ERR, "cannot set groups for user %", user);
exit(EX_OSERR);
}
By adding a bit of debugging code I figured out that initgroups was failing
with an EPERM. This is a bit odd because when inetd starts in.tftpd it is
already running as nobody:nogroup and the initgroups call is only asking it
to be set to nogroup. Maybe this is a bug in the initgroups() function.
I've now hacked the code by commenting out the exit() statement above and
the netboot machine can now grab pxelinux.0. I can understand if this not
the right solution, but it worked for me ;-).
--- End Message ---
--- Begin Message ---
Source: tftp-hpa
Source-Version: 5.0-2
We believe that the bug you reported is fixed in the latest version of
tftp-hpa, which is due to be installed in the Debian FTP archive:
tftp-hpa_5.0-2.diff.gz
to pool/main/t/tftp-hpa/tftp-hpa_5.0-2.diff.gz
tftp-hpa_5.0-2.dsc
to pool/main/t/tftp-hpa/tftp-hpa_5.0-2.dsc
tftp-hpa_5.0-2_i386.deb
to pool/main/t/tftp-hpa/tftp-hpa_5.0-2_i386.deb
tftpd-hpa_5.0-2_i386.deb
to pool/main/t/tftp-hpa/tftpd-hpa_5.0-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Baumann <[email protected]> (supplier of updated tftp-hpa package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 20 Jul 2009 01:27:27 +0200
Source: tftp-hpa
Binary: tftp-hpa tftpd-hpa
Architecture: source i386
Version: 5.0-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description:
tftp-hpa - HPA's tftp client
tftpd-hpa - HPA's tftp server
Closes: 245017
Changes:
tftp-hpa (5.0-2) unstable; urgency=low
.
* Adding forgotten bug numbers to previous changelog entry.
* Now running always as unprivileged user (Closes: #245017).
Checksums-Sha1:
0158c6de598ec13eb9238dea4ff362df130cbc71 1147 tftp-hpa_5.0-2.dsc
5ad788143fe64ba23980ab7550ba81650fbf8cef 12268 tftp-hpa_5.0-2.diff.gz
3b1fc2d2cbc8ef30aa869ba2fcb1fb933254c6e3 24354 tftp-hpa_5.0-2_i386.deb
0ebc5c41a7beec6e1606f7ed0ee1bf6d8f27ff14 38802 tftpd-hpa_5.0-2_i386.deb
Checksums-Sha256:
bc9b1622fab7f2bb0019ea9ed63183d9afb6ab1888ef47151f7601aadd51a433 1147
tftp-hpa_5.0-2.dsc
24efc0f88b090b14d4ffdcd0a30855a7163b8797f5caa534a5fd10b261881784 12268
tftp-hpa_5.0-2.diff.gz
9593560086c8ebf60edd605c85ec30aec60fcb1e5c25030df07107c558a220d9 24354
tftp-hpa_5.0-2_i386.deb
0232f60bd1456baeb3fff2034c79e4460bd7ba8ddb569b04bc4bb6a9f14a9c14 38802
tftpd-hpa_5.0-2_i386.deb
Files:
287746cd87c94f105c49d4a471452fe4 1147 net extra tftp-hpa_5.0-2.dsc
ac0660a92d3fde1e11062f8cdbb30d48 12268 net extra tftp-hpa_5.0-2.diff.gz
00a3f1cd2e0d32d54479b53b7ac74a69 24354 net extra tftp-hpa_5.0-2_i386.deb
3d2495e8666a92d9c5bb45f09a62a5d5 38802 net extra tftpd-hpa_5.0-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpjrJIACgkQ+C5cwEsrK54JKwCgwUn3LOk4lQ9TBdNdppNlZHFz
VvcAnitAZVOqu/hp43eGs6ZoPHoBOsZr
=Vdxa
-----END PGP SIGNATURE-----
--- End Message ---