Public bug reported:

[Impact]
 * When running When I run zsysctl show --full, the output of persistent 
datasets is garbagled, like:
Persistent Datasets:
                        - &{rpool/usr/local %!!(MISSING)s(bool=false) 
{/usr/local on %!!(MISSING)s(bool=true) %!!(MISSING)s(bool=false) 
%!!(MISSING)s(int=0)    {inherited     }} [] 
{%!!(MISSING)s(*zfs.Dataset=&{0x1fab700 1 map[1:{1594525151 none} 6:{yes none} 
13:{/usr/local inherited} 27:{rpool/usr/local none} 28:{on default}] []})}}
                        - &{rpool/var/games %!!(MISSING)s(bool=false) 
{/var/games on %!!(MISSING)s(bool=true) %!!(MISSING)s(bool=false) 
%!!(MISSING)s(int=0)    {inherited     }} [] 
{%!!(MISSING)s(*zfs.Dataset=&{0x1b96680 1 map[1:{1594525151 none} 6:{yes none} 
13:{/var/games inherited} 27:{rpool/var/games none} 28:{on default}] []})}}
                        - &{rpool/var/mail %!!(MISSING)s(bool=false) {/var/mail 
on %!!(MISSING)s(bool=true) %!!(MISSING)s(bool=false) %!!(MISSING)s(int=0)    
{inherited     }} [] {%!!(MISSING)s(*zfs.Dataset=&{0x1beff10 1 
map[1:{1594525151 none} 6:{yes none} 13:{/var/mail inherited} 
27:{rpool/var/mail none} 28:{on default}] []})}}


[Test Case]
 * After installing new version, run zsysctl show --full and check the output 
of persistent datasets
Those should be of the form:
Persistent Datasets:
  - rpool/boot/grub

[Regression Potential]
 * The code impact is on the output formatting, which then can be less readable 
than today.
 * Note that i18n is impacted (due to the \t which was invalid here), but in 
practice, this string isn’t translated.

** Affects: zsys (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1897565

Title:
  [SRU] Persistent dataset print strangely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1897565/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to