Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] `xdm_bk' needs non existent service `xdm-setup'
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Thu Sep 09, 2021 9:54 am    Post subject: [solved] `xdm_bk' needs non existent service `xdm-setup' Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Sep 09, 2021 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Thu Sep 09, 2021 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Sep 09, 2021 11:46 am    Post subject: Reply with quote

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
Code:

equery b xdm_bk

before moving it.
_________________
:)
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Fri Sep 10, 2021 3:50 am    Post subject: Reply with quote

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
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Fri Sep 10, 2021 7:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum