• Is poudriere(-devel) intended to support use of the INSTALL_AS_USER environment variable with its pkg activity?

    From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Sat Sep 20 11:55:38 2025
    From Newsgroup: muc.lists.freebsd.ports

    pkg has:
    Extra environment variables are:
    INSTALL_AS_USER Allow all manipulation to be done as a regular user
    instead of checking for root credentials when
    appropriate.
    It is expected that the user will ensure that every file
    and directory manipulated by pkg are readable (or
    writable where appropriate) by the user.
    That controls the ownership/permission checks for
    the likes of var/db/pkg/local.sqlite (if existing)
    and var/db/pkg/ itself for relevant pkg/pkg-static
    commands.
    It is intended that poudriere(-devel) to support
    its use of pkg and pkg-static with this environment
    variable somehow defined? Or is var/db/pkg/ required
    to have, for example, root ownership when for
    poudriere(-devel) use?
    Absent use of INSTALL_AS_USER, pkg seems to require
    root ownership of var/db/pkg/ in its poudriere
    activity. poudriere(-devel) respects the rejection.
    Note: I was trying to help mkru@ who has the original
    failing context. I do not see the problem because
    I do the kind of activity as root, including for
    my builds and installs of METHOD null poudriere jail
    worlds.
    ===
    Mark Millard
    marklmi at yahoo.com
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2