Bug#959399: libreoffice-common: Using libreoffice results in many AppArmor "ALLOWED" log messages in kernel syslog
On Sat, May 09, 2020 at 05:16:04PM -0500, Evan Harris wrote:
> > No, $HOME isn't. $HOME in your case is "/raid/home/user/.
>
> Actually it's not. In the particular example I gave logs for, $HOME is
> /home/user. It just happens that /home is a symlink to /raid/home.
Aha...
> > > How should the configuration be changed for multiple home directories being
> > > stored and mounted in multiple locations?
> >
> > Erm, what?
> >
> > I mentioned
> >
> > @{libo_user_dirs} = @{HOME} /mnt /media
>
> I don't know where that is configured. Where would I find that?
This is cut'n'paste the libreoffice (well
/usr/lib/libreoffice/program/soffice.bin) apparmor profile.
> > Wouldn't be surprised if @{HOME} (documented as "all homedirs") actually
> > means /home/** and thus wouldn't allow /raid/home/**.
> >
> > I'd first try adding /raid/home there, obviously?
>
> Where is "there"?
Of course in the apparmor profile.
(/etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin)
BTW: This is not a apparmor or configuration support, this is for
tracking bugs ;-)
Regards,
Rene
Reply to: