[Bug 228216] New: [Zypper] service-rename buggy? Duplicated names causes removing etc....
https://bugzilla.novell.com/show_bug.cgi?id=228216 Summary: [Zypper] service-rename buggy? Duplicated names causes removing etc.... Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: tobias@hanfbu.de QAContact: kkaempf@novell.com Hi, I wanted to rename my following services via zypper: # | Enabled | Refresh | Type | Name | URI --+---------+---------+------+-----------------+---------------------------------------------------------------------------------------------- 1 | Yes | Yes | YUM | 20061208-151916 | http://ftp-stud.fht-essli.... 2 | Yes | Yes | YUM | 20061208-182646 | http://software.opensuse..... 3 | Yes | Yes | YUM | 20061208-144435 | http://ftp.halifax.rwth-.... 4 | Yes | Yes | YaST | 20061208-150530 | http://ftp-stud.fht-essli.... 5 | No | No | YaST | 20061207-132431 | cd:///?devices=/d.... 6 | Yes | Yes | YaST | 20061208-145418 | http://ftp-stud.fht-essling... 7 | Yes | Yes | YaST | 20061208-145018 | http://ftp.gwdg.de/..... The first update went well: Hanf:/home/tobias # zypper service-rename 1 update Hanf:/home/tobias # zypper service-rename 1 Hanf:/home/tobias # zypper sl # | Enabled | Refresh | Type | Name | URI --+---------+---------+------+-----------------+---------------------------------------------------------------------------------------------- 1 | Yes | Yes | YUM | update | http://ftp-stud.fht-essli... 2 | Yes | Yes | YUM | 20061208-182646 | http://software.opensus... 3 | Yes | Yes | YUM | 20061208-144435 | http://ftp.halifax.rwth-.... 4 | Yes | Yes | YaST | 20061208-150530 | http://ftp-stud.fht-essl.... 5 | No | No | YaST | 20061207-132431 | cd:///?devices=/dev/hdc,/dev... 6 | Yes | Yes | YaST | 20061208-145418 | http://ftp-stud.fht-ess... 7 | Yes | Yes | YaST | 20061208-145018 | http://ftp.gwdg.de/pub... So I tried renaming the others: Hanf:/home/tobias # zypper service-rename 2 XGL Hanf:/home/tobias # zypper service-rename 3 packman Hanf:/home/tobias # zypper service-rename 4 suse-oss Hanf:/home/tobias # zypper service-rename 5 suse-dvd Hanf:/home/tobias # zypper service-rename 6 suse-non-oss Hanf:/home/tobias # zypper service-rename 7 guru But this hadn't the effect I excpected: # | Enabled | Refresh | Type | Name | URI --+---------+---------+------+-----------------+---------------------------------------------------------------------------------------------- 1 | Yes | Yes | YUM | update | http://ftp-stud.fht-ess... 2 | Yes | Yes | YUM | packman | http://software.opensuse.o.... 3 | Yes | Yes | YUM | 20061208-144435 | http://ftp.halifax.... 4 | Yes | Yes | YaST | suse-dvd | http://ftp-stud.... 5 | No | No | YaST | 20061207-132431 | cd:///?devices=/dev/h.... 6 | Yes | Yes | YaST | suse-non-oss | http://ftp.gwdg.d.... 7 | Yes | Yes | YaST | guru | http://ftp-stud.fht-essli... So I tried renaming #3 to packman (forgot #2 is called so): Hanf:/home/tobias # zypper service-rename 3 packman Hanf:/home/tobias # zypper sl # | Enabled | Refresh | Type | Name | URI --+---------+---------+------+-----------------+---------------------------------------------------------------------------------------------- 1 | Yes | Yes | YUM | update | http://ftp-stud.fht-essli.... 2 | Yes | Yes | YUM | packman | http://ftp.halifax.rwt.... 3 | Yes | Yes | YaST | suse-dvd | http://ftp-stud.fht-ess... 4 | No | No | YaST | 20061207-132431 | cd:///?device... 5 | Yes | Yes | YaST | suse-non-oss | http://ftp.gwdg.d... 6 | Yes | Yes | YaST | guru | http://ftp-stud... Worked, but the old 'packman' has disappeared. An error like "a service with this name already exists" would be better I think. To sum it up, there are two issues: 1: renaming sometimes don't work (wrong services were renamed, or no renaming at all) 2: duplicated names causes removing of services instead of a simple error Regards, Tobias -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228216 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kkaempf@novell.com |mvidner@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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228216 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from mvidner@novell.com 2006-12-13 09:25 MST ------- 1) renaming does work but the problem is that the numbering can change with every rename. I must note this in the manual+help. 2) duh, must fix. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228216 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |volker3204@paradise.net.nz ------- Comment #2 from andreas.hanke@gmx-topmail.de 2007-01-04 17:10 MST ------- *** Bug 232002 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228216 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com AssignedTo|mvidner@novell.com |jkupec@novell.com Status|ASSIGNED |NEW ------- Comment #3 from mvidner@novell.com 2007-02-27 06:32 MST ------- Jano is taking over as the primary maintainer of zypper, I am a co-maintainer. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228216 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=228216#c5
--- Comment #5 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=228216
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=228216#c6
--- Comment #6 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=228216
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=228216
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=228216#c7
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=228216
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=228216#c8
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com