[Risolto] Spegnimento lento?

Ho notato questa cosa…non so se è normale.
Quando do il comando di spegnimento appare il logo fedora, se premo esc appaiono delle belle scritte e mi trovo

A stop job is running for Session 1 of user eirix (xxx s / 1min30s)

Apparentemente non sta facendo nulla. Finito il conto alla rovescia prosegue con lo spegnimento che si conclude di lì a poco.

È normale?

Che ci sia quel messaggio, sì, che sia necessario attendere sempre 90 secondi un po’ meno. Magari # journalctl -ax -b -1 | tail -100 al riavvio successivo può mostrare qualcosa.

ehm…boh

questo è il log incriminato dal portatile.

[code][root@navi eirix]# journalctl -ax -b -1 | tail -100
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit home.mount has finished shutting down.
Mar 20 22:23:05 navi systemd[1]: Reached target Unmount All Filesystems.
– Subject: Unit umount.target has finished start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit umount.target has finished starting up.

– The start-up result is done.
Mar 20 22:23:05 navi systemd[1]: Starting Unmount All Filesystems.
– Subject: Unit umount.target has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit umount.target has begun starting up.
Mar 20 22:23:05 navi systemd[1]: Stopped target Local File Systems (Pre).
– Subject: Unit local-fs-pre.target has finished shutting down
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit local-fs-pre.target has finished shutting down.
Mar 20 22:23:05 navi kernel: audit: type=1131 audit(1458508985.705:578): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=‘unit=systemd-remount-fs comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
Mar 20 22:23:05 navi systemd[1]: Stopping Local File Systems (Pre).
– Subject: Unit local-fs-pre.target has begun shutting down
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit local-fs-pre.target has begun shutting down.
Mar 20 22:23:05 navi audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=‘unit=systemd-remount-fs comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
Mar 20 22:23:05 navi systemd[1]: Stopped Remount Root and Kernel File Systems.
– Subject: Unit systemd-remount-fs.service has finished shutting down
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit systemd-remount-fs.service has finished shutting down.
Mar 20 22:23:05 navi kernel: audit: type=1131 audit(1458508985.706:579): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=‘unit=systemd-tmpfiles-setup-dev comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
Mar 20 22:23:05 navi audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=‘unit=systemd-tmpfiles-setup-dev comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
Mar 20 22:23:05 navi systemd[1]: Stopping Remount Root and Kernel File Systems…
– Subject: Unit systemd-remount-fs.service has begun shutting down
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit systemd-remount-fs.service has begun shutting down.
Mar 20 22:23:05 navi systemd[1]: Stopped Create Static Device Nodes in /dev.
– Subject: Unit systemd-tmpfiles-setup-dev.service has finished shutting down
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit systemd-tmpfiles-setup-dev.service has finished shutting down.
Mar 20 22:23:05 navi systemd[1]: Stopping Create Static Device Nodes in /dev…
– Subject: Unit systemd-tmpfiles-setup-dev.service has begun shutting down
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit systemd-tmpfiles-setup-dev.service has begun shutting down.
Mar 20 22:23:05 navi systemd[1]: Reached target Shutdown.
– Subject: Unit shutdown.target has finished start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit shutdown.target has finished starting up.

– The start-up result is done.
Mar 20 22:23:05 navi systemd[1]: Starting Shutdown.
– Subject: Unit shutdown.target has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit shutdown.target has begun starting up.
Mar 20 22:23:05 navi systemd[1]: Reached target Final Step.
– Subject: Unit final.target has finished start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit final.target has finished starting up.

– The start-up result is done.
Mar 20 22:23:05 navi systemd[1]: Starting Final Step.
– Subject: Unit final.target has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit final.target has begun starting up.
Mar 20 22:23:05 navi systemd[1]: Starting Power-Off…
– Subject: Unit systemd-poweroff.service has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit systemd-poweroff.service has begun starting up.
Mar 20 22:23:05 navi systemd[1]: Shutting down.
Mar 20 22:23:05 navi systemd-shutdown[1]: Sending SIGTERM to remaining processes…
Mar 20 22:23:05 navi systemd-journal[556]: Journal stopped
– Subject: The journal has been stopped
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– The system journal process has shut down and closed all currently
– active journal files.
[/code]

Comunque non è normale. Il fisso ci mette attorno ai 3 secondi per spegnersi. Magari posto anche quello per vedere se ci sono delle differenze? Mi ero posto il dubbio perché era successa la stessa cosa anche col fisso, ma è stata un’eccezione.

Mmh. Magari dai un

# systemctl list-units > ~/list.txt prima del poweroff; se il poweroff è problematico, al riavvio magari controlla

[code]# cat ~/list.txt

journalctl -ax -b -1 -p 3

x=$(awk -F: ‘{if ($3 >= 1000 && $3 < 2000) { print $3 } }’ /etc/passwd) ; for i in ${x@]} ; do journalctl -a -b -1 -u user@"$i".service ; done[/code]

Hai presente quando ti si spegne il computer giusto un un attimo prima di premere il tasto “invia” :grrr:

Ad ogni modo, a voi.

[code][root@navi ~]# cat list.txt
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:01.0-0000:01:00.0-backlight-acpi_video0.device loaded active plugged /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0
sys-devices-pci0000:00-0000:00:01.0-0000:01:00.0-hwmon-hwmon1.device loaded active plugged /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1
sys-devices-pci0000:00-0000:00:1a.7-usb1-1\x2d3-1\x2d3:1.0-host6-target6:0:0-6:0:0:0-block-sdb.device loaded active plugged Multi-Card
sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active plugged 82801I (ICH9 Family) HD Audio Controller
sys-devices-pci0000:00-0000:00:1c.0-0000:02:00.0-net-enp2s0.device loaded active plugged RTL8101E/RTL8102E PCI Express Fast Ethernet controller
sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-ieee80211-phy0-rfkill1.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill1
sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-net-wlp3s0.device loaded active plugged AR242x / AR542x Wireless Network Adapter (PCI-Express)
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged Hitachi_HTS543216L9A300 1
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged Hitachi_HTS543216L9A300 PRESARIO_RP
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device loaded active plugged Hitachi_HTS543216L9A300 3
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda4.device loaded active plugged Hitachi_HTS543216L9A300 4
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda5.device loaded active plugged LVM PV Lo2tsw-l2hw-B54J-RFHn-Na7d-Kl8s-6mqJPm on /dev/sda5 5
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged Hitachi_HTS543216L9A300
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sr0.device loaded active plugged TSSTcorp_CDDVDW_TS-L633L
sys-devices-platform-coretemp.0-hwmon-hwmon2.device loaded active plugged /sys/devices/platform/coretemp.0/hwmon/hwmon2
sys-devices-platform-hp\x2dwmi-rfkill-rfkill0.device loaded active plugged /sys/devices/platform/hp-wmi/rfkill/rfkill0
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS10.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS10
sys-devices-platform-serial8250-tty-ttyS11.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS11
sys-devices-platform-serial8250-tty-ttyS12.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS12
sys-devices-platform-serial8250-tty-ttyS13.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS13
sys-devices-platform-serial8250-tty-ttyS14.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS14
sys-devices-platform-serial8250-tty-ttyS15.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS15
sys-devices-platform-serial8250-tty-ttyS16.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS16
sys-devices-platform-serial8250-tty-ttyS17.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS17
sys-devices-platform-serial8250-tty-ttyS18.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS18
sys-devices-platform-serial8250-tty-ttyS19.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS19
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS20.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS20
sys-devices-platform-serial8250-tty-ttyS21.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS21
sys-devices-platform-serial8250-tty-ttyS22.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS22
sys-devices-platform-serial8250-tty-ttyS23.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS23
sys-devices-platform-serial8250-tty-ttyS24.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS24
sys-devices-platform-serial8250-tty-ttyS25.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS25
sys-devices-platform-serial8250-tty-ttyS26.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS26
sys-devices-platform-serial8250-tty-ttyS27.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS27
sys-devices-platform-serial8250-tty-ttyS28.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS28
sys-devices-platform-serial8250-tty-ttyS29.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS29
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-devices-platform-serial8250-tty-ttyS30.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS30
sys-devices-platform-serial8250-tty-ttyS31.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS31
sys-devices-platform-serial8250-tty-ttyS4.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS4
sys-devices-platform-serial8250-tty-ttyS5.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS5
sys-devices-platform-serial8250-tty-ttyS6.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS6
sys-devices-platform-serial8250-tty-ttyS7.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS7
sys-devices-platform-serial8250-tty-ttyS8.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS8
sys-devices-platform-serial8250-tty-ttyS9.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS9
sys-devices-virtual-block-dm\x2d0.device loaded active plugged /sys/devices/virtual/block/dm-0
sys-devices-virtual-block-dm\x2d1.device loaded active plugged /sys/devices/virtual/block/dm-1
sys-devices-virtual-block-dm\x2d2.device loaded active plugged /sys/devices/virtual/block/dm-2
sys-devices-virtual-hwmon-hwmon0.device loaded active plugged /sys/devices/virtual/hwmon/hwmon0
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-net-devices-enp2s0.device loaded active plugged RTL8101E/RTL8102E PCI Express Fast Ethernet controller
sys-subsystem-net-devices-wlp3s0.device loaded active plugged AR242x / AR542x Wireless Network Adapter (PCI-Express)
sys-subsystem-rfkill-devices-rfkill0.device loaded active plugged /sys/subsystem/rfkill/devices/rfkill0
sys-subsystem-rfkill-devices-rfkill1.device loaded active plugged /sys/subsystem/rfkill/devices/rfkill1
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home.mount loaded active mounted /home
proc-fs-nfsd.mount loaded active mounted NFSD configuration filesystem
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
run-user-1000.mount loaded active mounted /run/user/1000
run-user-42.mount loaded active mounted /run/user/42
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
var-lib-nfs-rpc_pipefs.mount loaded active mounted RPC Pipe File System
cups.path loaded active waiting CUPS Scheduler
systemd-ask-password-plymouth.path loaded active waiting Forward Password Requests to Plymouth Directory Watch
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
session-1.scope loaded active running Session 1 of user eirix
session-c1.scope loaded active running Session c1 of user gdm
abrt-ccpp.service loaded active exited Install ABRT coredump hook
abrt-oops.service loaded active running ABRT kernel log watcher
abrt-xorg.service loaded active running ABRT Xorg log watcher
abrtd.service loaded active running ABRT Automated Bug Reporting Tool
accounts-daemon.service loaded active running Accounts Service
alsa-state.service loaded active running Manage Sound Card State (restore and store)
atd.service loaded active running Job spooling tools
auditd.service loaded active running Security Auditing Service
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
chronyd.service loaded active running NTP client/server
colord.service loaded active running Manage, Install and Generate Color Profiles
crond.service loaded active running Command Scheduler
cups.service loaded active running CUPS Scheduler
dbus.service loaded active running D-Bus System Message Bus
dracut-shutdown.service loaded active exited Restore /run/initramfs on shutdown
fedora-import-state.service loaded active exited Import network configuration from initramfs
fedora-readonly.service loaded active exited Configure read-only root support
gdm.service loaded active running GNOME Display Manager
geoclue.service loaded active running Location Lookup Service
gssproxy.service loaded active running GSSAPI Proxy Daemon
iscsi-shutdown.service loaded active exited Logout off all iSCSI sessions on shutdown
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
lvm2-lvmetad.service loaded active running LVM2 metadata daemon
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
lvm2-pvscan@8:5.service loaded active exited LVM2 PV scan on device 8:5
mcelog.service loaded active running Machine Check Exception Logging Daemon
ModemManager.service loaded active running Modem Manager
NetworkManager.service loaded active running Network Manager
nfs-config.service loaded active exited Preprocess NFS configuration
packagekit.service loaded active running PackageKit Daemon
polkit.service loaded active running Authorization Manager
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight:acpi_video0
systemd-fsck-root.service loaded active exited File System Check on Root Device
systemd-fsck@dev-disk-by\x2duuid-4d14ea17\x2df85e\x2d43c3\x2d8045\x2db07f5b9f0fe3.service loaded active exited File System Check on /dev/disk/by-uuid/4d14ea17-f85e-43c3-8045-b07f5b9f0fe3
systemd-fsck@dev-mapper-fedora\x2dhome.service loaded active exited File System Check on /dev/mapper/fedora-home
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
[email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill0
[email protected] loaded active exited Load/Save RF Kill Switch Status of rfkill1
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
[email protected] loaded active running User Manager for UID 1000
[email protected] loaded active running User Manager for UID 42
wpa_supplicant.service loaded active running WPA supplicant
-.slice loaded active active Root Slice
system-getty.slice loaded active active system-getty.slice
system-lvm2\x2dpvscan.slice loaded active active system-lvm2\x2dpvscan.slice
system-systemd\x2dbacklight.slice loaded active active system-systemd\x2dbacklight.slice
system-systemd\x2dfsck.slice loaded active active system-systemd\x2dfsck.slice
system-systemd\x2drfkill.slice loaded active active system-systemd\x2drfkill.slice
system.slice loaded active active System Slice
user-1000.slice loaded active active user-1000.slice
user-42.slice loaded active active user-42.slice
user.slice loaded active active User and Session Slice
avahi-daemon.socket loaded active running Avahi mDNS/DNS-SD Stack Activation Socket
cups.socket loaded active running CUPS Scheduler
dbus.socket loaded active running D-Bus System Message Bus Socket
dm-event.socket loaded active listening Device-mapper event daemon FIFOs
iscsid.socket loaded active listening Open-iSCSI iscsid Socket
iscsiuio.socket loaded active listening Open-iSCSI iscsiuio Socket
lvm2-lvmetad.socket loaded active running LVM2 metadata daemon socket
lvm2-lvmpolld.socket loaded active listening LVM2 poll daemon socket
rpcbind.socket loaded active listening RPCbind Server Activation Socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald-audit.socket loaded active running Journal Audit Socket
systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log)
systemd-journald.socket loaded active running Journal Socket
systemd-udevd-control.socket loaded active running udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
dev-mapper-fedora\x2dswap.swap loaded active active /dev/mapper/fedora-swap
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
nfs-client.target loaded active active NFS client services
nss-user-lookup.target loaded active active User and Group Name Lookups
paths.target loaded active active Paths
remote-fs-pre.target loaded active active Remote File Systems (Pre)
remote-fs.target loaded active active Remote File Systems
slices.target loaded active active Slices
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
dnf-makecache.timer loaded active waiting dnf makecache timer
mlocate-updatedb.timer loaded active waiting Updates mlocate database every day
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
unbound-anchor.timer loaded active waiting daily update of the root trust anchor for DNSSEC

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

183 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use ‘systemctl list-unit-files’.
[/code]

[code][root@navi ~]# journalctl -ax -b -1 -p 3
– Logs begin at dom 2016-02-28 23:32:49 CET, end at mer 2016-03-23 17:39:09 CET. –
mar 23 17:22:30 navi spice-vdagent[1224]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
mar 23 17:22:51 navi spice-vdagent[1718]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
mar 23 17:23:17 navi pulseaudio[1754]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a r
mar 23 17:24:22 navi gnome-session-binary[1627]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
mar 23 17:24:22 navi gnome-session-binary[1627]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
mar 23 17:24:22 navi gnome-session-binary[1627]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
mar 23 17:24:22 navi gnome-session-binary[1627]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
mar 23 17:24:24 navi gnome-session-binary[1627]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
mar 23 17:24:24 navi gnome-session-binary[1627]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
mar 23 17:24:24 navi gnome-session-binary[1627]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
mar 23 17:24:24 navi gnome-session-binary[1627]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
mar 23 17:24:25 navi gdm[989]: GLib: g_hash_table_find: assertion ‘version == hash_table->version’ failed
mar 23 17:24:26 navi systemd-coredump[2474]: Process 1883 (httpd) of user 1000 dumped core.

                                         Stack trace of thread 1883:
                                         #0  0x00007f244767ac80 n/a (n/a)

– Subject: Il processo 1883 (httpd) ha generato un dump.
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
– Documentation: man:core(5)

– Il processo 1883 (httpd) si è bloccato generando un dump.

– Questo di solito capita per un errore di programmazione nell’applicazione e
– dovrebbe essere segnalato al vendor come un bug.
[/code]

[root@navi ~]# x=$(awk -F: '{if ($3 >= 1000 && $3 < 2000) { print $3 } }' /etc/passwd) ; for i in ${x@]} ; do journalctl -a -b -1 -u user@"$i".service ; done -- Logs begin at dom 2016-02-28 23:32:49 CET, end at mer 2016-03-23 17:40:09 CET. -- mar 23 17:22:45 navi systemd[1]: Starting User Manager for UID 1000... mar 23 17:22:45 navi systemd[1419]: pam_unix(systemd-user:session): session opened for user eirix by (uid=0) mar 23 17:22:46 navi systemd[1419]: Reached target Sockets. mar 23 17:22:46 navi systemd[1419]: Starting Sockets. mar 23 17:22:46 navi systemd[1419]: Reached target Paths. mar 23 17:22:46 navi systemd[1419]: Starting Paths. mar 23 17:22:46 navi systemd[1419]: Reached target Timers. mar 23 17:22:46 navi systemd[1419]: Starting Timers. mar 23 17:22:46 navi systemd[1419]: Reached target Basic System. mar 23 17:22:46 navi systemd[1419]: Starting Basic System. mar 23 17:22:46 navi systemd[1419]: Reached target Default. mar 23 17:22:46 navi systemd[1419]: Startup finished in 76ms. mar 23 17:22:46 navi systemd[1]: Started User Manager for UID 1000. mar 23 17:22:46 navi systemd[1419]: Starting Default. mar 23 17:24:24 navi systemd[1]: Stopping User Manager for UID 1000... mar 23 17:24:24 navi systemd[1419]: Reached target Shutdown. mar 23 17:24:24 navi systemd[1419]: Starting Shutdown. mar 23 17:24:24 navi systemd[1419]: Starting Exit the Session... mar 23 17:24:24 navi systemd[1419]: Stopped target Default. mar 23 17:24:24 navi systemd[1419]: Stopping Default. mar 23 17:24:24 navi systemd[1419]: Stopped target Basic System. mar 23 17:24:25 navi systemd[1419]: Stopping Basic System. mar 23 17:24:25 navi systemd[1419]: Stopped target Sockets. mar 23 17:24:25 navi systemd[1419]: Stopping Sockets. mar 23 17:24:25 navi systemd[1419]: Stopped target Paths. mar 23 17:24:25 navi systemd[1]: Stopped User Manager for UID 1000.

La seconda parte però mi sembra diversa da prima…peccato non averla salvata. Provo a fare un altro riavvio.

Questo è più contenuto.

[root@navi ~]# journalctl -ax -b -1 -p 3 -- Logs begin at dom 2016-02-28 23:32:49 CET, end at mer 2016-03-23 17:51:38 CET. -- mar 23 17:28:31 navi spice-vdagent[1215]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0 mar 23 17:31:21 navi gdm-password][1424]: pam_unix(gdm-password:auth): conversation failed mar 23 17:31:21 navi gdm-password][1424]: pam_unix(gdm-password:auth): auth could not identify password for [eirix] mar 23 17:31:33 navi spice-vdagent[1737]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0 mar 23 17:31:59 navi pulseaudio[1772]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a r mar 23 17:45:58 navi gnome-session-binary[1646]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mar 23 17:45:58 navi gnome-session-binary[1646]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mar 23 17:45:58 navi gnome-session-binary[1646]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mar 23 17:45:58 navi gnome-session-binary[1646]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mar 23 17:46:00 navi gnome-session-binary[1646]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mar 23 17:46:00 navi gnome-session-binary[1646]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mar 23 17:46:00 navi gnome-session-binary[1646]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mar 23 17:46:00 navi gnome-session-binary[1646]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed mar 23 17:46:01 navi gdm[1001]: GLib: g_hash_table_find: assertion 'version == hash_table->version' failed

[root@navi ~]# x=$(awk -F: '{if ($3 >= 1000 && $3 < 2000) { print $3 } }' /etc/passwd) ; for i in ${x@]} ; do journalctl -a -b -1 -u user@"$i".service ; done -- Logs begin at dom 2016-02-28 23:32:49 CET, end at mer 2016-03-23 17:53:44 CET. -- mar 23 17:31:27 navi systemd[1]: Starting User Manager for UID 1000... mar 23 17:31:27 navi systemd[1438]: pam_unix(systemd-user:session): session opened for user eirix by (uid=0) mar 23 17:31:27 navi systemd[1438]: Reached target Timers. mar 23 17:31:27 navi systemd[1438]: Starting Timers. mar 23 17:31:27 navi systemd[1438]: Reached target Paths. mar 23 17:31:27 navi systemd[1438]: Starting Paths. mar 23 17:31:27 navi systemd[1438]: Reached target Sockets. mar 23 17:31:27 navi systemd[1438]: Starting Sockets. mar 23 17:31:27 navi systemd[1438]: Reached target Basic System. mar 23 17:31:27 navi systemd[1438]: Starting Basic System. mar 23 17:31:27 navi systemd[1438]: Reached target Default. mar 23 17:31:27 navi systemd[1438]: Startup finished in 77ms. mar 23 17:31:27 navi systemd[1]: Started User Manager for UID 1000. mar 23 17:31:27 navi systemd[1438]: Starting Default. mar 23 17:46:00 navi systemd[1438]: Stopped target Default. mar 23 17:46:00 navi systemd[1438]: Stopping Default. mar 23 17:46:00 navi systemd[1438]: Reached target Shutdown. mar 23 17:46:00 navi systemd[1438]: Starting Shutdown. mar 23 17:46:00 navi systemd[1438]: Starting Exit the Session... mar 23 17:46:00 navi systemd[1438]: Stopped target Basic System. mar 23 17:46:00 navi systemd[1438]: Stopping Basic System. mar 23 17:46:01 navi systemd[1438]: Stopped target Paths. mar 23 17:46:01 navi systemd[1]: Stopped User Manager for UID 1000. mar 23 17:47:30 navi systemd[1]: Stopped User Manager for UID 1000.

Hai provato a rimpiazzare gdm con un altro login manager?

[code]# dnf install lightdm

systemctl disable gdm

systemctl enable lightdm[/code]

È possibile accorciare forzatamente il tempo di attesa in fase di spegnimento, ma prima farei un paio di prove

Mi spiace ma non cambia una ceppa.

Accorciare il tempo di attesa è un aggirare il problema, ma a questo punto mi può anche andar bene.

p.s. ma quelle belle scritte in fase di spegnimento non c’è modo di recuperarle?

Se vogliamo indagare oltre…

# systemctl enable --now debug-shell

(nota: questa sushell dovrà essere poi disattivata il prima possibile)
quindi, effettua lo spegnimento
durante il minuto e mezzo di attesa, spostati su tty9 ( Ctrl+Alt+F9 )
quindi,

# systemctl list-jobs

e prendi nota del colpevole

Ora provo.

Nel frattempo ti do nota di un’altra cosa.

Ho installato i3 come ambiente desktop alternativo e il problema non si presenta. Quindi il colpevole è gnome.

3161 (va be, questo cambia) session-1.scope

Ebbene, il DE appare colpevole
Sempre dalla debug shell, controlla sotto lo .scope incriminato cosa latita con

# systemd-cgls
user.slice > user-1000.slice > session1.scope > 1847 rygel

Quindi il cinema (è il caso di dirlo) si è risolto andando in impostazioni > condivisione > e disabilitando il “media sharing” che tanto non mi serve a una mazza e non so nemmeno per quale motivo abbia mai deciso di abilitarlo. :wall:

Resterebbe da capire come mai invece sul fisso non crea problemi. (ma tanto non mi serve comunque a una mazza)

Ora posso disabilitare la shell di debug?

Certo che sì

# systemctl disable --now debug-shell

Grazie per l’aiuto. :wink: