[Bug 1482810] Re: dropbear DEVICE variable is ignored when sourced from conf.d

Benjamin Drung 1482810 at bugs.launchpad.net
Fri Oct 4 11:29:00 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better. We appreciate that this bug may be old and you might not
be interested in discussing it anymore. But if you are then please
upgrade to the latest Ubuntu version and re-test. If you then find the
bug is still present in the newer Ubuntu version, please add a comment
here telling us which new version it is in.

** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1482810

Title:
  dropbear DEVICE variable is ignored when sourced from conf.d

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  1) this is what "/usr/share/initramfs-tools/init" does:
  ```
  . /conf/initramfs.conf
  for conf in conf/conf.d/*; do
   [ -f ${conf} ] && . ${conf}
  done
  . /scripts/functions
  ```

  2) this is  what "/usr/share/initramfs-tools/scripts/init-premount/dropbear" does:
  ```
  . /scripts/functions
  . /conf/initramfs.conf
  configure_networking &
  ```

  3) bug result: ```configure_networking ``` will not find a  $DEVICE variable
  if the $DEVICE variable is overriden from some ```/etc/initramfs-tools/conf.d/user-file```

  4) I would hope this be somehow enforced for all scripts?

  ###

  lsb_release -rd
  Description:    Ubuntu 14.04.2 LTS
  Release:        14.04

  ###

  apt-cache policy initramfs-tools
  initramfs-tools:
    Installed: 0.103ubuntu4.2
    Candidate: 0.103ubuntu4.2
    Version table:
   *** 0.103ubuntu4.2 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       0.103ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1482810/+subscriptions




More information about the foundations-bugs mailing list