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
/var partition not unmounted on shutdown
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.
Re: /var partition not unmounted on shutdown
This article might offer you a suggestion:
https://unix.stackexchange.com/question ... g-shutdown
https://unix.stackexchange.com/question ... g-shutdown
Re: /var partition not unmounted on shutdown
In the link, it says edit...
I tried this and it doesn't work. Thanks!/etc/systemd/journald.conf to change the Storage= line to Storage=volatile.
Re: /var partition not unmounted on shutdown
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!
Re: /var partition not unmounted on shutdown
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
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
Re: /var partition not unmounted on shutdown
Besides giving this suggestion a try,dcihon wrote:This article might offer you a suggestion:
https://unix.stackexchange.com/question ... g-shutdown
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.
Re: /var partition not unmounted on shutdown
it's probably harmless if your system shuts down anyhow, and it would be exaggerating to call it a bug.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?
Re: /var partition not unmounted on shutdown
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.debiman wrote:is /var on a separate partition? this is not required anymore on a generic desktop install, why did you choose that option?ccanicete wrote:/var was not unmounted
It's a good choice--Debian (I used Ubuntu before but I opted now for the parent OS). Thanks everyone!
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: /var partition not unmounted on shutdown
I read somewhere that it's good to eat poo but I didn't do it.ccanicete wrote:Yes, /var is in a separate partition; I read it somewhere that a separate /var partition is good.
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!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: /var partition not unmounted on shutdown
I'm in the latter. Got the point. Thanks! Also to debiman and to all!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!