Bug 8393 - dbus max_connections_per_user is too low. (make also kde auto mounting not working)
Summary: dbus max_connections_per_user is too low. (make also kde auto mounting not wo...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker major
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard: 3beta1
Keywords:
: 8381 8473 8527 (view as bug list)
Depends on:
Blocks: 8381 8519
  Show dependency treegraph
 
Reported: 2012-12-15 03:25 CET by Dave Hodgins
Modified: 2013-01-30 13:38 CET (History)
9 users (show)

See Also:
Source RPM: dbus-1.6.8-2.mga3.src.rpm, kdelibs4-4.9.90-1.mga3.src.rpm ?
CVE:
Status comment:


Attachments

Description Dave Hodgins 2012-12-15 03:25:13 CET
After installing kde from the beta 3 pre-release iso, with several
applications running, I encountered the following error ...

[dave@i3 ~]$ reboot
Error getting authority: Error initializing authority: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of active connections for UID 500 has been reached (g-dbus-error-quark, 8)
Assertion 'bus' failed at src/shared/dbus-common.c:1257, function bus_method_call_with_reply(). Aborting.
Aborted

According to
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/492941
the max_connections_per_user setting in /etc/dbus-1/session.conf
is being ignored, and needs to be set in /etc/dbus-1/system.conf too.
Dave Hodgins 2012-12-15 03:25:27 CET

Whiteboard: (none) => 3beta1

Comment 1 Dave Hodgins 2012-12-15 05:08:23 CET
I recreated this error, with a kde install from the x86-64 dvd, by
opening all applications on the panel, plus a konsole, where the
reboot command generated the same error.
Comment 2 Wolfgang Bornath 2012-12-15 07:12:10 CET
On second set of ISOs:

1. x86_64 KDE on VBox
2. x86_64 KDE on real hardware

Can not reproduce the error. I opened up 30 applications including konsole, changed to root in the konsole and typed 'reboot' - no error nor unusual behavior like David's description. Repeated twice.

CC: (none) => molch.b

Comment 3 Curtis Hildebrand 2012-12-24 06:39:10 CET
Interesting.  I receive this error right after login (without starting a number of programs).  Adding max_connections_per_user setting in /etc/dbus-1/system.conf removes the error.

CC: (none) => curtis_mageia

Comment 4 Doug Laidlaw 2012-12-25 07:20:55 CET
In my case, on a clean install of Beta1, my USB key is not detected AT ALL.  On clicking the icon in the system tray, I see "No devices available."  Moving the device from a hub to a USB port that is known to support booting makes no difference.

CC: (none) => laidlaws

Comment 5 Doug Laidlaw 2012-12-25 08:45:05 CET
Further observation: when I log into KDE with the key already plugged in, KDE detects it, pops up its dialog box, then loses it completely.
Manuel Hiebel 2012-12-25 14:24:14 CET

Assignee: bugsquad => mageia

Comment 6 Manuel Hiebel 2012-12-25 14:30:37 CET
*** Bug 8473 has been marked as a duplicate of this bug. ***

CC: (none) => junk_no_spam

Comment 7 Bit Twister 2012-12-25 17:32:16 CET
(In reply to comment #4)
> In my case, on a clean install of Beta1, my USB key is not detected AT ALL.  On
> clicking the icon in the system tray, I see "No devices available."  Moving the
> device from a hub to a USB port that is known to support booting makes no
> difference.

You might want to try my solution.
https://bugs.mageia.org/show_bug.cgi?id=8473#c2
Comment 8 Doug Laidlaw 2012-12-25 20:47:36 CET
Yes, that cured the immediate problem, but Dolphin took ages to load.  No similar issue in Xfce.  The Dolphin icon was showing there too, but the standard file manager is Thunar.  I may need to clear my Sessions cache again.

The fix for USB drives didn't cure the CD-ROM issue, which is a separate bug.  I got around that just before the fresh install, by commenting out the line in fstab. The CD-ROM drive was then handled in the same fashion as a USB key, and mounted in /run/media.  Not perfect, but more convenient.
Comment 9 Barry Jackson 2012-12-28 13:27:20 CET
I was about to file a bug about the devices section of the places panel in Dolphin being missing, when I came across this. 
I was also getting no notifications about inserted media.
https://bugs.mageia.org/show_bug.cgi?id=8527

The dbus config changes suggested here https://bugs.mageia.org/show_bug.cgi?id=8473#c2 fixed both issues.

CC: (none) => zen25000

Comment 10 Doug Laidlaw 2012-12-28 13:46:07 CET
(In reply to comment #8)
> The fix for USB drives didn't cure the CD-ROM issue, which is a separate bug. 
> I got around that just before the fresh install, by commenting out the line in
> fstab. The CD-ROM drive was then handled in the same fashion as a USB key, and
> mounted in /run/media.  Not perfect, but more convenient.

I posted a comment to that effect to a different bug, but can't find it.  "My bugs" are only bugs I started.  Is there a way of listing those I am on the CC list for?
Comment 11 Barry Jackson 2012-12-28 15:59:44 CET
Have a read here - it's the same as clicking the "?" next to search button above: 
https://bugs.mageia.org/page.cgi?id=quicksearch.html

The config changes in #9 also fix another issue where the shutdown and reboot options are missing from the menu -> leave options.

I have increased priority and severity on this as it breaks major features in a clean installation of current Cauldron.

Priority: Normal => High
Severity: normal => major

Manuel Hiebel 2012-12-28 17:28:58 CET

Priority: High => release_blocker

Comment 12 Manuel Hiebel 2012-12-28 17:29:58 CET
*** Bug 8527 has been marked as a duplicate of this bug. ***
Manuel Hiebel 2012-12-28 17:32:38 CET

Summary: dbus max_connections_per_user is too low. => dbus max_connections_per_user is too low. (make also kde auto mounting not working)

Comment 13 Luc Menut 2012-12-28 18:53:27 CET
This bug seems to happen only with KDE.
This could be related to the new udisks 2 solid backend, and this is perhaps already fixed in KDE 4.9.95 (= KDE 4.10 RC1).
cf. this upstream commit
https://projects.kde.org/projects/kde/kdelibs/repository/revisions/be5ca0c8406d82af0cfb8f8a250410399873b76d
"Cache UDisks2 Device DBus connections
Cache the QDBusInterface connection for each UDI so that it's not recreated every time Solid::Device is constructed.
This greatly reduces the number of DBus calls and makes the UDisks2 backend much faster"

regards,
Luc

CC: (none) => balcaen.john, lmenut, nicolas.lecureuil
Source RPM: dbus-1.6.8-2.mga3.src.rpm => dbus-1.6.8-2.mga3.src.rpm, kdelibs4-4.9.90-1.mga3.src.rpm ?

Manuel Hiebel 2012-12-28 19:06:20 CET

Blocks: (none) => 8381

Philippe Didier 2012-12-28 20:25:02 CET

Blocks: (none) => 8519

Comment 14 Manuel Hiebel 2013-01-01 18:13:25 CET
*** Bug 8381 has been marked as a duplicate of this bug. ***

CC: (none) => ftg

Comment 15 Colin Guthrie 2013-01-06 17:44:27 CET
That looks like a likely candidate Luc. We already have 4.9.95 and it looks like .97 is committed if not yet submitted. Anyone have confirmation that this solves things?
Comment 16 Doug Laidlaw 2013-01-07 11:23:44 CET
I am running Xfce with KDE add-ons enabled.  I did a standard KDE install then added XFCE.  I still need to use a full "mount" command to mount the CD-ROM.  If ypou would like me to test that it is the KDE association, I am quite willing to try.  Just tell me what to do, but I have no Cauldron until Bug 8614 is fixed.
Comment 17 Colin Guthrie 2013-01-29 21:18:57 CET
Seeing as no-one has complained of late, I guess the updated KDE solved things right?
Comment 18 Bit Twister 2013-01-29 22:16:51 CET
I just tested my failure condition on a clean 64bit beta2 and did not have the errors.

Hate to ask, but could you glance at b u g 8852 and verify it is not a dracut bug.
Comment 19 Colin Guthrie 2013-01-30 13:38:38 CET
OK, closing this bug now.

(PS had a look at 8852, but I'm not really overly familiar with all the different display-fu - I always stick to intel display stuff and shun any nvidia or amd h/w)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.