summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/020375.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-November/020375.html')
-rw-r--r--zarb-ml/mageia-dev/2012-November/020375.html139
1 files changed, 139 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/020375.html b/zarb-ml/mageia-dev/2012-November/020375.html
new file mode 100644
index 000000000..17b1c1e93
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-November/020375.html
@@ -0,0 +1,139 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Utter frustration
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Utter%20frustration&In-Reply-To=%3C50B61ADC.2020207%40kde.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="020283.html">
+ <LINK REL="Next" HREF="020380.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Utter frustration</H1>
+ <B>Anne Wilson</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Utter%20frustration&In-Reply-To=%3C50B61ADC.2020207%40kde.org%3E"
+ TITLE="[Mageia-dev] Utter frustration">annew at kde.org
+ </A><BR>
+ <I>Wed Nov 28 15:08:28 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="020283.html">[Mageia-dev] Utter frustration
+</A></li>
+ <LI>Next message: <A HREF="020380.html">[Mageia-dev] Utter frustration
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#20375">[ date ]</a>
+ <a href="thread.html#20375">[ thread ]</a>
+ <a href="subject.html#20375">[ subject ]</a>
+ <a href="author.html#20375">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+On 26/11/12 13:33, Anne Wilson wrote:
+&gt;<i> On 25/11/12 17:22, Liam R E Quin wrote:
+</I>&gt;&gt;<i> On Sun, 2012-11-25 at 14:01 +0000, Anne Wilson wrote:
+</I>&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Since there's no identification in the message, all I could
+</I>&gt;&gt;&gt;&gt;<i> suggest is a brute-force search of all files on the root or
+</I>&gt;&gt;&gt;&gt;<i> /usr partitons for the string &quot;ConsoleKit&quot;, which appears in
+</I>&gt;&gt;&gt;&gt;<i> the error message. Then, identify the package which owns the
+</I>&gt;&gt;&gt;&gt;<i> file using rpmdrake.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Makes sense. The only problem is I don't know how to do that.
+</I>&gt;&gt;&gt;<i> I tried to use a combination of cat and grep, but there is no
+</I>&gt;&gt;&gt;<i> recursive flag, so that won't work. How would you do it?
+</I>&gt;<i>
+</I>&gt;&gt;<i> (1) grep -l -r ConsoleKit . this is easiest; -r is &quot;recursive&quot;
+</I>&gt;&gt;<i> But it will cross file system boundaries, so if you do it from /
+</I>&gt;&gt;<i> it will go into /use and /media and anywhere else it can find!
+</I>&gt;<i>
+</I>&gt;&gt;<i> (2) find / /usr -type f -xdev -print0 | xargs -0 grep -l
+</I>&gt;&gt;<i> ConsoleKit This is the usual &quot;find&quot; approach. -type f means only
+</I>&gt;&gt;<i> print names of files, not directories, symbolic links or device
+</I>&gt;&gt;<i> files... -xdev means don't stray into other filesystems like
+</I>&gt;&gt;<i> /home -print0 is the same as -print (prints each matching name)
+</I>&gt;&gt;<i> but prints the filenames with a NUL (character 0, hence the 0 in
+</I>&gt;&gt;<i> -print0) after each name, instead of putting each file on a
+</I>&gt;&gt;<i> separate line. This is needed because of filenames containing
+</I>&gt;&gt;<i> spaces or newlines.
+</I>&gt;<i>
+</I>&gt;&gt;<i> xargs reads a list of files, one per line, or, with -0 (again the
+</I>&gt;&gt;<i> digit zero) separated by NUL bytes; it runs the command on each
+</I>&gt;&gt;<i> of the files
+</I>&gt;<i>
+</I>&gt;&gt;<i> The -l option to grep says to print just the filename, needed in
+</I>&gt;&gt;<i> case there are binaries that contain the string.
+</I>&gt;<i>
+</I>&gt;<i> Perfect. The 'find' returns
+</I>&gt;<i>
+</I>&gt;<i> /usr/lib/libpowerdevilcore.so.0.1.0 /usr/lib/packagekitd
+</I>&gt;<i> /usr/lib/libpolkit-qt-core-1.so.1.103.0 /usr/bin/xdm
+</I>&gt;<i> /usr/bin/gnome-session /usr/share/doc/nautilus/NEWS
+</I>&gt;<i> /usr/share/doc/dbus/NEWS
+</I>&gt;<i> /usr/share/doc/networkmanager-applet/ChangeLog
+</I>&gt;<i> /usr/share/doc/sane-backends-1.0.23/ChangeLog
+</I>&gt;<i> /usr/share/doc/gnome-power-manager/NEWS
+</I>&gt;<i> /usr/share/gtk-doc/html/gio/gdbus.html
+</I>&gt;<i> /usr/share/gtk-doc/html/NetworkManager/ref-migrating.html
+</I>&gt;<i> /root/.bash_history /var/lib/mlocate/mlocate.db
+</I>&gt;<i> /var/lib/rpm/Providename /var/run.runmove~/ConsoleKit/database
+</I>&gt;<i> /var/log/journal/2d49f2c66f3a45939d7973a4109a2e81/<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">system at 0004cf2cec30ebaa-f4cbcc04fef75c0b.journal</A>~
+</I>&gt;<i>
+</I>&gt;<i>
+</I>/var/log/journal/2d49f2c66f3a45939d7973a4109a2e81/<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">system at 0004ce3e93292fec-435b91656aa64987.journal</A>~
+&gt;<i> /etc/security/msec/perm.netbook /etc/security/msec/perm.standard
+</I>&gt;<i> /etc/security/msec/perm.webserver
+</I>&gt;<i> /etc/security/msec/perm.fileserver /etc/security/msec/perm.secure
+</I>&gt;<i> /usr/lib/libpowerdevilcore.so.0.1.0 /usr/lib/packagekitd
+</I>&gt;<i> /usr/lib/libpolkit-qt-core-1.so.1.103.0 /usr/bin/xdm
+</I>&gt;<i> /usr/bin/gnome-session /usr/share/doc/nautilus/NEWS
+</I>&gt;<i> /usr/share/doc/dbus/NEWS
+</I>&gt;<i> /usr/share/doc/networkmanager-applet/ChangeLog
+</I>&gt;<i> /usr/share/doc/sane-backends-1.0.23/ChangeLog
+</I>&gt;<i> /usr/share/doc/gnome-power-manager/NEWS
+</I>&gt;<i> /usr/share/gtk-doc/html/gio/gdbus.html
+</I>&gt;<i> /usr/share/gtk-doc/html/NetworkManager/ref-migrating.html
+</I>&gt;<i>
+</I>No-one able to help?
+
+Anne
+- --
+Need KDE help? Try
+<A HREF="http://userbase.kde.org">http://userbase.kde.org</A> or
+<A HREF="http://forum.kde.org">http://forum.kde.org</A>
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</A>
+
+iEYEARECAAYFAlC2GtYACgkQj93fyh4cnBeFvACeO3Mgb3rbxVxS18+qc2Nsroey
+/S4Ani6uASgxrqwV+TVzFDA/jsb8w09c
+=UcVv
+-----END PGP SIGNATURE-----
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="020283.html">[Mageia-dev] Utter frustration
+</A></li>
+ <LI>Next message: <A HREF="020380.html">[Mageia-dev] Utter frustration
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#20375">[ date ]</a>
+ <a href="thread.html#20375">[ thread ]</a>
+ <a href="subject.html#20375">[ subject ]</a>
+ <a href="author.html#20375">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>