[Bug 1134372] [NEW] newline appended to StaticHostname property
Szymon Janc
szymon.janc at tieto.com
Wed Feb 27 14:03:20 UTC 2013
Public bug reported:
Hi,
Bogus new line is being appended to StaticHostname property on
org.freedesktop.hostname1 interface.
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().rstrip()
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
** Affects: ubuntu-system-service (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-system-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1134372
Title:
newline appended to StaticHostname property
Status in “ubuntu-system-service” package in Ubuntu:
New
Bug description:
Hi,
Bogus new line is being appended to StaticHostname property on
org.freedesktop.hostname1 interface.
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().rstrip()
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-service/+bug/1134372/+subscriptions
More information about the foundations-bugs
mailing list