From nobody Mon Mar 06 08:07:12 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PVWQB3SRPz3wbHd for ; Mon, 6 Mar 2023 08:07:14 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PVWQB2NBbz418V; Mon, 6 Mar 2023 08:07:14 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678090034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZY/NBrzwgcq5KtpiwMGs/glwsfWhhqWObMTM0v8H8rs=; b=sn+ImGrbRMkqW5zmkoKS94yPN+Eoa123K9EdxESmRCOSHWoHdR+svGCj2anZImwcmCLhcR ndmo3IxN2/Az3Z36Ha/AqrAceFy/fwuawAuBnQ7tZZvOZj0sgfqpCKYo8oKNj8DFqLal6M xImg4MXioc4jmLPk01ffRGFP2uAWrGCr/MSz6jKpCL74X2FZz3S9CABe+l+2G3eixtWE+8 pkkZZHy/RsiBmhXHdbpiSQInMpnjPAz1HSL9JJJ9eK8ewGTu5CRxsmn+cB28r6FDXNZ+ED DkHR8liV3ZalkzNcNQkYY4sbraqmXmtnX3Ix0+oq5XqLUpkd9z2YZkTgnSw3IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678090034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZY/NBrzwgcq5KtpiwMGs/glwsfWhhqWObMTM0v8H8rs=; b=qWmdkUJDTc1z0vpHIK83viYgKkkh0clJGfVJS6hn2xlpv76XvSEkOVW1bG0PpWxfkC1BN9 JC6clTQReLoYj3bNMSurHZ7OSV91UDxHgNLeBPxtleZECxEpUZwdOmkg/Ms94pvTuY9Hgy 4ggRJhKe4psnTyaJKx/t5RhF0mbtesLYZazet1f0X7WA+XH2rSRNai7NDkbBWp3tfK2iyw gLo9UriURACktXQTCjie56aCk3yOacx+UDdhcybdU94umouI+AvBoCo4HeRClIFsw8PVL8 4EZk0ElyZUs/lb2MxGwX6BPJKNlyt0iY+BomIb5WcXVzenOWwNRSzmvIbO9O2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678090034; a=rsa-sha256; cv=none; b=fbPMEnw8/gMXeX40CA6y0ltaOacL/kuNxr3iXx1TklFOyXI/Etw0sooG8z79B49VkJz4Ss kD32LAUHj/ELy6EX28yHz05cMg1YqiF8zdE7NIF3SifjTtvJUsx8WR8uFQgq2WH5PqrkHC lQS8vVVzRaGClRAIKuWxJEftRWyjnHiwamXHEwI4Fo2uzpVwRrmbsodcXxbxyuGNkSE/5P oEehafit2GP6NzDtlhQ3Lu1OBMALQVEhlQqzsQEo8NF7cNmkhU8i4wez7RglAH3TmArFYt AziMDnp2/ovCaXCT6bUXPrNNwejzrSWFjp+yOdvbB249hX6rTkii1KvBU2Zzdg== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PVWQB0gYBz10s8; Mon, 6 Mar 2023 08:07:14 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 084B81C1816; Mon, 6 Mar 2023 09:07:12 +0100 (CET) Date: Mon, 6 Mar 2023 09:07:12 +0100 From: Baptiste Daroussin To: Daniel Braniss Cc: freebsd-ports Subject: Re: pkg writing to / Message-ID: <20230306080712.cwt6bxeiwbpba6e4@aniel.nours.eu> References: <40ED6A0D-68BD-4A05-A9A6-9AE48153AB06@cs.huji.ac.il> <20230306075245.7srq6vzblzxil37u@aniel.nours.eu> <4D6D62EA-B271-4D00-BF02-9C4E34E5E54A@cs.huji.ac.il> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4D6D62EA-B271-4D00-BF02-9C4E34E5E54A@cs.huji.ac.il> X-ThisMailContainsUnwantedMimeParts: N 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 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 >