How to Fix D-Bus Service Failures

Abdullah Yıldız ayildiz at cse.yeditepe.edu.tr
Mon Mar 10 13:15:12 UTC 2025


Noted. Thank you.

On Mon, Mar 10, 2025 at 2:21 PM Simon McVittie <smcv at collabora.com> wrote:

> On Sat, 08 Mar 2025 at 13:26:06 +0300, Abdullah Yıldız wrote:
> > In /usr/share/dbus-1/, there are no commented-out default values
> available
> > except session.conf:
>
> Most likely either your version of dbus is older than 2014, or your
> OS vendor has patched it. Please ask your OS vendor for support.
>
> > Is there a way to check what the default is for the system bus as it
> (i.e.,
> > max_completed_connections) is not visible at both /etc/bus-1
> and /usr/share/
> > dbus-1/?
>
> Check your OS distribution's source code, or ask your OS vendor for
> support.
>
> In upstream dbus, the defaults for the system bus are the hard-coded
> values in bus/config-parser.c. But if your OS vendor has patched or
> otherwise altered dbus, then we can't know how that version might be
> different; you'll need to ask them.
>
> > > The default on the session bus is 100000, and the session bus normally
> > > only allows connections from one user, so the limit on connections per
> > > user is also 100000.
> >
> > This is defined as 900 in /usr/share/dbus-1/session.conf as shown in the
> above
> > code snippet.
>
> Your version of dbus appears to have been patched, either by your
> OS vendor or locally. As far as I can see, that has never been the
> default in upstream dbus. (And that seems like a really low limit for
> the session bus: most of the limits in the session bus are meant to be
> "basically unlimited, but enough to prevent accidents".)
>
> > > The default for the system bus is 256. The default for the session
> > > bus is 100000, but the error messages you quoted are for the system
> bus.
> >
> > max_connections_per_user is defined as 100000 in
> /usr/share/dbus-1/session.conf
> > as shown in the above code snippet.
>
> The session bus configuration does not affect the behaviour of the
> system bus. If your system bus is producing errors, reconfiguring the
> session bus cannot solve those errors.
>
> > Is it possible that our D-Bus service is corrupted (as we never did any
> > modifications on these files)?
>
> I don't know what you or your OS vendor might have done.
>
>     smcv
>

-- 
"Bu mesaj (ve ekleri) gizli bilgi içermektedir ve sadece gönderilen kişiye 
yöneliktir. Bu e-mailin muhatabı değilseniz veya içeriği ile ilginiz yoksa, 
Yeditepe Üniversitesinin onayı olmaksızın bu mesajın okunması, 
değiştirilmesi, kopyalanması, üçüncü kişilere açıklanması, yayınlanması, 
ifşa edilmesi veya iletilmesi yasaktır. Bu mesajın gönderilmek istendiği 
kişi değilseniz (ya da bu e-posta'yı yanlışlıkla aldıysanız), lütfen 
yollayan kişiyi hemen haberdar ediniz ve mesajı sisteminizden derhal 
siliniz. E-mail iletiminin güvenli veya hatasız olduğunun garantisi 
olmadığından geç veya eksik iletim veya içerik ve bilgilerde eksiklik, 
kayıp, değişiklik veya virüs olabilir. Bu nedenle, bu mesajın iletiminden 
dolayı, Yeditepe Üniversitesi , içerikteki hata, eksiklik, doğruluğun ve 
gizliliğin ihlalinden veya bu yolla bilgi paylaşımı, iletimi, depolanması 
gibi herhangi bir kullanımından hiçbir şekilde sorumlu değildir. Bu mesajın 
içeriği yazarına ait olup, Üniversitemizin görüşlerini içermeyebilir.

Bu 
mesajın içeriğinde geçen Üniversitemizin ad veya nanıma yaratılan fikri ve 
sınai haklar Üniversitemize ait olup, maddi ve manevi tüm hakları 
saklıdır.”

“This Message (including any attachments) contains confidential 
information and is intended only for the individual named. If you are not 
the named adressee or not related with the content of this Message, you are 
forbidden to read, disseminate, distribute, copy, reproduce or modify this 
mail by Yeditepe University. Please notfy the sender immediately if you 
have received this e-mail by mistake and delete this e-mail from your 
system. E-mail transmisson can not be guaranteed to be secure or error-free 
as the mail may arrive late or incomplete or the information could be 
intercepted, corrupted, lost, destroyed, amended, , or contain viruses. 
Yeditepe University therefore does not accept liability for any errors, 
loss of integrity or confidentiality or ommissions in the contents of this 
Message or for the information transmission, reception, storage of use of 
such in any way whatsoever, which arise as a result of e-mail transmission. 
Any opinions expressed in this message are those of the author and may not 
necessarily reflect the opinions of Our University.

Copyright in documents 
created by or on behalf of our University remains vested in us, and we 
assert all of our moral and intellectual property rights."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20250310/0fdbeaa7/attachment.htm>


More information about the dbus mailing list