[opensuse-factory] what about ModemManager
Hi, After upgrade to 13.1 I noticed the ModemManager process. It is one of the first things which is started after boot. I have static network setup and pppd is running a DSL modem connected via network. $ mmcli -L No modems were found What is ModemManager good for and why it's installed and running by default? cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
Hi,
After upgrade to 13.1 I noticed the ModemManager process. It is one of the first things which is started after boot.
I have static network setup and pppd is running a DSL modem connected via network.
$ mmcli -L No modems were found
What is ModemManager good for and why it's installed and running by default?
http://www.freedesktop.org/wiki/Software/ModemManager/ It is DBus activated (the systemd service is only a wrapper). Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Friday 11 October 2013, Dominique Leuenberger a.k.a. Dimstar wrote:
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
Hi,
After upgrade to 13.1 I noticed the ModemManager process. It is one of the first things which is started after boot.
I have static network setup and pppd is running a DSL modem connected via network.
$ mmcli -L No modems were found
What is ModemManager good for and why it's installed and running by default?
http://www.freedesktop.org/wiki/Software/ModemManager/
It is DBus activated (the systemd service is only a wrapper).
What das this mean? Aren't these links responsible just for always starting it? /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service /etc/systemd/system/multi-user.target.wants/ModemManager.service cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Oct 11, 2013 at 01:33:08PM +0200, Ruediger Meier wrote:
On Friday 11 October 2013, Dominique Leuenberger a.k.a. Dimstar wrote:
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
Hi,
After upgrade to 13.1 I noticed the ModemManager process. It is one of the first things which is started after boot.
I have static network setup and pppd is running a DSL modem connected via network.
$ mmcli -L No modems were found
What is ModemManager good for and why it's installed and running by default?
http://www.freedesktop.org/wiki/Software/ModemManager/
It is DBus activated (the systemd service is only a wrapper).
What das this mean? Aren't these links responsible just for always starting it? /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service /etc/systemd/system/multi-user.target.wants/ModemManager.service
The ModemManager is more for AT style devices. serial modems, usb modems, GSM / UMTS cards. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting Marcus Meissner <meissner@suse.de>:
What das this mean? Aren't these links responsible just for always starting it? /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service /etc/systemd/system/multi-user.target.wants/ModemManager.service
The ModemManager is more for AT style devices. serial modems, usb modems, GSM / UMTS cards.
Plus Bluetooth connected. So basically, any means to connect to the internet which is not ETH or WIFI. (3G/UMTS are likely the most common use cases nowadays.. a lot of notebooks come with SIM slot). Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
On Friday 11 October 2013, Dominique Leuenberger a.k.a. Dimstar wrote:
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
Hi,
After upgrade to 13.1 I noticed the ModemManager process. It is one of the first things which is started after boot.
I have static network setup and pppd is running a DSL modem connected via network.
$ mmcli -L No modems were found
What is ModemManager good for and why it's installed and running by default?
http://www.freedesktop.org/wiki/Software/ModemManager/
It is DBus activated (the systemd service is only a wrapper).
What das this mean? Aren't these links responsible just for always starting it? /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service /etc/systemd/system/multi-user.target.wants/ModemManager.service
No.. they are there to make the DBUS service manageable in CGroups.. but, if everything goes right, a Type=dbus service should not be started 'just like this'. It should start as soon as something tries to 'reach' the DBus path (/org/freedesktop/ModemManager). If you run GNOME, then this is triggered as soon as you login (gnome-shell tries to offer modem connections there are any). Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Friday 11 October 2013, Dominique Leuenberger a.k.a. Dimstar wrote:
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
On Friday 11 October 2013, Dominique Leuenberger a.k.a. Dimstar wrote:
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
Hi,
After upgrade to 13.1 I noticed the ModemManager process. It is one of the first things which is started after boot.
I have static network setup and pppd is running a DSL modem connected via network.
$ mmcli -L No modems were found
What is ModemManager good for and why it's installed and running by default?
http://www.freedesktop.org/wiki/Software/ModemManager/
It is DBus activated (the systemd service is only a wrapper).
What das this mean? Aren't these links responsible just for always starting it? /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service /etc/systemd/system/multi-user.target.wants/ModemManager.service
No.. they are there to make the DBUS service manageable in CGroups.. but, if everything goes right, a Type=dbus service should not be started 'just like this'.
It should start as soon as something tries to 'reach' the DBus path (/org/freedesktop/ModemManager).
If you run GNOME, then this is triggered as soon as you login (gnome-shell tries to offer modem connections there are any).
Well, that's why I am asking all this. I have static network setup and surely don't want to offer my users any network related stuff. Actually now I have uninstalled and blacklisted ModemManager like I had already avahi and NetworkManager but how I know what else could pop up if a user starts gnome? Can I be sure that my network setup is static and nothing would change anything automatically nor users are allowed to this if they plugin their phones? I still wonder why things like ModemManager are installed and running by default after update. cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
Well, that's why I am asking all this. I have static network setup and surely don't want to offer my users any network related stuff.
you seem to have a very specific usecase, which is valid. But don't expect the 'standard' setup to match each special usecase please. If you're worried about 'things starting when something is plugged in' then you should really have a look at udev and dbus: they interact a lot together and spawn all kind of different modules.
Actually now I have uninstalled and blacklisted ModemManager like I had already avahi and NetworkManager but how I know what else could pop up if a user starts gnome?
You don't want to block all the services; you better look at polkit rules to revoke the specific rights the users receive on a standard openSUSE setup.
Can I be sure that my network setup is static and nothing would change anything automatically nor users are allowed to this if they plugin their phones?
Disable USB and Serial Ports in the bios.. is the only way to be sure. Everything else, I'd recommend to go through the list of polkit privileges offered, analyse the DBUS Services installed on your system and potentially adjust udev rules to your liking.
I still wonder why things like ModemManager are installed and running by default after update. Because we like stuff to work when we need the stuff. Downloading a packet over internet while you're disconnected and try to get your modem running sounds like a bad plan :)
Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Friday 11 October 2013, Dominique Leuenberger a.k.a. Dimstar wrote:
Quoting Ruediger Meier <sweet_f_a@gmx.de>:
Well, that's why I am asking all this. I have static network setup and surely don't want to offer my users any network related stuff.
you seem to have a very specific usecase, which is valid. But don't expect the 'standard' setup to match each special usecase please.
If you're worried about 'things starting when something is plugged in' then you should really have a look at udev and dbus: they interact a lot together and spawn all kind of different modules.
Actually now I have uninstalled and blacklisted ModemManager like I had already avahi and NetworkManager but how I know what else could pop up if a user starts gnome?
You don't want to block all the services;
I remember that the NetworkManager* packages broke my networks several times just right after getting them installed. It's part of my globally synced /etc/zypp/locks like PackageKit and pulseaudio for example.
you better look at polkit rules to revoke the specific rights the users receive on a standard openSUSE setup.
These machanisms often changed in past. I really hate it to need to learn always something new just to disable it. It has to be the way that my system should behave similar before and after a distro upgrade. At least by default don't install backdoors to make users to administrators.
Can I be sure that my network setup is static and nothing would change anything automatically nor users are allowed to this if they plugin their phones?
Disable USB and Serial Ports in the bios.. is the only way to be sure.
Are you serious? I should disable my machine just to not offer administrative tasks to the regular users.
Everything else, I'd recommend to go through the list of polkit privileges offered, analyse the DBUS Services installed on your system and potentially adjust udev rules to your liking.
How can I fix my udev rules if then ModemManager package comes without being asked and installs dozens of /usr/lib/udev/rules.d/77-mm*rules This is exacly what I want to learn. How can I prevent that before getting this?
I still wonder why things like ModemManager are installed and running by default after update.
Because we like stuff to work when we need the stuff. Downloading a packet over internet while you're disconnected and try to get your modem running sounds like a bad plan :)
I guess it's more likely that you get disconnected while installing the next freedesktop *kit and then you are not able to google what it is and how to remove it again. cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 11/10/13 07:57, Ruediger Meier escribió:
Hi,
After upgrade to 13.1 I noticed the ModemManager process. It is one of the first things which is started after boot.
I have static network setup and pppd is running a DSL modem connected via network.
$ mmcli -L No modems were found
What is ModemManager good for and why it's installed and running by default?
You can just uninstall the package ModemManager if you have an static network configuration. The distribution is designed to cover common, generic use-cases by default. -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Cristian Rodríguez
-
Dominique Leuenberger a.k.a. Dimstar
-
Marcus Meissner
-
Ruediger Meier