Public bug reported:

1) lsb_release -rd 
Description:    Ubuntu Bionic Beaver (development branch)
Release:        18.04

2) apt-cache policy busybox
busybox:
  Installed: 1:1.27.2-2ubuntu3

3+4) preseed installation on Bionic, late_command almost the same in
Xenial and there is working

preseed.cfg
d-i preseed/late_command        string  /tmp/late_command

ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Sep 26  2014 /bin/sh -> busybox

syslog: 
running: /tmp/late_command

nothing happend on shell:
/tmp/late_command

head late_commaand
#!/bin/sh
printf '' > /usr/lib/finish-install.d/55netcfg-copy-config;

in-target mkdir -p /opt/MegaRAID/MegaCli/;
in-target mkdir -p /root/.ssh;
in-target mkdir /etc/check_mk;

So is there a bug in busybox sh?
How can I debug busybox sh script.sh?

** Affects: linux-firmware (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bionic preseed

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

Title:
  busybox sh preseed/late_command

Status in linux-firmware package in Ubuntu:
  New

Bug description:
  1) lsb_release -rd 
  Description:  Ubuntu Bionic Beaver (development branch)
  Release:      18.04

  2) apt-cache policy busybox
  busybox:
    Installed: 1:1.27.2-2ubuntu3

  3+4) preseed installation on Bionic, late_command almost the same in
  Xenial and there is working

  preseed.cfg
  d-i preseed/late_command      string  /tmp/late_command

  ls -l /bin/sh
  lrwxrwxrwx 1 root root 4 Sep 26  2014 /bin/sh -> busybox

  syslog: 
  running: /tmp/late_command

  nothing happend on shell:
  /tmp/late_command

  head late_commaand
  #!/bin/sh
  printf '' > /usr/lib/finish-install.d/55netcfg-copy-config;

  in-target mkdir -p /opt/MegaRAID/MegaCli/;
  in-target mkdir -p /root/.ssh;
  in-target mkdir /etc/check_mk;

  So is there a bug in busybox sh?
  How can I debug busybox sh script.sh?

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to