← Back to team overview

touch-packages team mailing list archive

[Bug 1320534] Re: sbuild fails under systemd-boot with /dev/shm tmpfs mount

 

On fresh Utopic host (VM, server install):

$ sudo apt-get update; sudo apt-get install ubuntu-dev-tools systemd haveged
$ mk-sbuild utopic
relogin
$ mk-sbuild utopic
$ sbuild-update --keygen
$ pull-lp-source hello
$ sbuild -Ad utopic *.dsc

# boot with init=/lib/systmed/systemd

$ sbuild -Ad utopic *.dsc

Fails with
"E: 10mount: E: Failed to resolve path "...../dev/shm": Not a directory"

/run/shm does not exsit.

This is a bug in systmed, until we support booting with either upstart
or systemd "/run/shm" should continue to be present.

Specifically, systemd, unlike mountall does not appear to support and
match Ubuntu default mount points as specified in /lib/init/fstab.

** Summary changed:

- sbuild fails under systemd-boot with /dev/shm tmpfs mount
+ systemd does not honor Ubuntu default mountpoints (as listed in /lib/init/fstab by upstart/mountall)

** Package changed: schroot (Ubuntu) => systemd (Ubuntu)

** Changed in: systemd (Ubuntu)
       Status: Invalid => Confirmed

** Also affects: mountall (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: mountall (Ubuntu)
       Status: New => Confirmed

** Description changed:

- I had to comment out from /etc/schroot/sbuild/fstab:
- #tmpfs           /dev/shm        tmpfs   defaults        0       0
- 
- otherwise sbuild is failing for me. Is there a solution to keep
- sbuild/schroot working unmodified under both systemd and upstart?
+ systemd does not honor ubuntu default mountpoints as listed in
+ /lib/init/fstab

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1320534

Title:
  systemd does not honor Ubuntu default mountpoints (as listed in
  /lib/init/fstab by upstart/mountall) ... well just /run/shm is missing

Status in “mountall” package in Ubuntu:
  Invalid
Status in “systemd” package in Ubuntu:
  Confirmed

Bug description:
  systemd does not honor ubuntu default mountpoints as listed in
  /lib/init/fstab

  specifically just /run/shm is missing, which breaks existing mk-sbuild
  setup chroots which used with sbuild to build hello*.dsc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1320534/+subscriptions