Bug 22217 - Update request: nilfs-utils
Summary: Update request: nilfs-utils
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-32-OK MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-12-18 17:26 CET by Dimitri Jakov
Modified: 2017-12-28 14:17 CET (History)
3 users (show)

See Also:
Source RPM: nilfs-utils-2.2.7-1.mga6
CVE:
Status comment:


Attachments

Description Dimitri Jakov 2017-12-18 17:26:53 CET
The package has been uploaded to Mageia 6 Core Updates Testing.

Mageia 6 ships nilfs-utils-2.2.1 (released in 2014); since then, there have been six releases, each of them containing a lot of bugfixes. This is a therefore a cumulative update.

Suggested advisory:
========================

nilfs-utils 2.2.7 contain multiple bugfixes and improvements.

References:
https://nilfs.sourceforge.io
https://github.com/nilfs-dev/nilfs-utils/releases
========================

Updated packages in core/updates_testing:
========================
nilfs-utils-2.2.7-1.mga6

Source RPMs: 
nilfs-utils-2.2.7-1.mga6
Comment 1 Dimitri Jakov 2017-12-18 17:27:38 CET
Reassigning to QA Team

nilfs-utils-2.2.7-1.mga6

Assignee: bugsquad => qa-bugs

Comment 2 Herman Viaene 2017-12-22 12:20:11 CET
MGA6-32 on Dell Latitude D600 MATE
No installation issues
I have no such filesystem, but could do:
$ lscp -h
Usage: lscp [OPTION]... [DEVICE]
  -a, --all		show all checkpoints
  -b, --show-block-count		show block count
  -g, --show-increment		show increment count
  -r, --reverse		reverse order
  -s, --snapshot	list only snapshots
  -i, --index		cp/ss index
  -n, --lines		lines
  -h, --help		display this help and exit
  -V, --version		display version and exit
$ lscp -V
lscp (nilfs-utils 2.2.7)
$ lssu /dev/sda1
lssu: cannot open NILFS on /dev/sda1: No such file or directory

Seems all correct behavior.

Whiteboard: (none) => MGA6-32-OK
CC: (none) => herman.viaene

Comment 3 Lewis Smith 2017-12-25 21:06:50 CET
We are unlikely to be able to test this in present circumstances: unless we find a real user, it would entail creating & using a nilfs2 filesystem. This page gives a handy "Using NILFS" resumé with explicit commands:
 https://nilfs.sourceforge.io/en/about_nilfs.html
May yet try it.

CC: (none) => lewyssmith

Comment 4 Lewis Smith 2017-12-26 21:44:16 CET
Testing M6/64

There is a host of associated programs, all with man pages:
 /sbin/mkfs.nilfs2
 /sbin/mount.nilfs2
 /sbin/nilfs_cleanerd
 /sbin/umount.nilfs2
 /usr/bin/chcp
 /usr/bin/dumpseg
 /usr/bin/lscp
 /usr/bin/lssu
 /usr/bin/mkcp
 /usr/bin/rmcp
 /usr/sbin/nilfs-clean
 /usr/sbin/nilfs-resize
 /usr/sbin/nilfs-tune
 lscp     lists checkpoints.
 mkcp     makes a checkpoint.
 mkcp -s  makes a snapshot.
 chcp     changes an existing checkpoint to a snapshot or vice versa.
 rmcp     invalidates specified checkpoint(s).

BEFORE update: nilfs-utils-2.2.1-4.mga6
AFTER update:  nilfs-utils-2.2.7-1.mga6

 # mkdir /mnt/tmp
 # chmod a+w /mnt/tmp/
 # mkfs -t nilfs2 /dev/sda10
WARNING: Device /dev/sda10 appears to contain an existing nilfs2 superblock.
WARNING: All data will be lost after format!
DO YOU REALLY WANT TO FORMAT DEVICE /dev/sda10?
Continue? [y/N] y
mkfs.nilfs2 (nilfs-utils 2.2.7)
Start writing file system initial data to the device
       Blocksize:4096  Device:/dev/sda10  Device Size:20971520000
File system initialization succeeded !! 

 # mount -t nilfs2 /dev/sda10 /mnt/tmp

Copied a big mixed directory to /mnt/tmp/ . Viewed various files, edited a few, confirmed that the changes 'stuck'. Did a big unzip. Deleted some files.

 $ lscp /dev/sda10
                 CNO        DATE     TIME  MODE  FLG      BLKCNT       ICNT
                   1  2017-12-26 20:57:43   cp    -            4          2
...
                  20  2017-12-26 21:12:28   cp    -        73492        856

 $ lssu /dev/sda10
              SEGNUM        DATE     TIME STAT     NBLOCKS
                   0  2017-12-26 21:01:29  -d-        2047
...
                  38  2017-12-26 21:12:28  ad-         172
                  39  ---------- --:--:--  ad-           0

 # mkcp /dev/sda10
 # nilfs-clean /dev/sda10
 # mkcp -s /dev/sda10
No O/P to any of these.

Did not persue checkpoint|snapshot generation, mounting, conversion, deletion.
Looks functional. OKing & validating. Advisory done.

Whiteboard: MGA6-32-OK => MGA6-32-OK MGA6-64-OK
Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Comment 5 Mageia Robot 2017-12-28 14:17:55 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2017-0136.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.