[Bug 1227912] New: agetty fails to open credentials directory
https://bugzilla.suse.com/show_bug.cgi?id=1227912 Bug ID: 1227912 Summary: agetty fails to open credentials directory Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other URL: https://openqa.opensuse.org/tests/4344305/modules/jour nal_check/steps/23 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: mloviska@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: openQA Blocker: No Created attachment 876066 --> https://bugzilla.suse.com/attachment.cgi?id=876066&action=edit first boot log ## Observation After starting getty on a new console for the first time, the aggety service reports _failed to open credentials directory_. The message can also be reproduced by running "agetty --reload". Comparing to my local running TW, after reloading agetty, I do not see that it would try to open "/run/credentials/getty@tty6.service" as it is in the failing tests.
openat(AT_FDCWD, "/run/credentials/getty@tty6.service", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
Jul 16 04:26:56.196274 cucaracha systemd[1]: Reached target Cloud-init target. Jul 16 04:26:56.198126 cucaracha systemd[1]: Startup finished in 968ms (kernel) + 18.903s (initrd) + 7.626s (userspace) = 27.499s. Jul 16 04:26:56.208799 cucaracha echo[1683]: Test service has started Jul 16 04:26:56.210492 cucaracha systemd[1]: just_a_test.service: Deactivated successfully. Jul 16 04:26:56.223204 cucaracha agetty[1621]: failed to open credentials directory Jul 16 04:26:56.224013 cucaracha agetty[1622]: failed to open credentials directory Jul 16 04:26:56.224656 cucaracha agetty[1620]: failed to open credentials directory Jul 16 04:26:57.726090 cucaracha systemd[1]: Started Getty on tty6. Jul 16 04:26:57.730625 cucaracha agetty[1712]: failed to open credentials directory Jul 16 04:26:57.742108 cucaracha kernel: clocksource: Long readout interval, skipping watchdog check: cs_nsec: 12595040318 wd_nsec: 506657651 Jul 16 04:27:01.507143 cucaracha systemd[1]: Created slice User Slice of UID 0. Jul 16 04:27:01.519654 cucaracha systemd[1]: Starting User Runtime Directory /run/user/0... Jul 16 04:27:01.521565 cucaracha systemd-logind[1317]: New session 1 of user root. Jul 16 04:27:01.529220 cucaracha systemd[1]: Finished User Runtime Directory /run/user/0. -- Jul 16 04:29:02.669256 cucaracha usermod[1873]: add 'bernhard' to group 'dialout' Jul 16 04:29:08.135346 cucaracha usermod[1880]: add 'tester_ssh' to group 'tty' Jul 16 04:29:08.135862 cucaracha usermod[1880]: add 'tester_ssh' to group 'dialout' Jul 16 04:29:09.186586 cucaracha chronyd[1473]: Source 147.251.48.140 replaced with 162.159.200.123 (2.opensuse.pool.ntp.org) Jul 16 04:29:09.299114 cucaracha systemd[1]: Started Getty on tty4. Jul 16 04:29:09.314441 cucaracha agetty[1886]: failed to open credentials directory Jul 16 04:29:13.079585 cucaracha systemd[1]: Created slice User Slice of UID 1000. Jul 16 04:29:13.095544 cucaracha systemd[1]: Starting User Runtime Directory /run/user/1000... Jul 16 04:29:13.097288 cucaracha systemd-logind[1317]: New session 3 of user bernhard. Jul 16 04:29:13.102642 cucaracha systemd[1]: Finished User Runtime Directory /run/user/1000. Jul 16 04:29:13.105587 cucaracha systemd[1]: Starting User Manager for UID 1000... -- Jul 16 04:31:20.156673 cucaracha login[1621]: ROOT LOGIN ON hvc0 Jul 16 04:31:20.938274 cucaracha systemd[1]: Reloading requested from client PID 2772 ('systemctl') (unit session-5.scope)... Jul 16 04:31:20.938491 cucaracha systemd[1]: Reloading... Jul 16 04:31:21.160153 cucaracha systemd[1]: Reloading finished in 221 ms. Jul 16 04:31:21.203686 cucaracha systemd[1]: Started Serial Getty on hvc1. Jul 16 04:31:21.222165 cucaracha agetty[2800]: failed to open credentials directory
openQA test in scenario opensuse-Tumbleweed-JeOS-for-OpenStack-Cloud-x86_64-jeos-no-cloud@64bit_virtio fails in [journal_check](https://openqa.opensuse.org/tests/4344305/modules/journal_check/steps/23) ## Affected package: util-linux-2.40.1-4.1.x86_64 ## Reproducible Image was not tested before in openQA -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227912 Martin Loviska <mloviska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeos-internal@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227912 https://bugzilla.suse.com/show_bug.cgi?id=1227912#c3 Martin Loviska <mloviska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #3 from Martin Loviska <mloviska@suse.com> --- It is fixed in the latest runs (Build20240730): https://openqa.opensuse.org/tests/4368350#step/journal_check/8 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com