Bug 65945 - duplicated Docs: lines in systemctl status output
Summary: duplicated Docs: lines in systemctl status output
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 18:36 UTC by Michael Biebl
Modified: 2013-06-19 22:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Michael Biebl 2013-06-19 18:36:59 UTC
Version: 204

# systemctl status syslog.socket 
syslog.socket - Syslog Socket
         Loaded: loaded (/lib/systemd/system/syslog.socket; static)
         Active: active (running) since Mi 2013-06-19 20:34:53 CEST; 1s ago
           Docs: man:systemd.special(7)
                 http://www.freedesktop.org/wiki/Software/systemd/syslog
                 man:systemd.special(7)
                 http://www.freedesktop.org/wiki/Software/systemd/syslog

Note the the references to the man page an URL are duplicated.

Another example:
# systemctl status systemd-udevd-kernel.socket 
systemd-udevd-kernel.socket - udev Kernel Socket
        Loaded: loaded (/lib/systemd/system/systemd-udevd-kernel.socket; static)
        Active: active (running) since Mi 2013-06-19 17:34:38 CEST; 3h 1min ago
          Docs: man:systemd-udevd.service(8)
                man:udev(7)
                man:systemd-udevd.service(8)
                man:udev(7)

Might be a socket unit specific problem, as I can't find a service atm which exhibits this problem.
Comment 1 Lennart Poettering 2013-06-19 18:42:44 UTC
What is the contents of the low-level property? Is it already duplicate there? Try this:

systemctl show -p Documentation systemd-udevd
Comment 2 Michael Biebl 2013-06-19 19:33:00 UTC
(In reply to comment #1)
> What is the contents of the low-level property? Is it already duplicate
> there? Try this:
> 
> systemctl show -p Documentation systemd-udevd

# systemctl show -p Documentation systemd-udevd
Documentation=man:systemd-udevd.service(8) man:udev(7)
Comment 3 Zbigniew Jedrzejewski-Szmek 2013-06-19 20:47:12 UTC
I was assuming that the error is on journalctl side, but it seems that GetAll returns many properties duplicated...

% gdbus call --system --dest org.freedesktop.systemd1 --object-path /org/freedesktop/systemd1/unit/syslog_2esocket --method org.freedesktop.DBus.Properties.GetAll ""|sed -r "s/, ('[a-zA-Z]+': <)/\n\1/g"|sort

'Accept': <false>
'ActiveEnterTimestampMonotonic': <uint64 0>
'ActiveEnterTimestampMonotonic': <uint64 0>
'ActiveEnterTimestamp': <uint64 0>
'ActiveEnterTimestamp': <uint64 0>
'ActiveExitTimestampMonotonic': <uint64 0>
'ActiveExitTimestampMonotonic': <uint64 0>
'ActiveExitTimestamp': <uint64 0>
'ActiveExitTimestamp': <uint64 0>
'ActiveState': <'inactive'>
'ActiveState': <'inactive'>
'After': <['-.mount']>
'After': <['-.mount']>
'AllowIsolate': <false>
'AllowIsolate': <false>
'Backlog': <uint32 128>
'Before': <['systemd-journald.service', 'sockets.target', 'shutdown.target', 'rsyslog.service']>
'Before': <['systemd-journald.service', 'sockets.target', 'shutdown.target', 'rsyslog.service']>
'BindsTo': <@as []>
'BindsTo': <@as []>
'BindToDevice': <''>
'BoundBy': <@as []>
'BoundBy': <@as []>
'Broadcast': <false>
'CanIsolate': <false>
'CanIsolate': <false>
'CanReload': <false>
'CanReload': <false>
'CanStart': <true>
'CanStart': <true>
'CanStop': <true>
'CanStop': <true>
'Capabilities': <''>
'CapabilityBoundingSet': <uint64 18446744073709551615>
'ConditionResult': <false>
'ConditionResult': <false>
'ConditionTimestampMonotonic': <uint64 0>
'ConditionTimestampMonotonic': <uint64 0>
'ConditionTimestamp': <uint64 0>
'ConditionTimestamp': <uint64 0>
'ConflictedBy': <@as []>
'ConflictedBy': <@as []>
'Conflicts': <['shutdown.target']>
'Conflicts': <['shutdown.target']>
'ConsistsOf': <@as []>
'ConsistsOf': <@as []>
'ControlGroupModify': <false>
'ControlGroupPersistent': <false>
'ControlPID': <uint32 0>
'CPUAffinity': <@ay []>
'CPUSchedulingPolicy': <0>
'CPUSchedulingPriority': <0>
'CPUSchedulingResetOnFork': <false>
'DefaultDependencies': <false>
'DefaultDependencies': <false>
'Description': <'Syslog Socket'>
'Description': <'Syslog Socket'>
'DirectoryMode': <uint32 493>
'Documentation': <['man:systemd.special(7)', 'http://www.freedesktop.org/wiki/Software/systemd/syslog']>
'Documentation': <['man:systemd.special(7)', 'http://www.freedesktop.org/wiki/Software/systemd/syslog']>
'DropInPaths': <@as []>
'DropInPaths': <@as []>
'Environment': <@as []>
'EnvironmentFiles': <@a(sb) []>
...
Comment 4 Zbigniew Jedrzejewski-Szmek 2013-06-19 20:54:10 UTC
Duplicate line, patch pending.
Comment 5 Zbigniew Jedrzejewski-Szmek 2013-06-19 22:11:45 UTC
Fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=c25b1ee.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.