<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [ARCH] [208-210] [regression?] systemd-remount-fs fails at boot -> succeeds later after manual invocation"
href="https://bugs.freedesktop.org/show_bug.cgi?id=76497">76497</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[ARCH] [208-210] [regression?] systemd-remount-fs fails at boot -> succeeds later after manual invocation
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ronald645@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=96224" name="attach_96224" title="Fstab of all systems">attachment 96224</a> <a href="attachment.cgi?id=96224&action=edit" title="Fstab of all systems">[details]</a></span>
Fstab of all systems
I have three systems running Arch:
- 10yr old UP system; 32bit userspace; 32bit kernel; v3.14-rc7; custom stripped
kernel; FAIL
- ~4yr old SMP system; 32bit userspace; 64bit kernel; v3.13.6-1; ARCH kernel;
SUCCESS
- 7yr old UP system; 64bit kernel; 32/64bit userspace; v3.14-rc3; custom
stripped kernel; FAIL
I have attached:
- fstab used on all three systems
- .config of the 10yr old UP system
I replaced systemd-remount-fs with a shell script that invokes the binary with
strace:
[pid 459] mount("run", "/run",
0x1a0b240,MS_MGC_VAL|MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_REMOUNT|MS_NOATIME,"mode=0755,size=5m")
= -1 EINVAL (Invalid argument) <0.000039>
If I invoke systemd-remount-fs later, I get:
[mount][pid 2411] mount("run", "/run",
0x986d978,MS_MGC_VAL|MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_REMOUNT|MS_NOATIME,"mode=0755,size=5m")
= 0
Kernel logs indicate mount fails with error code 32 (-EINVAL?). The mount
manpage says:
source had an invalid superblock. Or, a remount (MS_REMOUNT) was attempted, but
source was not already mounted on target. Or, a move (MS_MOVE) was attempted,
but source was not a mount point, or was '/'.
So, I tested if the filesystem existed before by adding
mountpoint /run
Which claimed it was a valid mountpoint before systemd-remount-fs was invoked.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>