[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: live-build: how to configure system shell?



El 15/12/18 a las 18:43, Stefan Baur escribió:
> Am 15.12.18 um 14:45 schrieb Stefan Baur:
> 
>> It looks like live-build wants to use dash as the default system shell
>> in the live environment, at least in my custom build.  As I am making
>> use of several "bashisms" in my startup scripts, this is bad.  How would
>> I go about to change the default system shell to bash?  Would I have to
>> place something like a preseed file somewhere?  Or would that only
>> affect an installed Debian, but not the live environment?
> 
> Okay, so I found "/config/preseed/" and put a file "dash.cfg.chroot"
> there. In the live environment, however, /bin/sh still points to
> /bin/dash. :-(
> 
> When I check the output of "debconf-get-selections | grep dash", it
> shows "dash    dash/sh boolean false", so the configuration data is
> getting carried over into the live system, but it doesn't get applied.
> 
> Which step am I missing?
> 
> -Stefan
> 
check the shell in /etc/passwd , but i think that must be /bin/bash
also /etc/default/useradd have SHELL=/bin/sh

-- 
Fernando Toledo
Dock Sud BBS
http://bbs.docksud.com.ar
telnet://bbs.docksud.com.ar


Reply to: