Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322805 - net-misc/networkmanager-0.8-r1: dbus needs to be restarted after updating from older version, not only the first time
Summary: net-misc/networkmanager-0.8-r1: dbus needs to be restarted after updating fro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robert Piasek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 23:53 UTC by Pacho Ramos
Modified: 2010-07-07 17:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2010-06-04 23:53:59 UTC
Currently, ebuild states the following:

pkg_postinst() {
        elog "You will need to restart DBUS if this is your first time"
        elog "installing NetworkManager."
        elog ""
}

But seems that it's always required after updating from older versions, otherwise, I get the following error when trying to restart Networkmanager init.d script to get new version running (over old 0.7.2 one):

Jun  5 01:46:19 belkin3 NetworkManager: <info>  starting...
Jun  5 01:46:19 belkin3 NetworkManager: <info>  Trying to start the modem-manager...
Jun  5 01:46:19 belkin3 NetworkManager: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Jun  5 01:46:19 belkin3 NetworkManager: <info>  Found wlan radio killswitch rfkill0 (at /sys/devices/pci0000:00/0000:00:1c.1/0000:0c:00.0/ieee80211/phy0/rfkill0) (driver <unknown>)
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Longcheer
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Novatel
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Nokia
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Gobi
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Option
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Sierra
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Generic
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin MotoC
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Option High-Speed
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Ericsson MBM
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin Huawei
Jun  5 01:46:19 belkin3 modem-manager: Loaded plugin ZTE
Jun  5 01:46:19 belkin3 NetworkManager: Could not acquire the NetworkManagerSystemSettings service as it is already taken.
Jun  5 01:46:19 belkin3 NetworkManager: <WARN>  main(): Failed to start the dbus service.
Jun  5 01:46:19 belkin3 NetworkManager: <info>  exiting (error)

Simply restarting dbus solves this, then, please modify postinst message to reflect that

Thanks

Reproducible: Always




# emerge --info networkmanager
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-tuxonice-r6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-tuxonice-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 04 Jun 2010 21:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests autoaddcvs ccache cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test test-fail-continue unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups cxx daap dbus dell djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif git glitz gnome gnome-keyring gpm gstreamer gtk hal iconv ieee1394 imagemagick ipod java jpeg kdehiddenvisibility kpathsea lame laptop latex lcms libnotify lm_sensors lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron networkmanager nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs t1lib tcpd threads tiff truetype unicode usb v4l2 vcd vdpau vorbis webkit wifi x264 xattr xcb xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-misc/networkmanager-0.8-r1 was built with the following:
USE="avahi bluetooth (multilib) test -connection-sharing -dhclient -dhcpcd -doc -gnutls -nss -resolvconf"
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-07-07 17:54:32 UTC
I've fixed this w/o a bump in 0.8 and 0.8-r1. Thanks for reporting!