/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: 6
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: 6
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: 6
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 memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5704
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: 3064
Joined: 2013-03-12 07:18

Re: /var partition not unmounted on shutdown

Postby ccanicete » 2018-08-23 12:40

debiman wrote:
ccanicete wrote:/var was not unmounted
is /var on a separate partition? this is not required anymore on a generic desktop install, why did you choose that option?

Yes, /var is in a separate partition; I read it somewhere that a separate /var partition is good. Sorry for not checking here for a while, because the computer is not at all affected. I have a new install of Debian and I didn't have any /var partion created. No warning or any other problems now. It's so boring--no messages at all, everything so nice and clean.
It's a good choice--Debian (I used Ubuntu before but I opted now for the parent OS). Thanks everyone! :D
User avatar
ccanicete
 
Posts: 6
Joined: 2018-02-25 23:17

Re: /var partition not unmounted on shutdown

Postby sunrat » 2018-08-24 01:04

ccanicete wrote:Yes, /var is in a separate partition; I read it somewhere that a separate /var partition is good.

I read somewhere that it's good to eat poo but I didn't do it. :D
A separate /var may be a good idea on a busy server where you don't want the logs to fill up and bring it to a standstill, but is not needed on a home desktop system.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: /var partition not unmounted on shutdown

Postby ccanicete » 2018-08-27 02:41

sunrat wrote:computer users can be divided into 2 categories: Those who have lost data and those who have not lost data YET ” Remember to BACKUP!

I'm in the latter. :D Got the point. :oops: Thanks! Also to debiman and to all! 8)
User avatar
ccanicete
 
Posts: 6
Joined: 2018-02-25 23:17


Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable