← Back to team overview

kernel-packages team mailing list archive

[Bug 1248053] Re: initrd.img symlink is absolute

 

I don't think it's directly related, but I also see the umask not being
consistent:

$ ls -l boot/
total 42968
-rw-r--r-- 1 root root  1005798 Oct 10 00:49 abi-3.11.0-12-generic
-rw-r--r-- 1 root root  1003704 Nov  4 08:44 abi-3.12.0-031200-generic
-rw-r--r-- 1 root root   163251 Oct 10 00:49 config-3.11.0-12-generic
-rw-r--r-- 1 root root   162643 Nov  4 08:44 config-3.12.0-031200-generic
-rw-r--r-- 1 root root 11724654 Nov  4 10:13 initrd.img-3.11.0-12-generic
-rw-r--r-- 1 root root 11768349 Nov  5 19:50 initrd.img-3.12.0-031200-generic
-rw-r--r-- 1 root root  3285893 Oct 10 00:49 System.map-3.11.0-12-generic
-rw------- 1 root root  3466224 Nov  4 08:44 System.map-3.12.0-031200-generic
-rw-r--r-- 1 root root  5600016 Oct 10 00:49 vmlinuz-3.11.0-12-generic
-rw------- 1 root root  5793312 Nov  4 08:44 vmlinuz-3.12.0-031200-generic

I can log this as a separate issue, though what package should it be
against if it's the mainline kernel, as we see here?

-- 
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/1248053

Title:
  initrd.img symlink is absolute

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  When the linux-image package is installed, it creates symlinks from
  the root directory:

  # ls -l /
  initrd.img -> /boot/initrd.img-3.11.0-13-generic
  vmlinuz -> boot/vmlinuz-3.11.0-13-generic

  This is needed for booting the currently installed kernel (managed
  from within the distro for security updates etc) in certain
  environments, such as virtual hosts or root-NFS booting.

  The bug is that the initrd.img symlink is absolute, since the test_relative() perl function checks for the presence of the initrd.img file, which is created after the postinst scripts runs, so it assumes a absolute symlink is needed. This isn't the case for the vmlinuz file, since it is shipped.
  --- 
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  lightdm    1818 F.... pulseaudio
  DistroRelease: Ubuntu 13.10
  HibernationDevice: RESUME=UUID=921107b8-2551-4cc2-9a4f-7d63bdf8dbf5
  InstallationDate: Installed on 2013-11-01 (3 days ago)
  InstallationMedia: Edubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
   
   lxcbr0    no wireless extensions.
  MachineType: ZOTAC ZBOXNANO-ID63/ID64/ID65
  MarkForUpload: True
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_SG:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_SG.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=2ee0f15b-e265-4cd7-acb2-adb6e0928d61 ro quiet splash ipv6.disable=1 vt.handoff=7
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-12-generic N/A
   linux-backports-modules-3.11.0-12-generic  N/A
   linux-firmware                             1.116
  RfKill:
   
  StagingDrivers: rts5139
  Tags:  saucy staging
  Uname: Linux 3.11.0-12-generic i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  dmi.bios.date: 05/07/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4.6.5
  dmi.board.asset.tag: NA
  dmi.board.name: ZBOXNANO-ID63/ID64/ID65
  dmi.board.vendor: ZOTAC
  dmi.board.version: XX
  dmi.chassis.asset.tag: NA
  dmi.chassis.type: 3
  dmi.chassis.vendor: NA
  dmi.chassis.version: NA
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd05/07/2013:svnZOTAC:pnZBOXNANO-ID63/ID64/ID65:pvrXX:rvnZOTAC:rnZBOXNANO-ID63/ID64/ID65:rvrXX:cvnNA:ct3:cvrNA:
  dmi.product.name: ZBOXNANO-ID63/ID64/ID65
  dmi.product.version: XX
  dmi.sys.vendor: ZOTAC

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1248053/+subscriptions


References