Bug 728856 - rpm fails if current directory is not accessible by root
Summary: rpm fails if current directory is not accessible by root
Status: RESOLVED WONTFIX
: 758475 768305 (view as bug list)
Alias: None
Product: openSUSE 12.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: All openSUSE 12.1
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Michael Schröder
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 09:37 UTC by Ludwig Nussel
Modified: 2017-05-11 14:36 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
coolo: SHIP_STOPPER-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2011-11-08 09:37:12 UTC
nfs home...

$ LANG=C sudo zypper in dosbox
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  dosbox 

1 new package to install.
Overall download size: 735.0 KiB. After the operation, additional 2.5 MiB will be used.
Continue? [y/n/?] (y): 
Installing: dosbox-0.74-10.1.2 [error]
Installation of dosbox-0.74-10.1.2 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: Unable to open current directory: Permission denied


Abort, retry, ignore? [a/r/i] (a): 
Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.
$

regression from 11.4
Comment 1 Michael Schröder 2011-11-08 11:13:19 UTC
I'm inclined to classify this as "doctor it hurts when I do this" and close it as WONTFIX ;)
Comment 2 Ludwig Nussel 2011-11-08 11:21:39 UTC
why did it work on 11.4?
Comment 3 Stephan Kulow 2011-11-09 08:17:10 UTC
bug in 11.4? :)
Comment 4 Ludwig Nussel 2011-11-09 16:28:56 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=672576

this sucks
Comment 5 Michael Schröder 2012-04-23 09:03:14 UTC
*** Bug 758475 has been marked as a duplicate of this bug. ***
Comment 6 Bernhard Wiedemann 2012-04-23 10:50:28 UTC
So should we workaround this in zypper as redhat did it in yum?
NFS and sshfs are pretty common setups these days
and cnf recommends running a sudo zypper install line
Comment 7 Michael Schröder 2012-06-25 09:24:27 UTC
*** Bug 768305 has been marked as a duplicate of this bug. ***
Comment 8 Michael Schröder 2017-05-11 14:27:51 UTC
Closing this. Sorry.
Comment 9 Michael Andres 2017-05-11 14:36:19 UTC
JFYI: libzypp works around this

commit f59bad784ed00f8868b3aed01073e1a02bb65d33
Date:   Thu Jul 4 13:11:05 2013 +0200
    Workaround bnc#819354 by executing rpm in /. (bnc#827609)