Re: fixed: Re: polkit does not start
On Sun, Jan 25, 2015 at 8:36 AM, John Marino wrote: On 1/25/2015 06:15, karu.pruun wrote: Turns out it was supposed to be a UID. In the end, the error was with credentials passing in devel/glib20 that polkitd uses. The attached patch fixes it: - copy the patch to /usr/dports/devel/glib20/dragonfly/ - make install All the problems listed above go away: -upowerd crashes -ConsoleKit can't make a session active -X login is freezing a minute or two -The session menu of xfce is freezing also for some time -any logoff from xfve is freezing temporarilly and leaves some applications opened. I haven't tested xdm etc though. I'll try to get it to dports on github. Nice, can you start at https://github.com/DragonFlyBSD/DPorts/issues/26 and see if that's really the same issue? It's one of our oldest unresolved issues. Sure, can you tell me what is the port it belongs to? Or is it the /usr/local/libexec/upowerd of sysutils/upower that you mean? It used to core dump but now (or at least so far) it's running fine with the mate desktop I'm using. I don't have a kde4 desktop on this machine but will get it next week so I can see if it's working with kde4 as well (or if someone has it and can test). Peeter --
Re: fixed: Re: polkit does not start
On 1/25/2015 09:58, karu.pruun wrote: On Sun, Jan 25, 2015 at 8:36 AM, John Marino wrote: On 1/25/2015 06:15, karu.pruun wrote: Turns out it was supposed to be a UID. In the end, the error was with credentials passing in devel/glib20 that polkitd uses. The attached patch fixes it: - copy the patch to /usr/dports/devel/glib20/dragonfly/ - make install All the problems listed above go away: -upowerd crashes -ConsoleKit can't make a session active -X login is freezing a minute or two -The session menu of xfce is freezing also for some time -any logoff from xfve is freezing temporarilly and leaves some applications opened. I haven't tested xdm etc though. I'll try to get it to dports on github. Nice, can you start at https://github.com/DragonFlyBSD/DPorts/issues/26 and see if that's really the same issue? It's one of our oldest unresolved issues. Sure, can you tell me what is the port it belongs to? Or is it the /usr/local/libexec/upowerd of sysutils/upower that you mean? It used to core dump but now (or at least so far) it's running fine with the mate desktop I'm using. I don't have a kde4 desktop on this machine but will get it next week so I can see if it's working with kde4 as well (or if someone has it and can test). It's a generic issue. I think you misunderstood. I just wanted to know if the issue seen there is probably the same one you think you solved. If it is, you'd leave your patch on that issue instead of creating a new one. the basic issue is that upowerd coredumps due to a misconfigured polkit and I never could figure out how to make it happy. John
Re: fixed: Re: polkit does not start
On 1/25/2015 06:15, karu.pruun wrote: Turns out it was supposed to be a UID. In the end, the error was with credentials passing in devel/glib20 that polkitd uses. The attached patch fixes it: - copy the patch to /usr/dports/devel/glib20/dragonfly/ - make install All the problems listed above go away: -upowerd crashes -ConsoleKit can't make a session active -X login is freezing a minute or two -The session menu of xfce is freezing also for some time -any logoff from xfve is freezing temporarilly and leaves some applications opened. I haven't tested xdm etc though. I'll try to get it to dports on github. Nice, can you start at https://github.com/DragonFlyBSD/DPorts/issues/26 and see if that's really the same issue? It's one of our oldest unresolved issues. John
Re: fixed: Re: polkit does not start
On Sun, Jan 25, 2015 at 9:01 AM, John Marino wrote: On 1/25/2015 09:58, karu.pruun wrote: On Sun, Jan 25, 2015 at 8:36 AM, John Marino wrote: On 1/25/2015 06:15, karu.pruun wrote: Turns out it was supposed to be a UID. In the end, the error was with credentials passing in devel/glib20 that polkitd uses. The attached patch fixes it: - copy the patch to /usr/dports/devel/glib20/dragonfly/ - make install All the problems listed above go away: -upowerd crashes -ConsoleKit can't make a session active -X login is freezing a minute or two -The session menu of xfce is freezing also for some time -any logoff from xfve is freezing temporarilly and leaves some applications opened. I haven't tested xdm etc though. I'll try to get it to dports on github. Nice, can you start at https://github.com/DragonFlyBSD/DPorts/issues/26 and see if that's really the same issue? It's one of our oldest unresolved issues. Sure, can you tell me what is the port it belongs to? Or is it the /usr/local/libexec/upowerd of sysutils/upower that you mean? It used to core dump but now (or at least so far) it's running fine with the mate desktop I'm using. I don't have a kde4 desktop on this machine but will get it next week so I can see if it's working with kde4 as well (or if someone has it and can test). It's a generic issue. I think you misunderstood. I just wanted to know if the issue seen there is probably the same one you think you solved. If it is, you'd leave your patch on that issue instead of creating a new one. the basic issue is that upowerd coredumps due to a misconfigured polkit and I never could figure out how to make it happy. I see. I have to test on the kde4 desktop and see what happens. I was going to ask how to submit patches to DPorts on github: there seems no way to attach a file to an issue. Also, I'll try to submit the patch to the glib maintainers. Peeter --