Группа :: Система/Основа
Пакет: dracut
id пакета | статус | тест | сообщение |
---|---|---|---|
dracut-060-alt0.1.x86_64 |
fail | unsafe-tmp-usage-in-scripts | 0755 |
dracut-network-manager-060-alt0.1.noarch |
fail | unsafe-tmp-usage-in-scripts | The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/lib/dracut/modules.d/35network-manager/nm-run.sh: $ grep /tmp/ /usr/lib/dracut/modules.d/35network-manager/nm-run.sh for _i in /sys/class/net/*; do [ "$_i" ] || continue state="/run/NetworkManager/devices/$(cat "$_i"/ifindex)" grep '^connection-uuid=' "$state" 2> /d... [the rest of the message is skipped] |
dracut-live-060-alt0.1.noarch |
fail | unsafe-tmp-usage-in-scripts | The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/lib/dracut/modules.d/90livenet/parse-livenet.sh: $ grep /tmp/ /usr/lib/dracut/modules.d/90livenet/parse-livenet.sh # live updates updates=$(getarg live.updates=) if [ "$updates" ]; then # make sure network comes up even if we're doing a local live device if [ "$netr... [the rest of the message is skipped] |
dracut-060-alt0.1.x86_64 |
experimental | systemd-but-no-native-init | The package have native systemd file(s) but no SysV init scripts. |
dracut-debuginfo-060-alt0.1.x86_64 |
ok | checkbashisms | |
dracut-debuginfo-060-alt0.1.x86_64 |
ok | unsafe-tmp-usage-in-scripts | |
dracut-debuginfo-060-alt0.1.x86_64 |
ok | sisyphus_check | |
dracut-debuginfo-060-alt0.1.x86_64 |
ok | buildroot | |
dracut-060-alt0.1.x86_64 |
ok | checkbashisms | |
dracut-060-alt0.1.x86_64 |
ok | sisyphus_check | |
dracut-060-alt0.1.x86_64 |
ok | buildroot | |
dracut-network-060-alt0.1.noarch |
ok | checkbashisms | |
dracut-network-060-alt0.1.noarch |
ok | sisyphus_check | |
dracut-network-060-alt0.1.noarch |
ok | buildroot | |
dracut-network-manager-060-alt0.1.noarch |
ok | checkbashisms | |
dracut-network-manager-060-alt0.1.noarch |
ok | sisyphus_check | |
dracut-network-manager-060-alt0.1.noarch |
ok | buildroot | |
dracut-tools-060-alt0.1.noarch |
ok | checkbashisms | |
dracut-tools-060-alt0.1.noarch |
ok | unsafe-tmp-usage-in-scripts | |
dracut-tools-060-alt0.1.noarch |
ok | sisyphus_check | |
dracut-tools-060-alt0.1.noarch |
ok | buildroot | |
dracut-squash-060-alt0.1.noarch |
ok | checkbashisms | |
dracut-squash-060-alt0.1.noarch |
ok | unsafe-tmp-usage-in-scripts | |
dracut-squash-060-alt0.1.noarch |
ok | sisyphus_check | |
dracut-squash-060-alt0.1.noarch |
ok | buildroot | |
dracut-live-060-alt0.1.noarch |
ok | checkbashisms | |
dracut-live-060-alt0.1.noarch |
ok | sisyphus_check | |
dracut-live-060-alt0.1.noarch |
ok | buildroot | |
dracut-caps-060-alt0.1.noarch |
ok | checkbashisms | |
dracut-caps-060-alt0.1.noarch |
ok | unsafe-tmp-usage-in-scripts | |
dracut-caps-060-alt0.1.noarch |
ok | sisyphus_check | |
dracut-caps-060-alt0.1.noarch |
ok | buildroot | |
dracut-config-rescue-060-alt0.1.noarch |
ok | checkbashisms | |
dracut-config-rescue-060-alt0.1.noarch |
ok | unsafe-tmp-usage-in-scripts | |
dracut-config-rescue-060-alt0.1.noarch |
ok | sisyphus_check | |
dracut-config-rescue-060-alt0.1.noarch |
ok | buildroot | |
dracut-config-generic-060-alt0.1.noarch |
ok | checkbashisms | |
dracut-config-generic-060-alt0.1.noarch |
ok | unsafe-tmp-usage-in-scripts | |
dracut-config-generic-060-alt0.1.noarch |
ok | sisyphus_check | |
dracut-config-generic-060-alt0.1.noarch |
ok | buildroot |