You are not logged in.

#1 2013-12-21 14:45:59

Ovion
Member
Registered: 2013-02-24
Posts: 78

[solved] Mounting /media as tmpfs causes breakage on bootup

Hi,

I have a little problem when updating to systemd 208-3 and /media as tmpfs: My system won't boot anymore and I end up in an emergency-shell. Everything was and is fine with systemd 208-2 (a Downgrade fixes everything as well as commenting the line in my fstab).

Related journalentries:

Dez 21 15:15:33 mymachine systemd[1]: Job tmpfs.device/start timed out.
Dez 21 15:15:33 mymachine systemd[1]: Timed out waiting for device tmpfs.device.
Dez 21 15:15:33 mymachine systemd[1]: Dependency failed for File System Check on /tmpfs.
Dez 21 15:15:33 mymachine systemd[1]: Dependency failed for /media.
Dez 21 15:15:33 mymachine systemd[1]: Dependency failed for Local File Systems.

I specify the /media-tmpfs in my fstab as followed:

#media
tmpfs	/media	tmpfs	rw,nodev,noexec,nosuid	0 2

Any ideas why I end up in an emergency shell and how to solve that? I would preferrably keep /media as a tmpfs.
Thanks in advance!

Last edited by Ovion (2013-12-22 22:18:28)

Offline

#2 2013-12-21 15:13:07

Vain
Member
Registered: 2008-10-19
Posts: 179
Website

Re: [solved] Mounting /media as tmpfs causes breakage on bootup

Ovion wrote:
#media
tmpfs	/media	tmpfs	rw,nodev,noexec,nosuid	0 2

It's about that "2". You can't fsck a tmpfs.

See also: https://bugs.archlinux.org/task/38210

Offline

#3 2013-12-21 18:39:11

Ovion
Member
Registered: 2013-02-24
Posts: 78

Re: [solved] Mounting /media as tmpfs causes breakage on bootup

Ah, thanks! A 0 instead of the 2 works.

The only thing I don't understand yet is why this causes a problem now and didn't before. But a fix is on the way upstream anyways, so probably a rewrite of the component.

Offline

Board footer

Powered by FluxBB