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

Bug#697320: changes to scripts/config.sh break configuration process



Source: live-config
Version: 3.0~a43-1
Severity: important

Commit 3443d2116604ef0657bc158a7d7511c676aa2f7a [1] makes every configuration script run in a pipeline. Each command in a pipeline is executed in a subshell, so any change to a variable is not preserved. As a result, any script, which saves state in an exported variable, breaks.

For example, wheezy beta2 KDE live system [2] tries to run startx from tty1, though KDM is up and running. That's because *xinit configuration script is not aware, that *kdm script has already worked, and therefore assumes, that no display manager has been configured.

[1] http://live.debian.net/gitweb/?p=live-config.git;a=commit;h=3443d2116604ef0657bc158a7d7511c676aa2f7a
[2] http://live.debian.net/cdimage/release/current-next/i386/iso-hybrid/debian-wheezy-live-b2-i386-kde-desktop.iso

Reply to: