/srv/irclogs.ubuntu.com/2017/12/23/#snappy.txt

mupBug #1579268 opened: Mouse cursor is different inside graphical windows of snaps (snaps not using system theme) <Snappy:New> <snapd (Ubuntu):Triaged> <https://launchpad.net/bugs/1579268>03:13
cprovkyrofa: hey, re. expires TZ, it doesn't record timezones atm and is interpreted as utc.10:56
cprovkyrofa: and sorry I wasn't around yesterday.10:57
kyrofacprov, no problem! Would it be possible to return UTC TZ?15:47
cprovkyrofa: yes, there is a general problem with timestamps in the API, some are naive (no tz info) and some are RFC3339 (appended 'Z'), we will have to clean this up16:04
cprovkyrofa: but for the time being, there is nothing blocking you parse them as UTC, right ?16:04
ikeyhoping this means anything to anyone because it baffles me16:54
ikeyDec 23 16:52:00 ironhide audit[3513]: SECCOMP auid=1000 uid=1000 gid=1000 ses=2 pid=3513 comm="F12017" exe=2F72756E2F6D656469612F6269676469736B2F67616D65732F737465616D617070732F636F6D6D6F6E2F463120323031372F62696E2F463132303137 sig=31 arch=c000003e syscall=101 compat=0 ip=0x7f72201b4e72 code=0x016:54
ikeyit seems to be the thing breaking feral games16:56
ikeyif im reading this right 101 is ioperm16:58
ikeysnap run --shell linux-steam-integration17:58
ikey[1]    11726 invalid system call  snap run --shell linux-steam-integration17:58
ikeyk thats janky.17:58
ikeyi dont seem to be getting any apparmor denials or library errors yet under confinement feral games arent working18:01
ikeyand i cant figure out why they break18:01
mcphailisn't 101 ptrace?18:10
mcphailhttps://github.com/torvalds/linux/blob/9c294ec08408ed90c0f2d994a7979366675e3734/arch/x86/entry/syscalls/syscall_64.tbl#L110 - for 64-bit, anyway18:15
ikeyyeah18:32
ikeyalso chown is causing --shell to die18:32
ikeywhen it chowns .bash_history18:32
ikeyand the error message seems consistent..18:32
ikeychown ufee1dead:ufee1dead lol18:32
ikeyBad system call18:32
ikeyso i guess i just need to allow ptrace in the new interface..18:32
kyrofacprov, I'm just leaving them naive for now, but if you promise me that assuming naive datetimesnamps from the store are UTC, then that's also easy18:52
kyrofapromise me that doing so is safe, I mean18:52
ikeyi cant seem to make this dmesg go away whatever i do..19:09
ikeysnappy-debug is apparently not portable either..19:14
kyrofaikey, what are you seeing?19:24
ikeykyrofa, snappy-debug or my snap issue?19:25
ikeycuz my snap issue is https://forum.snapcraft.io/t/unable-to-use-ptrace-in-confinement/329719:25
kyrofaikey, both, haha19:25
ikeyand my snappy-debug issue is it absolutely requires /var/log/syslog19:25
ikeysolus doesn't use syslogd we just have journald19:25
kyrofaikey, yeah, seccomp denials are totally different from apparmor ones19:26
ikeyyeah this is alien territory to me19:26
ikeyonly just got used to doing apparmor rules19:26
kyrofaikey, seccomp doesn't support logging if we use the ERRNO method, so we've chosen to use KILL for now while upstreaming the logging capability19:26
ikeyah ok19:26
kyrofaikey, which means if you make a disallowed syscall, unlike apparmor which gives you a nice denial and sends you on your way, you're dead dead dead19:27
ikeyright19:27
ikeyand this is happening within the tree of a multiprocess app so it go boom19:27
kyrofaikey, yep19:28
ikeyok looking at the bpf ptrace is definitely missing19:28
kyrofaYeah probably need to add something there19:28
ikeyi thought capability sys_ptrace would do that, guessing not19:30
ikeyand i dont see any of the bpf explicitly setting ptrace on19:31
kyrofaYeah, that I don't know19:32
ikeywonder if this is a kernel issue now.19:33
* ikey tries a reboot19:33
ikeyaha19:40
ikeyi manually recompiled the bpf and added ptrace to it19:40
ikeyand that was enough to make it "work"19:40
kyrofaNice! Though I'm sure there are security ramifications there19:41
ikeyyeah we'll need to add some initial deny ptrace lines in apparmor profile and then some explicit allows19:42
ikeythat way we wont be able to ptrace unrelated peers19:44
ikeyboom: https://twitter.com/ufee1dead/status/94466611181096550420:28
cprovkyrofa: yup, assume utc for now20:38
mcphailikey: love it21:16
ikeythe browser interface is causing me some trouble by breaking my ptrace21:29
ikeyas it has a deny all21:29
ikeyand is inserted after my own rules..21:29
=== devil is now known as Guest74671

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!