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#79924 - [mkinitcpio-systemd-tool] ERROR: invalid source path

Attached to Project: Arch Linux
Opened by sosyco (sosyco) - Thursday, 12 October 2023, 06:54 GMT
Last edited by Toolybird (Toolybird) - Thursday, 12 October 2023, 07:40 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After updating, we get this error and losing the possibility to unlock the system via ssh on boot.

mkinitcpio -p linux
...
replacing initramfs unit file: /usr/lib/systemd/system/initrd-debug-progs.service
==> ERROR: invalid source path /etc/mkinitcpio-systemd-tool/config/authorized_keys
remove existing /etc/tinyssh/sshkeydir
convert openssh to tinysshd host key ed25519
replacing initramfs unit file: /usr/lib/systemd/system/initrd-shell.service
==> ERROR: invalid source path /etc/mkinitcpio-systemd-tool/config/authorized_keys
...

Additional info:
* package version(s)
core/systemd 254.5-1 [Installiert]
system and service manager
core/systemd-libs 254.5-1 [Installiert]
systemd client libraries
extra/mkinitcpio-systemd-tool 38-2 [Installiert]
Provisioning tool for systemd in initramfs (systemd-tool)
extra/tinyssh 20230101-1 [Installiert]
Small SSH server using NaCl / TweetNaCl
* config and/or log files etc.
/etc/mkinitcpio.conf
# vim:set ft=sh
MODULES=(ext4 e1000e amdgpu radeon)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block encrypt lvm2 filesystems fsck systemd systemd-tool)
* link to upstream bug report, if any
https://github.com/random-archer/mkinitcpio-systemd-tool/issues/105

Steps to reproduce:
Follow steps to unlock crypted system with tinyssh
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 12 October 2023, 07:40 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Not an Arch packaging bug. See comments
Comment by sosyco (sosyco) - Thursday, 12 October 2023, 07:18 GMT
"Dirty" Workaround:
sudo su
cp ~/.ssh/authorized_keys /etc/mkinitcpio-systemd-tool/config/authorized_keys
mkinitcpio -p linux
Comment by Toolybird (Toolybird) - Thursday, 12 October 2023, 07:25 GMT Comment by sosyco (sosyco) - Thursday, 12 October 2023, 07:31 GMT
extra/mkinitcpio-systemd-tool 38-2 [Installiert]
Provisioning tool for systemd in initramfs (systemd-tool)

Installed with the update, but didn't the job.
Comment by Toolybird (Toolybird) - Thursday, 12 October 2023, 07:39 GMT
It looks like you are expected to configure it yourself [1]. See the answer to "which ssh user keys are used by initramfs sshd server(s)?"

[1] https://github.com/random-archer/mkinitcpio-systemd-tool#provisioning-questions-and-answers

Loading...