Hello, Am Samstag, 5. Januar 2013 schrieb Jan Engelhardt:
First a full disk, now /tmp* is gone? :)
It's still a full disk ;-)
---------- Forwarded message ---------- Subject: [obs submit-request 146816] openSUSE:Factory/canutils: declined by factory-auto
State of submit-request #146816 was changed by factory-auto:
review -> declined
Comment: Output of check script: Source validator failed. Try "osc service localrun source_validator" mktemp: failed to create directory via template `/var/tmp/check_if_valid_source_dir-7SUGOd': No space left on device ^^^^^^^^^^^^^^^^^^^^^^^ mktemp failed because of a full disk.
/work/cd/lib/source_validators/20-files-present-and-referenced: line 108: /tmp.spec: Permission denied
Oh, how nice. The script continues with an empty $TMPDIR variable.
Using
mktemp -d ... || exit 1
would be a very good idea ;-)
Hmm, let's look at the code...
/usr/lib/obs/service/source_validators/20-files-present-and-referenced
export TMPDIR=`mktemp -d -t check_if_valid_source_dir-XXXXXX 2>/dev/null
|| mktemp -d /var/tmp/check_if_valid_source_dir-XXXXXX`
[...]
s/^Release:.*