libera/#devuan-dev/ Monday, 2020-04-13

LeePenfsmithred: Hi. I have got to the cause of #422.15:55
LeePenapparmor. After `sudo aa-teardown', libreoffice will start normally.15:55
LeePenCan you fix it in /etc/apparmor.d/local?15:56
fsmithredI can. When I tried that, it didn't work.15:57
fsmithredI'll try it again.15:58
LeePenThere is a typo in /etc/apparmor.d/usr.lib.libreoffice.program.oospash16:12
LeePenIt has oopslash rather than oosplash.16:13
masonAn appropriate typo, all told.16:14
LeePenI wouldn't disagree!16:18
LeePenNot sure it is the cause though, I think it is just a label.16:20
LeePenBut I know nothing about apparmor, except for rrq and I have spent 6 hours chasing a non-existent segfault!16:21
masonLeePen: I've got a friend who was involved with AppArmor's initial design, and I'd be happy to float him questions if that'd be useful from time to time.16:27
fsmithredLeePen, those files are empty16:27
masonOh, it's on the live ISO... Hrm. I guess that'll make it easier to reproduce.16:29
LeePenYes, I saw that. Where do they come from? They aren't part of a package AFAICS.16:29
LeePenmason: thanks.16:29
fsmithredalso, I don't have aa-complain command16:29
fsmithredalso don't have directories that debian wiki says I should have16:34
fsmithredhow about if I purge apparmor? That's easy - just add it to the purge list in live-sdk build.16:35
LeePenI have never used it, so I would be happy for it not to be there.16:37
LeePenAny counter views?16:37
fsmithredI found a post where someone else had the same problem. 2 years ago, and still no answer.16:41
LeePenYes, I found a couple too.16:42
LeePenI don['t see why the live iso trips apparmor, but normal installation doesn't.16:42
fsmithredLeePen, another problem I had was when I tried it on a live-usb with persistence - I couldn't get the desktop to come up, and the console had "Authentication error" a bunch of times.16:48
fsmithredso I'm guessing something in the live arrangement doesn't agree with apparmor16:49
fsmithredok, from the changelog: Don't load AppArmor policy when running in a Debian Live environment16:51
fsmithred    that uses overlayfs (Closes: #922378)16:51
fsmithredhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=92237816:52
fsmithredThe root cause of the problem is that the storage stack set up by16:53
fsmithredlive-boot with overlayfs is not supported by our AppArmor policy at16:53
fsmithredthe moment.16:53
LeePenGood find!16:55
fsmithredok, even easier: add 'apparmor=0' to the boot command16:55
LeePenSeems so.16:57
masonThat seems like a good fix until there's workable policy - easy to undo should that time ever come.16:57
fsmithredand that boot entry does not get carried over to the installed system, so no problem with having to undo it.16:58
LeePenThe fix for #922378 is only in the .service file :(17:01
LeePenWe can bug them to include it in the initscript too ;)17:01
fsmithredthat's just the fix to disable apparmor?17:01
LeePenYep17:02
LeePenWhen using overlayfs17:02
fsmithredwe need to see if it's really fixed in ceres17:02
LeePenFixed in version apparmor/2.13.2-10 which is beowulf17:03
fsmithredthe changelog for that version says don't use apparmor in live17:04
LeePenYes, but it is only fixed in the service file, not the initscript.17:05
LeePenIt is fine, let's change the cmdline.17:05
LeePenYes, adding apparmor=0 to the boot command line fixes it for me.17:14
fsmithredcool. While you were answering in mailing list, I posted it to the forum.17:17
LeePenPresumably you will rebuild the live isos with that as the default?17:19
fsmithredyes, will do that in a few minutes when the current build completes.17:29
fsmithredI started one to purge apparmor, so I'll let it finish.17:30
fsmithredreplace apparmor and just disable it in next build.17:30
fsmithredFTR, adding apparmor to the purge list in live-sdk did not get rid of it - it got purged and pulled in again as a Recommends for the kernel.17:38
LeePenGood to know and not surprising: apparmour is enabled by default in buster.20:20
LeePenAt least you found a way round.20:20
Centurion_Dano/22:32

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!