From owner-freebsd-standards@freebsd.org Sun Aug 16 21:00:47 2015 Return-Path: Delivered-To: freebsd-standards@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4779E9BB40D for ; Sun, 16 Aug 2015 21:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2224E1E8C for ; Sun, 16 Aug 2015 21:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7GL0lwR001967 for ; Sun, 16 Aug 2015 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201508162100.t7GL0lwR001967@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-standards@FreeBSD.org Subject: Problem reports for freebsd-standards@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 16 Aug 2015 21:00:47 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2015 21:00:47 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 191586 | FreeBSD doesn't validate negative edgecases in bi 1 problems total for which you should take action. From owner-freebsd-standards@freebsd.org Mon Aug 17 11:30:44 2015 Return-Path: Delivered-To: freebsd-standards@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCCAF9BB817 for ; Mon, 17 Aug 2015 11:30:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0F9312B6 for ; Mon, 17 Aug 2015 11:30:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7HBUiCX005870 for ; Mon, 17 Aug 2015 11:30:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-standards@FreeBSD.org Subject: [Bug 202383] zfsboot Date: Mon, 17 Aug 2015 11:30:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: F.Ozhegov@yandex.ru X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-standards@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2015 11:30:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202383 Bug ID: 202383 Summary: zfsboot Product: Base System Version: 10.2-RELEASE Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: freebsd-standards@FreeBSD.org Reporter: F.Ozhegov@yandex.ru # uname -a FreeBSD FreeBSD 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 19:31:38 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 /usr/libexec/bsdinstall/zfsboot f_isset() { eval [ \"\${${1%%[$IFS]*}+set}\" ] # eval [ "${ZFSBOOT_DATASETS+set}" ] } f_isset ZFSBOOT_DATASETS || ZFSBOOT_DATASETS=" ... " It "keep it short and simple"? ZFSBOOT_DATASETS= # null f_isset ZFSBOOT_DATASETS && echo "It worked!" || echo "Error" # It worked! I recommend do this option if interactive zfs_create_dataset or ZFSBOOT_DATASETS=" ... " zfs_create_datasets() { ZFSBOOT_DATASETS= local zfs_create val while [ 1 ] do echo "Add ZFS datasets? (yes/no)" read val [ -n "$val" ] || continue if [ $val = "yes" ]; then echo "enter ZFS datasets..." echo "e.g.: /usr/src compression=lz4,exec=off,setuid=off" # You can add help for options zfs read zfs_create if [ $zfs_create ]; then ZFSBOOT_DATASETS="$ZFSBOOT_DATASETS $zfs_create" zfs_create= else f_show_err $msg_error fi continue elif [ $val = "no" ]; then break fi done } Help available options zfs: aclinherit discard | noallow | restricted | passthrough | passthrough-x aclmode discard | groupmask | passthrough | restricted atime on | off canmount on | off | noauto checksum on | off | fletcher2 | fletcher4 | sha256 compression on | off | lzjb | gzip | gzip-[1-9] | zle | lz4 copies 1 | 2 | 3 dedup on | off | verify | sha256[,verify] devices on | off exec on | off jailed on | off logbias latency | throughput mlslabel mountpoint | legacy | none nbmand on | off primarycache all | none | metadata quota | none readonly on | off recordsize 512 to 128k, power of 2 refquota | none refreservation | none reservation | none secondarycache all | none | metadata setuid on | off sharenfs on | off | share(1M) options sharesmb on | off | sharemgr(1M) options snapdir hidden | visible sync standard | always | disabled version 1 | 2 | 3 | 4 | 5 | current volsize vscan on | off xattr on | off userquota@... | none groupquota@... | none case "$ZFSBOOT_VDEV_TYPE" in stripe) want_disks=1 ;; mirror) want_disks=2 ;; raidz1) want_disks=2 ;; raidz2) want_disks=3 ;; raidz3) want_disks=4 ;; esac For RAID-Z1 quite enough 2 disk devices. For RAID-Z2 quite enough 3 disk devices. For RAID-Z3 quite enough 4 disk devices. invalid vdev specification: mirror requires at least 2 devices invalid vdev specification: raidz requires at least 2 devices invalid vdev specification: raidz2 requires at least 3 devices invalid vdev specification: raidz3 requires at least 4 devices f_eval_catch -d $funcname umount "$UMOUNT" /mnt f_eval_catch -d $funcname umount "$UMOUNT" $BSDINSTALL_CHROOT # replacement Not verification existence variable if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize && f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize f_expand_number() { # echo $ZFSBOOT_SWAP_SIZE ## local var # __string="$ZFSBOOT_SWAP_SIZE" # echo $__string ## Remove any leading non-digits # __cp="$__string" # echo $__cp # __string="${__cp#[!0-9]}" # echo $__string # [ "$__string" = "$__cp" ] && echo "It worked!" It worked! ## Produce `-1' if string didn't contain any digits # if [ ! "$__string" ]; then > echo "It worked!" > fi It worked! ## Store the numbers # __num="${__string%%[!0-9]*}" ## Shortcut # [ $__num -eq 0 ] && echo "It worked!" [: -eq: unexpected operator ## Determine if the wheels fall off [ $__num -gt 1 ] && echo "It worked!" [: -gt: unexpected operator } Decision if [ -n "$ZFSBOOT_SWAP_SIZE" ] && [ -n "$ZFSBOOT_BOOT_POOL_SIZE" ]; then if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize && f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize ... fi else [ -z "$ZFSBOOT_SWAP_SIZE" ] && f_show_err "$msg_invalid_swap_size" "$ZFSBOOT_SWAP_SIZE" && continue [ -z "$ZFSBOOT_BOOT_POOL_SIZE" ] && f_show_err "$msg_invalid_boot_pool_size" "$ZFSBOOT_BOOT_POOL_SIZE" && continue fi Delete unnecessary: f_dprintf "$funcname: Expanding supplied size values..." if ! f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize; then f_dprintf "$funcname: Invalid swap size \`%s'" \ "$ZFSBOOT_SWAP_SIZE" f_show_err "$msg_invalid_swap_size" "$ZFSBOOT_SWAP_SIZE" return $FAILURE fi if ! f_expand_number "$ZFSBOOT_BOOT_POOL_SIZE" bootsize; then f_dprintf "$funcname: Invalid boot pool size \`%s'" \ "$ZFSBOOT_BOOT_POOL_SIZE" f_show_err "$msg_invalid_boot_pool_size" \ "$ZFSBOOT_BOOT_POOL_SIZE" return $FAILURE fi System is used all over the world. f_dprintf "Pool name cannot be empty." # where i18n? f_show_err "$msg_pool_name_cannot_be_empty" msg_pool_name_cannot_be_empty="Pool name cannot be empty." reiterate? f_dprintf "No disk(s) present to configure" # unnecessary? f_show_err "$msg_no_disks_present_to_configure" msg_no_disks_present_to_configure="No disk(s) present to configure" /usr/share/bsdconfig/dialog.subr /usr/src/usr.sbin/bsdconfig/share/dialog.subr Function f_dialog_line_sanitize () uses a non-existent functionf_dialog_response_sanitize ? # grep -R 'f_dialog_response_sanitize*(' /usr/ # empty result f_dialog_line_sanitize() { if [ "$#" -eq 0 ]; then f_dprintf "%s: called with zero arguments" \ f_dialog_response_sanitize # Use of undeclared function f_dialog_response_sanitize? return $FAILURE fi local __var_to_edit for __var_to_edit in $*; do # Skip warnings and trim leading/trailing whitespace setvar $__var_to_edit "$( f_getvar $__var_to_edit | awk ' BEGIN { data = 0 } { if ( ! data ) { if ( $0 ~ /^$/ ) next if ( $0 ~ /^Gdk-WARNING \*\*:/ ) next data = 1 } sub(/^[[:space:]]*/, "") sub(/[[:space:]]*$/, "") print } ' )" done } /usr/share/bsdconfig/common.subr /usr/src/usr.sbin/bsdconfig/share/common.subr Function f_die() uses a non-existent function f_clean_up ? # grep -R 'f_clean_up*(' /usr/ /usr/share/bsdconfig/common.subr: # Optionally call f_clean_up() function if it exists /usr/src/usr.sbin/bsdconfig/share/common.subr: # Optionally call f_clean_up() function if it exists f_die() { local status=$FAILURE # If there is at least one argument, take it as the status if [ $# -gt 0 ]; then status=$1 shift 1 fi # If there are still arguments left, pass them to f_show_msg [ $# -gt 0 ] && f_show_msg "$@" # Optionally call f_clean_up() function if it exists f_have f_clean_up && f_clean_up # Optionally the use of undeclared function f_clean_up without testing? exit $status } -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-standards@freebsd.org Tue Aug 18 11:16:08 2015 Return-Path: Delivered-To: freebsd-standards@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F141E9BCF22 for ; Tue, 18 Aug 2015 11:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DDDDE2FA for ; Tue, 18 Aug 2015 11:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7IBG82Z000577 for ; Tue, 18 Aug 2015 11:16:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-standards@FreeBSD.org Subject: [Bug 202411] unable to freebsd-update upgrade -r 10.2-RELEASE from 10.1 Date: Tue, 18 Aug 2015 11:16:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vladimirtest@yandex.ru X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-standards@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2015 11:16:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202411 Bug ID: 202411 Summary: unable to freebsd-update upgrade -r 10.2-RELEASE from 10.1 Product: Base System Version: 10.1-STABLE Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: freebsd-standards@FreeBSD.org Reporter: vladimirtest@yandex.ru unable to freebsd-update upgrade -r 10.2-RELEASE from 10.1 inside an virtualbox. cpu i386, ram 128MB screenshot attached -- You are receiving this mail because: You are the assignee for the bug.