[Bug 683140] New: package atftp is broken
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c0 Summary: package atftp is broken Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: PC OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: comes@naic.edu QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1 atftp does not work. user tftp is missing. Reproducible: Always Steps to Reproduce: 1.rcatftpd start 2. 3. Actual Results: chown: invalid user: `tftp:root' chown: invalid user: `tftp:root' Starting Advanced Trivial FTP server: failed Expected Results: Starting Advanced Trivial FTP server: done the daily cronjob logrotate also reports: error: atftp:9 unknown user 'tftp' error: found error in /var/log/atftpd/atftp.log , skipping -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |mrueckert@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c1 Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |chris@computersalat.de --- Comment #1 from Marcus Rückert <mrueckert@novell.com> 2011-03-29 09:53:15 UTC --- the user and the group should have been created in the %pre scriptlet. can you give me the output of 'rpm -qi --qf "%{DISTURL}\n" atftp' and 'rpm -q --scripts atftp'? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c2 --- Comment #2 from Giacomo Comes <comes@naic.edu> 2011-03-29 16:41:25 UTC --- (In reply to comment #1)
the user and the group should have been created in the %pre scriptlet.
I have found the issue. I have selected atftp during the installation. /var/log/zypp/history contains: # 2011-03-25 10:16:49 atftp-0.7.0-142.1.i586.rpm installed ok # Additional rpm output: # warning: group tftp does not exist - using root # warning: user tftp does not exist - using root # Updating /etc/sysconfig/atftpd... the scriplet uses useradd and groupadd (rpm pwdutils) but at the time atftp is installed pwdutils is not installed yet, it is installed later. To fix the issue atftp must depend on pwdutils. A quick workaround is to run: 'zypper in --force atfrp' the package is reinstalled and user and group are created correctly.
can you give me the output of 'rpm -qi --qf "%{DISTURL}\n" atftp' and 'rpm -q --scripts atftp'?
rpm is from 11.4 repository, rpm -qi --qf "%{DISTURL}\n" atftp: Name : atftp Relocations: (not relocatable) Version : 0.7.0 Vendor: openSUSE Release : 142.1 Build Date: Fri Feb 18 15:56:45 2011 Install Date: Fri Mar 25 10:16:49 2011 Build Host: build33 Group : System/Daemons Source RPM: atftp-0.7.0-142.1.src.rpm Size : 155226 License: GPLv2+ Signature : RSA/8, Fri Feb 18 15:57:03 2011, Key ID b88b2fd43dbdc284 Packager : http://bugs.opensuse.org URL : ftp://ftp.mamalinux.com/pub/atftp/ Summary : Advanced TFTP Server and Client Description : atftp stands for Advanced Trivial File Transfer Protocol. It is called "advanced", in contrast to others TFTP servers, for two reasons. First, it is intended to be fully compliant with all related RFCs. This includes RFC1350, RFC2090, RFC2347, RFC2348, and RFC2349. Second, atftp is intended for serving boot files to large clusters. It is multithreaded and will eventually support multicast, allowing faster boot of hundreds of machines simultaneously. Authors: -------- Jean-Pierre Lefebvre <helix@step.polymtl.ca> Remi Lefebvre <remi@debian.org> Distribution: openSUSE 11.4 obs://build.opensuse.org/openSUSE:11.4/standard/876267f0dec01cf5882dcf86a3e52ec9-atftp rpm -q --scripts atftp: preinstall scriptlet (using /bin/sh): # This group/user is shared with tftp, so please # keep this in sync with tftp.spec # add group /usr/sbin/groupadd -r tftp 2>/dev/null || : # add user /usr/sbin/useradd -c "TFTP account" -d /srv/tftpboot -G tftp -g tftp \ -r -s /bin/false tftp 2>/dev/null || : # fix sysconfig to get new defaults on Update if [ -f /etc/sysconfig/atftpd ]; then /usr/bin/sed -i -e "s@^\(ATFTPD_OPTIONS=\"--daemon \"\)@#\1@" /etc/sysconfig/atftpd /usr/bin/sed -i -e "s@^\(ATFTPD_DIRECTORY=\"/tftpboot\"\)@#\1@" /etc/sysconfig/atftpd fi postinstall scriptlet (using /bin/sh): PNAME=atftpd SUBPNAME= TEMPLATE_DIR=/var/adm/fillup-templates SYSC_TEMPLATE=$TEMPLATE_DIR/sysconfig.$PNAME$SUBPNAME SD_NAME="" if [ -x /bin/fillup ] ; then if [ -f $SYSC_TEMPLATE ] ; then echo "Updating /etc/sysconfig/$SD_NAME$PNAME..." mkdir -p /etc/sysconfig/$SD_NAME touch /etc/sysconfig/$SD_NAME$PNAME /bin/fillup -q /etc/sysconfig/$SD_NAME$PNAME $SYSC_TEMPLATE fi else echo "ERROR: fillup not found. This should not happen. Please compare" echo "/etc/sysconfig/$PNAME and $TEMPLATE_DIR/sysconfig.$PNAME and" echo "update by hand." fi preuninstall scriptlet (using /bin/sh): test -n "$FIRST_ARG" || FIRST_ARG=$1 if test "$FIRST_ARG" = "0" ; then test -f /etc/sysconfig/services && . /etc/sysconfig/services if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_STOP_ON_REMOVAL" != yes ; then for service in atftpd ; do /etc/init.d/$service stop > /dev/null done fi fi postuninstall scriptlet (using /bin/sh): test -n "$FIRST_ARG" || FIRST_ARG=$1 if test "$FIRST_ARG" -ge 1 ; then test -f /etc/sysconfig/services && . /etc/sysconfig/services if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then for service in atftpd ; do /etc/init.d/$service try-restart > /dev/null || : done fi fi /sbin/insserv /etc/init.d -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c3 Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |comes@naic.edu --- Comment #3 from Marcus Rückert <mrueckert@novell.com> 2011-05-09 14:55:38 UTC --- something is weird ... as your script output shows that it didnt run the %pre script. but the query on the package shows that it has the needed commands to create the group and user. anything in /Var/log/messages why the useradd/groupadd field? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrueckert@novell.com AssignedTo|mrueckert@novell.com |puzel@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c5 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vcizek@suse.com --- Comment #5 from Vitezslav Cizek <vcizek@suse.com> 2011-09-06 13:46:22 CEST --- I think, that the problem is missing PreReq: pwdutils. Thus pwdutils are not present at the time of the install, so no user/group gets created. And there are no messages indicating this, as useradd's stderr is sent to /dev/null. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-09-07 18:00:19 CEST --- This is an autogenerated message for OBS integration: This bug (683140) was mentioned in https://build.opensuse.org/request/show/81360 Factory / atftp -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c7 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|comes@naic.edu |maintenance@opensuse.org --- Comment #7 from Vitezslav Cizek <vcizek@suse.com> 2011-09-08 10:06:39 CEST --- Maintenance, is this worth an update? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c8 Christian Dengler <cdengler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdengler@suse.com --- Comment #8 from Christian Dengler <cdengler@suse.com> 2011-09-08 13:00:30 UTC --- Yes. An update makes sense (+1) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c9 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com --- Comment #9 from Marcus Meissner <meissner@suse.com> 2011-09-08 14:25:45 UTC --- hmm,. might be fixable by update, so yes. +1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c10 --- Comment #10 from Vitezslav Cizek <vcizek@suse.com> 2011-09-12 16:59:51 CEST --- Maintenance, would you start an update or could I close this issue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c11 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:43143:low --- Comment #11 from Swamp Workflow Management <swamp@suse.de> 2011-09-12 15:12:52 UTC --- The SWAMPID for this issue is 43143. This issue was rated as low. Please submit fixed packages until 2011-10-10. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/43143 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c12 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|maintenance@opensuse.org | --- Comment #12 from Marcus Meissner <meissner@suse.com> 2011-09-12 15:13:26 UTC --- please submit. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c13 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #13 from Vitezslav Cizek <vcizek@suse.com> 2011-09-12 17:31:34 CEST --- Thanks, package & patchinfo submitted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c14 --- Comment #14 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-09-12 18:00:12 CEST --- This is an autogenerated message for OBS integration: This bug (683140) was mentioned in https://build.opensuse.org/request/show/81921 11.4 / atftp -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c15 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:43143:low |maint:running:43143:low | |maint:released:11.4:43144 --- Comment #15 from Swamp Workflow Management <swamp@suse.de> 2011-09-20 15:59:29 UTC --- Update released for: atftp, atftp-debuginfo, atftp-debugsource Products: openSUSE 11.4 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683140 https://bugzilla.novell.com/show_bug.cgi?id=683140#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:43143:low |. |maint:released:11.4:43144 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com