[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2021-08-23 Thread Scott Moser
@Eli, I can recreate your problem, but it looks to me like a bug in ksh. ksh complains that 'local can only be used in a function, when as shown below it *is* being used in a function.' My suggestion is to file a bug with ksh2020. root@focal1:~# ksh -c 'foo() { local a=1; echo $?; }; foo' ksh:

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2021-08-20 Thread Eli the Bearded
$ apt list --installed 2>&1 | grep -E '^(cloud-init|ksh)/' cloud-init/focal-updates,now 21.2-3-g899bfaa9-0ubuntu2~20.04.1 all [installed] ksh/focal,now 2020.0.0-5 amd64 [installed] $ echo $SHELL /bin/ksh $ . /etc/profile.d/Z99-cloud-locale-test.sh -ksh: .[14]: local: local can only be used in a fun

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-10-02 Thread Scott Moser
This bug is believed to be fixed in cloud-init in version 18.4. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a membe

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-09-14 Thread Scott Moser
** Changed in: cloud-init (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784713 Title: cloud-init profile.d files use bash-specific builtin "local"

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-08-09 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/352825 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784713 Title: cloud-init profile.d files

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-08-06 Thread Scott Moser
** Also affects: cloud-init Importance: Undecided Status: New ** Changed in: cloud-init Importance: Undecided => Low ** Changed in: cloud-init Status: New => Fix Committed ** Changed in: cloud-init Assignee: (unassigned) => Scott Moser (smoser) -- You received this bug

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-08-03 Thread Server Team CI bot
This bug is fixed with commit 538af8e6 to cloud-init on branch master. To view that commit see the following URL: https://git.launchpad.net/cloud-init/commit/?id=538af8e6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.lau

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-08-02 Thread Scott Moser
@Merlie, could you please test the attached merge proposal and report if it works? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784713 Title: cloud-init profile.d files use bash-specific builtin "

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-08-01 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/352010 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784713 Title: cloud-init profile.d files use b

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-07-31 Thread Scott Moser
Can you test if this works? http://paste.ubuntu.com/p/wyPPhjRRzP/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784713 Title: cloud-init profile.d files use bash-specific builtin "local" To manag

[Bug 1784713] Re: cloud-init profile.d files use bash-specific builtin "local"

2018-07-31 Thread Scott Moser
** Changed in: cloud-init (Ubuntu) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784713 Title: cl