<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 --- - Systemd handles bind mounts in a way that is incompatible to the SysV-style init"
href="https://bugs.freedesktop.org/show_bug.cgi?id=69335">69335</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Systemd handles bind mounts in a way that is incompatible to the SysV-style init
</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>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ggb12.10.Toranaga-San@spamgourmet.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</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>Hello all,
I have noticed the following problem using bind mounts: I have an encrypted
disk which I mount at "/media/crypt". The disk does in particular contain my
home directory. Since I would like to access my home via "/home" I used a bind
mount like so:
mount -o bind /media/crypt/home/ /home
After that, "ls /home" gives me the home directory "username". To make this
permanent I added
/media/crypt/home /home bind defaults,bind 0 0
to my /etc/fstab. Unfortunately once I restart my system and type "ls /home" I
get a new "home" directory, in total "/home/home/username" instead of
"/home/username". So apparently systemd mounts "/media/crypt" on the mountpoint
"/home" instead of binding "/home" to "/media/crypt/home".</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>