Needs testing in -proposed: systemd 208

Bug #1346199 reported by Martin Pitt
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

I just uploaded systemd 208-6ubuntu1 to utopic-proposed, which makes use of the new cgmanager-enabled systemd-shim. This bug prevents this new version to migrate to utopic until we get more confirmation that this doesn't regress udev/logind.

I already tested this in a clean utopic VM, upgrade and fresh install on my Utopic amd64 workstation, and manually built armhf binaries (from an intermediate 208 version) on the current Ubuntu Touch image.

TODO:

 * pitti: re-test Ubuntu Touch with the actual binaries from -proposed -- DONE
 * stgraber: confirm that this works well with system/user containers -- DONE; works under upstart, fails under systemd, filed as bug 1346734

Martin Pitt (pitti)
Changed in systemd (Ubuntu):
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

I installed the proposed version on current Phone image 141, and tested reboot, dialer, bluetooth pairing with a headset, battery indicator reaction to plug/unplug, autopilot tests for calculator app, /dev automatic ACLs, loginctl, and udevadm. All work fine.

Revision history for this message
Martin Pitt (pitti) wrote :

I tested this in a system-level container with -proposed enabled, i. e. systemd/logind 208 with shim and cgmanager on both the host and the container. loginctl, udev, proc/self/cgroup etc. all look fine.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Now reboo!!!!

================================================================
Se actualizarán los siguientes paquetes:
  libpam-systemd libsystemd-daemon0 libsystemd-journal0 libsystemd-login0 systemd
5 paquetes actualizados, 0 nuevos instalados, 0 para eliminar y 182 sin actualizar.
Necesito descargar 1.404 kB de archivos. Después de desempaquetar se usarán 785 kB.
¿Quiere continuar? [Y/n/?]
Des: 1 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libpam-systemd amd64 208-6ubuntu1 [22,6 kB]
Des: 2 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main systemd amd64 208-6ubuntu1 [1.289 kB]
Des: 3 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libsystemd-daemon0 amd64 208-6ubuntu1 [11,4 kB]
Des: 4 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libsystemd-journal0 amd64 208-6ubuntu1 [53,8 kB]
Des: 5 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libsystemd-login0 amd64 208-6ubuntu1 [27,0 kB]
Descargados 1.404 kB en 60seg. (23,2 kB/s)
(Leyendo la base de datos ... 258047 ficheros o directorios instalados actualmente.)
Preparing to unpack .../libpam-systemd_208-6ubuntu1_amd64.deb ...
Unpacking libpam-systemd:amd64 (208-6ubuntu1) over (204-14ubuntu2) ...
Preparing to unpack .../systemd_208-6ubuntu1_amd64.deb ...
Unpacking systemd (208-6ubuntu1) over (204-14ubuntu2) ...
Preparing to unpack .../libsystemd-daemon0_208-6ubuntu1_amd64.deb ...
Unpacking libsystemd-daemon0:amd64 (208-6ubuntu1) over (204-14ubuntu2) ...
Preparing to unpack .../libsystemd-journal0_208-6ubuntu1_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (208-6ubuntu1) over (204-14ubuntu2) ...
Preparing to unpack .../libsystemd-login0_208-6ubuntu1_amd64.deb ...
Unpacking libsystemd-login0:amd64 (208-6ubuntu1) over (204-14ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Configurando libsystemd-daemon0:amd64 (208-6ubuntu1) ...
Configurando libsystemd-journal0:amd64 (208-6ubuntu1) ...
Configurando libsystemd-login0:amd64 (208-6ubuntu1) ...
Configurando systemd (208-6ubuntu1) ...
Instalando una nueva versión del fichero de configuración /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ...
Instalando una nueva versión del fichero de configuración /etc/dbus-1/system.d/org.freedesktop.login1.conf ...
Instalando una nueva versión del fichero de configuración /etc/systemd/system.conf ...
Instalando una nueva versión del fichero de configuración /etc/systemd/journald.conf ...
Instalando una nueva versión del fichero de configuración /etc/systemd/logind.conf ...
Instalando una nueva versión del fichero de configuración /etc/systemd/user.conf ...
Configurando libpam-systemd:amd64 (208-6ubuntu1) ...
Processing triggers for libc-bin (2.19-4ubuntu1) ...

Estado actual: 182 actualizaciones [-5].

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Update others packages

====================================================

$ sudo aptitude install libsystemd-login0 libsystemd-login0:i386 libsystemd-login-dev libsystemd-login-dev:i386
Se instalarán los siguiente paquetes NUEVOS:
  libsystemd-login-dev libsystemd-login-dev:i386 libsystemd-login0:i386
0 paquetes actualizados, 3 nuevos instalados, 0 para eliminar y 182 sin actualizar.
Necesito descargar 63,2 kB de archivos. Después de desempaquetar se usarán 315 kB.
Des: 1 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libsystemd-login0 i386 208-6ubuntu1 [27,1 kB]
Des: 2 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libsystemd-login-dev amd64 208-6ubuntu1 [18,1 kB]
Des: 3 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libsystemd-login-dev i386 208-6ubuntu1 [18,0 kB]
Descargados 63,2 kB en 2seg. (28,5 kB/s)
Seleccionando el paquete libsystemd-login0:i386 previamente no seleccionado.
(Leyendo la base de datos ... 258109 ficheros o directorios instalados actualmente.)
Preparing to unpack .../libsystemd-login0_208-6ubuntu1_i386.deb ...
Unpacking libsystemd-login0:i386 (208-6ubuntu1) ...
Seleccionando el paquete libsystemd-login-dev:amd64 previamente no seleccionado.
Preparing to unpack .../libsystemd-login-dev_208-6ubuntu1_amd64.deb ...
Unpacking libsystemd-login-dev:amd64 (208-6ubuntu1) ...
Seleccionando el paquete libsystemd-login-dev:i386 previamente no seleccionado.
Preparing to unpack .../libsystemd-login-dev_208-6ubuntu1_i386.deb ...
Unpacking libsystemd-login-dev:i386 (208-6ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Configurando libsystemd-login0:i386 (208-6ubuntu1) ...
Configurando libsystemd-login-dev:amd64 (208-6ubuntu1) ...
Configurando libsystemd-login-dev:i386 (208-6ubuntu1) ...
Processing triggers for libc-bin (2.19-4ubuntu1) ...

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

[ 16.972759] systemd-logind[1097]: Failed to start unit user@1000.service: Unknown unit: user@1000.service
[ 16.972770] systemd-logind[1097]: Failed to start user service: Unknown unit: user@1000.service
[ 16.974828] systemd-logind[1097]: New session c2 of user caravena.
[ 16.974874] systemd-logind[1097]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-display.
[ 17.319489] systemd-logind[1097]: Failed to abandon scope session-c1.scope
[ 17.319507] systemd-logind[1097]: Failed to abandon session scope: No such interface 'org.freedesktop.systemd1.Scope' on object at path /org/freedesktop/systemd1/unit/session_2dc1_2escope
[ 45.272413] systemd-logind[1097]: New session c3 of user caravena.
[ 62.765295] show_signal_msg: 45 callbacks suppressed
[ 62.765302] pool[2976]: segfault at ffffffffcc0b42b0 ip 00007fcbe7b2ee13 sp 00007fcbe2f39010 error 5 in libc-2.19.so[7fcbe7ae3000+1bc000]

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

$ LANGUAGE=C sudo aptitude install udev
The following packages will be upgraded:
  libudev1 libudev1:i386 udev
3 packages upgraded, 0 newly installed, 0 to remove and 179 not upgraded.
Need to get 868 kB of archives. After unpacking 766 kB will be used.
Do you want to continue? [Y/n/?]
Get: 1 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main udev amd64 208-6ubuntu1 [797 kB]
Get: 2 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libudev1 i386 208-6ubuntu1 [36,2 kB]
Get: 3 http://archive.ubuntu.com/ubuntu/ utopic-proposed/main libudev1 amd64 208-6ubuntu1 [35,3 kB]
Fetched 868 kB in 17s (48,4 kB/s)
(Reading database ... 258158 files and directories currently installed.)
Preparing to unpack .../udev_208-6ubuntu1_amd64.deb ...
Unpacking udev (208-6ubuntu1) over (204-14ubuntu2) ...
Preparing to unpack .../libudev1_208-6ubuntu1_i386.deb ...
De-configuring libudev1:amd64 (204-14ubuntu2) ...
Unpacking libudev1:i386 (208-6ubuntu1) over (204-14ubuntu2) ...
Preparing to unpack .../libudev1_208-6ubuntu1_amd64.deb ...
Unpacking libudev1:amd64 (208-6ubuntu1) over (204-14ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libudev1:amd64 (208-6ubuntu1) ...
Setting up libudev1:i386 (208-6ubuntu1) ...
Setting up udev (208-6ubuntu1) ...
Installing new version of config file /etc/init/udev-finish.conf ...
udev stop/waiting
udev start/running, process 4464
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match udev Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match udev Default-Stop values (none)
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match udev-finish Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match udev-finish Default-Stop values (none)
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match lvm2 Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match lvm2 Default-Stop values (none)
Processing triggers for libc-bin (2.19-4ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for initramfs-tools (0.103ubuntu7) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-031600rc6-generic

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Othes package?

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Cristian; these are indeed the important packages, so please disable the utopic-proposed apt source again to avoid running into troubles. Is your system still working fine? I tested utopic with both systemd and upstart as pid1, but more testing can never hurt of course (especially with different hardware).

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

oummmm

Work fine my Ubuntu Utopic :D

Revision history for this message
Harry (harry33) wrote :

The new systemd (208-6ubuntu1) works fine on my setup:
fully updated Utopic (amd64) with nvidia proprietary drivers.
I tested this with systemd booting.

Revision history for this message
Anders Kaseorg (andersk) wrote :

Works fine for me when booted via systemd.

When booted via Upstart, gdm shows no users to log in as, and no “Not listed?” link, so I can’t log in graphically. /var/log/gdm/:0-greeter.log has these errors:

"""
gnome-session[1854]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
gnome-session[1854]: WARNING: Could not parse desktop file orca-autostart.desktop or it references a not found TryExec binary

(gnome-settings-daemon:1954): media-keys-plugin-WARNING **: Unable to inhibit keypresses: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Operation not permitted

(gnome-settings-daemon:1954): color-plugin-WARNING **: failed to create device: failed to obtain org.freedesktop.color-manager.create-device auth

(gnome-settings-daemon:1954): color-plugin-WARNING **: failed to obtain org.freedesktop.color-manager.create-profile auth

(gnome-settings-daemon:1954): AccountsService-WARNING **: SetInputSources call failed: GDBus.Error:org.freedesktop.Accounts.Error.PermissionDenied: Not authorized

(gnome-settings-daemon:1954): AccountsService-WARNING **: SetInputSources call failed: GDBus.Error:org.freedesktop.Accounts.Error.PermissionDenied: Not authorized
Gjs-Message: JS LOG: Failed to register AuthenticationAgent
Gjs-Message: JS LOG: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
Gjs-Message: JS LOG: GNOME Shell started at Mon Jul 21 2014 23:00:29 GMT-0400 (EDT)

(gnome-shell:2211): Gjs-WARNING **: JS ERROR: Exception in callback for signal: startup-prepared: GLib.Error gdm_display_error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gdm_5fdisplay_5ferror.Code2: Error getting session id from systemd: No such file or directory

(gnome-shell:2211): Gjs-WARNING **: JS ERROR: could not get remote objects for service org.gnome.SettingsDaemon.Smartcard path /org/gnome/SettingsDaemon/Smartcard: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon.Smartcard was not provided by any .service files
_proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:83

Window manager warning: Log level 16: /build/buildd/glib2.0-2.41.1/./gobject/gsignal.c:3102: signal id '504' is invalid for instance '0x3473630'
"""

Restarting gdm makes it work again.

Revision history for this message
Martin Pitt (pitti) wrote :

Anders: When you boot with upstart, can you please attach /var/log/auth.log after booting? I'm not sure why restarting gdm would work, but maybe there's a libpam_systemd error message in there?

If you try and log into VT1 right after boot, does that work? I. e. do you see a session for that in "loginctl"? (You can inspect a particular session with e. g. loginctl show-session c2)

Martin Pitt (pitti)
description: updated
Revision history for this message
Cavsfan (cavsfan) wrote :

I enabled Pre-Release updates and got just the following:
libpam-systemd (version 204-14ubuntu2) will be upgraded to version 208-6ubuntu2
libsystemd-daemon0 (version 204-14ubuntu2) will be upgraded to version 208-6ubuntu2
libsystemd-journal0 (version 204-14ubuntu2) will be upgraded to version 208-6ubuntu2
libsystemd-login0 (version 204-14ubuntu2) will be upgraded to version 208-6ubuntu2
systemd (version 204-14ubuntu2) will be upgraded to version 208-6ubuntu2

I then disabled Pre-Release updates. I'll reboot with systemd and see if it works.

Revision history for this message
Cavsfan (cavsfan) wrote :

208-6ubuntu2 fixed my system. I rebooted with systemd and am up and running fine.

Martin Pitt (pitti)
Changed in systemd (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

I believe this has been sufficiently tested now. We are out of traincon-0 for the touch images too, so let's unleash this.

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Marcos Alano (mhalano) wrote :

A error reported by Cristian is driving me crazy:
[ 16.972759] systemd-logind[1097]: Failed to start unit user@1000.service: Unknown unit: user@1000.service
[ 16.972770] systemd-logind[1097]: Failed to start user service: Unknown unit: user@1000.service

Any ideas? I use Utopic.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.