6516 pkgadm shouldn't use makeuuid from closed admin consolidation
Review Request #121 — Created Dec. 16, 2015 and updated — Latest diff uploaded
Information | |
---|---|
alp | |
illumos-gate | |
Reviewers | |
general | |
pkgadm code uses external closed makeuuid tool to generate uuids. Now when we have uuidgen in gate, it's better to replace it with uuidgen.
pfexec ./proto/root_i386/usr/bin/pkgadm -vvv lock -a -o aaa && echo 1
[ 8109 4] open lock file root </> file </tmp/.ai.pkg.zone.lock-afdb66cf-1dd1-11b2-a049-000d560ddc3e>
[ 8109 4] open lock file: opened and locked fd <3>
[ 8109 4] acquire lock key=<> object=<aaa> quiet=<0> exclusive=<1>
[ 8109 4] find lock object <aaa> key <>
[ 8109 4] find lock record not found
[ 8109 4] acquire exclusive lock result <-2> record <-1>
[ 8109 4] acquiring exclusive lock on object <aaa>
[ 8109 4] generated new unique key using date: 2702117085-1903201-0000f320827d7acf
[ 8109 4] adding exclusive lock pos <0> object <(null)> key <aaa> pid <134509896> zid <0>
2702117085-1903201-0000f320827d7acf
1
We can see that keys have correct format.