From nobody Mon Mar 06 00:56:37 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 4PVKsg23ZQz3wB5P for ; Mon, 6 Mar 2023 00:56:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PVKsf6qvLz4M2k for ; Mon, 6 Mar 2023 00:56:54 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-536cb25982eso155010857b3.13 for ; Sun, 05 Mar 2023 16:56:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678064214; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CMqZGR2d/pnfN1arN0Ye5GxFxGNJkCVgibXmuTuAgB4=; b=N5d/iJU4afQhhSeA9zavSGORvWI0bo7gzCuSrPfniUkDtm7IU2HzMX5Rc3qDAtm2WE cNC5eaJxYO7GCo0dEUPp7E+ufar5hSLZtJdvQSjY9jJ+ft+C37//DlGCKfClQVRgIyu/ ac8eH5bhrxwn9wGTBzmoOLTQ8ZOpglV0B/tc5kkitV2W5zZVmOLiDfjqauWF5++IAzyA 1PVKH+BwQTS+t/36j8Kw5zFJ9v1v1ZKR7iUeevXEDGmQ35GV8AMW9hp6eVqDUAAIGUXh lwNUkWAv12x7+POR8peAeYT8qMMeVTxVRrgeayuHdOh5mOY6+n3IxM5/euCPyx7weIC0 Jllw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678064214; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CMqZGR2d/pnfN1arN0Ye5GxFxGNJkCVgibXmuTuAgB4=; b=ghq4plcUyDIHn9+aMEOLZLxHlL5qLhQR7vD0m+aB7KcCiKcuV5JOdT0Xlcbx9bwwIB n5u0tcnUDKY2d7uGJQ2LSRbmNIZghBsw8kjUkXnydyt9j/IF7oTJyrL6jjcx8pJoDmLR QXH2CRMY0Hp50jhXA6jWnsPBqf9iv8csZTGbzO0YtIiDueaIp2sGFY1ovjjKrKIFXtR+ GcT632YqypRGygAUBNUxGqJY0TI8Oabd00jhv3cu31hHTJQlj2hQ+Rd1lp0l/nTyTnT/ lCPVf8fCEeVXxcyC5bRr/W8UwwCNixNLxtaeMFhSZSLVVCiVS7SiF7OAyFIRPLQR+sZr ls2A== X-Gm-Message-State: AO0yUKUZpJZJ/F6LpyDkUuG0/NOU/lGHH4WZPWjC/iot9apGVEk0fYss hT25HmMMassk3efuhAkqKfkLEOKeSYVEZY8gkUi1oudg3GQ= X-Google-Smtp-Source: AK7set+akHErN5rqz1EdDgHS8wlZ6PY/7oo4oyL/CkRDAJmTh/Y1IoLJC021ATEFq73iuO2ivTpxBk6g560O7CxDroc= X-Received: by 2002:a81:ad63:0:b0:52a:9f66:80c6 with SMTP id l35-20020a81ad63000000b0052a9f6680c6mr5337937ywk.9.1678064213875; Sun, 05 Mar 2023 16:56:53 -0800 (PST) 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 References: <40ED6A0D-68BD-4A05-A9A6-9AE48153AB06@cs.huji.ac.il> In-Reply-To: <40ED6A0D-68BD-4A05-A9A6-9AE48153AB06@cs.huji.ac.il> From: Kevin Oberman Date: Sun, 5 Mar 2023 16:56:37 -0800 Message-ID: Subject: Re: pkg writing to / To: Daniel Braniss Cc: freebsd-ports Content-Type: multipart/alternative; boundary="00000000000060e18705f630c57c" X-Rspamd-Queue-Id: 4PVKsf6qvLz4M2k X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000060e18705f630c57c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 4, 2023 at 11:37=E2=80=AFPM 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 > What command are you using? Normally pkg should not be writing to root unless one of the files it does write to is on the same file system. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --00000000000060e18705f630c57c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Mar 4, 2023 at 11:37=E2= =80=AFPM Daniel Braniss <danny@cs= .huji.ac.il> wrote:
Hi,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 how can I tell pkg not to write to /? in my cas= e 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,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 danny
=C2=A0
What command are you using? Normally pkg should not be writing to r= oot unless one of the files it does write to is on the same file system.
--
Kevin Oberman, Part time kid herder and= retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D= 03FB98AFA78E3B78C1694B318AB39EF1B055683
=
--00000000000060e18705f630c57c--