bootctl install does not work as systemd bootloader is not built/shipped

Bug #1472283 reported by Sandra Karuving
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Debian)
Fix Released
Unknown
systemd (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

when you want to switch to systemd you need to
sudo bootctl install --path=/boot/efi

but für ubuntu this fails with
Failed to open "/usr/lib/systemd/boot/efi": No such file or directory

it seems that something is wrong with that

full output:
% sudo bootctl install --path=/boot/efi :(
Created "/boot/efi/EFI/systemd".
Created "/boot/efi/EFI/Boot".
Created "/boot/efi/loader".
Created "/boot/efi/loader/entries".
Failed to open "/usr/lib/systemd/boot/efi": No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: systemd 221-1ubuntu2
ProcVersionSignature: Ubuntu 4.0.0-4.6-lowlatency 4.0.7
Uname: Linux 4.0.0-4-lowlatency x86_64
ApportVersion: 2.17.3-0ubuntu4
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Jul 7 16:22:42 2015
InstallationDate: Installed on 2015-05-16 (52 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.0.0-4-lowlatency root=UUID=0b7c2db7-82b7-46e7-a728-f313842f2452 ro quiet splash vt.handoff=7
SourcePackage: systemd
UdevLog: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/log/udev'
UpgradeStatus: Upgraded to wily on 2015-06-27 (9 days ago)
dmi.bios.date: 04/02/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2202
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: A88XM-PLUS
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2202:bd04/02/2015:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnA88XM-PLUS:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Sandra Karuving (lumks) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

There is absolutely zero distro integration with the systemd EFI boot loader, unlike GRUB and friends. Thus we don't build/ship systemd's boot loader so far, and bootctl can merely show you boots, but its other commands don't work.

If that's confusing, we could also stop installing bootctl completely.

Changed in systemd (Ubuntu):
importance: Undecided → Low
status: New → Triaged
summary: - bootctl is broken
+ bootctl install does not work as systemd bootloader is not built/shipped
Changed in systemd (Debian):
status: Unknown → New
Revision history for this message
Sandra Karuving (lumks) wrote :

right now i use "gummiboot" because it is nice to have my installation in my uefi menü and can start it directly. cause gummiboot is EOL now i wanted to switch to systemd boot, just like in arch.

> If that's confusing, we could also stop installing bootctl completely.
that would be one option or you just build it that it works, even when thers no integration... but a tool you know it wont work is no option for an OS..

Changed in systemd (Debian):
status: New → Fix Committed
Martin Pitt (pitti)
Changed in systemd (Ubuntu):
status: Triaged → Fix Committed
Changed in systemd (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.5 KiB)

This bug was fixed in the package systemd - 223-1ubuntu1

---------------
systemd (223-1ubuntu1) wily; urgency=medium

  * Merge with Debian unstable. Remaining Ubuntu changes:
    - Hack to support system-image read-only /etc, and modify files in
      /etc/writable/ instead.
    - Keep our much simpler udev maintainer scripts (all platforms must
      support udev, no debconf).
    - initramfs init-bottom: If LVM is installed, settle udev,
      otherwise we get missing LV symlinks. Workaround for LP #1185394.
    - Add debian/udev.lvm2.init: Dummy SysV init script to satisfy insserv
      dependencies to "lvm2" which is handled with udev rules in Ubuntu.
    - Add debian/udev.lvm2.service to avoid running the dummy lvm2 init
      script.
    - Provide shutdown fallback for upstart. (LP: #1370329)
    - debian/extra/ifup@.service: Additionally run for "auto" class. We don't
      really support "allow-hotplug" in Ubuntu at the moment, so we need to
      deal with "auto" devices appearing after "/etc/init.d/networking start"
      already ran. (LP: #1374521)
    - ifup@.service: Drop dependency on networking.service (i. e.
      /etc/init.d/networking), and merely ensure that /run/network exists.
      This avoids unnecessary dependencies/waiting during boot and dependency
      cycles if hooks wait for other interfaces to come up (like ifenslave
      with bonding interfaces). (LP: #1414544)
    - Add Get-RTC-is-in-local-time-setting-from-etc-default-rc.patch: In
      Ubuntu we currently keep the setting whether the RTC is in local or UTC
      time in /etc/default/rcS "UTC=yes|no", instead of /etc/adjtime.
      (LP: #1377258)
    - Put session scopes into all cgroup controllers. This makes unprivileged
      user LXC containers work under systemd. (LP: #1346734)
    - systemctl: Don't forward telinit u to upstart. This works around
      upstart's Restart() always reexec'ing /sbin/init on Restart(), even if
      that changes to point to systemd during the upgrade. This avoids running
      systemd during a dist-upgrade. (LP: #1430479)
    - Drop hwdb-update dependency from udev-trigger.service, which got
      introduced in v219-stable. This causes udev and plymouth to start too
      late and isn't really needed in Ubuntu yet as we don't support stateless
      systems yet and handle hwdb.bin updates through dpkg triggers. This can
      be dropped again with initramfs-tools 0.117.
    - Lower Breaks: to plymouth version which has the udev inotify fix in
      Ubuntu.
    - Lower apparmor Breaks: to the Ubuntu version that dropped $remote_fs.
    - Change systemd-sysv's conflicts to upstart-sysv. (LP: #1422681)

    Upgrade fixes, keep until 16.04 LTS release:
    - systemd Conflicts/Replaces/Provides systemd-services.
    - Remove obsolete systemd-logind upstart job.
    - Clean up obsolete /etc/udev/rules.d/README.
    - systemd.postinst: Migrate mountall specific fstab options to standard
      util-linux "nofail" option.

systemd (223-3) UNRELEASED; urgency=medium

  * boot-and-services autopkgtest: Ignore thermald. Since 1.4.3-2 it starts by
    default, but fails in most virtual envs.

systemd (223-2) unstable; urgency=medium

...

Read more...

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.