Re: pkg writing to /

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Mon, 06 Mar 2023 08:25:56 UTC
oh well, back to the drawing board.
thanks,
	danny


> On 6 Mar 2023, at 10:07, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> 
> On Mon, Mar 06, 2023 at 09:57:55AM +0200, Daniel Braniss wrote:
>> is this true also for ‘pky update’?
> 
> I don't understand the question here, pkg update does not do anything in /
> 
> Best regards,
> Bapt
>> 
>> the /compat was a problem,
>> it was a symlink /usr/local/compat and for some reason the mkdir /compat/linux failed,
>> i did as root ‘mkdir /usr/local/compat/linux’, and linux installed ok.
>> danny
>> 
>> 
>>> On 6 Mar 2023, at 09:52, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
>>> 
>>> On Sun, Mar 05, 2023 at 09:37:32AM +0200, Daniel Braniss wrote:
>>>> Hi,
>>>> 	how can I tell pkg not to write to /? in my case sometimes /
>>>> is mounted ro, and so for example pkg update failed, or
>>>> / - which is usually- kept as small as possible gets filled up, eg 
>>>> by /.pkgtemp.compat.xxxxx/linux
>>>> 
>>>> thanks,
>>>> 	danny
>>>> 
>>>> 
>>> This is because you don't have a /compat on your / but you are trying to
>>> install a package that installs files under /compat
>>> 
>>> Bapt
>> 
>