Activity log for bug #1635722

Date Who What changed Old value New value Message
2016-10-21 20:37:10 Felipe Reyes bug added bug
2016-10-21 20:41:57 Felipe Reyes tags sts trusty sts
2017-01-10 15:34:37 Louis Bouchard nominated for series Ubuntu Trusty
2017-01-10 15:34:37 Louis Bouchard bug task added sosreport (Ubuntu Trusty)
2017-01-10 15:34:45 Louis Bouchard sosreport (Ubuntu): status New Fix Released
2017-01-10 15:34:51 Louis Bouchard sosreport (Ubuntu Trusty): status New Triaged
2017-01-10 15:34:54 Louis Bouchard sosreport (Ubuntu Trusty): importance Undecided Medium
2017-01-10 15:34:56 Louis Bouchard sosreport (Ubuntu Trusty): assignee Louis Bouchard (louis-bouchard)
2017-01-17 13:24:23 Louis Bouchard sosreport (Ubuntu): status Fix Released Invalid
2017-01-17 13:38:31 Louis Bouchard description swapon from trusty, used by sosreport since 3.2, doesn't support the option --show. sos_commands/memory/swapon_--bytes_--show swapon: unrecognized option '--bytes' Usage: swapon [options] [<spec>] Options: -a, --all enable all swaps from /etc/fstab -d, --discard discard freed pages before they are reused -e, --ifexists silently skip devices that do not exis -f, --fixpgsz reinitialize the swap space if necessary -h, --help display help and exit -p, --priority <prio> specify the priority of the swap device. -s, --summary display summary about used swap devices and exit -v, --verbose verbose mode -V, --version display version and exit The <spec> parameter: -L <label> LABEL of device to be used -U <uuid> UUID of device to be used LABEL=<label> LABEL of device to be used UUID=<uuid> UUID of device to be used <device> name of device to be used <file> name of file to be used [SRU justification] The memory.py plugin generate an error [Impact] The swapon information is unavailable on Trusty [Fix] Replace command by 'swapon -s' [Test Case] Run the sosreport memory plugin : $ sudo sosreport --batch -omemory Without the patch, the file sos_commands/memory/swapon_--bytes_--show will only contain an error. With the patch, the file will be replaced by sos_commands/memory/swapon_-s which will contain the result of swapon -s [Regression] None, only one command replaced [Original description of the problem] swapon from trusty, used by sosreport since 3.2, doesn't support the option --show. sos_commands/memory/swapon_--bytes_--show swapon: unrecognized option '--bytes' Usage:  swapon [options] [<spec>] Options:  -a, --all enable all swaps from /etc/fstab  -d, --discard discard freed pages before they are reused  -e, --ifexists silently skip devices that do not exis  -f, --fixpgsz reinitialize the swap space if necessary  -h, --help display help and exit  -p, --priority <prio> specify the priority of the swap device.  -s, --summary display summary about used swap devices and exit  -v, --verbose verbose mode  -V, --version display version and exit The <spec> parameter:  -L <label> LABEL of device to be used  -U <uuid> UUID of device to be used  LABEL=<label> LABEL of device to be used  UUID=<uuid> UUID of device to be used  <device> name of device to be used  <file> name of file to be used
2020-07-14 15:40:57 Guilherme G. Piccoli sosreport (Ubuntu Trusty): status Triaged Invalid