https://bugzilla.novell.com/show_bug.cgi?id=682340
https://bugzilla.novell.com/show_bug.cgi?id=682340#c0
Summary: 11.4 update breaks tftp server
Classification: openSUSE
Product: openSUSE 11.4
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Network
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: koenig@linux.de
QAContact: qa@suse.de
Found By: ---
Blocker: ---
update from 11.3 to 11.4 broke my tftp server!
in.tftpd gets started by xinetd with default setup:
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
flags = IPv6 IPv4
user = tftp
server = /usr/sbin/in.tftpd
server_args = -v -s /srv/tftpboot
disable = no
}
then syslog shows
Mar 24 15:11:43 harald in.tftpd[4646]: cannot set groups for user nobody
note the "user nobody" which is a fake information as strace shows
4646 setgid(130) = 0
4646 setuid(127) = 0
4646 setgroups(2, [65533, 65534]) = -1 EPERM (Operation not permitted)
so it's not user "nobody" but "tftp":
# id tftp
uid=127(tftp) gid=130(tftp) groups=130(tftp)
using
server_args = -v -u tftp -s /srv/tftpboot
only changes the syslog message but not the problem:
Mar 24 15:18:00 harald in.tftpd[7108]: cannot set groups for user tftp
7108 setgroups(1, [130]) = -1 EPERM (Operation not permitted)
running this small program as root with strace shows the same EPERM for
setgropus()
-------------------------------------
#include