modem-manager writes to log every 2 seconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
modemmanager (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: modemmanager
I've got an UMTS modem. My log:
$ tail /var/log/daemon.log
Oct 18 18:36:22 dsksdy modem-manager: Duration: 38 Up: 2 Kbps Down: 1 Kbps Total: 30 Total: 106
Oct 18 18:36:24 dsksdy modem-manager: Duration: 40 Up: 1 Kbps Down: 0 Kbps Total: 30 Total: 106
Oct 18 18:36:26 dsksdy modem-manager: Duration: 42 Up: 2 Kbps Down: 1 Kbps Total: 31 Total: 107
Oct 18 18:36:28 dsksdy modem-manager: Duration: 44 Up: 3 Kbps Down: 3 Kbps Total: 31 Total: 108
Oct 18 18:36:30 dsksdy modem-manager: Duration: 46 Up: 2 Kbps Down: 3 Kbps Total: 32 Total: 109
Oct 18 18:36:32 dsksdy modem-manager: Duration: 48 Up: 0 Kbps Down: 1 Kbps Total: 32 Total: 109
Oct 18 18:36:34 dsksdy modem-manager: Duration: 50 Up: 0 Kbps Down: 0 Kbps Total: 32 Total: 109
Oct 18 18:36:36 dsksdy modem-manager: Duration: 52 Up: 0 Kbps Down: 0 Kbps Total: 32 Total: 109
Oct 18 18:36:38 dsksdy modem-manager: Duration: 54 Up: 0 Kbps Down: 0 Kbps Total: 32 Total: 109
Oct 18 18:36:40 dsksdy modem-manager: Duration: 56 Up: 0 Kbps Down: 0 Kbps Total: 32 Total: 109
This causes permanent disk access that I want to prevent it from. How?
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: modemmanager 0.4+git.
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon Oct 18 18:40:09 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100317.1)
ProcEnviron:
LANG=de_DE.utf8
SHELL=/bin/bash
SourcePackage: modemmanager
I created a little workaround for this problem.
To apply:
sudo -s >/etc/rsyslog. d/49-modemmanag er-workaround. conf /bugs.launchpad .net/ubuntu/ +source/ modemmanager/ +bug/662791
cat <<_EOF_
# Workaround for bug from modemmanager spamming the logs
# https:/
:msg, contains, "Duration: " ~
& ~
:msg, contains, "Access Technology: " ~
& ~
_EOF_
service rsyslog restart
This will prevent modemmanager writing these two types of messages to any log. Works for me at least.