← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2014999] [NEW] curtin in-target sudo copy command fails and crashes installer

 

Public bug reported:

full command in cloud-inits user-data late-commands section:
curtin in-target -- sudo cp /cdrom/cargo/posinst-temp /target/etc/sudoers.d/

ubuntu 22.04.2 lts
21.3-0ubuntu1 curtin

I expected file to be copied

Instead the curtin told the cloud-init installer to crash, or something

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: curtin (not installed)
Uname: Linux 5.15.0-67-generic x86_64
Architecture: amd64
Date: Sun Apr  2 14:01:44 2023
ProcEnviron:
 LANG=C.UTF-8
 TERM=linux
 PATH=(custom, no user)
SourcePackage: curtin

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Affects: curtin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

** Also affects: cloud-init
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/2014999

Title:
  curtin in-target sudo copy command fails and crashes installer

Status in cloud-init:
  New
Status in curtin package in Ubuntu:
  New

Bug description:
  full command in cloud-inits user-data late-commands section:
  curtin in-target -- sudo cp /cdrom/cargo/posinst-temp /target/etc/sudoers.d/

  ubuntu 22.04.2 lts
  21.3-0ubuntu1 curtin

  I expected file to be copied

  Instead the curtin told the cloud-init installer to crash, or
  something

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: curtin (not installed)
  Uname: Linux 5.15.0-67-generic x86_64
  Architecture: amd64
  Date: Sun Apr  2 14:01:44 2023
  ProcEnviron:
   LANG=C.UTF-8
   TERM=linux
   PATH=(custom, no user)
  SourcePackage: curtin

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2014999/+subscriptions



Follow ups