#1052489 iproute2: broken formatting in manual pages due to hermetic-/usr changes

Package:
iproute2
Source:
iproute2
Description:
networking and traffic control tools
Submitter:
Paul Wise
Date:
2023-09-23 02:21:04 UTC
Severity:
normal
#1052489#5
Date:
2023-09-23 02:18:34 UTC
From:
To:
The hermetic-/usr changes to the manual pages documenting the new
locations in /usr of the files previously in /etc and overridable
by user files in /etc broke the formatting in the manual pages.

The /usr paths have "or" appended to them instead of as a separate
word and the /etc paths have "(hasprecedenceifexists)" appended to
them instead of with spaces as a separate phrase.

Note that not all mentions of /usr and /etc paths have this issue.

There may be other formatting issues I haven't noticed yet.

   $ for f in $(dpkg -L iproute2 | grep 'man.*\.gz' ) ; do if output=$(man $f 2> /dev/null | grep "hasprecedenceifexists") ; then echo "$f" ; echo "$output" ; fi ; done
   /usr/share/man/man8/ip-address.8.gz
                 the  scope of the area where this address is valid.  The available scopes are listed in /usr/lib/iproute2/rt_scopesor /etc/iproute2/rt_scopes(hasprecedenceifexists).  Pre‐
   /usr/share/man/man8/ip-link.8.gz
                 specify the group the device belongs to.  The available groups are listed in /usr/lib/iproute2/groupor /etc/iproute2/group(hasprecedenceifexists).
   /usr/share/man/man8/ip-route.8.gz
                        /usr/lib/iproute2/rt_dsfieldor /etc/iproute2/rt_dsfield(hasprecedenceifexists).
                        the table to add this route to.  TABLEID may be a number or a string from /usr/lib/iproute2/rt_tablesor /etc/iproute2/rt_tables(hasprecedenceifexists).  If this pa‐
                        the realm to which this route is assigned.  REALMID may be a number or a string from /usr/lib/iproute2/rt_realmsor /etc/iproute2/rt_realms(hasprecedenceifexists).
                        /etc/iproute2/rt_scopes(hasprecedenceifexists).   If this parameter is omitted, ip assumes scope global for all gatewayed unicast routes, scope link for direct uni‐
                        the routing protocol identifier of this route.  RTPROTO may be a number or a string from  /etc/iproute2/rt_protosor  /etc/iproute2/rt_protos(hasprecedenceifexists).
                                    number  or  a string from /usr/lib/iproute2/rt_tablesor /etc/iproute2/rt_tables(hasprecedenceifexists).  If vrftable is used, the argument must be a VRF
                                    string  from  /usr/lib/iproute2/rt_tablesor /etc/iproute2/rt_tables(hasprecedenceifexists).  The argument must be a VRF device associated with the table
                                    ber or a string from /usr/lib/iproute2/rt_tablesor /etc/iproute2/rt_tables(hasprecedenceifexists).  The argument must be a VRF  device  associated  with