/var partition not unmounted on shutdown

Kernels & Hardware, configuring network, installing services

/var partition not unmounted on shutdown

Postby ccanicete » 2018-02-26 00:47

:?: My brand new Debian is working properly although a red warning is flashed on shutdown saying /var was not unmounted. I searched this on Google and here, but no reply works. One mentioned that it's a bug and I'll just have to wait for the next security update, i.e., I don't have to do anything. Is that right?
Last edited by ccanicete on 2018-02-28 23:40, edited 3 times in total.
User avatar
ccanicete
 
Posts: 4
Joined: 2018-02-25 23:17


Re: /var partition not unmounted on shutdown

Postby ccanicete » 2018-02-26 02:34

In the link, it says edit...
/etc/systemd/journald.conf to change the Storage= line to Storage=volatile.
I tried this and it doesn't work. Thanks! :)
User avatar
ccanicete
 
Posts: 4
Joined: 2018-02-25 23:17

Re: /var partition not unmounted on shutdown

Postby ccanicete » 2018-03-07 23:45

Just to close this topic: I'm not changing any config files to fix this (some links say this is deprecated, or that is not supported, etc.). I'm following someone who said to just wait for the next bug-fix, since no obvious consequence is happening with my computer. Go Debian! 8)
User avatar
ccanicete
 
Posts: 4
Joined: 2018-02-25 23:17

Re: /var partition not unmounted on shutdown

Postby Bouwser » 2018-05-01 19:45

To the Original Poster (OP),
Does your system not shutdown when it has this error? I am experiencing this error on shutdown and the shutdown stops and the computer is left locked up until a power cycle happens.

Has anyone found a work around. This is a serious issue if I can't reboot.

thanks,
Brent
Bouwser
 
Posts: 10
Joined: 2014-09-04 14:12

Re: /var partition not unmounted on shutdown

Postby llivv » 2018-05-02 03:40


Besides giving this suggestion a try,
Thanks dcihon :)

you can also keep you eyes on this bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851402

which points to a more technical discussion https://github.com/systemd/systemd/issues/867

There is also a way to setup a systemdebug console on F9 by adding a sting to the kernel boot parameter in grub before booting.
You might want to check and see if you have the debug console available on your system already ( not clear from the documentation so far )
by using either CTRL - ALT - F9 when you get to the Login Screen

or simply ALT - F9

edit: you can also use an alternative shutdown method to avoid the hang by,
Instead of choosing shutdown,
choose Logout
than CTRL - ALT - F1 to Console and run
ps au

get the PID number for GDM3

and kill the GDM3 process with command
sudo kill (PID# for GDM3)

and if logout is not available on your machine, just
CTRL - ALT -F1 to console and follow above to kill GDM3

Than shutdown with command
sudo /sbin/telinit 0

You may also have to kill the journald process to get a clean system shutdown,
To get the journald PID# use command
ps aux
in the kitchen with Julia
The Past, Christmas Present and Future
Get on the Dbus to Bcan
User avatar
llivv
 
Posts: 5654
Joined: 2007-02-14 18:10
Location: cold storage

Re: /var partition not unmounted on shutdown

Postby debiman » 2018-05-03 03:11

ccanicete wrote:/var was not unmounted


it's probably harmless if your system shuts down anyhow, and it would be exaggerating to call it a bug.

is /var on a separate partition?
this is not required anymore on a generic desktop install, why did you choose that option?
User avatar
debiman
 
Posts: 2405
Joined: 2013-03-12 07:18


Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable