Summary: | net-misc/networkmanager: $FILESDIR/01-org.freedesktop.NetworkManager.settings.modify.system.pkla unused with >=sys-auth/polkit-0.106 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Samuli Suominen (RETIRED) <ssuominen> |
Component: | Current packages | Assignee: | Robert Piasek (RETIRED) <dagger> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nirbheek, poncho, qiaomuf, tetromino, zsitvaij |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=421581 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | 01-org.freedesktop.NetworkManager.settings.modify.system.rules |
Description
Samuli Suominen (RETIRED)
2012-06-17 14:16:21 UTC
Created attachment 315585 [details]
01-org.freedesktop.NetworkManager.settings.modify.system.rules
insinto /etc/polkit-1/rules.d
doins "${FILESDIR}"/01-org.freedesktop.NetworkManager.settings.modify.system.rules
Completely untested as I don't use NetworkManager.
Just noticing: working here. Correction! Partially solved. Now allows to disconnect and connect again without issues (I only use wireless), but ask for adm password when: * try to edit network connections; * when networkmanager perform auto reconnect due to wireless signal hang or something; * perhaps more that I have not figured out. polkit had some issues, but with 0.106-r5 if you copy the attachment in /etc/polkit-1/rules.d/ it shouldn't ask for any password during network adding/removing Alexandre, your comments are confusing... it's not clear what is working and what is not. try to be more accurate, thanks. http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/networkmanager/networkmanager-0.9.4.0-r2.ebuild?r1=1.4&r2=1.5 will wait for someone who is actually using networkmanager to commit the updated .rules file If I purposely disconnect and connect again, not ask for adm password. But when I lost the wireless signal and the system try to reconnect again when signal back, so its ask for adm password. Also ask when I try to change a network settings. I'm updating now to polkit-0.106-r5. Sorry about my bad english, I'm still working on it. polkit-0.106-r5 + previous attached rules seems solve at all. :) (In reply to comment #1) > Created attachment 315585 [details] > 01-org.freedesktop.NetworkManager.settings.modify.system.rules > > insinto /etc/polkit-1/rules.d > doins > "${FILESDIR}"/01-org.freedesktop.NetworkManager.settings.modify.system.rules > > Completely untested as I don't use NetworkManager. Works for me. Thank you! maintainers? (In reply to comment #9) > maintainers? Hi Samuli, Yesterday I tried to install version-0.106-r7 on ~32 and ~amd arch, but it fails on both machines with the same fault. AFAIR it compiles fine, but install fails with something like this: couldn't find/open /path/to/files.xml or html which were marked as links in portage, something like this. Sadly I haven't had the time to write a precise bug-report with the belonging errors/logs. I will do it this evening when back from work, if no other could reproduce this til then. Fixed, thanks for reporting. Sorry for the delay! >*networkmanager-0.9.4.0-r3 (04 Jul 2012) > > 04 Jul 2012; Alexandre Rostovtsev <tetromino@gentoo.org> > +files/01-org.freedesktop.NetworkManager.settings.modify.system.rules, > -networkmanager-0.9.4.0-r1.ebuild, +networkmanager-0.9.4.0-r3.ebuild, > -files/networkmanager-0.9.4.0-force-libnl1.1.patch, > +files/networkmanager-0.9.4.0-ipv6-route.patch: > Fix default ipv6 route issue on some networks (bug #417529, thanks to Marien > Zwart). Install polkit-1/rules.d file for polkit-0.106 support (bug #421577, > thanks to Samuli Suominen). Add epatch_user to make it easier for users to > locally patch networkmanager. Drop old. Wouldn't /usr/share/polkit-1/rules.d be a better place for a distribution-supplied config? (In reply to comment #12) > Wouldn't /usr/share/polkit-1/rules.d be a better place for a > distribution-supplied config? I don't have any strong opinion on that. Perhaps. File a new bug like: "net-misc/{modem.network}manager: Move rules.d file to /usr/share" Otherwise your comment might go unnoticed on this already resolved bug (In reply to comment #12) > Wouldn't /usr/share/polkit-1/rules.d be a better place for a > distribution-supplied config? You are right. Fixed in networkmanager-0.9.4.0-r4 |