From owner-freebsd-ports-bugs@freebsd.org Thu Jun 13 21:56:37 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03AF915BE504 for ; Thu, 13 Jun 2019 21:56:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8FB40700CF for ; Thu, 13 Jun 2019 21:56:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4966215BE501; Thu, 13 Jun 2019 21:56:36 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 272E315BE500 for ; Thu, 13 Jun 2019 21:56:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B845A700CB for ; Thu, 13 Jun 2019 21:56:35 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E9E1B16B16 for ; Thu, 13 Jun 2019 21:56:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5DLuYHu003292 for ; Thu, 13 Jun 2019 21:56:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5DLuYnU003291 for ports-bugs@FreeBSD.org; Thu, 13 Jun 2019 21:56:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238552] sysutils/bacula9-server: chio-bacula greps too specifically and misses output Date: Thu, 13 Jun 2019 21:56:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jah@purdue.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dvl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2019 21:56:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238552 Bug ID: 238552 Summary: sysutils/bacula9-server: chio-bacula greps too specifically and misses output Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: dvl@FreeBSD.org Reporter: jah@purdue.edu Assignee: dvl@FreeBSD.org Flags: maintainer-feedback?(dvl@FreeBSD.org) I've installed FreeBSD 12.0-RELEASE amd64 and bacula9 packages using `pkg install ...` (i.e. not compiled from source). I'm beginning to work on the bacula-sd configuration file. I think our autochanger is returning output that chio-bacula does not expect and I'm worried it will cause a problem later. In particular, our changer says: $ chio -f /dev/ch0 status -S | grep drive drive 0: source: However, the chio-bacula script, in the "loaded" command, searches for: grep "^drive ${DRIVE}: .*slot" The extra "ACCESS," in our output causes the script to drop to a section th= at lists all empty slots (apparently under the assumption that there can be on= ly one). I've hacked the script to match our output. I don't know how common this case is. $ chio-bacula.orig /dev/ch0 loaded 0 /dev/nsa0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 20 25 26 27 28 29 $ chio-bacula.hacked /dev/ch0 loaded 0 /dev/nsa0 0 16 Also, I expected the default permissions on /dev/ch0 to match /dev/nsa0 (i.= e. group read/write by operator), but I suppose that's a different report for a different time and place. --=20 You are receiving this mail because: You are the assignee for the bug.=