You are not logged in.

#1 2012-11-16 12:34:07

szt
Member
Registered: 2012-08-23
Posts: 14

/var always fails to unmount

Hi,

Whenever I shutdown/reboot my system, I see in the logs that /var always fails to unmount. My /var is a crypted luks partition and I have several tmpfs placed inside luks. I have never experienced any errors due to that issue, but I am really worried that this could lead to data leaks or such.

Sadly, I have no idea how that did happen. So I am hope that someone around here could lead me to a solution of my problem.

Thanks in advance,

szt

Offline

#2 2012-11-16 13:57:49

googol-1
Member
Registered: 2012-10-21
Posts: 22

Re: /var always fails to unmount

Do you have the shutdown HOOKS in your mkinitcpio.conf?

If not, try if it helps to add it.

Last edited by googol-1 (2012-11-16 13:58:14)

Offline

#3 2012-11-17 11:07:00

szt
Member
Registered: 2012-08-23
Posts: 14

Re: /var always fails to unmount

Didn't help. It still occurs.

Could it be connected to the order of my /etc/fstab?

Offline

#4 2012-11-17 14:27:52

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: /var always fails to unmount

The shutdown hook will absolutely help. If it doesn't, you should post the failure.

No, order of fstab is irrelevant.

Last edited by falconindy (2012-11-17 14:28:27)

Offline

#5 2012-11-17 14:33:24

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: /var always fails to unmount

/var usually fails to unmount because the journal is still in use. I had some weird problems with /var until I noticed that I did miss the shutdown hook. Since then: no more problems of this kind.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB