focal, with modified /etc/nvme/hostid but not modified hostnqn:
root@lp1867366-f:~# dpkg -l | grep nvme-cli
ii nvme-cli 1.9-1 amd64 userspace tooling to control NVMe drives
root@lp1867366-f:~# grep . /etc/nvme/host*
/etc/nvme/hostid:I'm a modified hostid file!
root@lp1867366-f:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
nvme-cli
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 283 kB of archives.
After this operation, 3072 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 nvme-cli amd64 1.9-1ubuntu0.1 [283 kB]
Fetched 283 kB in 1s (433 kB/s)
(Reading database ... 47296 files and directories currently installed.)
Preparing to unpack .../nvme-cli_1.9-1ubuntu0.1_amd64.deb ...
Unpacking nvme-cli (1.9-1ubuntu0.1) over (1.9-1) ...
Setting up nvme-cli (1.9-1ubuntu0.1) ...
Removing obsolete conffile /etc/nvme/hostnqn ...
Processing triggers for man-db (2.9.1-1) ...
root@lp1867366-f:~# dpkg -l | grep nvme-cli
ii nvme-cli 1.9-1ubuntu0.1 amd64 userspace tooling to control NVMe drives
root@lp1867366-f:~# grep . /etc/nvme/host*
/etc/nvme/hostid:I'm a modified hostid file!
/etc/nvme/hostnqn:nqn.2014-08.org.nvmexpress:uuid:b663ca05-ccff-47dc-93c3-e3c101085bbb
note: expected behavior is correct, the unmodified (empty) hostnqn file is updated with a unique id, while the modified hostid file is left unchanged
focal, with modified /etc/nvme/hostid but not modified hostnqn:
root@lp1867366-f:~# dpkg -l | grep nvme-cli hostid: I'm a modified hostid file! archive. ubuntu. com/ubuntu focal-proposed/ universe amd64 nvme-cli amd64 1.9-1ubuntu0.1 [283 kB] cli_1.9- 1ubuntu0. 1_amd64. deb ... hostid: I'm a modified hostid file! hostnqn: nqn.2014- 08.org. nvmexpress: uuid:b663ca05- ccff-47dc- 93c3-e3c101085b bb
ii nvme-cli 1.9-1 amd64 userspace tooling to control NVMe drives
root@lp1867366-f:~# grep . /etc/nvme/host*
/etc/nvme/
root@lp1867366-f:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
nvme-cli
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 283 kB of archives.
After this operation, 3072 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Fetched 283 kB in 1s (433 kB/s)
(Reading database ... 47296 files and directories currently installed.)
Preparing to unpack .../nvme-
Unpacking nvme-cli (1.9-1ubuntu0.1) over (1.9-1) ...
Setting up nvme-cli (1.9-1ubuntu0.1) ...
Removing obsolete conffile /etc/nvme/hostnqn ...
Processing triggers for man-db (2.9.1-1) ...
root@lp1867366-f:~# dpkg -l | grep nvme-cli
ii nvme-cli 1.9-1ubuntu0.1 amd64 userspace tooling to control NVMe drives
root@lp1867366-f:~# grep . /etc/nvme/host*
/etc/nvme/
/etc/nvme/
note: expected behavior is correct, the unmodified (empty) hostnqn file is updated with a unique id, while the modified hostid file is left unchanged