On 2021-08-06 02:29, Jonathan Lebon wrote:
You're likely hitting SELinux issues.
Ah right . .
By default, unprivileged
containers can only access bits of the filesystem which are correctly
labeled. You can relabel them using :z (generic) or :Z (specific to
the container) on the mount option,
It has been a while since I was looking at this (life gets in the way
again . . ) but I thought I did try those switches . .
though it sounds like you want a
"pet-style" container for administering your OS in general. In that
case, I'd recommend toolbox which is already part of FCOS:
Ah - I looked at toolbox ages ago and then promptly forgot all about it
because I didn't have an immediate use case . .
It creates a privileged container and should already be
/mnt in, so you should have access to your data there. (You can of
course do the same thing yourself with --privileged.)
OK - I will check all that out - thanks for the much appreciated info!
On Thu, Aug 5, 2021 at 6:53 AM Philip Rhoades
> If I install Fedora as a Podman container on CoreOS so I can use
> like rsync and ranger - how do I give these apps access to the data on
> the /dev/sdb partition? I have CoreOS on /dev/sda and many HD backups
> on /dev/sdb (mounted at /var/mntb) but I have problems getting access
> this data when I create a Podman container and try and give it access
> /var/mntb using the "-v" switch when creating the container. What is
> the appropriate way of getting access to /dev/sdb without having to
> build a custom CoreOS?
> Philip Rhoades
> PO Box 896
> Cowra NSW 2794
> E-mail: phil(a)pricom.com.au
> CoreOS mailing list -- coreos(a)lists.fedoraproject.org
> To unsubscribe send an email to coreos-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
> List Guidelines:
> List Archives:
> Do not reply to spam on the list, report it:
CoreOS mailing list -- coreos(a)lists.fedoraproject.org
To unsubscribe send an email to coreos-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
Do not reply to spam on the list, report it:
PO Box 896
Cowra NSW 2794