- Edited
I have just installed Obarun, and run into an issue with running user services. I followed the wiki for Dbus and DM to get user services to run, however, even though they are enabled they are not initialized.
Here are a few commands which might provide insight into the issue.
Note, I have removed my username from all outputs
If I am missing something obvious, I do apologize, I am not yet fully used to 66 & s6.
Here are a few commands which might provide insight into the issue.
Note, I have removed my username from all outputs
doas 66-intree -zg
Name : boot
Initialized : yes
Enabled : no
Starts after : None
Current : no
Allowed : root
Symlinks : svc->source db->source
Contents : /
|-(207,Enabled,classic) tty-earlier@ tty12
|-(down,Enabled,oneshot) setenv@ <username>
|-(0,Enabled,longrun) svscan@ <username>-log
|-(0,Enabled,longrun) svscan@ <username>
|-(down,Enabled,module) scandir@ <username>
|-(down,Enabled,oneshot) mount-run@ <username>
|-(down,Enabled,module) boot-user@ <username>
|-(down,Enabled,oneshot) system-hostname
|-(down,Enabled,oneshot) mount-run
|-(down,Enabled,oneshot) populate-run
|-(down,Enabled,oneshot) mount-tmp
|-(down,Enabled,oneshot) populate-tmp
|-(down,Enabled,oneshot) mount-proc
|-(down,Enabled,oneshot) mount-sys
|-(down,Enabled,oneshot) populate-sys
|-(down,Enabled,oneshot) mount-dev
|-(down,Enabled,oneshot) mount-pts
|-(down,Enabled,oneshot) mount-shm
|-(down,Enabled,oneshot) populate-dev
|-(down,Enabled,oneshot) mount-cgroups
|-(down,Enabled,bundle) 00
|-(down,Enabled,oneshot) system-hwclock
|-(down,Enabled,oneshot) modules-kernel
|-(down,Enabled,oneshot) system-random
|-(down,Enabled,oneshot) modules-system
|-(down,Enabled,oneshot) system-sysctl
|-(264,Enabled,longrun) udevd-log
|-(440,Enabled,longrun) udevd
|-(down,Enabled,oneshot) udevadm
|-(down,Enabled,oneshot) system-fontnkey
|-(down,Enabled,bundle) all-Mount
|-(down,Enabled,oneshot) system-fsck
|-(down,Enabled,oneshot) mount-fstab
|-(down,Enabled,bundle) all-System
|-(down,Enabled,oneshot) mount-rw
|-(down,Enabled,oneshot) mount-netfs
|-(down,Enabled,oneshot) local-loop
|-(down,Enabled,oneshot) local-sethostname
|-(down,Enabled,oneshot) local-time
|-(down,Enabled,oneshot) local-authfiles
|-(down,Enabled,oneshot) local-tmpfiles
|-(down,Enabled,oneshot) local-dmesg
|-(down,Enabled,bundle) all-Local
|-(down,Enabled,oneshot) all-Runtime
|-(down,Enabled,bundle) All
|-(817,Enabled,longrun) tty-rc@ tty2
|-(818,Enabled,longrun) tty-rc@ tty1
`-(down,Enabled,module) boot@ system
Name : default
Initialized : yes
Enabled : yes
Starts after : None
Current : yes
Allowed : root
Symlinks : svc->source db->source
Contents : /
|-(707,Enabled,classic) sshd-log
|-(706,Enabled,classic) sshd
|-(722,Enabled,longrun) dbus-log
`-(726,Enabled,longrun) dbus
Name : network
Initialized : yes
Enabled : yes
Starts after : default
Current : no
Allowed : root
Symlinks : svc->source db->source
Contents : /
|-(747,Enabled,longrun) connmand-log
`-(751,Enabled,longrun) connmand
Name : user
Initialized : yes
Enabled : yes
Starts after : default network
Current : no
Allowed : root
Symlinks : svc->source db->source
Contents : /
|-(up,Enabled,oneshot) setenv@ <username>
|-(782,Enabled,longrun) svscan@ <username>-log
|-(809,Enabled,longrun) svscan@ <username>
|-(up,Enabled,module) scandir@ <username>
|-(up,Enabled,oneshot) mount-run@ <username>
`-(up,Enabled,module) boot-user@ <username>
Name : default
Initialized : no
Enabled : yes
Starts after : None
Current : yes
Allowed : <username>
Symlinks : svc->source db->source
Contents : /
|-(0,Enabled,longrun) dbus-session@ <username>-log
`-(0,Enabled,longrun) dbus-session@ <username>
I have noticed that boot-user@ <username> doesn't seem to export $XDG_RUNTIME_DIR, even though it is the only option, which is uncommented within its configuration.
doas 66-env -t user -e nvim boot-user@ <username>
# # Uncomment it to use a display manager.
# # Can be any display manager as long as the
# # corresponding frontend file exist on your system
# # e.g sddm,lightdm,...
# # It also prepare the .xsession file.
# DISPLAY_MANAGER=sddm
# # Uncomment it to use a console tracker.
# # Can be any console tracker as long as the
# # corresponding frontend file exist on your system
# # e.g consolekit,elogind,...
# CONSOLE_TRACKER=consolekit
# # Create and mount the XDG_RUNTIME directory
# # at /run/user/<username> [yes|no]
XDG_RUNTIME=!yes
# # Command to use in your .xinitrc
# # to launch your desktop e.g.: openbox-session.
# # If commented the .xinitrc file is not configured.
# DESKTOP_CMDLINE=!jwm
and i have run:
66-enable -t boot -F boot-user@ <username>
as root, so I do believe the changes should have taken effectIf I am missing something obvious, I do apologize, I am not yet fully used to 66 & s6.