[Kernel-packages] [Bug 1534162] Re: symlinks are not updated on s390x

2016-01-14 Thread Dimitri John Ledkov
http://paste.ubuntu.com/14495976/

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1534162

Title:
  symlinks are not updated on s390x

Status in linux package in Ubuntu:
  New

Bug description:
  Symlinks are not managed correctly.

  Last installed and configured kernel, prior to purging -5- was -6-,
  yet symlinks were not updated to -6- when that happened.

  root@devac03:~# apt-get remove --purge linux-headers-4.3.0-5 
linux-headers-4.3.0-5-generic linux-image-4.3.0-5-generic 
linux-image-extra-4.3.0-5-generic
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following packages will be REMOVED:
linux-headers-4.3.0-5* linux-headers-4.3.0-5-generic* 
linux-image-4.3.0-5-generic*
linux-image-extra-4.3.0-5-generic*
  0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
  After this operation, 131 MB disk space will be freed.
  Do you want to continue? [Y/n] Y
  (Reading database ... 92073 files and directories currently installed.)
  Removing linux-headers-4.3.0-5-generic (4.3.0-5.16) ...
  Removing linux-headers-4.3.0-5 (4.3.0-5.16) ...
  Removing linux-image-extra-4.3.0-5-generic (4.3.0-5.16) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  update-initramfs: Generating /boot/initrd.img-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Building bootmap in '/boot/'
  Building menu 'zipl-automatic-menu'
  Adding #1: IPL section 'ubuntu' (default)
  Preparing boot device: dasda (0200).
  Done.
  run-parts: executing /etc/kernel/postinst.d/pm-utils 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  run-parts: executing /etc/kernel/postinst.d/zz-zipl 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Building bootmap in '/boot/'
  Building menu 'zipl-automatic-menu'
  Adding #1: IPL section 'ubuntu' (default)
  Preparing boot device: dasda (0200).
  Done.
  Purging configuration files for linux-image-extra-4.3.0-5-generic 
(4.3.0-5.16) ...
  Removing linux-image-4.3.0-5-generic (4.3.0-5.16) ...
  WARN: Proceeding with removing running kernel image.
  Examining /etc/kernel/postrm.d .
  run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  update-initramfs: Deleting /boot/initrd.img-4.3.0-5-generic
  run-parts: executing /etc/kernel/postrm.d/zz-zipl 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Error: Image file '/boot/vmlinuz' in section 'ubuntu': No such file or 
directory
  run-parts: /etc/kernel/postrm.d/zz-zipl exited with return code 1
  Failed to process /etc/kernel/postrm.d at 
/var/lib/dpkg/info/linux-image-4.3.0-5-generic.postrm line 328.
  dpkg: error processing package linux-image-4.3.0-5-generic (--purge):
   subprocess installed post-removal script returned error exit status 1
  Errors were encountered while processing:
   linux-image-4.3.0-5-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  root@devac03:~# ls -latr /boot
  total 24208
  drwx--  2 root root16384 Dec  9 16:38 lost+found
  lrwxrwxrwx  1 root root   26 Jan  6 16:23 initrd.img -> 
initrd.img-4.3.0-5-generic
  lrwxrwxrwx  1 root root   23 Jan  6 16:24 vmlinuz -> 
vmlinuz-4.3.0-5-generic
  -rw---  1 root root 13026048 Jan 11 21:36 vmlinuz-4.3.0-6-generic
  -rw---  1 root root  2446124 Jan 11 21:36 System.map-4.3.0-6-generic
  -rw-r--r--  1 root root63422 Jan 11 21:36 config-4.3.0-6-generic
  -rw-r--r--  1 root root   517933 Jan 11 21:36 abi-4.3.0-6-generic
  drwxr-xr-x 22 root root 4096 Jan 14 13:03 ..
  -rw-r--r--  1 root root  8574889 Jan 14 13:03 initrd.img-4.3.0-6-generic
  -rw---  1 root root69632 Jan 14 13:41 bootmap
  drwxr-xr-x  3 root root 4096 Jan 14 13:41 .
  root@devac03:~# dpkg -l | grep 4.3.0
  ii  iproute  1:4.3.0-1ubuntu1
all  transitional dummy package for iproute2
  ii  iproute2 4.3.0-1ubuntu1  
s390xnetworking and traffic control tools
  ii  linux-generic4.3.0.6.7   
s390xComplete Generic Linux kernel and headers
  ii  linux-headers-4.3.0-64.3.0-6.17  
all  Header files related to Linux kernel version 4.3.0
  ii  linux-headers-4.3.0-6-generic4.3.0-6.17  
s390xLinux kernel headers for version 4.3.0 on System 390x SMP
  ii  linux-headers-generic4.3.0.6.7   
s390xGeneric Linux kernel headers
  rc  linux-image-4.3.0-2-generic  4.3.0-2.11  
s390x 

[Kernel-packages] [Bug 1534162] Re: symlinks are not updated on s390x

2016-01-14 Thread Dimitri John Ledkov
Ok, here is a better scenario

I have purged -6, and installed -5.

Then i have installed -6 and expected for symlinks to change from -5 ->
-6, however they did not.

http://paste.ubuntu.com/14496011/

** Changed in: linux (Ubuntu)
   Importance: Undecided => Critical

** Tags added: s390x

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1534162

Title:
  symlinks are not updated on s390x

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Symlinks are not managed correctly.

  Last installed and configured kernel, prior to purging -5- was -6-,
  yet symlinks were not updated to -6- when that happened.

  root@devac03:~# apt-get remove --purge linux-headers-4.3.0-5 
linux-headers-4.3.0-5-generic linux-image-4.3.0-5-generic 
linux-image-extra-4.3.0-5-generic
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following packages will be REMOVED:
linux-headers-4.3.0-5* linux-headers-4.3.0-5-generic* 
linux-image-4.3.0-5-generic*
linux-image-extra-4.3.0-5-generic*
  0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
  After this operation, 131 MB disk space will be freed.
  Do you want to continue? [Y/n] Y
  (Reading database ... 92073 files and directories currently installed.)
  Removing linux-headers-4.3.0-5-generic (4.3.0-5.16) ...
  Removing linux-headers-4.3.0-5 (4.3.0-5.16) ...
  Removing linux-image-extra-4.3.0-5-generic (4.3.0-5.16) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  update-initramfs: Generating /boot/initrd.img-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Building bootmap in '/boot/'
  Building menu 'zipl-automatic-menu'
  Adding #1: IPL section 'ubuntu' (default)
  Preparing boot device: dasda (0200).
  Done.
  run-parts: executing /etc/kernel/postinst.d/pm-utils 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  run-parts: executing /etc/kernel/postinst.d/zz-zipl 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Building bootmap in '/boot/'
  Building menu 'zipl-automatic-menu'
  Adding #1: IPL section 'ubuntu' (default)
  Preparing boot device: dasda (0200).
  Done.
  Purging configuration files for linux-image-extra-4.3.0-5-generic 
(4.3.0-5.16) ...
  Removing linux-image-4.3.0-5-generic (4.3.0-5.16) ...
  WARN: Proceeding with removing running kernel image.
  Examining /etc/kernel/postrm.d .
  run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  update-initramfs: Deleting /boot/initrd.img-4.3.0-5-generic
  run-parts: executing /etc/kernel/postrm.d/zz-zipl 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Error: Image file '/boot/vmlinuz' in section 'ubuntu': No such file or 
directory
  run-parts: /etc/kernel/postrm.d/zz-zipl exited with return code 1
  Failed to process /etc/kernel/postrm.d at 
/var/lib/dpkg/info/linux-image-4.3.0-5-generic.postrm line 328.
  dpkg: error processing package linux-image-4.3.0-5-generic (--purge):
   subprocess installed post-removal script returned error exit status 1
  Errors were encountered while processing:
   linux-image-4.3.0-5-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  root@devac03:~# ls -latr /boot
  total 24208
  drwx--  2 root root16384 Dec  9 16:38 lost+found
  lrwxrwxrwx  1 root root   26 Jan  6 16:23 initrd.img -> 
initrd.img-4.3.0-5-generic
  lrwxrwxrwx  1 root root   23 Jan  6 16:24 vmlinuz -> 
vmlinuz-4.3.0-5-generic
  -rw---  1 root root 13026048 Jan 11 21:36 vmlinuz-4.3.0-6-generic
  -rw---  1 root root  2446124 Jan 11 21:36 System.map-4.3.0-6-generic
  -rw-r--r--  1 root root63422 Jan 11 21:36 config-4.3.0-6-generic
  -rw-r--r--  1 root root   517933 Jan 11 21:36 abi-4.3.0-6-generic
  drwxr-xr-x 22 root root 4096 Jan 14 13:03 ..
  -rw-r--r--  1 root root  8574889 Jan 14 13:03 initrd.img-4.3.0-6-generic
  -rw---  1 root root69632 Jan 14 13:41 bootmap
  drwxr-xr-x  3 root root 4096 Jan 14 13:41 .
  root@devac03:~# dpkg -l | grep 4.3.0
  ii  iproute  1:4.3.0-1ubuntu1
all  transitional dummy package for iproute2
  ii  iproute2 4.3.0-1ubuntu1  
s390xnetworking and traffic control tools
  ii  linux-generic4.3.0.6.7   
s390xComplete Generic Linux kernel and headers
  ii  linux-headers-4.3.0-64.3.0-6.17  
all  Header files related to Linux kernel version 4.3.0
  ii  linux-headers-4.3.0-6-generic4.3.0-6.17  
s390xLinux 

[Kernel-packages] [Bug 1534162] Re: symlinks are not updated on s390x

2016-01-14 Thread Dimitri John Ledkov
i am an idiot.

symlinks are updated in /
yet my zipl is using weird symlinks in /boot/

** Changed in: linux (Ubuntu)
   Status: New => Invalid

** Summary changed:

- symlinks are not updated on s390x
+ symlinks managed by kernel postinst are different from zipl-installer and 
livefs-rootfs

** Changed in: linux (Ubuntu)
   Status: Invalid => Confirmed

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

** Also affects: livecd-rootfs (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1534162

Title:
  symlinks managed by kernel postinst are different from zipl-installer
  and livefs-rootfs

Status in linux package in Ubuntu:
  Confirmed
Status in livecd-rootfs package in Ubuntu:
  New
Status in zipl-installer package in Ubuntu:
  New

Bug description:
  Symlinks are not managed correctly.

  Last installed and configured kernel, prior to purging -5- was -6-,
  yet symlinks were not updated to -6- when that happened.

  root@devac03:~# apt-get remove --purge linux-headers-4.3.0-5 
linux-headers-4.3.0-5-generic linux-image-4.3.0-5-generic 
linux-image-extra-4.3.0-5-generic
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following packages will be REMOVED:
linux-headers-4.3.0-5* linux-headers-4.3.0-5-generic* 
linux-image-4.3.0-5-generic*
linux-image-extra-4.3.0-5-generic*
  0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
  After this operation, 131 MB disk space will be freed.
  Do you want to continue? [Y/n] Y
  (Reading database ... 92073 files and directories currently installed.)
  Removing linux-headers-4.3.0-5-generic (4.3.0-5.16) ...
  Removing linux-headers-4.3.0-5 (4.3.0-5.16) ...
  Removing linux-image-extra-4.3.0-5-generic (4.3.0-5.16) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  update-initramfs: Generating /boot/initrd.img-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Building bootmap in '/boot/'
  Building menu 'zipl-automatic-menu'
  Adding #1: IPL section 'ubuntu' (default)
  Preparing boot device: dasda (0200).
  Done.
  run-parts: executing /etc/kernel/postinst.d/pm-utils 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  run-parts: executing /etc/kernel/postinst.d/zz-zipl 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Building bootmap in '/boot/'
  Building menu 'zipl-automatic-menu'
  Adding #1: IPL section 'ubuntu' (default)
  Preparing boot device: dasda (0200).
  Done.
  Purging configuration files for linux-image-extra-4.3.0-5-generic 
(4.3.0-5.16) ...
  Removing linux-image-4.3.0-5-generic (4.3.0-5.16) ...
  WARN: Proceeding with removing running kernel image.
  Examining /etc/kernel/postrm.d .
  run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  update-initramfs: Deleting /boot/initrd.img-4.3.0-5-generic
  run-parts: executing /etc/kernel/postrm.d/zz-zipl 4.3.0-5-generic 
/boot/vmlinuz-4.3.0-5-generic
  Using config file '/etc/zipl.conf'
  Error: Image file '/boot/vmlinuz' in section 'ubuntu': No such file or 
directory
  run-parts: /etc/kernel/postrm.d/zz-zipl exited with return code 1
  Failed to process /etc/kernel/postrm.d at 
/var/lib/dpkg/info/linux-image-4.3.0-5-generic.postrm line 328.
  dpkg: error processing package linux-image-4.3.0-5-generic (--purge):
   subprocess installed post-removal script returned error exit status 1
  Errors were encountered while processing:
   linux-image-4.3.0-5-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  root@devac03:~# ls -latr /boot
  total 24208
  drwx--  2 root root16384 Dec  9 16:38 lost+found
  lrwxrwxrwx  1 root root   26 Jan  6 16:23 initrd.img -> 
initrd.img-4.3.0-5-generic
  lrwxrwxrwx  1 root root   23 Jan  6 16:24 vmlinuz -> 
vmlinuz-4.3.0-5-generic
  -rw---  1 root root 13026048 Jan 11 21:36 vmlinuz-4.3.0-6-generic
  -rw---  1 root root  2446124 Jan 11 21:36 System.map-4.3.0-6-generic
  -rw-r--r--  1 root root63422 Jan 11 21:36 config-4.3.0-6-generic
  -rw-r--r--  1 root root   517933 Jan 11 21:36 abi-4.3.0-6-generic
  drwxr-xr-x 22 root root 4096 Jan 14 13:03 ..
  -rw-r--r--  1 root root  8574889 Jan 14 13:03 initrd.img-4.3.0-6-generic
  -rw---  1 root root69632 Jan 14 13:41 bootmap
  drwxr-xr-x  3 root root 4096 Jan 14 13:41 .
  root@devac03:~# dpkg -l | grep 4.3.0
  ii  iproute  1:4.3.0-1ubuntu1
all  transitional dummy package for iproute2
  ii  iproute2 4.3.0-1ubuntu1  
s390xnetworking and