Your message dated Fri, 01 Aug 2014 12:16:34 +0100
with message-id <[email protected]>
and subject line Re: Bug#756652: dbus on session fail to override variable from 
session.conf
has caused the Debian Bug report #756652,
regarding dbus on session fail to override variable from session.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
756652: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756652
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dbus
Version: 1.8.6-1
Severity: normal

Hi
I make an file session-local.conf for set customized variable
DBUS_SESSION_BUS_ADDRESS
Here is the content of session-local.conf
$cat /etc/dbus-1/session-local.conf
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
<busconfig>
        <listen>unix:path=/run/user/1000/user_bus_socket</listen>


</busconfig>

Main purpos of this file is to override variable "listen" from session.conf
file but
instead to override this variable with new value on ~/.dbus/session-
dbus/edbblabla

DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/user_bus_socket;unix:tmp/dbus-***
two paths instead of one path.
For solve this issue i commented part with listen from session.conf



-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dbus depends on:
ii  adduser              3.113+nmu3
ii  libaudit1            1:2.3.7-1
ii  libc6                2.19-7
ii  libcap-ng0           0.7.3-1.1
ii  libdbus-1-3          1.8.6-1
ii  libexpat1            2.1.0-6
ii  libselinux1          2.3-1
ii  libsystemd-journal0  208-6
ii  libsystemd-login0    208-6
ii  lsb-base             4.1+Debian13

dbus recommends no packages.

Versions of packages dbus suggests:
ii  dbus-x11  1.8.6-1

-- Configuration Files:
/etc/dbus-1/session.conf changed:
<!-- This configuration file controls the per-user-login-session message bus.
     Add a session-local.conf and edit that rather than changing this 
     file directly. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
<busconfig>
  <!-- Our well-known bus type, don't change this -->
  <type>session</type>
  <!-- If we fork, keep the user's original umask to avoid affecting
       the behavior of child processes. -->
  <keep_umask/>
<!--  <listen>unix:tmpdir=/tmp</listen> -->
  <standard_session_servicedirs />
  <policy context="default">
    <!-- Allow everything to be sent -->
    <allow send_destination="*" eavesdrop="true"/>
    <!-- Allow everything to be received -->
    <allow eavesdrop="true"/>
    <!-- Allow anyone to own anything -->
    <allow own="*"/>
  </policy>
  <!-- Config files are placed here that among other things, 
       further restrict the above policy for specific services. -->
  <includedir>session.d</includedir>
  <!-- This is included last so local configuration can override what's 
       in this standard file -->
  <include ignore_missing="yes">session-local.conf</include>
  <include if_selinux_enabled="yes" 
selinux_root_relative="yes">contexts/dbus_contexts</include>
  <!-- For the session bus, override the default relatively-low limits 
       with essentially infinite limits, since the bus is just running 
       as the user anyway, using up bus resources is not something we need 
       to worry about. In some cases, we do set the limits lower than 
       "all available memory" if exceeding the limit is almost certainly a bug, 
       having the bus enforce a limit is nicer than a huge memory leak. But the 
       intent is that these limits should never be hit. -->
  <!-- the memory limits are 1G instead of say 4G because they can't exceed 
32-bit signed int max -->
  <limit name="max_incoming_bytes">1000000000</limit>
  <limit name="max_incoming_unix_fds">250000000</limit>
  <limit name="max_outgoing_bytes">1000000000</limit>
  <limit name="max_outgoing_unix_fds">250000000</limit>
  <limit name="max_message_size">1000000000</limit>
  <limit name="max_message_unix_fds">1024</limit>
  <limit name="service_start_timeout">120000</limit>  
  <limit name="auth_timeout">240000</limit>
  <limit name="max_completed_connections">100000</limit>  
  <limit name="max_incomplete_connections">10000</limit>
  <limit name="max_connections_per_user">100000</limit>
  <limit name="max_pending_service_starts">10000</limit>
  <limit name="max_names_per_connection">50000</limit>
  <limit name="max_match_rules_per_connection">50000</limit>
  <limit name="max_replies_per_connection">50000</limit>
</busconfig>


-- no debconf information

--- End Message ---
--- Begin Message ---
On 31/07/14 20:58, Corcodel Marian wrote:
> $cat /etc/dbus-1/session-local.conf
> <!DOCTYPE busconfig PUBLIC
>  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
>  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
> <busconfig>
>         <listen>unix:path=/run/user/1000/user_bus_socket</listen>
> </busconfig>
> 
> Main purpos of this file is to override variable "listen" from session.conf
> file but
> instead to override this variable with new value on ~/.dbus/session-
> dbus/edbblabla
> 
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/user_bus_socket;unix:tmp/dbus-***
> two paths instead of one path.

This is working as designed, and is not a bug. session.conf,
session-local.conf and session.d/*.conf are effectively merged, and the
same bus daemon listens on one socket for each <listen/> directive found
in any of those files.

Clients connecting to any of those sockets will be treated as equivalent.

    S

--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to