Control: tags -1 +confirmed

On Tue, 2024-10-29 at 17:21 +0100, Jochen Sprickerhof wrote:
> Hi Ritesh,
> 
> * Colin Watson <cjwat...@debian.org> [2024-10-29 12:09]:
> > On Tue, Oct 29, 2024 at 11:05:50AM +0530, Ritesh Raj Sarraf wrote:
> > > I'd need more information. I'm presuming it isn't happening on
> > > just UML ?
> > 
> > No, "fakemachine -b kvm" works fine.  It's just UML.
> 
> I think it is hostfs and I guess it is related to the new mount API 
> discussed here:
> 
> https://lore.kernel.org/all/CANP3RGceNzwdb7w=vPf5=7bcid5hvqdmz1k5kc9jg42+hva...@mail.gmail.com/
> 
> 


Thank you. I can confirm the same on my local setup as well.


```
[  OK  ] Finished systemd-journal-flush.service - Flush Journal to
Persistent Storage.
[FAILED] Failed to mount usr-lib-modules.mount - /usr/lib/modules.
See 'systemctl status usr-lib-modules.mount' for details.
[DEPEND] Dependency failed for local-fs.target - Local File Systems.
[FAILED] Failed to mount var-tmp-Debian\x2dBuild.mount -
/var/tmp/Debian-Build.
See 'systemctl status "var-tmp-Debian\\x2dBuild.mount"' for details.
```

and

```
Oct 30 05:57:41 uml systemd[1]: Mounting usr-lib-modules.mount -
/usr/lib/modules...
Oct 30 05:57:42 uml systemd[1]: usr-lib-modules.mount: Mount process
exited, code=exited, status=32/n/a
Oct 30 05:57:42 uml mount[814]: mount: /usr/lib/modules: fsconfig
system call failed: hostfs: Unknown parameter '/usr/lib/uml/modules'.
Oct 30 05:57:42 uml mount[814]:        dmesg(1) may have more
information after failed mount system call.
Oct 30 05:57:42 uml systemd[1]: usr-lib-modules.mount: Failed with
result 'exit-code'.
Oct 30 05:57:42 uml systemd[1]: Failed to mount usr-lib-modules.mount -
/usr/lib/modules.

```

I will check on what is the path ahead.

Thanks,
Ritesh


> A minimal reproduce is:
> 
> $ mmdebstrap --variant=essential --include=init --customize-
> hook='passwd -d --root "$1" root' unstable unstable.ext4
> $ linux ubd0=unstable.ext4 systemd.unit=rescue.target
> 
> # inside UML
> 
> Press Enter for maintenance
> (or press Control-D to continue):
> root@host:~# mount none /mnt/host -t hostfs
> mount: /mnt/host: fsconfig system call failed: Bad address.
>         dmesg(1) may have more information after failed mount system
> call.
> root@host:~# mount none /mnt/home -t hostfs -o /home
> mount: /mnt/home: fsconfig system call failed: hostfs: Unknown
> parameter '/home'.
>         dmesg(1) may have more information after failed mount system
> call.
> 
> Cheers Jochen

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to