[Bug 728698] New: 'zypper si' does not install sources when by a non-root user
https://bugzilla.novell.com/show_bug.cgi?id=728698 https://bugzilla.novell.com/show_bug.cgi?id=728698#c0 Summary: 'zypper si' does not install sources when by a non-root user Classification: openSUSE Product: openSUSE 12.1 Version: RC 2 Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: harnold@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 As I learned in bnc#728651, 'zypper si' should install sources under '~/rpmbuild' when run by a non-root user, but after (presumably) downloading the source package, none of the corresponding source and spec files can be found anywhere on the file system. Program versions: libzypp-10.3.2-1.1.i586 zypper-1.6.16-8.1.i586 rpm-4.9.1.2-1.5.i586 Reproducible: Always Steps to Reproduce: As a non-root user (with an activated source repository, of course), run 'zypper si <package>', where <package> is the name of an available source package. Actual Results: zypper downloads the sources of the package, but does not put them anywhere. Expected Results: The sources and the spec file of <package> are installed in '~/rpmbuild' or some other accessible location. -- 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=728698 https://bugzilla.novell.com/show_bug.cgi?id=728698#c Holger Arnold <holgerar@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |holgerar@googlemail.com Version|RC 2 |Final OS/Version|SUSE Other |openSUSE 12.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=728698 https://bugzilla.novell.com/show_bug.cgi?id=728698#c1 --- Comment #1 from Holger Arnold <holgerar@googlemail.com> 2012-02-11 13:47:27 UTC --- This problem still occurs in 12.1 final with the following program versions: libzypp-10.3.5-1.7.1.i586 zypper-1.6.18-5.8.1.i586 rpm-4.9.1.2-1.5.i586
Expected Results: The sources and the spec file of <package> are installed in '~/rpmbuild' or some other accessible location.
Actually, the files should be put in the directory specified in '~/.rpmmacros'. -- 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=728698 https://bugzilla.novell.com/show_bug.cgi?id=728698#c2 Ned Ulbricht <nedu@netscape.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nedu@netscape.net --- Comment #2 from Ned Ulbricht <nedu@netscape.net> 2012-02-27 02:22:38 UTC --- strace indicates permissions problem on /var/cache/zypp/packages/<repodir>/src/ directory relevant line from strace output: 3531 link("/var/tmp/AP_0x00000001/src/mozilla-nss-3.13.1-9.11.1.src.rpm", "/var/cache/zypp/packages/repo-update/src/mozilla-nss-3.13.1-9.11.1.src.rpm") = -1 EACCES (Permission denied) granting the user who invokes zypper si write permission on that directory appears to workaround problem I'm unsure about any potential security implications of this workaround, even with o+t permission -- 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=728698 https://bugzilla.novell.com/show_bug.cgi?id=728698#c3 --- Comment #3 from Ned Ulbricht <nedu@netscape.net> 2012-02-27 02:53:56 UTC --- my previous comment should have included: openSUSE 12.1 libzypp-10.3.7-1.9.4.i586 zypper-1.6.21-5.14.1.i586 rpm-4.9.1.2-1.5.i586 -- 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=728698 https://bugzilla.novell.com/show_bug.cgi?id=728698#c4 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #4 from Michael Andres <ma@suse.com> 2012-04-04 11:58:07 CEST --- . *** This bug has been marked as a duplicate of bug 755239 *** http://bugzilla.novell.com/show_bug.cgi?id=755239 -- 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