← Back to team overview

nssbackup-team team mailing list archive

[Question #127941]: No "dbus" service on RHEL-5

 

Question #127941 on Simple Backup changed:
https://answers.launchpad.net/sbackup/+question/127941

Description changed to:
I'm trying to install SBackup from source on RHEL-5.  Red Hat's Python
was only 2.4.3, and would not compile SBackup correctly (failed several
places on "finally:").  So I downloaded and built Python 2.7 - got by
that one.

Unfortunately, there is no "dbus" service (or script in /etc/init.d).
"make install" fails with:

...
if test "" = ""; then gtk-update-icon-cache -f -t /usr/local/share/icons/hicolor; gtk-update-icon-cache -f -t /usr/local/share/icons/ubuntu-mono-light; gtk-update-icon-cache -f -t /usr/local/share/icons/ubuntu-mono-dark; fi
Cache file created successfully.
Cache file created successfully.
Cache file created successfully.
install -d /etc/dbus-1/system.d
install -m 644 data/org.sbackupteam.SimpleBackup.conf /etc/dbus-1/system.d
dbus: unrecognized service
make: *** [install-dbus] Error 1

The operative section of the Makefile appears to be:

install-dbus:
        install -d $(dbus_system_conf_dir)
        install -m 644 data/$(dbus_system_conf_file) $(dbus_system_conf_dir)
        @if test "$(DISABLE_MAKEFILE_DBUS_RELOAD)" = ""; then \
        if [ -x $(servicetool) ]; then \
        $(servicetool) dbus force-reload; \
        else if [ -r /etc/init.d/dbus ]; then \
        invoke-rc.d dbus force-reload; fi; fi; \
        fi

where "servicetool" should resolve to the location of the service
command.

-----

Well, I got through that problem by changing my make install to:

make DISABLE_MAKEFILE_DBUS_RELOAD=1
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install

I then ran into a problem with sbackupconfig:

Traceback (most recent call last):
  File "/usr/local/sbin/sbackupconfig", line 45, in <module>
    from sbackup.pkginfo import Infos
  File "/usr/local/share/sbackup/sbackup/pkginfo.py", line 25, in <module>
    from sbackup import util
  File "/usr/local/share/sbackup/sbackup/util/__init__.py", line 44, in <module>
    from sbackup.util import local_file_utils
  File "/usr/local/share/sbackup/sbackup/util/local_file_utils.py", line 42, in <module>
    from sbackup.util import pathparse
  File "/usr/local/share/sbackup/sbackup/util/pathparse.py", line 36, in <module>
    from sbackup.util import system
  File "/usr/local/share/sbackup/sbackup/util/system.py", line 31, in <module>
    import glib
ImportError: No module named glib

There does not seem to be a "glib" module in Python-2.7 or sbackup.

-----

Any ideas?  Or is this package so full of Ubuntu-isms that it cannot be
used on Red Hat?

-- 
You received this question notification because you are a member of
Simple Backup Maintainers, which is an answer contact for Simple Backup.