newline appended to StaticHostname property
Bug #1134372 reported by
Szymon Janc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-system-service (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Bogus new line is being appended to StaticHostname property on org.freedesktop
example output from d-feet
{u'Hostname': u'uw000953',
u'IconName': u'',
u'PrettyHostname': u'',
u'StaticHostname': u'uw000953\n'}
changing line 28 in systemd.py from
static_hostname = f.readline()
to
static_hostname = f.readline(
seem to fix this issue.
This issue is present in 13.04, 12.10 and 12.04 (didn't check older versions).
BR
Szymon Janc
To post a comment you must log in.