utmps-openrc only installs utmpd and wtmpd when running in a CI using alpine 3.16
If installed locally all of the files from utmps-openrc are installed, when installed in a chroot in a CI the openrc package is installed but /etc/init.d
is:
drwxr-xr-x 2 root root 4.0K May 29 19:52 .
347drwxr-xr-x 23 root root 4.0K May 29 19:52 ..
348-rwxr-xr-x 1 root root 244 Aug 26 2021 acpid
349-rwxr-xr-x 1 root root 1.2K Mar 28 16:43 agetty
350-rwxr-xr-x 1 root root 806 Mar 28 16:43 binfmt
351-rwxr-xr-x 1 root root 5.8K Mar 28 16:43 bootmisc
352-rwxr-xr-x 1 root root 3.6K Mar 28 16:43 cgroups
353-rwxr-xr-x 1 root root 1.7K Mar 28 16:43 consolefont
354-rwxr-xr-x 1 root root 175 Aug 26 2021 crond
355-rwxr-xr-x 1 root root 3.6K Mar 28 16:43 devfs
356-rwxr-xr-x 1 root root 747 Mar 28 16:43 dmesg
357-rwxr-xr-x 1 root root 196 Aug 26 2021 dnsd
358-rwxr-xr-x 1 root root 724 Mar 28 16:43 firstboot
359-rwxr-xr-x 1 root root 3.2K Mar 28 16:43 fsck
360lrwxrwxrwx 1 root root 23 May 29 19:52 functions.sh -> /lib/rc/sh/functions.sh
361-rwxr-xr-x 1 root root 277 Mar 28 16:43 hostname
362-rwxr-xr-x 1 root root 152 Aug 26 2021 httpd
363-rwxr-xr-x 1 root root 3.2K Mar 28 16:43 hwclock
364-rwxr-xr-x 1 root root 720 Mar 28 16:43 hwdrivers
365-rwxr-xr-x 1 root root 211 Aug 26 2021 inetd
366-rwxr-xr-x 1 root root 798 Mar 28 16:43 killprocs
367-rwxr-xr-x 1 root root 209 Aug 26 2021 klogd
368-rwxr-xr-x 1 root root 602 May 21 2021 kmod-static-nodes
369-rwxr-xr-x 1 root root 289 Aug 26 2021 loadkmap
370-rwxr-xr-x 1 root root 2.7K Mar 28 16:43 local
371-rwxr-xr-x 1 root root 3.6K Mar 28 16:43 localmount
372-rwxr-xr-x 1 root root 1013 Mar 28 16:43 loopback
373-rwxr-xr-x 1 root root 289 Mar 28 16:43 machine-id
374-rwxr-xr-x 1 root root 739 Aug 26 2021 mdev
375-rwxr-xr-x 1 root root 3.7K Mar 28 16:43 modloop
376-rwxr-xr-x 1 root root 1.6K Mar 28 16:43 modules
377-rwxr-xr-x 1 root root 1.5K Mar 28 16:43 mount-ro
378-rwxr-xr-x 1 root root 1.7K Mar 28 16:43 mtab
379-rwxr-xr-x 1 root root 2.2K Mar 28 16:43 net-online
380-rwxr-xr-x 1 root root 2.0K Mar 28 16:43 netmount
381-rwxr-xr-x 1 root root 1.7K Mar 28 16:43 networking
382-rwxr-xr-x 1 root root 207 Aug 26 2021 ntpd
383-rwxr-xr-x 1 root root 1.1K Mar 28 16:43 numlock
384-rwxr-xr-x 1 root root 943 Mar 28 16:43 osclock
385-rwxr-xr-x 1 root root 1.2K Mar 28 16:43 procfs
386-rwxr-xr-x 1 root root 253 Aug 26 2021 rdate
387-rwxr-xr-x 1 root root 854 Feb 15 20:12 rfkill
388-rwxr-xr-x 1 root root 1.5K Mar 12 2021 rngd
389-rwxr-xr-x 1 root root 1.4K Mar 28 16:43 root
390-rwxr-xr-x 1 root root 1.1K Mar 28 16:43 runsvdir
391-rwxr-xr-x 1 root root 1.0K Mar 28 16:43 s6-svscan
392-rwxr-xr-x 1 root root 865 Mar 28 16:43 save-keymaps
393-rwxr-xr-x 1 root root 987 Mar 28 16:43 save-termencoding
394-rwxr-xr-x 1 root root 1.9K Mar 28 16:43 savecache
395-rwxr-xr-x 1 root root 2.0K Mar 28 16:43 staticroute
396-rwxr-xr-x 1 root root 1.0K Mar 28 16:43 swap
397-rwxr-xr-x 1 root root 960 Mar 28 16:43 swclock
398-rwxr-xr-x 1 root root 1.8K Mar 28 16:43 sysctl
399-rwxr-xr-x 1 root root 3.2K Mar 28 16:43 sysfs
400-rwxr-xr-x 1 root root 1.2K Mar 28 16:43 sysfsconf
401-rwxr-xr-x 1 root root 269 Aug 26 2021 syslog
402-rwxr-xr-x 1 root root 1.4K Mar 28 16:43 termencoding
403-rwxr-xr-x 1 root root 174 Aug 26 2021 udhcpd
404-rwxr-xr-x 1 root root 1.5K Mar 28 16:43 urandom
405-rwxr-xr-x 1 root root 505 Apr 21 2021 utmpd
406-rwxr-xr-x 1 root root 291 Aug 26 2021 watchdog
407-rwxr-xr-x 1 root root 493 Apr 21 2021 wtmpd
so adding to default runlevel gives rc-update: service “utmp-init” does not exist
apk fix utmps-openrc
does not fix the issue