lightdm writing the same DEBUG message to /var/log/lightdm/lightdm.log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Light Display Manager |
Low
|
Unassigned | ||
| 1.10 |
Low
|
Unassigned | ||
| 1.12 |
Low
|
Unassigned | ||
| lightdm (Ubuntu) |
Low
|
Unassigned |
Bug Description
I was trying to figure out where excessive file system writes were
coming from on the ubuntu phone (to try to reduce flash writes and hence reduce power
consumption) and I spotted that /var/log/
tail -f /var/log/
[+5109.66s] DEBUG: User /org/freedeskto
[+5409.67s] DEBUG: User /org/freedeskto
[+5709.66s] DEBUG: User /org/freedeskto
[+6009.66s] DEBUG: User /org/freedeskto
[+6309.64s] DEBUG: User /org/freedeskto
[+6609.65s] DEBUG: User /org/freedeskto
[+6909.67s] DEBUG: User /org/freedeskto
[+7209.66s] DEBUG: User /org/freedeskto
[+7509.66s] DEBUG: User /org/freedeskto
[+7809.57s] DEBUG: User /org/freedeskto
[+8109.65s] DEBUG: User /org/freedeskto
while this isn't much of a message, it still is causing file system writes every 5 minutes for the same debug message. Is this necessary? The fact that it is the same message about the same account and that it occurs every 300 seconds make me wonder if we can cull this particular piece of repeated logging.
Robert Ancell (robert-ancell) wrote : | #1 |
Changed in lightdm (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Incomplete |
Robert Ancell (robert-ancell) wrote : | #2 |
I think this might be the XHasMessages property that is being set, since the patch for that doesn't stop Changed from being emitted if the value has not changed. The other properties seem to correctly check if they are changed.
Robert Ancell (robert-ancell) wrote : | #3 |
Hmm, not finding anything that sets this. Other candidates are XKeyboardLayouts, BackgroundFile and IconFile which also may emit Changed even if they are not.
I checked the properties of this user on a phone and confirm they are unchanged before and after this signal occurs.
Robert Ancell (robert-ancell) wrote : | #4 |
Ah, it turns out there are a lot of extensions in /usr/share/
Changed in lightdm: | |
importance: | Undecided → Medium |
status: | New → Triaged |
importance: | Medium → Low |
Changed in lightdm (Ubuntu): | |
importance: | Medium → Low |
status: | Incomplete → Triaged |
Changed in lightdm: | |
status: | Triaged → Fix Committed |
milestone: | none → 1.13.0 |
Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package lightdm - 1.12.1-0ubuntu1
---------------
lightdm (1.12.1-0ubuntu1) utopic; urgency=medium
* New upstream release:
- Fix crash when having configuration keys defined in multiple places
(LP: #1377373)
- Allow user switching in multi-seat until bug stopping greeter showing on
logout is fixed
- Disable log message when AccountsService users change (LP: #1376357)
-- Robert Ancell <email address hidden> Thu, 09 Oct 2014 08:59:27 +1300
Changed in lightdm (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
I'd like to find out what is changing on this user every 300s - this doesn't occur on desktop and there's nothing that I can see that should be frequently changed for a user. The debugging is useful, but can be removed if there is a legitimate reason for a user to change this frequently.