Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42301 - [systemd] Add some targets to initramfs so systemd stops writing warnings

Attached to Project: Arch Linux
Opened by Mateus Rodrigues Costa (CharlesAtum) - Wednesday, 08 October 2014, 15:19 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 09 November 2014, 22:04 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When systemd is running in the initramfs it complains that these targets are missing: local-fs.target, swap.target, timers.target, paths.target and slices.target . It also complains about a socket: "systemd-journald-dev-log.socket".
According to the bootup man page [0], the boot process up to the basic.target is identical in both the actual boot and the initramfs boot. Some of these targets are also listed there.

[0] http://www.freedesktop.org/software/systemd/man/bootup.html

Additional info:
* systemd 216-3, mkinitcpio 18-2
* base and systemd as hooks in mkinitcpio

Steps to reproduce:
Boot with systemd as your initramfs init. Check logs:
ut 08 11:01:10 localhost systemd[1]: Cannot add dependency job for unit local-fs.target, ignoring: Unit local-fs.target failed to load: No such file or directory.
Out 08 11:01:10 localhost systemd[1]: Cannot add dependency job for unit swap.target, ignoring: Unit swap.target failed to load: No such file or directory.
Out 08 11:01:10 localhost systemd[1]: Cannot add dependency job for unit timers.target, ignoring: Unit timers.target failed to load: No such file or directory.
Out 08 11:01:10 localhost systemd[1]: Cannot add dependency job for unit paths.target, ignoring: Unit paths.target failed to load: No such file or directory.
Out 08 11:01:10 localhost systemd[1]: Cannot add dependency job for unit slices.target, ignoring: Unit slices.target failed to load: No such file or directory.
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 09 November 2014, 22:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd-217-6

Loading...