View previous topic :: View next topic |
Author |
Message |
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Thu Sep 09, 2021 9:54 am Post subject: [solved] `xdm_bk' needs non existent service `xdm-setup' |
|
|
As the title,
when I boot I get this line in the output, and also when I restart a service
I don't start xdm because I don't need it and it isn't in a start level
Why this line appear? I points out that my system works without problem, I only want to understand this line to remove it
an example
Code: | gentoo ~ # /etc/init.d/sshd restart
* Caching service dependencies ...
Service `xdm_bk' needs non existent service `xdm-setup' [ ok ]
* Stopping sshd ... [ ok ]
* Starting sshd ... |
thanks a lot in advance _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Last edited by luna80 on Fri Sep 10, 2021 7:41 am; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Thu Sep 09, 2021 11:08 am Post subject: |
|
|
Hi
you need to have an
/etc/init.d/xdm
file containing
Code: |
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License, v2
depend() {
need display-manager
}
start() {
return
}
# vim: set ts=4 :
|
Do you?
If not either create it manually or try
Code: |
emerge -1av display-manager-init
dispatch-conf
|
what does
Code: |
ls /etc/init.d
and
cat /etc/conf.d/display-manager
|
say?
Are you using xdm display manager? _________________
Last edited by alamahant on Thu Sep 09, 2021 12:19 pm; edited 2 times in total |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Thu Sep 09, 2021 11:38 am Post subject: |
|
|
Code: | gentoo ~ # ls /etc/init.d/
agetty cronie fsck localmount net.lo runsvdir sysfs
alsasound cups-browsed functions.sh loopback netmount s6-svscan sysklogd
apache2 cupsd fuse lvm net-online saned termencoding
avahi-daemon dbus git-daemon lvmetad nullmailer savecache udev
avahi-dnsconfd devfs gpm lvm-monitoring numlock save-keymaps udev-settle
binfmt device-mapper hostname lvmpolld nvidia-persistenced save-termencoding udev-trigger
bluetooth dhcpcd hwclock modules osclock sshd urandom
bootlogd display-manager ip6tables mount-ro pciparm stmpfiles-dev xdm
bootmisc display-manager-setup iptables mtab procfs stmpfiles-setup xdm_bk
busybox-ntpd dmcrypt keymaps mysql pydoc-3.8 svnserve
busybox-watchdog dmesg killprocs mysql-s6 pydoc-3.9 swap
cgroups dmeventd kmod-static-nodes mysql-supervise root swclock
consolefont elogind local net.enp3s0 rsyncd sysctl |
and
Code: | gentoo ~ # cat /etc/conf.d/display-manager
# We always try and start the DM on a static VT. The various DMs normally
# default to using VT7. If you wish to use the display-manager init
# script, then you should ensure that the VT checked is the same VT your
# DM wants to use.
# We do this check to ensure that you haven't accidentally configured
# something to run on the VT in your /etc/inittab file so that
# you don't get a dead keyboard.
CHECKVT=7
# What display manager do you use ?
# [ xdm | greetd | gdm | sddm | gpe | lightdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="xdm" |
the file /etc/init.d/xdm is the same as you.
No, I'm not using xdm, I don't want a display manager, I want only know the cause of this message and remove it. _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Thu Sep 09, 2021 11:46 am Post subject: |
|
|
Then try
Code: |
emerge -cav xdm
emerge -a --depclean
rc-update delete display-manager default
|
Also try moving this xdm_bk some place else
and
find which package this troublemaker belongs to
before moving it. _________________
|
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Fri Sep 10, 2021 3:50 am Post subject: |
|
|
I don't have xdm installed and display-manager is not in an rc service level
equery return ad empty list _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Fri Sep 10, 2021 7:40 am Post subject: |
|
|
it seams to be solved by moving xdm_bk elsewhere
probably when I unmerged xdm something didn't works and not all the files were deleted (a lot of time ago, I don't know why the message become now)
thanks a lot _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
|