Problem: if /var/tmp/ is not writable, scl enable fails to work. The directory is hard-coded in fallback.c.
Suggestion: read $TMPDIR and use that location, if set.
Note: I ran into this problem while trying to use SCL in a script that runs early in the bootup process, before /var/ is mounted. The drive I'm booting from is read-only.
Problem: if
/var/tmp/is not writable,scl enablefails to work. The directory is hard-coded infallback.c.Suggestion: read
$TMPDIRand use that location, if set.Note: I ran into this problem while trying to use SCL in a script that runs early in the bootup process, before
/var/is mounted. The drive I'm booting from is read-only.