Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

/var partition not unmounted on shutdown

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
ccanicete
Posts: 6
Joined: 2018-02-25 23:17

/var partition not unmounted on shutdown

#1 Post by ccanicete »

:?: 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.

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: /var partition not unmounted on shutdown

#2 Post by dcihon »

This article might offer you a suggestion:
https://unix.stackexchange.com/question ... g-shutdown

User avatar
ccanicete
Posts: 6
Joined: 2018-02-25 23:17

Re: /var partition not unmounted on shutdown

#3 Post by ccanicete »

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

#4 Post by ccanicete »

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)

Bouwser
Posts: 13
Joined: 2014-09-04 14:12

Re: /var partition not unmounted on shutdown

#5 Post by Bouwser »

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

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: /var partition not unmounted on shutdown

#6 Post by llivv »

dcihon wrote:This article might offer you a suggestion:
https://unix.stackexchange.com/question ... g-shutdown
Besides giving this suggestion a try,
Thanks dcihon :)

you can also keep you eyes on this bug report https://bugs.debian.org/cgi-bin/bugrepo ... 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
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: /var partition not unmounted on shutdown

#7 Post by debiman »

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
ccanicete
Posts: 6
Joined: 2018-02-25 23:17

Re: /var partition not unmounted on shutdown

#8 Post by ccanicete »

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
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 461 times

Re: /var partition not unmounted on shutdown

#9 Post by sunrat »

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
ccanicete
Posts: 6
Joined: 2018-02-25 23:17

Re: /var partition not unmounted on shutdown

#10 Post by ccanicete »

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)

Post Reply