Re: How to Fix D-Bus Service Failures

Abdullah Yıldız <[email protected]> Mon, 10 Mar 2025 16:15:12 +0300
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CABvne689zcY4PB81p3m6+-vmoufoxr0cLTUbcLeogVMtLJEkPQ@mail.gmail.com>
--00000000000046456e062ffcc551
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Noted. Thank you.

On Mon, Mar 10, 2025 at 2:21=E2=80=AFPM Simon McVittie <smcv-ZGY8ohtN/[email protected]>=
 wrote:

> On Sat, 08 Mar 2025 at 13:26:06 +0300, Abdullah Y=C4=B1ld=C4=B1z 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 normall=
y
> > > only allows connections from one user, so the limit on connections pe=
r
> > > user is also 100000.
> >
> > This is defined as 900 in /usr/share/dbus-1/session.conf as shown in th=
e
> 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
>

--=20
"Bu mesaj (ve ekleri) gizli bilgi i=C3=A7ermektedir ve sadece g=C3=B6nderil=
en ki=C5=9Fiye=20
y=C3=B6neliktir. Bu e-mailin muhatab=C4=B1 de=C4=9Filseniz veya i=C3=A7eri=
=C4=9Fi ile ilginiz yoksa,=20
Yeditepe =C3=9Cniversitesinin onay=C4=B1 olmaks=C4=B1z=C4=B1n bu mesaj=C4=
=B1n okunmas=C4=B1,=20
de=C4=9Fi=C5=9Ftirilmesi, kopyalanmas=C4=B1, =C3=BC=C3=A7=C3=BCnc=C3=BC ki=
=C5=9Filere a=C3=A7=C4=B1klanmas=C4=B1, yay=C4=B1nlanmas=C4=B1,=20
if=C5=9Fa edilmesi veya iletilmesi yasakt=C4=B1r. Bu mesaj=C4=B1n g=C3=B6nd=
erilmek istendi=C4=9Fi=20
ki=C5=9Fi de=C4=9Filseniz (ya da bu e-posta'y=C4=B1 yanl=C4=B1=C5=9Fl=C4=B1=
kla ald=C4=B1ysan=C4=B1z), l=C3=BCtfen=20
yollayan ki=C5=9Fiyi hemen haberdar ediniz ve mesaj=C4=B1 sisteminizden der=
hal=20
siliniz. E-mail iletiminin g=C3=BCvenli veya hatas=C4=B1z oldu=C4=9Funun ga=
rantisi=20
olmad=C4=B1=C4=9F=C4=B1ndan ge=C3=A7 veya eksik iletim veya i=C3=A7erik ve =
bilgilerde eksiklik,=20
kay=C4=B1p, de=C4=9Fi=C5=9Fiklik veya vir=C3=BCs olabilir. Bu nedenle, bu m=
esaj=C4=B1n iletiminden=20
dolay=C4=B1, Yeditepe =C3=9Cniversitesi , i=C3=A7erikteki hata, eksiklik, d=
o=C4=9Frulu=C4=9Fun ve=20
gizlili=C4=9Fin ihlalinden veya bu yolla bilgi payla=C5=9F=C4=B1m=C4=B1, il=
etimi, depolanmas=C4=B1=20
gibi herhangi bir kullan=C4=B1m=C4=B1ndan hi=C3=A7bir =C5=9Fekilde sorumlu =
de=C4=9Fildir. Bu mesaj=C4=B1n=20
i=C3=A7eri=C4=9Fi yazar=C4=B1na ait olup, =C3=9Cniversitemizin g=C3=B6r=C3=
=BC=C5=9Flerini i=C3=A7ermeyebilir.

Bu=20
mesaj=C4=B1n i=C3=A7eri=C4=9Finde ge=C3=A7en =C3=9Cniversitemizin ad veya n=
an=C4=B1ma yarat=C4=B1lan fikri ve=20
s=C4=B1nai haklar =C3=9Cniversitemize ait olup, maddi ve manevi t=C3=BCm ha=
klar=C4=B1=20
sakl=C4=B1d=C4=B1r.=E2=80=9D

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

Copyright in documents=20
created by or on behalf of our University remains vested in us, and we=20
assert all of our moral and intellectual property rights."

--00000000000046456e062ffcc551
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Noted. Thank you.</div><br><div class=3D"gmail_quote gmail=
_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar 10, 202=
5 at 2:21=E2=80=AFPM Simon McVittie &lt;<a href=3D"mailto:smcv-ZGY8ohtN/[email protected]=
m">smcv-ZGY8ohtN/[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-st=
yle:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Sat, 08 M=
ar 2025 at 13:26:06 +0300, Abdullah Y=C4=B1ld=C4=B1z wrote:<br>
&gt; In /usr/share/dbus-1/, there are no commented-out default values avail=
able<br>
&gt; except session.conf:<br>
<br>
Most likely either your version of dbus is older than 2014, or your<br>
OS vendor has patched it. Please ask your OS vendor for support.<br>
<br>
&gt; Is there a way to check what the default=C2=A0is for the system bus as=
 it (i.e.,<br>
&gt; max_completed_connections) is not visible at both /etc/bus-1 and=C2=A0=
/usr/share/<br>
&gt; dbus-1/?<br>
<br>
Check your OS distribution&#39;s source code, or ask your OS vendor for<br>
support.<br>
<br>
In upstream dbus, the defaults for the system bus are the hard-coded<br>
values in bus/config-parser.c. But if your OS vendor has patched or<br>
otherwise altered dbus, then we can&#39;t know how that version might be<br=
>
different; you&#39;ll need to ask them.<br>
<br>
&gt; &gt; The default on the session bus is 100000, and the session bus nor=
mally<br>
&gt; &gt; only allows connections from one user, so the limit on connection=
s per<br>
&gt; &gt; user is also 100000.<br>
&gt; <br>
&gt; This is defined as 900 in /usr/share/dbus-1/session.conf as shown in t=
he above<br>
&gt; code snippet.<br>
<br>
Your version of dbus appears to have been patched, either by your<br>
OS vendor or locally. As far as I can see, that has never been the<br>
default in upstream dbus. (And that seems like a really low limit for<br>
the session bus: most of the limits in the session bus are meant to be<br>
&quot;basically unlimited, but enough to prevent accidents&quot;.)<br>
<br>
&gt; &gt; The default for the system bus is 256. The default for the sessio=
n<br>
&gt; &gt; bus is 100000, but the error messages you quoted are for the syst=
em bus.<br>
&gt; <br>
&gt; max_connections_per_user is defined as 100000=C2=A0in /usr/share/dbus-=
1/session.conf<br>
&gt; as shown in the above code snippet.<br>
<br>
The session bus configuration does not affect the behaviour of the<br>
system bus. If your system bus is producing errors, reconfiguring the<br>
session bus cannot solve those errors.<br>
<br>
&gt; Is it possible that our D-Bus service is corrupted (as we never did an=
y<br>
&gt; modifications on these files)?<br>
<br>
I don&#39;t know what you or your OS vendor might have done.<br>
<br>
=C2=A0 =C2=A0 smcv<br>
</blockquote></div>

<br>
<font face=3D"Arial" color=3D"Gray" size=3D"1" style=3D"background-color:rg=
b(255,255,255)">&quot;Bu mesaj (ve ekleri) gizli bilgi i=C3=A7ermektedir ve=
 sadece g=C3=B6nderilen ki=C5=9Fiye y=C3=B6neliktir. Bu e-mailin muhatab=C4=
=B1 de=C4=9Filseniz veya i=C3=A7eri=C4=9Fi ile ilginiz yoksa, Yeditepe =C3=
=9Cniversitesinin onay=C4=B1 olmaks=C4=B1z=C4=B1n bu mesaj=C4=B1n okunmas=
=C4=B1, de=C4=9Fi=C5=9Ftirilmesi, kopyalanmas=C4=B1, =C3=BC=C3=A7=C3=BCnc=
=C3=BC ki=C5=9Filere a=C3=A7=C4=B1klanmas=C4=B1, yay=C4=B1nlanmas=C4=B1, if=
=C5=9Fa edilmesi veya iletilmesi yasakt=C4=B1r. Bu mesaj=C4=B1n g=C3=B6nder=
ilmek istendi=C4=9Fi ki=C5=9Fi de=C4=9Filseniz (ya da bu e-posta&#39;y=C4=
=B1 yanl=C4=B1=C5=9Fl=C4=B1kla ald=C4=B1ysan=C4=B1z), l=C3=BCtfen yollayan =
ki=C5=9Fiyi hemen haberdar ediniz ve mesaj=C4=B1 sisteminizden derhal silin=
iz. E-mail iletiminin g=C3=BCvenli veya hatas=C4=B1z oldu=C4=9Funun garanti=
si olmad=C4=B1=C4=9F=C4=B1ndan ge=C3=A7 veya eksik iletim veya i=C3=A7erik =
ve bilgilerde eksiklik, kay=C4=B1p, de=C4=9Fi=C5=9Fiklik veya vir=C3=BCs ol=
abilir. Bu nedenle, bu mesaj=C4=B1n iletiminden dolay=C4=B1, Yeditepe =C3=
=9Cniversitesi , i=C3=A7erikteki hata, eksiklik, do=C4=9Frulu=C4=9Fun ve gi=
zlili=C4=9Fin ihlalinden veya bu yolla bilgi payla=C5=9F=C4=B1m=C4=B1, ilet=
imi, depolanmas=C4=B1 gibi herhangi bir kullan=C4=B1m=C4=B1ndan hi=C3=A7bir=
 =C5=9Fekilde sorumlu de=C4=9Fildir. Bu mesaj=C4=B1n i=C3=A7eri=C4=9Fi yaza=
r=C4=B1na ait olup, =C3=9Cniversitemizin g=C3=B6r=C3=BC=C5=9Flerini i=C3=A7=
ermeyebilir.<br><br>Bu mesaj=C4=B1n i=C3=A7eri=C4=9Finde ge=C3=A7en =C3=9Cn=
iversitemizin ad veya nan=C4=B1ma yarat=C4=B1lan fikri ve s=C4=B1nai haklar=
 =C3=9Cniversitemize ait olup, maddi ve manevi t=C3=BCm haklar=C4=B1 sakl=
=C4=B1d=C4=B1r.=E2=80=9D<br></font><br style=3D"color:rgb(34,34,34);font-fa=
mily:arial,sans-serif;background-color:rgb(255,255,255)"><font face=3D"Aria=
l" color=3D"Gray" size=3D"1" style=3D"background-color:rgb(255,255,255)">=
=E2=80=9CThis Message (including any attachments) contains confidential inf=
ormation 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 for=
bidden to read, disseminate, distribute, copy, reproduce or modify this mai=
l by Yeditepe University. Please notfy the sender immediately if you have r=
eceived this e-mail by mistake and delete this e-mail from your system. E-m=
ail transmisson can not be guaranteed to be secure or error-free as the mai=
l may arrive late or incomplete or the information could be intercepted, co=
rrupted, lost, destroyed, amended, , or contain viruses. Yeditepe Universit=
y therefore does not accept liability for any errors, loss of integrity or =
confidentiality or ommissions in the contents of this Message or for the in=
formation transmission, reception, storage of use of such in any way whatso=
ever, which arise as a result of e-mail transmission. Any opinions expresse=
d in this message are those of the author and may not necessarily reflect t=
he opinions of Our University.<br><br>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.&quot;</font>
--00000000000046456e062ffcc551--