[lug] Kubuntu vs Xubuntu printer

Steve Sullivan sullivan at mathcom.com
Tue Nov 27 14:23:04 MST 2012


Hi Lee,

Thanks for the suggestions.  The /etc/init/*.conf files appear
identical, and dbus seems to be running.  I still don't get why a
Debian based system (Kubuntu) is looking for a redhat name ...
com.redhat.NewPrinterNotification

Nov 23 12:55:32 helix udev-add-printer: D-Bus method call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.NewPrinterNotification was not provided by any .service files


Details ...

The files /etc/init/dbus.conf are identical between K/X-ubuntu:
=========== begin
# dbus - D-Bus system message bus
#
# The D-Bus system message bus allows system daemons and user applications
# to communicate.

description     "D-Bus system message bus"

start on local-filesystems
stop on deconfiguring-networking

expect fork
respawn

pre-start script
    mkdir -p /var/run/dbus
    chown messagebus:messagebus /var/run/dbus

    exec dbus-uuidgen --ensure
end script

exec dbus-daemon --system --fork

post-start exec kill -USR1 1

post-stop exec rm -f /var/run/dbus/pid
=========== end



Similarly, the files /etc/init/udev.conf are identical between K/X-ubuntu:
=========== begin
# udev - device node and kernel event manager
#
# The udev daemon receives events from the kernel about changes in the
# /sys filesystem and manages the /dev filesystem.

description     "device node and kernel event manager"

start on virtual-filesystems
stop on runlevel [06]

expect fork
respawn

exec /sbin/udevd --daemon
=========== end


It looks like dbus is running.  ps shows:
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
5   102   555     1  20   0  25016  2408 epoll_ Ss   ?          0:02 dbus-daemon --system --fork
4 65534  1826   957  20   0  28880  1536 poll_s S    ?          0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.1.1 --conf-file=/var/run/nm-dns-dnsmasq.conf --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
1  5555  2098  2065  20   0  12488   316 poll_s Ss   ?          0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/startkde
1  5555  2101     1  20   0  24420   856 poll_s S    ?          0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/startkde
1  5555  2102     1  20   0  24852  1704 epoll_ Ss   ?          0:00 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session


Steve




On Tue, Nov 27, 2012 at 10:27:06AM -0700, Lee Woodworth wrote:
> On 11/27/12 09:49, Steve Sullivan wrote:
> ...
> 
> > 
> > Nov 23 12:55:32 helix udev-add-printer: D-Bus method call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.NewPrinterNotification was not provided by any .service files ***************
> > 
> 
> This error looks to be dbus related where udev is trying to announce the availability of
> the new printer. See if dbus is running, and you might also diff the udev and dbus
> configurations between the two installs.
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety

-- 

========================================
Steve Sullivan      sullivan at mathcom.com
720-587-7498        http://www.mathcom.com
========================================



More information about the LUG mailing list