| |
packager |
rpm id |
test |
status |
message |
 |
boyarsh |
installer-common-base-stage2-1.16.34-alt1.x86_64 |
systemd-but-no-native-init |
experimental |
The package have native systemd file(s) but no SysV init scripts. |
 |
boyarsh |
installer-common-base-stage2-1.16.34-alt1.x86_64 |
unsafe-tmp-usage-in-scripts |
fail |
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/share/install2/preinstall.d/90-setup-bootloader.sh: $ grep /tmp/ /usr/share/install2/preinstall.d/90-setup-bootloader.sh #!/bin/sh . install2-init-functions script="$(basename $0)" echo "#!/bin/sh" > /tmp/"$script" chmod +x /tmp/"$script" exec_chroot sh "rpm '%{name}\n'| grep 'branding.*bootloader' | xargs bash \"rpm '%{postin}' {} \"" >>/tmp/"$script" exec_chroot /tmp/"$script" 1 ||: Found error in /usr/share/install2/preinstall.d/65-setup-control.sh: $ grep /tmp/ /usr/share/install2/preinstall.d/65-setup-control.sh [ /usr/share/install2/control ] || exit 0 while read facility state; do [ "$facility" "$state" ] || chroot $destdir control "$facility" "$state" ||: done < /usr/share/install2/control >> /tmp/install2.log 2>&1 Found error in /usr/libexec/install2/install2: $ grep /tmp/ /usr/libexec/install2/install2 charset=utf8 cmdline="$(cat /proc/cmdline)" stderr_to_log() { exec 4>&2 2>/tmp/install2.log } stderr_to_stderr() { exec 2>&4 { AUTOINSTALL= export AUTOINSTALL if cmdline_has_arg ai ; then AUTOINSTALL='/tmp/metadata/autoinstall.scm' fi shell_config_set "$install_variables" AUTOINSTALL "$AUTOINSTALL" } set_cdromdev() -- mkdir -p -m700 -- "$destdir/root/.install-log" # Copy alteratord.log from temporary dir to /tmp cp /run/alteratord/alteratord.log /tmp ||: # save logs for f in initinstall preinstall postinstall install2 pkg-install remount alteratord x11; do [ -f "/tmp/$f.log" ] || continue sed -r 's;( passwd_?([12]|auto) ")([^"]|[\\]["])*";\1*";g' <"/tmp/$f.log" \ >"$destdir/root/.install-log"/"$f.log" done # save screenshots mkdir -p -m700 -- "$destdir/root/.install-log/screenshots" for f in /tmp/alterator-screenshot-*.*; do [ ! -f "$f" ] || cp "$f" "$destdir"/root/.install-log/screenshots/ ||: done } x11presetdrv() { [ -n "$INSTALL2_INIT" ] || return 0 [ -f /etc/rc.d/init.d/x11presetdrv ] || return 0 service x11presetdrv start 2>/tmp/x11presetdrv.log update_splash x11presetdrv } if [ -z "$INSTALL2_INIT" ]; then > /tmp/install2.log chmod 600 /tmp/install2.log stderr_to_log fi # Mount touch /var/rw-test || action 'Mounting filesystems' mount_fs -- rm -r /var/lock/ fi # Create tmpfiles [ -z "$INSTALL2_INIT" ] || systemd-tmpfiles --remove --create --boot --exclude-prefix=/dev >/tmp/tmpfiles.log 2>&1 # do not assemble raid automatically (restore with start_mdraid) if [ -s /lib/udev/rules.d/64-md-raid-assembly.rules ]; then mv /lib/udev/rules.d/64-md-raid-assembly.rules /tmp fi [ -z "$INSTALL2_INIT" ] || service udevd start 2>/tmp/udevd.log update_splash udev x11presetdrv set_alterator_datadir -- set_device update_splash device # create empty logs with strict rights > /tmp/initinstall.log > /tmp/preinstall.log > /tmp/postinstall.log > /tmp/wizard.log > /tmp/pkg-install.log > /tmp/x11.log chmod 600 /tmp/initinstall.log chmod 600 /tmp/preinstall.log chmod 600 /tmp/postinstall.log chmod 600 /tmp/wizard.log chmod 600 /tmp/pkg-install.log chmod 600 /tmp/x11.log # create destination directory mkdir -p "$destdir" [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ] || "$install2_bindir"/initinstall 2>>/tmp/initinstall.log | tee -a /tmp/initinstall.log update_splash finish if_run_debug_shell rc=0 -- chmod 700 /run/user/0 export XDG_RUNTIME_DIR=/run/user/0 export WLR_NO_HARDWARE_CURSORS=1 cmd="cage -d -s "$install2_bindir"/alterator-install2" chvt 7 $cmd >/tmp/install2.log 2>&1 chvt 1 else echo 'Starting Xorg server...' auto_drivers="$(video_scan -s drivers)" xinit_args='vt7 -dpms -ac -nolisten tcp -logfile /tmp/x11.log' eval $(grep -s ^xinit_args= /etc/xserver-args) ||: cmd="xinit "$install2_bindir"/alterator-install2 -- $xinit_args" if ! $cmd >/tmp/install2.log 2>&1 ; then for drv in $auto_drivers; do # xinit must failed before run alterator-wizard [ ! -s /tmp/wizard.log ] || break echo "Error running Xorg server, trying with driver $drv..." "$install2_bindir"/xorg_conf_setup "$drv" "$XORG_CONF" rc=0 $cmd >>/tmp/install2.log 2>&1 && break || rc=$? done fi fi fi fi fi if_run_debug_shell [ "$rc" -ne 0 ] || "$install2_bindir"/postinstall 2>>/tmp/postinstall.log | tee -a /tmp/postinstall.log save_logs # Unmount destination if [ -z "$INSTALL2_INIT" ]; then Found error in /usr/libexec/install2/alterator-vnc: $ grep -A5 -B5 /tmp/ /usr/libexec/install2/alterator-vnc export FD_GEOM=1024x768 export FD_PROG="$install2_bindir"/alterator-install2 CAGE=/usr/bin/cage ALTERATOR_VNC_SERVER_W=/usr/bin/wayvnc WAYVNC_CONF_FILE=/tmp/vnc_conf vncip="$(cmdline_get_arg vncip)" if ! [ -n "$vncip" ]; then vncip="0.0.0.0" fi -- export WLR_BACKENDS=headless export WLR_LIBINPUT_NO_DEVICES=1 export WLR_RENDERER=pixman export WLR_NO_HARDWARE_CURSORS=1 wayvnc_passwd ssh-keygen -m pem -f /tmp/rsa_key.pem -t rsa -N "" $install2_bindir/vnc_info wayland $CAGE -d $FD_PROG & $ALTERATOR_VNC_SERVER_W --config $WAYVNC_CONF_FILE > /tmp/wayvnc.log 2>&1 } xvnc(){ if [ -n "$DISPLAY" ]; then VNC="x11vnc" -- VNC="x11vnc -create" fi if [ -n "$host_connect" ]; then $VNC -connect "$host_connect" else $VNC -storepasswd "$password" /tmp/vncpasswd chmod 600 /tmp/vncpasswd xvncpam=$([ -n "$password" ] && echo "-usepw -rfbauth /tmp/vncpasswd" || echo "-nopw") $install2_bindir/vnc_info $VNC -quiet -listen "$vncip" $xvncpam -o /tmp/x11vnc.log fi } vnc |
 |
boyarsh |
installer-common-desktop-1.16.34-alt1.noarch |
freedesktop-categories |
warn |
Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/install2.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt). |
 |
klark |
alterator-firsttime-0.4-alt3.noarch |
init-lsb |
fail |
/etc/rc.d/init.d/ahttpd-firsttime: not systemd compatible: lsb init header missing and ahttpd-firsttime.service is not present. See http://www.altlinux.org/Services_Policy for details. |
 |
klark |
fsprot-control-1.0-alt1.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-altboot-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-cifs-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-core-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-doc-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-getimage-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-interactive-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-liverw-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-localdev-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-nfs-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-waitdev-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
make-initrd-bootchain-waitnet-0.1.5-alt31.noarch |
missing-url |
info |
Missing Url: in a package. |
 |
klark |
pc-test-2.1.6-alt1.noarch |
freedesktop-categories |
warn |
Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/pc-test.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt). |
 |
klark |
pc-test-2.1.6-alt1.noarch |
freedesktop-desktop |
info |
desktop-file-validate utility printed the following message(s): /usr/share/applications/pc-test.desktop: hint: value "ConsoleOnly;System;Utility;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu |