[Bug 893260] New: zypper does not list added repo
https://bugzilla.novell.com/show_bug.cgi?id=893260 https://bugzilla.novell.com/show_bug.cgi?id=893260#c0 Summary: zypper does not list added repo Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: illumilore@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 After adding a repo, it does not show up in zypper lr Reproducible: Always Steps to Reproduce: $ sudo zypper ar -f http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.1/ KF5 Adding repository 'KF5' ......................................................................[done] Repository 'KF5' successfully added Enabled: Yes Autorefresh: Yes GPG check: Yes URI: http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.1/ Actual Results: $ zypper lr # | Alias | Name | Enabled | Refresh ---+-------------------------------+-----------------------------------------+---------+-------- 1 | Education | Education | Yes | Yes 2 | Packman Repository | Packman Repository | Yes | Yes 3 | devel:languages:perl | devel:languages:perl | Yes | Yes 4 | download.nvidia.com-opensuse | nVidia Graphics Drivers | Yes | Yes 5 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra | Yes | Yes 6 | download.opensuse.org-Wine | openSUSE BuildService - Wine CVS Builds | Yes | Yes 7 | download.opensuse.org-games | openSUSE BuildService - Games | Yes | Yes 8 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | Yes 9 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | Yes 10 | download.opensuse.org-oss | Main Repository (OSS) | Yes | Yes 11 | download.opensuse.org-update | Main Update Repository | Yes | Yes 12 | games:tools | games:tools - steam | Yes | Yes 13 | google-earth | google-earth | Yes | Yes 14 | home:RedDwarf | home:RedDwarf audacious | Yes | Yes 15 | home:lnt-sysadmin:tools | home:lnt-sysadmin:tools | Yes | Yes 16 | home:lrupp:EDU | home:lrupp:EDU | Yes | Yes 17 | home:mik34020 | home:mik34020 - chromium pepper flash | Yes | Yes 18 | home:subchaser | home:subchaser - exfat driver repo | Yes | Yes 19 | kde_current_extra_for_13.1 | kde current extra for 13.1 | Yes | Yes 20 | kde_current_sc_for_13.1 | kde current sc for 13.1 | Yes | Yes 21 | newqt | newqt | Yes | Yes 22 | openSUSE:13.1 | openSUSE:13.1 | Yes | Yes 23 | openSUSE:13.1:NonFree | openSUSE:13.1:NonFree | Yes | Yes 24 | openSUSE:13.1:NonFree:Update | openSUSE:13.1:NonFree:Update | Yes | Yes 25 | repo-non-oss | openSUSE-13.1-Non-Oss | Yes | Yes 26 | repo-oss | openSUSE-13.1-Oss | Yes | Yes 27 | repo-source | openSUSE-13.1-Source | No | No 28 | repo-update | openSUSE-13.1-Update | Yes | Yes 29 | repo-update-non-oss | openSUSE-13.1-Update-Non-Oss | Yes | Yes Expected Results: It says it was successfully added, but it still does not show up in lr. -- 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=893260 https://bugzilla.novell.com/show_bug.cgi?id=893260#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com, | |ma@suse.com Component|Basesystem |libzypp AssignedTo|bnc-team-screening@forge.pr |zypp-maintainers@forge.prov |ovo.novell.com |o.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=893260 https://bugzilla.novell.com/show_bug.cgi?id=893260#c1 Mateusz Mielczarek <sysek@quebec.zapto.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sysek@quebec.zapto.org --- Comment #1 from Mateusz Mielczarek <sysek@quebec.zapto.org> 2014-08-29 07:23:47 UTC --- What about yast ? Can you check in yast -> Software -> Repositories ? -- 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=893260 https://bugzilla.novell.com/show_bug.cgi?id=893260#c2 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |illumilore@gmail.com --- Comment #2 from Michael Andres <ma@suse.com> 2014-08-29 10:12:00 CEST --- - Does 'sudo zypper lr' list the repo? If yes, check permissions of /etc/zypp/repos.d/KF5.repo. Maybe root has a restrictive umask (or sudos security policy) not granting access to 'ordinary' users. If it's not due to missing permissions: Please attach the zypper logfile /var/log/zypper.log (or an older and compressed /var/log/zypper.log-YYYYMMDD.xz or .bz2) that shows the reported behavior. To see the execution dates and zypper commands included in a logfile you can install the zypper-log package (available since zypper-1.6.11) and execute: zypper-log -l <logfile> -- 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=893260 https://bugzilla.novell.com/show_bug.cgi?id=893260#c3 ill lume <illumilore@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|illumilore@gmail.com | --- Comment #3 from ill lume <illumilore@gmail.com> 2014-08-29 22:39:50 UTC --- It looks like the repo file has no read perm for others. I have never changed the umask for root, so is this intended behaviour for new files made by root to not have read permission for others? -- 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=893260 https://bugzilla.novell.com/show_bug.cgi?id=893260#c4 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #4 from Michael Andres <ma@suse.com> 2014-09-01 11:48:42 CEST --- AFAIK the default is still 0022, but maybe you changed your own umask? AFAIK sudo per default does not grant more permission as your own umask says. (https://wiki.archlinux.org/index.php/sudo#Permissive_Umask) -- 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=893260 https://bugzilla.novell.com/show_bug.cgi?id=893260#c5 ill lume <illumilore@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #5 from ill lume <illumilore@gmail.com> 2014-09-01 18:33:03 UTC --- So wouldn't it make sense that zypper lr would report when it can't read files? Or at least report it when using verbose -v option so the user isn't left in the dark and is notified about errors. -- 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=893260 https://bugzilla.novell.com/show_bug.cgi?id=893260#c6 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #6 from Michael Andres <ma@suse.com> 2014-09-02 17:30:00 CEST --- In openSUSE-13.2 (with libzypp-14.23.3) you'll see a line like: Warning: Cannot read repo file ‘/etc/zypp/repos.d/CA.repo’: Permission denied A fix for older distros is not possible, as there is no way for libzypp reporting through zypper to the screen. Thats' new in 13.2 -- 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