Mailinglist Archive: opensuse-factory (826 mails)

< Previous Next >
Re: Fwd: [opensuse-factory] failed to unmount /home, /var/tmp, /tmp at shutdown
About, my problem of unmount errors at shutdown I have investigated
and I have found:

1) /var/log has to bee a directory because journald has to write in
the volume! So I have fixed this problem. You can also disable to
write to disk logs... in /etc/systemd/journald.conf with Storage=none
2) the errors are still presents but only if I do shutdown from KDE
environment!!! If I do a reboot or power off from command line--> no

after some more investigations, I found that:


are symlink to /usr/sbin/systemctl

KDE for some BUG launch systemctl n.2 times! :

/usr/bin/systemctl reboot
/usr/bin/systemctl --user set-environment

the first invocation is correct. The second cause the errors at
shutdown. So it's finally a KDE problem!

2017-10-18 14:10 GMT+02:00 Carlos E. R. <robin.listas@xxxxxxxxxxxxxx>:
On 2017-10-17 15:30, Ivan Linty wrote:
Here my etc/fstab:

/dev/disk/by-id/ata-ST500DM002-1SB10A_ZA4315ME-part3 swap swap
defaults 0 0
/dev/disk/by-id/ata-SanDisk_SDSSDRC032G_123360400662-part1 / ext4
acl,user_xattr,noatime,async,commit=100 1 1
/dev/disk/by-id/ata-ST500DM002-1SB10A_ZA4315ME-part2 /home ext4
acl,user_xattr,noatime,async,commit=100 1 2
/dev/disk/by-id/ata-ST500DM002-1SB10A_ZA4315ME-part1 /sda2 ext4
acl,user_xattr,noatime,async,commit=100 1 2

proc /proc proc defaults 0 0

You don't need this one.

sysfs /sys sysfs noauto 0 0

Neither this.

debugfs /sys/kernel/debug debugfs noauto 0 0

Nor this.

usbfs /proc/bus/usb usbfs noauto 0 0

Nor this.

devpts /dev/pts devpts mode=0620,gid=5 0 0

Nor this.

tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777
0 0
tmpfs /var/tmp tmpfs nodev,nosuid,noexec,mode=1777
0 0


are links (ln -s)


ilinty@linux-q5nf:/sda2> ll /opt
lrwxrwxrwx 1 root root 9 11 ago 14.37 /opt -> /sda2/opt

sda2 is precisely the partition that fails to umount, it is in use.
Try use bind-mounts instead of symlinks, so that fstab list them.

Cheers / Saludos,

Carlos E. R.
(from 42.2 x86_64 "Malachite" at Telcontar)

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread