FS#25435 - [pacman] warning: couldn't create package cache, using /tmp instead
Attached to Project:
Pacman
Opened by Sverd Johnsen (sjohnsen) - Sunday, 07 August 2011, 15:02 GMT
Last edited by Dan McGee (toofishes) - Monday, 22 August 2011, 16:37 GMT
Opened by Sverd Johnsen (sjohnsen) - Sunday, 07 August 2011, 15:02 GMT
Last edited by Dan McGee (toofishes) - Monday, 22 August 2011, 16:37 GMT
|
Details
When $cachedir is 0555, pacman (or whatever makes the check)
assumes that it's not writable which is bogus since pacman
runs as root during installs which implies CAP_DAC_OVERRIDE
unless it's been dropped intentionally beforehand. It also
doesn't honor TMPDIR and doesn't check if /tmp has enough
space when proceeding.
|
This task depends upon
Closed by Dan McGee (toofishes)
Monday, 22 August 2011, 16:37 GMT
Reason for closing: Fixed
Additional comments about closing: Commit e07547ee4ed4fd812
Monday, 22 August 2011, 16:37 GMT
Reason for closing: Fixed
Additional comments about closing: Commit e07547ee4ed4fd812
Patches welcome for TMPDIR, and checking space is a whole bundle of complexity- patches would be accepted there but it would have to be done right.