Skip to main content
Topic: Strange error message on shutdown/startup (Read 1065 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Strange error message on shutdown/startup

Hey all,

So I’ve very recently installed Artix (openrc, with the cinnamon gui installer) and I’ve been having the strangest issue. Upon reboot, I’m thrown the following error message:

The system will reboot now
ModemManager[2417]: <warn> could not acquire the ‘org.freedesktop.ModemManager1’ service name

nm-dispatcher: System bus stopped. Exiting
ModemManager[2417]: <info> ModemManager is shut down

Before Artix, I was on an installation of Arch that one day started throwing me a similar error message upon reboot. Only difference is Cinnamon just wouldn’t start at all for some reason, hence why I opted to format my drives and install Artix (as I was already planning to ditch systemd and figured now was a better time than ever). Now when my system boots back up, everything is as normal until I try to login through lightdm. After I type in my password, I see a black screen and I’m back in lightdm, but this time,  at the top of the screen where my hostname would be, I see what looks to be an Ipv6 address, which I assume is mine (not included for obvious reasons). From here I login and the system works fine. I’m in Cinnamon and everything is as I left it. Save for my hostname (which I set to “jeenartix”) still showing up as the aforementioned Ipv6 address. Any information as to how I could go about resolving this issue would be greatly appreciated. Thanks in advance.


Re: Strange error message on shutdown/startup

Reply #1
Hello,

I don't have the solution to your problem, but to work around it you could try replacing lightdm with sddm.

Code: [Select]
sudo  pacman -Sy sddm-openrc

Code: [Select]
sudo rc-update add sddm default

Reboot the system.

Code: [Select]
sudo pacman -Rsu lightdm

I know, that's not a very scientific answer ... :-[


Re: Strange error message on shutdown/startup

Reply #3
As far as I understand, ModemManager is just used to connect to the internet via a mobile broadband device(2G/3G/4G). So if you are connected via cable(ethernet) or wifi, ModemManager should be of no use to you. So why not remove the ModemManager package from your system as it is just causing issues with no additional use?
as always, correct me if I'm wrong ;)

Re: Strange error message on shutdown/startup

Reply #4
The system will reboot now
ModemManager[2417]: <warn> could not acquire the ‘org.freedesktop.ModemManager1’ service name

This could be dbus attempting to start ModemManager somehow (I think NetworkManager tries to start it usually). It also could be a reference to the systemd name of the service which I think is the same. What init system are you using?

Re: Strange error message on shutdown/startup

Reply #5
Have you tried another hostname? Some choices of hostname cause problems for unknown reasons, but only on particular systems, as others cannot reproduce the same thing. Set it in /etc/hostname, just put the name "somehostname" and possibly /etc/conf.d/hostname if you have that file too, like: hostname="somehostname"
I agree with Dudemanguy the service not found error looks like a dBus error:
https://www.freedesktop.org/software/ModemManager/api/1.0.0/ref-dbus-object-manager.html
Often you get that sort of thing because either a package is not installed, some initialization procedure isn't run, or it lacks permissions to do so, groups issue etc. I think here it means modem manager cannot add itself to dBus, which is sort of an interprocess communication common interface, but whether that message is a cause or merely a symptom, I don't know.

Re: Strange error message on shutdown/startup

Reply #6
I’ve always seen
Quote
ModemManager[2417]: <warn> could not acquire the ‘org.freedesktop.ModemManager1’ service name
and it never caused an issue

Re: Strange error message on shutdown/startup

Reply #7
I’ve always seen  and it never caused an issue
that's why I would suggest removing the ModemManager package.
Code: [Select]
sudo pacman -R ModemManager
If the error still consist, you can be sure that it is not ModemManager causing the issue ;) I tried to remove it as well, just for testing and besides the downside of plasma-nm depending on the ModemManager and therefore removing plasma-nm as well, the system behaves normal(network up and running) without ModemManager.
as always, correct me if I'm wrong ;)

 

Re: Strange error message on shutdown/startup

Reply #8
This could be dbus attempting to start ModemManager somehow (I think NetworkManager tries to start it usually). It also could be a reference to the systemd name of the service which I think is the same. What init system are you using?

I'm using openrc.