On Sun, 2024-03-10 at 19:37 -0700, Mike Wright wrote:
> On 3/10/24 15:40, Patrick O'Callaghan wrote:
> > On Sun, 2024-03-10 at 11:13 -0700, Mike Wright wrote:
> > > The last two lines are key. Add these flags: -F -o logfile. The
> > > default loglevel is ERROR. If you want more detail include -l
> > > LEVEL.
> > >
> > > e.g. lxc-start -n containerName -F -o containerName.log -l WARN
> > >
> >
> > This is what I get:
> >
> > $ lxc-start -n test -F -o test.log -l WARN
> ...
> > lxc-start test 20240310223702.945 ERROR start -
> > start.c:print_top_failing_dir:99 - Permission denied - Could not
> > access /home/poc/.local. Please grant it x access, or add an ACL
> > for the container root
>
> This one looks interesting
>
$ ls -ld /home/poc/.local
drwx------. 1 poc poc 56 Aug 28 2021 /home/poc/.local
IOW, it already has x access (and lxc-start is not setuid so it's
running as me).
poc