[Group.of.nepali.translators] [Bug 1733276] Re: Cannot resize partitions on NVME devices due to bad device name parsing

2018-02-14 Thread Launchpad Bug Tracker
This bug was fixed in the package partman-partitioning - 110ubuntu4.2

---
partman-partitioning (110ubuntu4.2) xenial; urgency=medium

  * Make get_real_device() both simpler and more generic.
(LP: #1733276) (Closes: #820818).

 -- Eric Desrochers   Mon, 05 Feb 2018
12:04:22 -0500

** Changed in: partman-partitioning (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

** Changed in: partman-partitioning (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1733276

Title:
  Cannot resize partitions on NVME devices due to bad device name
  parsing

Status in partman-partitioning:
  Fix Released
Status in partman-partitioning package in Ubuntu:
  Fix Released
Status in partman-partitioning source package in Trusty:
  Fix Released
Status in partman-partitioning source package in Xenial:
  Fix Released
Status in partman-partitioning source package in Zesty:
  Won't Fix
Status in partman-partitioning source package in Artful:
  Fix Released
Status in partman-partitioning source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  It is not possible to resize NVME partitions in the Ubiquity installer.
  NVME devices have an unusual device format, specifically e.g. /dev/nvme0n1p1 
that has two 'sections' that potentially look like partitions.

  Based on the error message, it seems that this device name is being
  parsed incorrectly and it attempts to use the device path /dev/nvme0n1
  instead of /dev/nvme0n1p1

  ** See attachment (screenshot) took in action, illustrating the problem:
  - resize.png
  - resize_impossible.png
  - console_log.png

  [Test Case]

  To test component(s) in -proposed
  
  https://wiki.ubuntu.com/Testing/EnableProposed
  [Section: Installation testing using -proposed]

  In order to install successfully from these images, you will normally
  need to tell the installer to fetch its own components from -proposed
  as well, which is not the default. To do this, add the following boot
  parameter:

  apt-setup/proposed=true
  

  You can test this using qemu and a virtual NVME device. If you toggle
  the same device/partition between a virtual SCSI/IDE and an NVME
  device - the issue appears and disappears.

  Commands you can use to replicate the issue - unpack netboot.tar.gz
  into the local directory and then

  dd if=/dev/zero of=nvme.disk bs=1M count=16384

  NVME:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
nvme,drive=drv0,serial=foo -enable-kvm -smp 2 -m 1024 -kernel 
xenial/ubuntu-installer/amd64/linux -initrd 
xenial/ubuntu-installer/amd64/initrd.gz

  SCSI:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drv0,id=virtio-disk0,bootindex=1
 -enable-kvm -smp 2 -m 1024 -kernel ubuntu-installer/amd64/linux -initrd 
ubuntu-installer/amd64/initrd.gz

  ** See attachment (screenshot) took in action, illustrating how the installer 
should react with the fix :
  xenial_with_fix1.png
  xenial_with_fix2.png
  xenial_with_fix3.png
  xenial_console_with_fix.png

  [Regression Potential]

   * Low risk of regression, with this patch, partman, will be more robust and 
align with what disk_name() in the kernel does 
(linux.git/tree/block/partition-generic.c). It is sufficient to check
  whether the last character is a digit.

  * The patch may also fixes (or at least prevent for the future) other
  potential similar devices issue and not only explicitly fixing and/or
  benefit NVMe device types.

  [Other Info]

  * Debian upstream bug :
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820818

  * Debian upstream fix :
  
https://anonscm.debian.org/cgit/d-i/partman-partitioning.git/commit/?id=01087125e07a7b22da589e8116f9ef7a26275006

  * Commit [01087125]
  Make get_real_device() both simpler and more generic (See: #820818).
  Looking at the implementation of the disk_name() function in the kernel
  (linux.git/tree/block/partition-generic.c), it is sufficient to check
  whether the last character is a digit.

  * $ git describe --contains 01087125e07a7b22da589e8116f9ef7a26275006
  116~2

  * $ rmadison partman-partitioning
   partman-partitioning | 85ubuntu2| precise/main/debian-installer
   partman-partitioning | 99ubuntu1| trusty/main/debian-installer
   partman-partitioning | 110ubuntu4.1 | xenial-updates/main/debian-installer
   partman-partitioning | 114ubuntu2   | zesty/main/debian-installer
   partman-partitioning | 114ubuntu2   | artful/main/debian-installer
   partman-partitioning | 120ubuntu1   | bionic/main/debian-installer

  [Original Description]

  It is not possible to resize NVME partitions in the Ubiquity
  installer.  This appears to 

[Group.of.nepali.translators] [Bug 1733276] Re: Cannot resize partitions on NVME devices due to bad device name parsing

2018-02-14 Thread Launchpad Bug Tracker
This bug was fixed in the package partman-partitioning - 99ubuntu2

---
partman-partitioning (99ubuntu2) trusty; urgency=medium

  * Make get_real_device() both simpler and more generic.
(LP: #1733276) (Closes: #820818).

 -- Eric Desrochers   Tue, 06 Feb 2018
12:08:28 -0500

** Changed in: partman-partitioning (Ubuntu Artful)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1733276

Title:
  Cannot resize partitions on NVME devices due to bad device name
  parsing

Status in partman-partitioning:
  Fix Released
Status in partman-partitioning package in Ubuntu:
  Fix Released
Status in partman-partitioning source package in Trusty:
  Fix Released
Status in partman-partitioning source package in Xenial:
  Fix Released
Status in partman-partitioning source package in Zesty:
  Won't Fix
Status in partman-partitioning source package in Artful:
  Fix Released
Status in partman-partitioning source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  It is not possible to resize NVME partitions in the Ubiquity installer.
  NVME devices have an unusual device format, specifically e.g. /dev/nvme0n1p1 
that has two 'sections' that potentially look like partitions.

  Based on the error message, it seems that this device name is being
  parsed incorrectly and it attempts to use the device path /dev/nvme0n1
  instead of /dev/nvme0n1p1

  ** See attachment (screenshot) took in action, illustrating the problem:
  - resize.png
  - resize_impossible.png
  - console_log.png

  [Test Case]

  To test component(s) in -proposed
  
  https://wiki.ubuntu.com/Testing/EnableProposed
  [Section: Installation testing using -proposed]

  In order to install successfully from these images, you will normally
  need to tell the installer to fetch its own components from -proposed
  as well, which is not the default. To do this, add the following boot
  parameter:

  apt-setup/proposed=true
  

  You can test this using qemu and a virtual NVME device. If you toggle
  the same device/partition between a virtual SCSI/IDE and an NVME
  device - the issue appears and disappears.

  Commands you can use to replicate the issue - unpack netboot.tar.gz
  into the local directory and then

  dd if=/dev/zero of=nvme.disk bs=1M count=16384

  NVME:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
nvme,drive=drv0,serial=foo -enable-kvm -smp 2 -m 1024 -kernel 
xenial/ubuntu-installer/amd64/linux -initrd 
xenial/ubuntu-installer/amd64/initrd.gz

  SCSI:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drv0,id=virtio-disk0,bootindex=1
 -enable-kvm -smp 2 -m 1024 -kernel ubuntu-installer/amd64/linux -initrd 
ubuntu-installer/amd64/initrd.gz

  ** See attachment (screenshot) took in action, illustrating how the installer 
should react with the fix :
  xenial_with_fix1.png
  xenial_with_fix2.png
  xenial_with_fix3.png
  xenial_console_with_fix.png

  [Regression Potential]

   * Low risk of regression, with this patch, partman, will be more robust and 
align with what disk_name() in the kernel does 
(linux.git/tree/block/partition-generic.c). It is sufficient to check
  whether the last character is a digit.

  * The patch may also fixes (or at least prevent for the future) other
  potential similar devices issue and not only explicitly fixing and/or
  benefit NVMe device types.

  [Other Info]

  * Debian upstream bug :
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820818

  * Debian upstream fix :
  
https://anonscm.debian.org/cgit/d-i/partman-partitioning.git/commit/?id=01087125e07a7b22da589e8116f9ef7a26275006

  * Commit [01087125]
  Make get_real_device() both simpler and more generic (See: #820818).
  Looking at the implementation of the disk_name() function in the kernel
  (linux.git/tree/block/partition-generic.c), it is sufficient to check
  whether the last character is a digit.

  * $ git describe --contains 01087125e07a7b22da589e8116f9ef7a26275006
  116~2

  * $ rmadison partman-partitioning
   partman-partitioning | 85ubuntu2| precise/main/debian-installer
   partman-partitioning | 99ubuntu1| trusty/main/debian-installer
   partman-partitioning | 110ubuntu4.1 | xenial-updates/main/debian-installer
   partman-partitioning | 114ubuntu2   | zesty/main/debian-installer
   partman-partitioning | 114ubuntu2   | artful/main/debian-installer
   partman-partitioning | 120ubuntu1   | bionic/main/debian-installer

  [Original Description]

  It is not possible to resize NVME partitions in the Ubiquity
  installer.  This appears to affect multiple filesystem types including
  NTFS and ext4.

  NVME devices have an unusual device format, 

[Group.of.nepali.translators] [Bug 1733276] Re: Cannot resize partitions on NVME devices due to bad device name parsing

2018-02-06 Thread Eric Desrochers
Uploaded for X/A, it is now waiting on SRU team approval to start
building in -proposed.

Will test Trusty and proceed with Trusty upload soon.

- Eric

** Tags added: sts-sponsor-slashd-done

** No longer affects: debian-installer (Ubuntu)

** No longer affects: debian-installer (Ubuntu Trusty)

** No longer affects: debian-installer (Ubuntu Xenial)

** No longer affects: debian-installer (Ubuntu Zesty)

** No longer affects: debian-installer (Ubuntu Artful)

** No longer affects: debian-installer (Ubuntu Bionic)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1733276

Title:
  Cannot resize partitions on NVME devices due to bad device name
  parsing

Status in partman-partitioning:
  Fix Released
Status in partman-partitioning package in Ubuntu:
  Fix Released
Status in partman-partitioning source package in Trusty:
  In Progress
Status in partman-partitioning source package in Xenial:
  In Progress
Status in partman-partitioning source package in Zesty:
  Won't Fix
Status in partman-partitioning source package in Artful:
  In Progress
Status in partman-partitioning source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  It is not possible to resize NVME partitions in the Ubiquity installer.
  NVME devices have an unusual device format, specifically e.g. /dev/nvme0n1p1 
that has two 'sections' that potentially look like partitions.

  Based on the error message, it seems that this device name is being
  parsed incorrectly and it attempts to use the device path /dev/nvme0n1
  instead of /dev/nvme0n1p1

  ** See attachment (screenshot) took in action, illustrating the problem:
  - resize.png
  - resize_impossible.png
  - console_log.png

  [Test Case]

  To test component(s) in -proposed
  
  https://wiki.ubuntu.com/Testing/EnableProposed
  [Section: Installation testing using -proposed]

  In order to install successfully from these images, you will normally
  need to tell the installer to fetch its own components from -proposed
  as well, which is not the default. To do this, add the following boot
  parameter:

  apt-setup/proposed=true
  

  You can test this using qemu and a virtual NVME device. If you toggle
  the same device/partition between a virtual SCSI/IDE and an NVME
  device - the issue appears and disappears.

  Commands you can use to replicate the issue - unpack netboot.tar.gz
  into the local directory and then

  dd if=/dev/zero of=nvme.disk bs=1M count=16384

  NVME:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
nvme,drive=drv0,serial=foo -enable-kvm -smp 2 -m 1024 -kernel 
xenial/ubuntu-installer/amd64/linux -initrd 
xenial/ubuntu-installer/amd64/initrd.gz

  SCSI:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drv0,id=virtio-disk0,bootindex=1
 -enable-kvm -smp 2 -m 1024 -kernel ubuntu-installer/amd64/linux -initrd 
ubuntu-installer/amd64/initrd.gz

  ** See attachment (screenshot) took in action, illustrating how the installer 
should react with the fix :
  xenial_with_fix1.png
  xenial_with_fix2.png
  xenial_with_fix3.png
  xenial_console_with_fix.png

  [Regression Potential]

   * Low risk of regression, with this patch, partman, will be more robust and 
align with what disk_name() in the kernel does 
(linux.git/tree/block/partition-generic.c). It is sufficient to check
  whether the last character is a digit.

  * The patch may also fixes (or at least prevent for the future) other
  potential similar devices issue and not explicitly fixing and/or
  benefit NVMe device types.

  [Other Info]

  * Debian upstream bug :
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820818

  * Debian upstream fix :
  
https://anonscm.debian.org/cgit/d-i/partman-partitioning.git/commit/?id=01087125e07a7b22da589e8116f9ef7a26275006

  * Commit [01087125]
  Make get_real_device() both simpler and more generic (See: #820818).
  Looking at the implementation of the disk_name() function in the kernel
  (linux.git/tree/block/partition-generic.c), it is sufficient to check
  whether the last character is a digit.

  * $ git describe --contains 01087125e07a7b22da589e8116f9ef7a26275006
  116~2

  * $ rmadison partman-partitioning
   partman-partitioning | 85ubuntu2| precise/main/debian-installer
   partman-partitioning | 99ubuntu1| trusty/main/debian-installer
   partman-partitioning | 110ubuntu4.1 | xenial-updates/main/debian-installer
   partman-partitioning | 114ubuntu2   | zesty/main/debian-installer
   partman-partitioning | 114ubuntu2   | artful/main/debian-installer
   partman-partitioning | 120ubuntu1   | bionic/main/debian-installer

  [Original Description]

  It is not possible to resize NVME partitions in the Ubiquity
  installer.  This appears to affect multiple 

[Group.of.nepali.translators] [Bug 1733276] Re: Cannot resize partitions on NVME devices due to bad device name parsing

2018-02-05 Thread Eric Desrochers
patch for artful

** Patch added: "lp1733276-partman-artful.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1733276/+attachment/5049270/+files/lp1733276-partman-artful.debdiff

** Changed in: partman-partitioning (Ubuntu Artful)
 Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: partman-partitioning (Ubuntu Zesty)
   Status: New => Won't Fix

** Changed in: partman-partitioning (Ubuntu Xenial)
 Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: partman-partitioning (Ubuntu Trusty)
 Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: partman-partitioning (Ubuntu Artful)
   Status: New => In Progress

** Changed in: partman-partitioning (Ubuntu Artful)
   Importance: Undecided => Medium

** Changed in: partman-partitioning (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: partman-partitioning (Ubuntu Xenial)
   Status: New => Fix Released

** Changed in: partman-partitioning (Ubuntu Trusty)
   Importance: Undecided => Medium

** Changed in: partman-partitioning (Ubuntu Trusty)
   Status: New => In Progress

** Description changed:

  [Impact]
  
  It is not possible to resize NVME partitions in the Ubiquity installer.
  NVME devices have an unusual device format, specifically e.g. /dev/nvme0n1p1 
that has two 'sections' that potentially look like partitions.
  
  Based on the error message, it seems that this device name is being
  parsed incorrectly and it attempts to use the device path /dev/nvme0n1
  instead of /dev/nvme0n1p1
  
  ** See attachment (screenshot) took in action :
  - resize.png
  - resize_impossible.png
  
  [Test Case]
  
  You can test this using qemu and a virtual NVME device. If you toggle
  the same device/partition between a virtual SCSI/IDE and an NVME device
  - the issue appears and disappears.
  
  Commands you can use to replicate the issue - unpack netboot.tar.gz into
  the local directory and then
  
  dd if=/dev/zero of=nvme.disk bs=1M count=16384
  
  NVME:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
nvme,drive=drv0,serial=foo -enable-kvm -smp 2 -m 1024 -kernel 
xenial/ubuntu-installer/amd64/linux -initrd 
xenial/ubuntu-installer/amd64/initrd.gz
  
  SCSI:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drv0,id=virtio-disk0,bootindex=1
 -enable-kvm -smp 2 -m 1024 -kernel ubuntu-installer/amd64/linux -initrd 
ubuntu-installer/amd64/initrd.gz
  
  [Regression Potential]
  
   * Low risk of regression, with this patch, partman, will be more robust and 
align with what disk_name() in the kernel does 
(linux.git/tree/block/partition-generic.c). It is sufficient to check
  whether the last character is a digit.
  
  * The patch may also fixes (or at least prevent for the future) other
  potential similar devices issue and not explicitly fixing and/or benefit
  NVMe device types.
  
  [Other Info]
+ 
+ * Debian upstream bug :
+ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820818
  
  * Debian upstream fix :
  
https://anonscm.debian.org/cgit/d-i/partman-partitioning.git/commit/?id=01087125e07a7b22da589e8116f9ef7a26275006
  
  * Commit [01087125]
  Make get_real_device() both simpler and more generic (See: #820818).
  Looking at the implementation of the disk_name() function in the kernel
  (linux.git/tree/block/partition-generic.c), it is sufficient to check
  whether the last character is a digit.
  
  * $ git describe --contains 01087125e07a7b22da589e8116f9ef7a26275006
  116~2
  
  * $ rmadison partman-partitioning
   partman-partitioning | 85ubuntu2| precise/main/debian-installer
   partman-partitioning | 99ubuntu1| trusty/main/debian-installer
   partman-partitioning | 110ubuntu4.1 | xenial-updates/main/debian-installer
   partman-partitioning | 114ubuntu2   | zesty/main/debian-installer
   partman-partitioning | 114ubuntu2   | artful/main/debian-installer
   partman-partitioning | 120ubuntu1   | bionic/main/debian-installer
  
  [Original Description]
  
  It is not possible to resize NVME partitions in the Ubiquity installer.
  This appears to affect multiple filesystem types including NTFS and
  ext4.
  
  NVME devices have an unusual device format, specifically e.g.
  /dev/nvme0n1p1 that has two 'sections' that potentially look like
  partitions.
  
  Based on the error message, it seems that this device name is being
  parsed incorrectly and it attempts to use the device path /dev/nvme0n1
  instead of /dev/nvme0n1p1
  
  You can test this using qemu and a virtual NVME device.  If you toggle
  the same device/partition between a virtual SCSI/IDE and an NVME device
  - the issue appears and disappears.
  
  Commands you can use to replicate the issue - unpack netboot.tar.gz into
  the local directory and then
  
  dd if=/dev/zero of=nvme.disk bs=1M count=16384
  
  NVME:
  qemu-system-x86_64 -drive 

[Group.of.nepali.translators] [Bug 1733276] Re: Cannot resize partitions on NVME devices due to bad device name parsing

2018-01-31 Thread Eric Desrochers
[01087125] is already in place in our current development release
(bionic) and it indeed look more complete and align with disk_name()
kernel function.

A/X/T are affected.

lib/resize.sh
 21 case $bdev in
 22 /dev/*[0-9])
 23 bdev=${bdev}p$num
 24 ;;
 25 /dev/*)
 26 bdev=$bdev$num
 27 ;;
 28 *)
 29 log "get_real_device: strange device name $bdev"
 30 return
 31 ;;
 32 esac

- Eric

** Changed in: partman-partitioning (Ubuntu Bionic)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1733276

Title:
  Cannot resize partitions on NVME devices due to bad device name
  parsing

Status in partman-partitioning:
  Fix Released
Status in debian-installer package in Ubuntu:
  Confirmed
Status in partman-partitioning package in Ubuntu:
  Fix Released
Status in debian-installer source package in Trusty:
  New
Status in partman-partitioning source package in Trusty:
  New
Status in debian-installer source package in Xenial:
  New
Status in partman-partitioning source package in Xenial:
  New
Status in debian-installer source package in Zesty:
  New
Status in partman-partitioning source package in Zesty:
  New
Status in debian-installer source package in Artful:
  New
Status in partman-partitioning source package in Artful:
  New
Status in debian-installer source package in Bionic:
  Confirmed
Status in partman-partitioning source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  It is not possible to resize NVME partitions in the Ubiquity installer.
  NVME devices have an unusual device format, specifically e.g. /dev/nvme0n1p1 
that has two 'sections' that potentially look like partitions.

  Based on the error message, it seems that this device name is being
  parsed incorrectly and it attempts to use the device path /dev/nvme0n1
  instead of /dev/nvme0n1p1

  [Test Case]

  You can test this using qemu and a virtual NVME device. If you toggle
  the same device/partition between a virtual SCSI/IDE and an NVME
  device - the issue appears and disappears.

  Commands you can use to replicate the issue - unpack netboot.tar.gz
  into the local directory and then

  dd if=/dev/zero of=nvme.disk bs=1M count=16384

  NVME:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
nvme,drive=drv0,serial=foo -enable-kvm -smp 2 -m 1024 -kernel 
xenial/ubuntu-installer/amd64/linux -initrd 
xenial/ubuntu-installer/amd64/initrd.gz

  SCSI:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drv0,id=virtio-disk0,bootindex=1
 -enable-kvm -smp 2 -m 1024 -kernel ubuntu-installer/amd64/linux -initrd 
ubuntu-installer/amd64/initrd.gz

  [Regression Potential]

   * Low risk of regression, with this patch, partman, will be more robust and 
align with what disk_name() in the kernel does 
(linux.git/tree/block/partition-generic.c). It is sufficient to check
  whether the last character is a digit.

  [Other Info]

  * Debian upstream fix :
  
https://anonscm.debian.org/cgit/d-i/partman-partitioning.git/commit/?id=01087125e07a7b22da589e8116f9ef7a26275006

  * Commit [01087125]
  Make get_real_device() both simpler and more generic (See: #820818).
  Looking at the implementation of the disk_name() function in the kernel
  (linux.git/tree/block/partition-generic.c), it is sufficient to check
  whether the last character is a digit.

  * $ git describe --contains 01087125e07a7b22da589e8116f9ef7a26275006
  116~2

  * $ rmadison partman-partitioning
   partman-partitioning | 85ubuntu2| precise/main/debian-installer
   partman-partitioning | 99ubuntu1| trusty/main/debian-installer
   partman-partitioning | 110ubuntu4.1 | xenial-updates/main/debian-installer
   partman-partitioning | 114ubuntu2   | zesty/main/debian-installer
   partman-partitioning | 114ubuntu2   | artful/main/debian-installer
   partman-partitioning | 120ubuntu1   | bionic/main/debian-installer

  [Original Description]

  It is not possible to resize NVME partitions in the Ubiquity
  installer.  This appears to affect multiple filesystem types including
  NTFS and ext4.

  NVME devices have an unusual device format, specifically e.g.
  /dev/nvme0n1p1 that has two 'sections' that potentially look like
  partitions.

  Based on the error message, it seems that this device name is being
  parsed incorrectly and it attempts to use the device path /dev/nvme0n1
  instead of /dev/nvme0n1p1

  You can test this using qemu and a virtual NVME device.  If you toggle
  the same 

[Group.of.nepali.translators] [Bug 1733276] Re: Cannot resize partitions on NVME devices due to bad device name parsing

2017-11-22 Thread Dimitri John Ledkov
** Also affects: debian-installer (Ubuntu Artful)
   Importance: Undecided
   Status: New

** Also affects: partman-partitioning (Ubuntu Artful)
   Importance: Undecided
   Status: New

** Also affects: debian-installer (Ubuntu Bionic)
   Importance: Undecided
   Status: Confirmed

** Also affects: partman-partitioning (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: debian-installer (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Also affects: partman-partitioning (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Also affects: debian-installer (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: partman-partitioning (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: debian-installer (Ubuntu Zesty)
   Importance: Undecided
   Status: New

** Also affects: partman-partitioning (Ubuntu Zesty)
   Importance: Undecided
   Status: New

** Changed in: partman-partitioning (Ubuntu Bionic)
Milestone: None => ubuntu-17.11

** Changed in: partman-partitioning (Ubuntu Bionic)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1733276

Title:
  Cannot resize partitions on NVME devices due to bad device name
  parsing

Status in partman-partitioning:
  Fix Released
Status in debian-installer package in Ubuntu:
  Confirmed
Status in partman-partitioning package in Ubuntu:
  New
Status in debian-installer source package in Trusty:
  New
Status in partman-partitioning source package in Trusty:
  New
Status in debian-installer source package in Xenial:
  New
Status in partman-partitioning source package in Xenial:
  New
Status in debian-installer source package in Zesty:
  New
Status in partman-partitioning source package in Zesty:
  New
Status in debian-installer source package in Artful:
  New
Status in partman-partitioning source package in Artful:
  New
Status in debian-installer source package in Bionic:
  Confirmed
Status in partman-partitioning source package in Bionic:
  New

Bug description:
  It is not possible to resize NVME partitions in the Ubiquity
  installer.  This appears to affect multiple filesystem types including
  NTFS and ext4.

  NVME devices have an unusual device format, specifically e.g.
  /dev/nvme0n1p1 that has two 'sections' that potentially look like
  partitions.

  Based on the error message, it seems that this device name is being
  parsed incorrectly and it attempts to use the device path /dev/nvme0n1
  instead of /dev/nvme0n1p1

  You can test this using qemu and a virtual NVME device.  If you toggle
  the same device/partition between a virtual SCSI/IDE and an NVME
  device - the issue appears and disappears.

  Commands you can use to replicate the issue - unpack netboot.tar.gz
  into the local directory and then

  dd if=/dev/zero of=nvme.disk bs=1M count=16384

  NVME:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw -device 
nvme,drive=drv0,serial=foo -enable-kvm -smp 2 -m 1024 -kernel 
xenial/ubuntu-installer/amd64/linux -initrd 
xenial/ubuntu-installer/amd64/initrd.gz

  SCSI:
  qemu-system-x86_64 -drive file=nvme.disk,if=none,id=drv0,format=raw  -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drv0,id=virtio-disk0,bootindex=1
  -enable-kvm -smp 2 -m 1024 -kernel ubuntu-installer/amd64/linux -initrd 
ubuntu-installer/amd64/initrd.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/partman-partitioning/+bug/1733276/+subscriptions

___
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp