Re: update of chroot fails - error: cannot remove file '/sys/': Read-only file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 30/06/12 13:37, David C. Rankin wrote:
> On 06/29/2012 08:07 PM, Allan McRae wrote:
>> Just because the answers are getting more ridiculous....
>>
>>
>> Open /usr/sbin/mkarchroot and change:
>>
>> 	mount -o remount,ro,bind "${working_dir}/sys"
>> to
>> 	mount -o remount,bind "${working_dir}/sys"
>>
>>
>> Allan
> 
> Ooh, you're good :)
> 
>   That was it -- works like a charm now.
> 
> ... just how did the little ',ro' come to cause such a problem?
> 

/sys is in the filesystem package.   When pacman upgrades filesystem it
tries to remove /sys then reinstall it (not really, simplified...).  It
sees /sys is read only and so it can not deal with that so bails.  It is
a bug in pacman.

Allan




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux