2008-09-28 12:16:06 |
Tomas Cassidy |
bug |
|
|
added bug |
2008-09-28 13:49:16 |
James Westby |
consolekit: status |
New |
Incomplete |
|
2008-09-28 13:49:16 |
James Westby |
consolekit: statusexplanation |
|
Hi,
I wonder if this was just a temporary thing caused by the upgrade.
Does this message show up only once? If you reboot does it
appear again?
Thanks,
James
|
|
2008-09-30 04:06:29 |
Tomas Cassidy |
bug |
|
|
added attachment 'syslog' (syslog) |
2008-10-07 18:12:30 |
James Westby |
consolekit: status |
Incomplete |
Triaged |
|
2008-10-07 18:12:30 |
James Westby |
consolekit: importance |
Undecided |
High |
|
2008-10-07 18:12:30 |
James Westby |
consolekit: statusexplanation |
Hi,
I wonder if this was just a temporary thing caused by the upgrade.
Does this message show up only once? If you reboot does it
appear again?
Thanks,
James
|
Hi,
Don't worry about testing, I think I've got it. If you were to perform that test
I think you would find that only installing policykit would fix it.
The problem appears to be this:
src/polkit/polkit-context.c has this:
/* Watch the /etc/PolicyKit/PolicyKit.conf file */
pk_context->inotify_config_wd = inotify_add_watch (pk_context->inotify_fd,
PACKAGE_SYSCONF_DIR "/PolicyKit/PolicyKit.conf",
IN_MODIFY | IN_CREATE | IN_ATTRIB);
if (pk_context->inotify_config_wd < 0) {
polkit_debug ("failed to add watch on file '" PACKAGE_SYSCONF_DIR "/PolicyKit/PolicyKit.conf': %s",
strerror (errno));
/* TODO: set error */
goto error;
}
and similar for /var/lib/misc/Policykit.reload.
You can't set an inotify watch on a non-existent file, and these files
are shipped as part of the policykit package.
Therefore currently libpolkit2 requires files from the policykit file to operate,
but doesn't depend on the package.
The inotify_add_watch calls have IN_CREATE, hinting to me that it intends it
to work if they don't exist, but this doesn't have the intended effect. Therefore
I will report this issue upstream.
As well as fixing this in that fashion we can fix it in the packaging, at least
temporarily. However, I can't really think of a way of doing that that doesn't have
headaches.
I'll notify the server team of this.
Thanks,
James
|
|
2008-10-07 18:13:10 |
James Westby |
title |
console-kit-daemon[13695]: CRITICAL: cannot initialize libpolkit |
libpolkit requires files from policykit for polkit_context_init to work |
|
2008-10-07 18:13:58 |
James Westby |
description |
Binary package hint: consolekit
I just noticed this error while reading through syslog after upgrading from 8.04.1 to Intrepid.
Sep 28 22:10:01 acheron console-kit-daemon[13695]: CRITICAL: cannot initialize libpolkit |
I just noticed this error while reading through syslog after upgrading from 8.04.1 to Intrepid.
Sep 28 22:10:01 acheron console-kit-daemon[13695]: CRITICAL: cannot initialize libpolkit
see https://bugs.edge.launchpad.net/ubuntu/+source/consolekit/+bug/275432/comments/16
for an explanation
|
|
2008-10-07 18:15:15 |
James Westby |
consolekit: bugtargetdisplayname |
consolekit (Ubuntu) |
policykit (Ubuntu) |
|
2008-10-07 18:15:15 |
James Westby |
consolekit: bugtargetname |
consolekit (Ubuntu) |
policykit (Ubuntu) |
|
2008-10-07 18:15:15 |
James Westby |
consolekit: statusexplanation |
Hi,
Don't worry about testing, I think I've got it. If you were to perform that test
I think you would find that only installing policykit would fix it.
The problem appears to be this:
src/polkit/polkit-context.c has this:
/* Watch the /etc/PolicyKit/PolicyKit.conf file */
pk_context->inotify_config_wd = inotify_add_watch (pk_context->inotify_fd,
PACKAGE_SYSCONF_DIR "/PolicyKit/PolicyKit.conf",
IN_MODIFY | IN_CREATE | IN_ATTRIB);
if (pk_context->inotify_config_wd < 0) {
polkit_debug ("failed to add watch on file '" PACKAGE_SYSCONF_DIR "/PolicyKit/PolicyKit.conf': %s",
strerror (errno));
/* TODO: set error */
goto error;
}
and similar for /var/lib/misc/Policykit.reload.
You can't set an inotify watch on a non-existent file, and these files
are shipped as part of the policykit package.
Therefore currently libpolkit2 requires files from the policykit file to operate,
but doesn't depend on the package.
The inotify_add_watch calls have IN_CREATE, hinting to me that it intends it
to work if they don't exist, but this doesn't have the intended effect. Therefore
I will report this issue upstream.
As well as fixing this in that fashion we can fix it in the packaging, at least
temporarily. However, I can't really think of a way of doing that that doesn't have
headaches.
I'll notify the server team of this.
Thanks,
James
|
|
|
2008-10-07 18:15:15 |
James Westby |
consolekit: title |
Bug #275432 in consolekit (Ubuntu): "libpolkit requires files from policykit for polkit_context_init to work" |
Bug #275432 in policykit (Ubuntu): "libpolkit requires files from policykit for polkit_context_init to work" |
|
2008-10-08 15:34:53 |
James Westby |
bug |
|
|
assigned to policykit |
2008-10-08 15:50:36 |
James Westby |
bug |
|
|
assigned to policykit (Debian) |
2008-10-08 16:38:38 |
Bug Watch Updater |
policykit: status |
Unknown |
Confirmed |
|
2008-10-09 14:33:53 |
Bug Watch Updater |
policykit: status |
Unknown |
New |
|
2008-12-05 15:40:23 |
Martin Pitt |
policykit: status |
Triaged |
In Progress |
|
2008-12-05 15:40:23 |
Martin Pitt |
policykit: assignee |
|
pitti |
|
2008-12-06 01:05:58 |
Martin Pitt |
policykit: status |
In Progress |
Confirmed |
|
2008-12-06 01:05:58 |
Martin Pitt |
policykit: assignee |
pitti |
|
|
2008-12-06 01:05:58 |
Martin Pitt |
policykit: statusexplanation |
|
Ah, should wait for upstream's feedback. |
|
2009-01-29 06:01:31 |
Steve Langasek |
bug |
|
|
added subscriber Martin Pitt |
2009-03-06 14:21:43 |
Martin Pitt |
policykit: status |
Confirmed |
Triaged |
|
2009-03-06 14:21:43 |
Martin Pitt |
policykit: assignee |
|
pitti |
|
2009-03-06 14:21:43 |
Martin Pitt |
policykit: statusexplanation |
|
|
|
2009-03-06 14:25:44 |
Martin Pitt |
policykit: status |
Triaged |
In Progress |
|
2009-03-26 08:52:19 |
Martin Pitt |
bug task added |
|
consolekit (Ubuntu) |
|
2009-03-26 08:54:15 |
Martin Pitt |
consolekit (Ubuntu Jaunty): status |
New |
In Progress |
|
2009-03-26 08:54:15 |
Martin Pitt |
consolekit (Ubuntu Jaunty): assignee |
|
pitti |
|
2009-03-26 08:54:36 |
Martin Pitt |
policykit (Ubuntu Jaunty): status |
In Progress |
Won't Fix |
|
2009-03-26 08:54:36 |
Martin Pitt |
policykit (Ubuntu Jaunty): assignee |
pitti |
|
|
2009-03-26 08:54:48 |
Martin Pitt |
consolekit (Ubuntu Jaunty): importance |
Undecided |
High |
|
2009-03-26 08:55:00 |
Martin Pitt |
policykit (Ubuntu Intrepid): status |
New |
Won't Fix |
|
2009-03-26 08:55:13 |
Martin Pitt |
policykit (Ubuntu): status |
In Progress |
Won't Fix |
|
2009-03-26 08:55:13 |
Martin Pitt |
policykit (Ubuntu): assignee |
pitti |
|
|
2009-03-26 09:36:58 |
Martin Pitt |
bug watch added |
|
https://bugs.freedesktop.org/show_bug.cgi?id=20876 |
|
2009-03-26 09:36:58 |
Martin Pitt |
bug task added |
|
consolekit |
|
2009-03-26 09:43:37 |
Martin Pitt |
consolekit (Ubuntu Jaunty): status |
In Progress |
Fix Committed |
|
2009-03-26 09:48:17 |
Bug Watch Updater |
consolekit: status |
Unknown |
Confirmed |
|
2009-03-27 07:13:46 |
Launchpad Janitor |
consolekit: status |
Fix Committed |
Fix Released |
|
2009-06-02 16:11:11 |
Daniel Swarbrick |
removed subscriber Daniel Swarbrick |
|
|
|
2009-06-16 10:55:26 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/karmic/consolekit |
|
2009-07-24 05:09:52 |
Bug Watch Updater |
consolekit: status |
Confirmed |
Fix Released |
|
2009-10-22 03:36:46 |
Bug Watch Updater |
policykit: status |
Confirmed |
Invalid |
|
2009-10-22 13:09:27 |
Drew Snellgrove |
removed subscriber Drew Snellgrove |
|
|
|
2009-12-07 01:42:49 |
Timothy G. Rundle |
removed subscriber Timothy G. Rundle |
|
|
|
2010-02-24 00:47:05 |
kenji |
consolekit (Ubuntu Jaunty): status |
Fix Released |
Fix Committed |
|
2010-02-24 07:15:34 |
Martin Pitt |
consolekit (Ubuntu Jaunty): status |
Fix Committed |
Fix Released |
|
2010-02-24 07:15:41 |
Martin Pitt |
consolekit (Ubuntu Intrepid): status |
New |
Won't Fix |
|
2010-06-30 19:37:54 |
c_t |
removed subscriber c_t |
|
|
|
2010-09-13 17:15:18 |
Bug Watch Updater |
consolekit: importance |
Unknown |
Medium |
|
2010-09-14 13:54:37 |
Bug Watch Updater |
policykit: importance |
Unknown |
Medium |
|
2011-01-13 21:49:17 |
James Westby |
branch unlinked |
lp:~ubuntu-branches/ubuntu/karmic/consolekit/karmic |
|
|
2011-01-17 20:24:35 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/consolekit |
|
2011-01-25 12:04:04 |
Bug Watch Updater |
policykit: importance |
Medium |
Unknown |
|
2011-01-25 12:21:06 |
Felix Geyer |
removed subscriber Felix Geyer |
|
|
|
2011-01-25 13:23:08 |
Markus Boström |
removed subscriber Markus Boström |
|
|
|
2011-01-25 15:17:09 |
Bug Watch Updater |
consolekit: importance |
Medium |
Unknown |
|
2011-02-03 14:40:24 |
Bug Watch Updater |
policykit: importance |
Unknown |
Medium |
|
2011-02-03 14:56:12 |
Matt Jamison |
removed subscriber Matt Jamison |
|
|
|
2011-02-03 15:05:23 |
George Klein |
removed subscriber George Klein |
|
|
|
2011-02-03 17:58:57 |
Bug Watch Updater |
consolekit: importance |
Unknown |
Medium |
|
2015-04-10 01:10:23 |
Bug Watch Updater |
policykit (Debian): status |
New |
Fix Released |
|