libera/#devuan-dev/ Wednesday, 2019-02-06

golinuxThis week's pad is here: https://pad.dyne.org/code/#/1/edit/r19TrndN3oNTrG6UIoe5cw/52IJ2Hd-Pjl9uiyvQRPDCxT2/10:10
LeePenHi.12:27
LeePenWhat's the process for closing bugs?12:28
LeePenI really mean who is responsible for it? Shall I close #275 after the new policykit-1 is in ceres/beowulf?13:01
fsmithredusually the maintainer but not necessarily13:14
KatolaZLeePen: email NNN-done@bugs.devuan.org13:24
KatolaZwhere NNN is the bug-number13:25
KatolaZinclude an explanation in the body13:25
KatolaZand you are done13:25
fsmithredNNN-done or NNN-close?13:25
KatolaZit's the same13:25
KatolaZ(or it should)13:25
KatolaZI use NNN-done, normally13:25
fsmithredok, I use NNN-close (not lateley)13:25
KatolaZit's the same13:26
fsmithredso i guess they both do work13:26
KatolaZthey are treated the same13:26
KatolaZIIRC13:26
fsmithredI just upgraded a refracta ascii to beowulf, and it went very smoothly13:26
fsmithredexcept synaptic package manager lets user install software.13:27
LeePenfsmithred: Maintainer: Devuan Dev Team <devuan-dev@lists.dyne.org>13:27
LeePenso it looks like it is us! ;)13:27
LeePenKatolaZ: thanks. Yes, I just wanted to be sure I wasn't treading on toes by doing it.13:28
fsmithredyeah, you want to off-shore that job to someone else?13:28
fsmithredany ideas on how to force synaptic to require a password?13:30
KatolaZLeePen: quite the opposite13:30
fsmithredseriously, guys, I could use some help diagnosing this. It's been going on for at least a couple of years - either synaptic won't start or anybody can start it and install software.13:36
fsmithredsame for gparted13:36
LeePenfsmithred: I don't use either. Is it related to sudo? I know on my n900 the order of entries in sudoers is critical.13:39
fsmithredmaybe - I have a file in sudoers.d that allows user to shutdown/reboot without password13:41
fsmithredI'll delete it and try again13:41
fsmithredot13:41
fsmithredit's related to pkexec13:41
fsmithredauth.log shows that pkexec opens synaptic as root for user (1000)13:41
LeePenOK, not sudo related then.13:42
LeePenI suppose you must have a polkit rule that is allowing that somewhere?13:42
LeePenHave you got packagekit installed?13:45
fsmithredI don't think I changed any rules - no polkit related config files were changed according to my upgrade13:46
fsmithredno packagekit13:46
KatolaZfsmithred: I guess that rule has been in polkit forever13:49
KatolaZ(forever == at least since ascii beta)13:49
fsmithredwhich rule?13:49
KatolaZa rule to fix synaptic with pkexec13:50
KatolaZI don't have any polkit installed anywhere, so I can't really check13:51
KatolaZI remember we fiddled with this before ascii beta13:51
fsmithredok, I think I know what you're talking about13:51
fsmithredyeah, I even fiddled with it in jessie at one point13:51
KatolaZ'cause synaptic wouldn't start in any live media and/or installation13:51
fsmithredyeah, it starts fine in live13:51
KatolaZso we included a polkit rule for that13:51
KatolaZit must have been ascii beta13:51
KatolaZIIRC13:51
fsmithredsudo nopasswd in live session13:51
KatolaZso around one year ago, more or less13:52
fsmithredI just tried removing sudo but it's the same13:52
KatolaZit's not in sudo13:54
KatolaZIIRC it's a polkit rule13:54
fsmithredmaybe /usr/share/polkit-1/actions/com.ubuntu.synaptic\13:58
fsmithrednot quite, but close13:58
fsmithredit only works like that for uid 1000. Second user does not get to run synaptic.14:03
fsmithredif second user tries 'pkexec /usr/sbin/synaptic' he gets asked for root password. Entering root password gives an error "No session for cookie"14:04
LeePenfsmithred: I am just installing synaptic in a VM to see if I can reproduce this rather than scattering untried suggestions.14:17
fsmithredLeePen, thanks14:19
LeePenfsmithred: is uid 1000 in the sudo group?14:45
fsmithredno14:47
LeePenWhat AdminIdentities do you have set in /etc/polkit-1/ or /var/lib/polkit-114:50
fsmithredwill check in a minute - rebooting14:53
fsmithredoh, no I'm not.14:53
fsmithredThis?  10-vendor.d  20-org.d  30-site.d  50-local.d  90-mandatory.d14:55
LeePenBut no files in the directories with AdminIdentities configured?15:00
LeePenYou should have /etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf at least.15:00
LeePen15:00
fsmithredyeah, 51 names sudo group, and 50-localauthority names user as admin15:03
fsmithredalso found /var/lib/polkit...  10-live-user or something like that15:04
fsmithredlive-cd user (a leftover)15:04
LeePendefault 50-localauthority says AdminIdentities=unix-user:015:06
LeePenDo either 10-live-user or live-cd-user have AdminIdentities configuration?15:08
fsmithredyeah, hang on. rebooting again15:08
fsmithred50-localauthority.conf is same as yours15:10
fsmithredif I move /var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla then synaptic no longer starts from the menu15:11
fsmithredand running pkexec /usr/sbin/synaptic asks for root pass and then rejects it15:12
LeePenWhat  is configured in 10-live-cd-pkla?15:12
fsmithredIdentity=unix-user:user15:12
fsmithredAction=*15:12
fsmithredResultAny=no15:12
fsmithredResultInactive=no15:12
fsmithredResultActive=yes15:12
fsmithred# Policy to allow the livecd user to bypass policykit15:13
LeePenOK. That is why the user doesn't get a password prompt for running synaptic15:14
fsmithredthat file probably should get removed on installation of the system to hard drive15:16
fsmithredbut then synaptic does not start at all15:16
LeePenMaybe. It does on my install I have just done. You seem to have polkit remnants that shouldn't be there.15:17
LeePenWhat package is it from?15:18
fsmithredin /usr/share/polkit-1/actions/com.ubuntu.pkexec.synaptic.policy it says 'auth_admin'15:18
fsmithredgood question15:18
fsmithreddpkg -S should tell me?15:19
LeePenYes15:19
fsmithreddpkg-query: no path found matching pattern /var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla15:19
LeePenMaybe it is part of the live CD then. Is that where this system came from?15:20
fsmithredit's in /lib/live/config/1080-policykit15:20
fsmithredthat script adds stuff to /etc/PolicyKit/PolicyKit.conf15:23
fsmithredSee the manual page PolicyKit.conf(5) for file format15:24
LeePenI don't have any experience of live-cd. But at least that explains why there is no polkit prompt to synaptic.15:28
fsmithredhttps://termbin.com/aplg   /etc/PolicyKit/PolicyKit.conf15:29
LeePenOn my install, I have neither /etc/PolicyKit/PolicyKit.conf not 10-live-cd.pkla15:31
fsmithredcool. I'm moving both of those.15:31
LeePenIf you move them both out of the way does synaptic run?15:31
fsmithredtesting that...15:31
LeePenOr the 10-live-user15:33
fsmithredmoving just 10-live-user or moving both has same effect: synaptic won't run from menu and 'pkexec /usr/sbin/synaptic' asks for root password and then rejects it15:34
LeePenDid you kill polkitd after mmoving /etc/PolicyKit/PolicyKit.conf?15:36
fsmithredhttps://termbin.com/s4k415:37
fsmithredI rebooted after moving them15:37
fsmithredbb in 15-20 min15:43
LeePenTry installing policykit-1-gnome and then15:44
LeePenlogging in and out again.15:44
LeePenThere is an upstream bug https://gitlab.freedesktop.org/polkit/polkit/issues/17 and I think pkttyagent is broken15:51
fsmithredFIXED!!!16:07
fsmithredI did a few things16:07
fsmithredI moved those two files, removed gksu, did an autoremove which took out gconf2 and a few others, added policykit-1-gnome,  moved ~/.su-to-rootrc (another live file)16:09
KatolaZbut wasn't gksu dead and buried?16:10
LeePenExcellent16:10
fsmithredgksu did not get removed in the upgrade to beowulf16:11
fsmithredmaybe because I didn't remove ascii lines in sources.list16:12
KatolaZfsmithred: I didn't know it was an upgraded box16:15
KatolaZin this case, old stuff will never be uninstalled16:15
KatolaZthere would be no way of knowing which package was in the previous repo, and is not any more now, and which package was manually installed from third party sources16:16
fsmithredI'm now on pure beowulf - commented out the ascii lines, update/upgrade16:18
KatolaZfsmithred: if you updated from *something*, dpkg won't remove any package that is not available in beowulf but is installed in your box16:19
fsmithredthe only things that might be from third-party source would be refracta tools16:44
furrymcgeeI see jitsi instance on dyne.org. how do you install jitsi in devuan? jitsi-videobridge has unmet dependencies ...16:45
obeardlyfurrymcgee: Do you mean jitsi server?17:52
obeardlyThe jitsi-videobridge is just a piece of it.17:55
furrymcgeejitsi install fails because of jitsi-videobridge dependency18:32
plasma41From today's meet: https://www.youtube.com/watch?v=O6l8KcF8vLs "Keyboard Lag Sucks" rant22:15
* rrq not watching videos, but I do remember the transition from 300 to 9600 baud; bliss! :)23:06
golinuxThat vid was fo full of promotions I could barely find the topic.  It was useless imo23:17

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