On Thu, Aug 2, 2012 at 8:40 PM, Jan Steffens <jan.steffens@gmail.com> wrote:
> On Fri, Aug 3, 2012 at 2:01 AM, Ray Kohler <ataraxia937@gmail.com> wrote:
>> As it's been marked out-of-date for a while, and I'm interested in it,
>> I've done the work to upgrade the polkit package to 0.107. I've tested
>> this package locally. The main value of this upgrade (for me at least)
>> is systemd integration, including proper systemd-style bus activation.
>
> Unfortunately, enabling systemd support removes consolekit support,
> screwing over everyone not running systemd.
Ah, I didn't know about that. Are you sure that's still the model used
here with this upstream support? How would I test? I am running
systemd, but I also use consolekit.
>> This now wants a dedicated user and group, by default 'polkitd'. I
>> re-used 102, which was listed as 'policykit' in the UID/GID database.
>> Hopefully it really was unused. The build depends on this user and group
>> already being present (otherwise 'make install' fails to chown some
>> directories, and polkitd fails to read them and dies).
>
> Ah, that sucks.
> Any suggestions on how to handle this when building in clean chroots?
I did my builds by building a broken package first (the 'make install'
failure doesn't actually cause the build to fail), installing that
(which created the user and group), and then building it again
(getting a working package this time). Not very satisfactory, and not
workable in a build chroot. Possibly it would work to allow the
directories to get the wrong owner, and then chown them after make
install, using the intended numeric UID/GID directly. Not very safe,
as we might have polkitdolkitd being something other than 102:102 on
some systems for some reason.
08-06-2012, 05:48 PM
Martin Zecher
polkit package upgrade patch
I also need a newer version of polkit, since the current one (105) broke
compatibility with kdeplasma-applets-networkmanagement
On Fri, Aug 3, 2012 at 12:05 AM, Ray Kohler <ataraxia937@gmail.com> wrote:
> On Thu, Aug 2, 2012 at 8:40 PM, Jan Steffens <jan.steffens@gmail.com>
> wrote:
> > On Fri, Aug 3, 2012 at 2:01 AM, Ray Kohler <ataraxia937@gmail.com>
> wrote:
> >> As it's been marked out-of-date for a while, and I'm interested in it,
> >> I've done the work to upgrade the polkit package to 0.107. I've tested
> >> this package locally. The main value of this upgrade (for me at least)
> >> is systemd integration, including proper systemd-style bus activation.
> >
> > Unfortunately, enabling systemd support removes consolekit support,
> > screwing over everyone not running systemd.
>
> Ah, I didn't know about that. Are you sure that's still the model used
> here with this upstream support? How would I test? I am running
> systemd, but I also use consolekit.
>
> >> This now wants a dedicated user and group, by default 'polkitd'. I
> >> re-used 102, which was listed as 'policykit' in the UID/GID database.
> >> Hopefully it really was unused. The build depends on this user and group
> >> already being present (otherwise 'make install' fails to chown some
> >> directories, and polkitd fails to read them and dies).
> >
> > Ah, that sucks.
> > Any suggestions on how to handle this when building in clean chroots?
>
> I did my builds by building a broken package first (the 'make install'
> failure doesn't actually cause the build to fail), installing that
> (which created the user and group), and then building it again
> (getting a working package this time). Not very satisfactory, and not
> workable in a build chroot. Possibly it would work to allow the
> directories to get the wrong owner, and then chown them after make
> install, using the intended numeric UID/GID directly. Not very safe,
> as we might have polkitdolkitd being something other than 102:102 on
> some systems for some reason.
>
--
Martin
Código de novios Falabella: 585855-00 (gracias!)
No envíen archivos pesados por mail.
Usen DropBox <https://www.dropbox.com/referrals/NTIwODk0MDk> (2GB + *500MB
bonus*) o SpiderOak<https://spideroak.com/download/referral/dd6b3051b5f1f10a5674d694f22dd3e8>(tras
registrarse vayan a 'buy more space' e ingresen el código
"worldbackupday" --> *8GB*)
08-06-2012, 06:04 PM
Tom Gundersen
polkit package upgrade patch
On Aug 6, 2012 7:48 PM, "Martin Zecher" <mzecher@gmail.com> wrote:
>
> I also need a newer version of polkit, since the current one (105) broke
> compatibility with kdeplasma-applets-networkmanagement
>
>
> On Fri, Aug 3, 2012 at 12:05 AM, Ray Kohler <ataraxia937@gmail.com> wrote:
>
> > On Thu, Aug 2, 2012 at 8:40 PM, Jan Steffens <jan.steffens@gmail.com>
> > wrote:
> > > On Fri, Aug 3, 2012 at 2:01 AM, Ray Kohler <ataraxia937@gmail.com>
> > wrote:
> > >> As it's been marked out-of-date for a while, and I'm interested in
it,
> > >> I've done the work to upgrade the polkit package to 0.107. I've
tested
> > >> this package locally. The main value of this upgrade (for me at
least)
> > >> is systemd integration, including proper systemd-style bus
activation.
> > >
> > > Unfortunately, enabling systemd support removes consolekit support,
> > > screwing over everyone not running systemd.
> >
> > Ah, I didn't know about that. Are you sure that's still the model used
> > here with this upstream support? How would I test? I am running
> > systemd, but I also use consolekit.
> >
> > >> This now wants a dedicated user and group, by default 'polkitd'. I
> > >> re-used 102, which was listed as 'policykit' in the UID/GID database.
> > >> Hopefully it really was unused. The build depends on this user and
group
> > >> already being present (otherwise 'make install' fails to chown some
> > >> directories, and polkitd fails to read them and dies).
> > >
> > > Ah, that sucks.
> > > Any suggestions on how to handle this when building in clean chroots?
> >
> > I did my builds by building a broken package first (the 'make install'
> > failure doesn't actually cause the build to fail), installing that
> > (which created the user and group), and then building it again
> > (getting a working package this time). Not very satisfactory, and not
> > workable in a build chroot. Possibly it would work to allow the
> > directories to get the wrong owner, and then chown them after make
> > install, using the intended numeric UID/GID directly. Not very safe,
> > as we might have polkitdolkitd being something other than 102:102 on
> > some systems for some reason.
> >
>
>
>
> --
> Martin
>
> Código de novios Falabella: 585855-00 (gracias!)
>
> No envíen archivos pesados por mail.
> Usen DropBox <https://www.dropbox.com/referrals/NTIwODk0MDk> (2GB + *500MB
> bonus*) o SpiderOak<
https://spideroak.com/download/referral/dd6b3051b5f1f10a5674d694f22dd3e8
>(tras
> registrarse vayan a 'buy more space' e ingresen el código
> "worldbackupday" --> *8GB*)
JGC: I have been using the newer polkit locally without problems for some
months. Let me know if you want me to push it to testing.
Tom
08-07-2012, 08:59 PM
Martin Zecher
polkit package upgrade patch
Yes, please! Putting it in testing may solve my issues with
networkmanagement applet.
On Mon, Aug 6, 2012 at 2:04 PM, Tom Gundersen <teg@jklm.no> wrote:
> On Aug 6, 2012 7:48 PM, "Martin Zecher" <mzecher@gmail.com> wrote:
> >
> > I also need a newer version of polkit, since the current one (105) broke
> > compatibility with kdeplasma-applets-networkmanagement
> >
> >
> > On Fri, Aug 3, 2012 at 12:05 AM, Ray Kohler <ataraxia937@gmail.com>
> wrote:
> >
> > > On Thu, Aug 2, 2012 at 8:40 PM, Jan Steffens <jan.steffens@gmail.com>
> > > wrote:
> > > > On Fri, Aug 3, 2012 at 2:01 AM, Ray Kohler <ataraxia937@gmail.com>
> > > wrote:
> > > >> As it's been marked out-of-date for a while, and I'm interested in
> it,
> > > >> I've done the work to upgrade the polkit package to 0.107. I've
> tested
> > > >> this package locally. The main value of this upgrade (for me at
> least)
> > > >> is systemd integration, including proper systemd-style bus
> activation.
> > > >
> > > > Unfortunately, enabling systemd support removes consolekit support,
> > > > screwing over everyone not running systemd.
> > >
> > > Ah, I didn't know about that. Are you sure that's still the model used
> > > here with this upstream support? How would I test? I am running
> > > systemd, but I also use consolekit.
> > >
> > > >> This now wants a dedicated user and group, by default 'polkitd'. I
> > > >> re-used 102, which was listed as 'policykit' in the UID/GID
> database.
> > > >> Hopefully it really was unused. The build depends on this user and
> group
> > > >> already being present (otherwise 'make install' fails to chown some
> > > >> directories, and polkitd fails to read them and dies).
> > > >
> > > > Ah, that sucks.
> > > > Any suggestions on how to handle this when building in clean chroots?
> > >
> > > I did my builds by building a broken package first (the 'make install'
> > > failure doesn't actually cause the build to fail), installing that
> > > (which created the user and group), and then building it again
> > > (getting a working package this time). Not very satisfactory, and not
> > > workable in a build chroot. Possibly it would work to allow the
> > > directories to get the wrong owner, and then chown them after make
> > > install, using the intended numeric UID/GID directly. Not very safe,
> > > as we might have polkitdolkitd being something other than 102:102 on
> > > some systems for some reason.
> > >
> >
> >
> >
> > --
> > Martin
> >
> > Código de novios Falabella: 585855-00 (gracias!)
> >
> > No envíen archivos pesados por mail.
> > Usen DropBox <https://www.dropbox.com/referrals/NTIwODk0MDk> (2GB +
> *500MB
> > bonus*) o SpiderOak<
> https://spideroak.com/download/referral/dd6b3051b5f1f10a5674d694f22dd3e8
> >(tras
> > registrarse vayan a 'buy more space' e ingresen el código
> > "worldbackupday" --> *8GB*)
>
> JGC: I have been using the newer polkit locally without problems for some
> months. Let me know if you want me to push it to testing.
>
> Tom
>
--
Martin
Código de novios Falabella: 585855-00 (gracias!)
No envíen archivos pesados por mail.
Usen DropBox <https://www.dropbox.com/referrals/NTIwODk0MDk> (2GB + *500MB
bonus*) o SpiderOak<https://spideroak.com/download/referral/dd6b3051b5f1f10a5674d694f22dd3e8>(tras
registrarse vayan a 'buy more space' e ingresen el código
"worldbackupday" --> *8GB*)
08-07-2012, 10:10 PM
Tom Gundersen
polkit package upgrade patch
On Tue, Aug 7, 2012 at 10:59 PM, Martin Zecher <mzecher@gmail.com> wrote:
> Yes, please! Putting it in testing may solve my issues with
> networkmanagement applet.
I didn't put it in testing as I guess it needs some discussion.
However, I committed what I have to svn so that everyone can have a
look easily, and I uploaded the packages here:
<https://dev.archlinux.org/~tomegun/>.
This should work on both systemd and non-systemd systems. It would
particularly be interesting to get feedback from someone using
networkmanger to see if there are issues with the interaction there.
-t
08-07-2012, 10:26 PM
Ralf Mardorf
polkit package upgrade patch
On Wed, 2012-08-08 at 00:10 +0200, Tom Gundersen wrote:
> On Tue, Aug 7, 2012 at 10:59 PM, Martin Zecher <mzecher@gmail.com> wrote:
> > Yes, please! Putting it in testing may solve my issues with
> > networkmanagement applet.
>
> I didn't put it in testing as I guess it needs some discussion.
> However, I committed what I have to svn so that everyone can have a
> look easily, and I uploaded the packages here:
> <https://dev.archlinux.org/~tomegun/>.
>
> This should work on both systemd and non-systemd systems. It would
> particularly be interesting to get feedback from someone using
> networkmanger to see if there are issues with the interaction there.
>
> -t
Hi I'm not running KDE, but Xfce, with
$ pacman -Qi networkmanager
Name : networkmanager
Version : 0.9.4.0-6
$ pacman -Qi polkit
Name : polkit
Version : 0.105-1
and I'm nearly Poettering-free, so no PA, no systemd, just some
libsystemd or so, regarding to dependencies.
If you receive this mail, then NM still works at the moment with
$ pacman -Qi polkit
Name : polkit
Version : 0.107-1
URL : http://www.freedesktop.org/wiki/Software/PolicyKit
Licenses : LGPL
Groups : None
Provides : None
Depends On : glib2 pam expat libsystemd js
Optional Deps : None
Required By : accountsservice colord consolekit gconf
networkmanager polkit-gnome polkit-qt rtkit
udisks udisks2 upower
Conflicts With : None
Replaces : policykit
Installed Size : 1812.00 KiB
Packager : Tom Gundersen <teg@jklm.no>
Architecture : x86_64
Build Date : Tue 07 Aug 2012 11:58:36 PM CEST
Install Date : Wed 08 Aug 2012 12:20:46 AM CEST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description : Application development toolkit for controlling
system-wide privileges
Hth,
Ralf
08-07-2012, 10:31 PM
Tom Gundersen
polkit package upgrade patch
On Wed, Aug 8, 2012 at 12:26 AM, Ralf Mardorf
<ralf.mardorf@alice-dsl.net> wrote:
> Hi I'm not running KDE, but Xfce, with
>
> $ pacman -Qi networkmanager
> Name : networkmanager
> Version : 0.9.4.0-6
> $ pacman -Qi polkit
> Name : polkit
> Version : 0.105-1
>
> and I'm nearly Poettering-free, so no PA, no systemd, just some
> libsystemd or so, regarding to dependencies.
>
> $ sudo pacman -U polkit-0.107-1-x86_64.pkg.tar.xz
> Targets (2): js-1.8.5-3 polkit-0.107-1
>
> *restart*
>
> If you receive this mail, then NM still works at the moment with
>
> $ pacman -Qi polkit
> Name : polkit
> Version : 0.107-1
> URL : http://www.freedesktop.org/wiki/Software/PolicyKit
> Licenses : LGPL
> Groups : None
> Provides : None
> Depends On : glib2 pam expat libsystemd js
> Optional Deps : None
> Required By : accountsservice colord consolekit gconf
> networkmanager polkit-gnome polkit-qt rtkit
> udisks udisks2 upower
> Conflicts With : None
> Replaces : policykit
> Installed Size : 1812.00 KiB
> Packager : Tom Gundersen <teg@jklm.no>
> Architecture : x86_64
> Build Date : Tue 07 Aug 2012 11:58:36 PM CEST
> Install Date : Wed 08 Aug 2012 12:20:46 AM CEST
> Install Reason : Installed as a dependency for another package
> Install Script : Yes
> Description : Application development toolkit for controlling
> system-wide privileges
That's useful, thanks.
-t
08-07-2012, 11:45 PM
Ray Kohler
polkit package upgrade patch
On Tue, Aug 7, 2012 at 6:10 PM, Tom Gundersen <teg@jklm.no> wrote:
> On Tue, Aug 7, 2012 at 10:59 PM, Martin Zecher <mzecher@gmail.com> wrote:
>> Yes, please! Putting it in testing may solve my issues with
>> networkmanagement applet.
>
> I didn't put it in testing as I guess it needs some discussion.
> However, I committed what I have to svn so that everyone can have a
> look easily, and I uploaded the packages here:
> <https://dev.archlinux.org/~tomegun/>.
>
> This should work on both systemd and non-systemd systems. It would
> particularly be interesting to get feedback from someone using
> networkmanger to see if there are issues with the interaction there.
This works for me also. I have both logind and consolekit sessions
active. I'll note that I had to manually reload the dbus config, as it
tries to reload automatically before the install script runs, and
chokes on the polkitd user not being known yet.
08-08-2012, 12:33 AM
Ionut Biru
polkit package upgrade patch
On 08/08/2012 01:26 AM, Ralf Mardorf wrote:
> On Wed, 2012-08-08 at 00:10 +0200, Tom Gundersen wrote:
>> On Tue, Aug 7, 2012 at 10:59 PM, Martin Zecher <mzecher@gmail.com> wrote:
>>> Yes, please! Putting it in testing may solve my issues with
>>> networkmanagement applet.
>>
>> I didn't put it in testing as I guess it needs some discussion.
>> However, I committed what I have to svn so that everyone can have a
>> look easily, and I uploaded the packages here:
>> <https://dev.archlinux.org/~tomegun/>.
>>
>> This should work on both systemd and non-systemd systems. It would
>> particularly be interesting to get feedback from someone using
>> networkmanger to see if there are issues with the interaction there.
>>
>> -t
>
> Hi I'm not running KDE, but Xfce, with
>
> $ pacman -Qi networkmanager
> Name : networkmanager
> Version : 0.9.4.0-6
> $ pacman -Qi polkit
> Name : polkit
> Version : 0.105-1
>
Do you also have network-manager-applet?
The old polkit console+systemd patch broke the applet not the daemon.
> and I'm nearly Poettering-free, so no PA, no systemd, just some
> libsystemd or so, regarding to dependencies.
>
> $ sudo pacman -U polkit-0.107-1-x86_64.pkg.tar.xz
> Targets (2): js-1.8.5-3 polkit-0.107-1
>
> *restart*
>
> If you receive this mail, then NM still works at the moment with
>
> $ pacman -Qi polkit
> Name : polkit
> Version : 0.107-1
> URL : http://www.freedesktop.org/wiki/Software/PolicyKit
> Licenses : LGPL
> Groups : None
> Provides : None
> Depends On : glib2 pam expat libsystemd js
> Optional Deps : None
> Required By : accountsservice colord consolekit gconf
> networkmanager polkit-gnome polkit-qt rtkit
> udisks udisks2 upower
> Conflicts With : None
> Replaces : policykit
> Installed Size : 1812.00 KiB
> Packager : Tom Gundersen <teg@jklm.no>
> Architecture : x86_64
> Build Date : Tue 07 Aug 2012 11:58:36 PM CEST
> Install Date : Wed 08 Aug 2012 12:20:46 AM CEST
> Install Reason : Installed as a dependency for another package
> Install Script : Yes
> Description : Application development toolkit for controlling
> system-wide privileges
>
> Hth,
> Ralf
>
--
IonuÈ›
08-08-2012, 12:45 AM
Ralf Mardorf
polkit package upgrade patch
On Wed, 2012-08-08 at 03:33 +0300, Ionut Biru wrote:
> Do you also have network-manager-applet?
> The old polkit console+systemd patch broke the applet not the daemon.