#12141 HIGH 1.75-so: Some bugs on F17 OLPC 12.1.0 XO-1.75

Zarro Boogs per Child bugtracker at laptop.org
Thu Oct 4 13:52:33 EDT 2012


#12141: Some bugs on F17 OLPC 12.1.0 XO-1.75
--------------------------------------+-------------------------------------
 Reporter:  netsys                    |                 Owner:               
     Type:  defect                    |                Status:  new          
 Priority:  high                      |             Milestone:  1.75-software
Component:  not assigned              |               Version:  not specified
 Keywords:  XO, network, dbus, tools  |           Next_action:  never set    
 Verified:  0                         |   Deployment_affected:               
Blockedby:                            |              Blocking:               
--------------------------------------+-------------------------------------
 Hello all. I have found some errors on some programs.

 ------- After upgrade from YUM, I have problems to connect any Wi-Fi or
 USB tethering devices with NetworkManager ---------

 Yeah, After upgrade all OLPC 12.1.0 software, I have problem when I want
 connect any Wireless Network or USB tethering Android mode. I have to run:

 $ sudo dhclient <any nic device>
 or
 $ su -c "dhclient <any nic device>

 If I want connect a other network, I have to kill dhclient when I am
 connected a new wireless network selected:

 $ sudo killall dhclient

 Wireless device:
 $ sudo dhclient eth0

 or, USB tethering Android device:
 $ sudo dhclient usb0

 I guess is NetworkManager problem... If was a kernel, nic devices is not
 be recognised...

 -------- Wi-cd is not open or execute ---------

 I installed wicd wicd-ncurses and wicd-gtk packages to admin wireless
 network connections... However, some Dbus errors are shown.... and daemon
 cannot execute or run....

 Here is these Dbus error output messages.

 ----
 OUTPUT

 $ sudo wicd-curses
 Cannot connect to daemon, start automatically...
 Traceback (most recent call last):
   File "/usr/share/wicd/curses/wicd-curses.py", line 1052, in <module>
     setup_dbus()
   File "/usr/share/wicd/curses/wicd-curses.py", line 1036, in setup_dbus
     dbus_ifaces = dbusmanager.get_dbus_ifaces()
   File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 35, in
 get_dbus_ifaces
     return DBUS_MANAGER.get_dbus_ifaces()
   File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 61, in
 get_dbus_ifaces
     if not self._dbus_ifaces: connect_to_dbus()
   File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 47, in
 connect_to_dbus
     return DBUS_MANAGER.connect_to_dbus()
   File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 78, in
 connect_to_dbus
     proxy_obj = self._bus.get_object("org.wicd.daemon",
 '/org/wicd/daemon')
   File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in
 get_object
     follow_name_owner_changes=follow_name_owner_changes)
   File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in
 __init__
     self._named_service = conn.activate_name_owner(bus_name)
   File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in
 activate_name_owner
     self.start_service_by_name(bus_name)
   File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in
 start_service_by_name
     'su', (bus_name, flags)))
   File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in
 call_blocking
     message, timeout)
 dbus.exceptions.DBusException: org.freedesktop.systemd1.LoadFailed: Unit
 dbus-org.wicd.daemon.service failed to load: No such file or directory.
 See system logs and 'systemctl status dbus-org.wicd.daemon.service' for
 details.

 [netSys at portable0 ~]$ systemctl status dbus-org.wicd.daemon.service
 dbus-org.wicd.daemon.service
           Loaded: error (Reason: No such file or directory)
           Active: inactive (dead)

 ----

 [netSys at portable0 ~]$ locate wicd
 /etc/wicd
 /etc/acpi/resume.d/80-wicd-connect.sh
 /etc/acpi/suspend.d/50-wicd-suspend.sh
 /etc/dbus-1/system.d/wicd.conf
 /etc/logrotate.d/wicd
 /etc/wicd/dhclient.conf.template.default
 /etc/wicd/encryption
 /etc/wicd/scripts
 /etc/wicd/encryption/templates
 /etc/wicd/encryption/templates/active
 /etc/wicd/encryption/templates/active_wired
 /etc/wicd/encryption/templates/eap
 /etc/wicd/encryption/templates/eap-tls
 /etc/wicd/encryption/templates/leap
 /etc/wicd/encryption/templates/peap
 /etc/wicd/encryption/templates/peap-tkip
 /etc/wicd/encryption/templates/psu
 /etc/wicd/encryption/templates/ttls
 /etc/wicd/encryption/templates/wep-hex
 /etc/wicd/encryption/templates/wep-passphrase
 /etc/wicd/encryption/templates/wep-shared
 /etc/wicd/encryption/templates/wired_8021x
 /etc/wicd/encryption/templates/wpa
 /etc/wicd/encryption/templates/wpa-peap
 /etc/wicd/encryption/templates/wpa-psk
 /etc/wicd/encryption/templates/wpa2-leap
 /etc/wicd/encryption/templates/wpa2-peap
 /etc/wicd/scripts/postconnect
 /etc/wicd/scripts/postdisconnect
 /etc/wicd/scripts/preconnect
 /etc/wicd/scripts/predisconnect
 /etc/xdg/autostart/wicd-tray.desktop
 /usr/bin/wicd-cli
 /usr/bin/wicd-client
 /usr/bin/wicd-curses
 /usr/bin/wicd-gtk
 /usr/lib/pm-utils/sleep.d/55wicd
 /usr/lib/python2.7/site-packages/wicd
 /usr/lib/python2.7/site-packages/wicd-1.7.2.1-py2.7.egg-info
 /usr/lib/python2.7/site-packages/wicd/__init__.py
 /usr/lib/python2.7/site-packages/wicd/__init__.pyc
 /usr/lib/python2.7/site-packages/wicd/__init__.pyo
 /usr/lib/python2.7/site-packages/wicd/backend.py
 /usr/lib/python2.7/site-packages/wicd/backend.pyc
 /usr/lib/python2.7/site-packages/wicd/backend.pyo
 /usr/lib/python2.7/site-packages/wicd/configmanager.py
 /usr/lib/python2.7/site-packages/wicd/configmanager.pyc
 /usr/lib/python2.7/site-packages/wicd/configmanager.pyo
 /usr/lib/python2.7/site-packages/wicd/dbusmanager.py
 /usr/lib/python2.7/site-packages/wicd/dbusmanager.pyc
 /usr/lib/python2.7/site-packages/wicd/dbusmanager.pyo
 /usr/lib/python2.7/site-packages/wicd/logfile.py
 /usr/lib/python2.7/site-packages/wicd/logfile.pyc
 /usr/lib/python2.7/site-packages/wicd/logfile.pyo
 /usr/lib/python2.7/site-packages/wicd/misc.py
 /usr/lib/python2.7/site-packages/wicd/misc.pyc
 /usr/lib/python2.7/site-packages/wicd/misc.pyo
 /usr/lib/python2.7/site-packages/wicd/networking.py
 /usr/lib/python2.7/site-packages/wicd/networking.pyc
 /usr/lib/python2.7/site-packages/wicd/networking.pyo
 /usr/lib/python2.7/site-packages/wicd/translations.py
 /usr/lib/python2.7/site-packages/wicd/translations.pyc
 /usr/lib/python2.7/site-packages/wicd/translations.pyo
 /usr/lib/python2.7/site-packages/wicd/wnettools.py
 /usr/lib/python2.7/site-packages/wicd/wnettools.pyc
 /usr/lib/python2.7/site-packages/wicd/wnettools.pyo
 /usr/lib/python2.7/site-packages/wicd/wpath.py
 /usr/lib/python2.7/site-packages/wicd/wpath.pyc
 /usr/lib/python2.7/site-packages/wicd/wpath.pyo
 /usr/lib/systemd/system/wicd.service
 /usr/sbin/wicd
 /usr/share/wicd
 /usr/share/applications/wicd.desktop
 /usr/share/dbus-1/system-services/org.wicd.daemon.service
 /usr/share/icons/hicolor/128x128/apps/wicd-gtk.png
 /usr/share/icons/hicolor/16x16/apps/wicd-gtk.png
 /usr/share/icons/hicolor/192x192/apps/wicd-gtk.png
 /usr/share/icons/hicolor/22x22/apps/wicd-gtk.png
 /usr/share/icons/hicolor/24x24/apps/wicd-gtk.png
 /usr/share/icons/hicolor/32x32/apps/wicd-gtk.png
 /usr/share/icons/hicolor/36x36/apps/wicd-gtk.png
 /usr/share/icons/hicolor/48x48/apps/wicd-gtk.png
 /usr/share/icons/hicolor/64x64/apps/wicd-gtk.png
 /usr/share/icons/hicolor/72x72/apps/wicd-gtk.png
 /usr/share/icons/hicolor/96x96/apps/wicd-gtk.png
 /usr/share/icons/hicolor/scalable/apps/wicd-gtk.svg
 /usr/share/locale/ar_EG/LC_MESSAGES/wicd.mo
 /usr/share/locale/de/LC_MESSAGES/wicd.mo
 /usr/share/locale/en_CA/LC_MESSAGES/wicd.mo
 /usr/share/locale/en_GB/LC_MESSAGES/wicd.mo
 /usr/share/locale/es/LC_MESSAGES/wicd.mo
 /usr/share/locale/es_AR/LC_MESSAGES/wicd.mo
 /usr/share/locale/es_CL/LC_MESSAGES/wicd.mo
 /usr/share/locale/es_CO/LC_MESSAGES/wicd.mo
 /usr/share/locale/es_GT/LC_MESSAGES/wicd.mo
 /usr/share/locale/es_MX/LC_MESSAGES/wicd.mo
 /usr/share/locale/es_NI/LC_MESSAGES/wicd.mo
 /usr/share/locale/es_VE/LC_MESSAGES/wicd.mo
 /usr/share/locale/fa/LC_MESSAGES/wicd.mo
 /usr/share/locale/fr/LC_MESSAGES/wicd.mo
 /usr/share/locale/fr_CA/LC_MESSAGES/wicd.mo
 /usr/share/locale/pt/LC_MESSAGES/wicd.mo
 /usr/share/locale/pt_BR/LC_MESSAGES/wicd.mo
 /usr/share/locale/zh_CN/LC_MESSAGES/wicd.mo
 /usr/share/locale/zh_HK/LC_MESSAGES/wicd.mo
 /usr/share/locale/zh_TW/LC_MESSAGES/wicd.mo
 /usr/share/pixmaps/wicd
 /usr/share/pixmaps/wicd-gtk.xpm
 /usr/share/pixmaps/wicd/bad-signal-lock.png
 /usr/share/pixmaps/wicd/bad-signal.png
 /usr/share/pixmaps/wicd/both-bad-signal-lock.png
 /usr/share/pixmaps/wicd/both-bad-signal.png
 /usr/share/pixmaps/wicd/both-good-signal-lock.png
 /usr/share/pixmaps/wicd/both-good-signal.png
 /usr/share/pixmaps/wicd/both-high-signal-lock.png
 /usr/share/pixmaps/wicd/both-high-signal.png
 /usr/share/pixmaps/wicd/both-low-signal-lock.png
 /usr/share/pixmaps/wicd/both-low-signal.png
 /usr/share/pixmaps/wicd/good-signal-lock.png
 /usr/share/pixmaps/wicd/good-signal.png
 /usr/share/pixmaps/wicd/high-signal-lock.png
 /usr/share/pixmaps/wicd/high-signal.png
 /usr/share/pixmaps/wicd/idle-bad-signal-lock.png
 /usr/share/pixmaps/wicd/idle-bad-signal.png
 /usr/share/pixmaps/wicd/idle-good-signal-lock.png
 /usr/share/pixmaps/wicd/idle-good-signal.png
 /usr/share/pixmaps/wicd/idle-high-signal-lock.png
 /usr/share/pixmaps/wicd/idle-high-signal.png
 /usr/share/pixmaps/wicd/idle-low-signal-lock.png
 /usr/share/pixmaps/wicd/idle-low-signal.png
 /usr/share/pixmaps/wicd/low-signal-lock.png
 /usr/share/pixmaps/wicd/low-signal.png
 /usr/share/pixmaps/wicd/no-signal.png
 /usr/share/pixmaps/wicd/receiving-bad-signal-lock.png
 /usr/share/pixmaps/wicd/receiving-bad-signal.png
 /usr/share/pixmaps/wicd/receiving-good-signal-lock.png
 /usr/share/pixmaps/wicd/receiving-good-signal.png
 /usr/share/pixmaps/wicd/receiving-high-signal-lock.png
 /usr/share/pixmaps/wicd/receiving-high-signal.png
 /usr/share/pixmaps/wicd/receiving-low-signal-lock.png
 /usr/share/pixmaps/wicd/receiving-low-signal.png
 /usr/share/pixmaps/wicd/signal-100.png
 /usr/share/pixmaps/wicd/signal-25.png
 /usr/share/pixmaps/wicd/signal-50.png
 /usr/share/pixmaps/wicd/signal-75.png
 /usr/share/pixmaps/wicd/transmitting-bad-signal-lock.png
 /usr/share/pixmaps/wicd/transmitting-bad-signal.png
 /usr/share/pixmaps/wicd/transmitting-good-signal-lock.png
 /usr/share/pixmaps/wicd/transmitting-good-signal.png
 /usr/share/pixmaps/wicd/transmitting-high-signal-lock.png
 /usr/share/pixmaps/wicd/transmitting-high-signal.png
 /usr/share/pixmaps/wicd/transmitting-low-signal-lock.png
 /usr/share/pixmaps/wicd/transmitting-low-signal.png
 /usr/share/pixmaps/wicd/wired-gui.svg
 /usr/share/pixmaps/wicd/wired.png
 /usr/share/wicd/backends
 /usr/share/wicd/cli
 /usr/share/wicd/curses
 /usr/share/wicd/daemon
 /usr/share/wicd/gtk
 /usr/share/wicd/backends/be-external.py
 /usr/share/wicd/backends/be-external.pyc
 /usr/share/wicd/backends/be-external.pyo
 /usr/share/wicd/backends/be-ioctl.py
 /usr/share/wicd/backends/be-ioctl.pyc
 /usr/share/wicd/backends/be-ioctl.pyo
 /usr/share/wicd/cli/wicd-cli.py
 /usr/share/wicd/cli/wicd-cli.pyc
 /usr/share/wicd/cli/wicd-cli.pyo
 /usr/share/wicd/curses/configscript_curses.py
 /usr/share/wicd/curses/configscript_curses.pyc
 /usr/share/wicd/curses/configscript_curses.pyo
 /usr/share/wicd/curses/curses_misc.py
 /usr/share/wicd/curses/curses_misc.pyc
 /usr/share/wicd/curses/curses_misc.pyo
 /usr/share/wicd/curses/netentry_curses.py
 /usr/share/wicd/curses/netentry_curses.pyc
 /usr/share/wicd/curses/netentry_curses.pyo
 /usr/share/wicd/curses/prefs_curses.py
 /usr/share/wicd/curses/prefs_curses.pyc
 /usr/share/wicd/curses/prefs_curses.pyo
 /usr/share/wicd/curses/wicd-curses.py
 /usr/share/wicd/curses/wicd-curses.pyc
 /usr/share/wicd/curses/wicd-curses.pyo
 /usr/share/wicd/daemon/autoconnect.py
 /usr/share/wicd/daemon/autoconnect.pyc
 /usr/share/wicd/daemon/autoconnect.pyo
 /usr/share/wicd/daemon/monitor.py
 /usr/share/wicd/daemon/monitor.pyc
 /usr/share/wicd/daemon/monitor.pyo
 /usr/share/wicd/daemon/suspend.py
 /usr/share/wicd/daemon/suspend.pyc
 /usr/share/wicd/daemon/suspend.pyo
 /usr/share/wicd/daemon/wicd-daemon.py
 /usr/share/wicd/daemon/wicd-daemon.pyc
 /usr/share/wicd/daemon/wicd-daemon.pyo
 /usr/share/wicd/gtk/configscript.py
 /usr/share/wicd/gtk/configscript.pyc
 /usr/share/wicd/gtk/configscript.pyo
 /usr/share/wicd/gtk/gui.py
 /usr/share/wicd/gtk/gui.pyc
 /usr/share/wicd/gtk/gui.pyo
 /usr/share/wicd/gtk/guiutil.py
 /usr/share/wicd/gtk/guiutil.pyc
 /usr/share/wicd/gtk/guiutil.pyo
 /usr/share/wicd/gtk/netentry.py
 /usr/share/wicd/gtk/netentry.pyc
 /usr/share/wicd/gtk/netentry.pyo
 /usr/share/wicd/gtk/prefs.py
 /usr/share/wicd/gtk/prefs.pyc
 /usr/share/wicd/gtk/prefs.pyo
 /usr/share/wicd/gtk/wicd-client.py
 /usr/share/wicd/gtk/wicd-client.pyc
 /usr/share/wicd/gtk/wicd-client.pyo
 /usr/share/wicd/gtk/wicd.ui
 /var/lib/wicd
 /var/lib/wicd/configurations
 [netSys at portable0 ~]$

 ----

 ----------- Cannot enable iptables firewall ---------------

 I want to set up, firewall with system-config-firewall tool to protect my
 XO on public wireless network where a lot users are using your laptops,
 smartphones...et and avoid data package spy.

 Install system-config-firewall tool, open it, modify any change, try
 enable it.
 Error:

 Redirecting to /bin/systemctl stop  iptables.service
 Redirecting to /bin/systemctl stop  ip6tables.service
 Redirecting to /bin/systemctl start  iptables.service
 Job failed. See system journal and “systemctl status” for details.
 Redirecting to /bin/systemctl start  ip6tables.service
 Job failed. See system journal and “systemctl status” for details.
 Failed start iptables
 Failed start ip6tables

 s-c-f version: 1.2.29


 ----

 -------- Fail to start s-c-audit program ------

 Yup, I have installed it on my XO. However, I have this problem when I try
 to run it.

 # system-config-audit
 Traceback (most recent call last):
   File «/usr/share/system-config-audit/main.py», line 27, in <module>
     from main_window import MainWindow
   File «/usr/share/system-config-audit/main_window.py», line 25, in
 <module>
     from config import Config
   File «/usr/share/system-config-audit/config.py», line 18, in <module>
     from auditd_config import AuditdConfig

 File «/usr/share/system-config-audit/auditd_config.py», line 22, in
 <module>
     import util
   File «/usr/share/system-config-audit/util.py», line 38, in <module>
     audit_machine_id = audit.audit_detect_machine()
 OSError: [Errno 2] no such file or directory

 s-c-audit version: 0.4.20

 ----

 s-c-kdump tool error:

 I have installed s-c-kdump tool too. Some error messages are shown:
 1º Output:
 Cannot possible to connect dbus.
 org.freedesktop.DBus.Python.OSError: Traceback (most recent call last):
   File «/usr/lib/python2.7/site-packages/slip/dbus/service.py», line 123,
 in reply_handler
     result = method(self, *p, **k)
   File «/usr/share/system-config-kdump/system-config-kdump-backend.py»,
 line 46, in getdefaultkernel
     (cmd, retcode, std, err) = self.gtkcall(GRUBBY_CMD, «--default-
 kernel»)
   File «/usr/share/system-config-kdump/system-config-kdump-backend.py»,
 line 181, in gtkcall
     stderr = subprocess.PIPE)
   File «/usr/lib/python2.7/subprocess.py», line 679, in __init__
     errread, errwrite)
   File «/usr/lib/python2.7/subprocess.py», line 1249, in _execute_child
     raise child_exception
 OSError: [Errno 2] No such file or directory

 2º Output
 Not possible get kernel default




 3º Output

 Cannot possible connect to org.freedesktop.DBus.Python.OSError: Traceback
 (most recent call last):
   File «/usr/lib/python2.7/site-packages/slip/dbus/service.py», line 123,
 in reply_handler
     result = method(self, *p, **k)
   File «/usr/share/system-config-kdump/system-config-kdump-backend.py»,
 line 70, in getcmdline
     (cmd, retcode, std, err) = self.gtkcall(GRUBBY_CMD, «--info», kernel)
   File «/usr/share/system-config-kdump/system-config-kdump-backend.py»,
 line 181, in gtkcall
     stderr = subprocess.PIPE)
   File «/usr/lib/python2.7/subprocess.py», line 679, in __init__
     errread, errwrite)
   File «/usr/lib/python2.7/subprocess.py», line 1249, in _execute_child
     raise child_exception
 OSError: [Errno 2] No such file or directory

 4º Output

 Not possible get kernel arguments

 5º Output

 Cannot connect to org.freedesktop.DBus.Python.OSError: Traceback (most
 recent call last):
   File «/usr/lib/python2.7/site-packages/slip/dbus/service.py», line 123,
 in reply_handler
     result = method(self, *p, **k)
   File «/usr/share/system-config-kdump/system-config-kdump-backend.py»,
 line 98, in getallkernels
     return self.gtkcall(GRUBBY_CMD, «--info», «ALL»)
   File «/usr/share/system-config-kdump/system-config-kdump-backend.py»,
 line 181, in gtkcall
     stderr = subprocess.PIPE)
   File «/usr/lib/python2.7/subprocess.py», line 679, in __init__
     errread, errwrite)
   File «/usr/lib/python2.7/subprocess.py», line 1249, in _execute_child
     raise child_exception
 OSError: [Errno 2] No such file or directory

 5º Output message

 Is not possible get all kernel names

 6º Output message

 No way to determine as setup boot manager

 s-c-kdump version: 2.0.8


 ----

-- 
Ticket URL: <http://dev.laptop.org/ticket/12141>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list