[Bug 813527] New: zypper: should chdir to root
https://bugzilla.novell.com/show_bug.cgi?id=813527 https://bugzilla.novell.com/show_bug.cgi?id=813527#c0 Summary: zypper: should chdir to root Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: All OS/Version: Linux Status: NEW Severity: Minor Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jengelh@inai.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- When running zypper in an inaccessible directory (e.g. due to an NFS mount using root_squash or something), a problem with spawning additional processes can ensue. I suggest that zypper always chdir("/") immediately to avoid this issue. g5:~> su - Password: g5:/home/jengelh # zypper in boinc-client Retrieving repository 'update' metadata ..................................[done] Building repository 'update' cache .......................................[done] Retrieving repository 'utilities' metadata ...............................[done] Building repository 'utilities' cache ....................................[done] Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: boinc-client libboinc6 2 new packages to install. Overall download size: 414.1 KiB. After the operation, additional 1.2 MiB will be used. Continue? [y/n/?] (y): Retrieving package libboinc6-6.12.43-3.1.2.x86_64 (1/2), 136.6 KiB (419.7 KiB unpacked) Retrieving: libboinc6-6.12.43-3.1.2.x86_64.rpm ...........................[done] Retrieving package boinc-client-6.12.43-3.1.2.x86_64 (2/2), 277.5 KiB (811.3 KiB unpacked) Retrieving: boinc-client-6.12.43-3.1.2.x86_64.rpm ........................[done] (1/2) Installing: libboinc6-6.12.43-3.1.2 ...............................[error] Installation of libboinc6-6.12.43-3.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): r (1/2) Installing: libboinc6-6.12.43-3.1.2 ...............................[error] Installation of libboinc6-6.12.43-3.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): a Problem occured during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint. -- 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=813527
https://bugzilla.novell.com/show_bug.cgi?id=813527#c1
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=813527
https://bugzilla.novell.com/show_bug.cgi?id=813527#c2
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=813527
https://bugzilla.novell.com/show_bug.cgi?id=813527#c3
--- Comment #3 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=813527
https://bugzilla.novell.com/show_bug.cgi?id=813527#c4
Jan Engelhardt
participants (1)
-
bugzilla_noreply@novell.com