unpacking of archive failed on file /etc/rhgb/temp: cpio: lsetfilecon
Paul Howarth
paul at city-fan.org
Mon Nov 6 15:23:49 UTC 2006
Dave Mitchell wrote:
> rhgb-0.16.4-3.fc6 is refusing to install via yum update:
>
> Updating : rhgb ######################### [3/7]
> error: unpacking of archive failed on file /etc/rhgb/temp: cpio: lsetfilecon
> Updating : mplayer-gui ######################### [4/7]
> ...
>
>
> # ls -d --lcontext /etc/rhgb/temp/
> drwx------ 2 system_u:object_r:ramfs_t root root 0 Oct 31 22:28 /etc/rhgb/temp/
>
>
> Any ideas? I'm not particularly familiar with selinux.
Try:
# restorecon -rv /etc/rhgb
/etc/rhgb/temp should be mnt_t, not ramfs_t.
Paul.
More information about the fedora-list
mailing list