Received: from bregans-1.gladserv.net (bregans-1.gladserv.net [185.128.211.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC56F257845 for ; Sun, 29 Mar 2026 18:51:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.128.211.58 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774810283; cv=none; b=hSg5u1C3obzcmN0XqOrshUvyHyG45VdrM9Nq8CsB/FmjerUORBeph+uD2F152f9yTo9b9X/LQs3nXiPtVLj/cEUm2BHZ/PgB/zU72/nQeiHnwIKbbBeL0+AZWETKBlp3x8X62/Xsn3swDQ1O8ly00dnnOwj0wVhJdUQiIz2RWk0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774810283; c=relaxed/simple; bh=xNo5y/f+1QynUWi9sfmVKK1sKEdNw9gdw/cD3gAsQxE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CE8EPYts0kU93Y9xFfdeVgqjBESt1Mk63lb2BXrNIV2E8ZckoWMG1Z4U7LZckjCcgPyhlrLDe8JAxohw5hCzY4VV0IpNtPNAqy6iJrEPtF4uqGydSZdeR5FtuK/JYcwKTXaQ5Sp2clNmtSXReTxu+r9QkrXjORM7cWK8SeeDOgM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=librecast.net; spf=pass smtp.mailfrom=librecast.net; arc=none smtp.client-ip=185.128.211.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=librecast.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=librecast.net From: Brett A C Sheffield To: selinux-refpolicy@vger.kernel.org Cc: Brett A C Sheffield Subject: [PATCH] varnishd: update fcontexts for vinyl-cache rename Date: Sun, 29 Mar 2026 18:28:26 +0000 Message-ID: <20260329182825.1108681-2-bacs@librecast.net> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: selinux-refpolicy@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit varnishd binaries and paths have changed from 9.0.0 Link: https://vinyl-cache.org/docs/9.0/whats-new/upgrading-9.0.html Signed-off-by: Brett A C Sheffield --- policy/modules/services/varnishd.fc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/policy/modules/services/varnishd.fc b/policy/modules/services/varnishd.fc index c14077503..b4554c462 100644 --- a/policy/modules/services/varnishd.fc +++ b/policy/modules/services/varnishd.fc @@ -1,19 +1,32 @@ /etc/rc\.d/init\.d/varnish -- gen_context(system_u:object_r:varnishd_initrc_exec_t,s0) /etc/rc\.d/init\.d/varnishlog -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) /etc/rc\.d/init\.d/varnishncsa -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinyld -- gen_context(system_u:object_r:varnishd_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinyllog -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinylncsa -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) /etc/varnish(/.*)? gen_context(system_u:object_r:varnishd_etc_t,s0) +/etc/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishd_etc_t,s0) /usr/bin/varnishd -- gen_context(system_u:object_r:varnishd_exec_t,s0) /usr/bin/varnishlog -- gen_context(system_u:object_r:varnishlog_exec_t,s0) /usr/bin/varnishncsa -- gen_context(system_u:object_r:varnishlog_exec_t,s0) +/usr/bin/vinyld -- gen_context(system_u:object_r:varnishd_exec_t,s0) +/usr/bin/vinyllog -- gen_context(system_u:object_r:varnishlog_exec_t,s0) +/usr/bin/vinylncsa -- gen_context(system_u:object_r:varnishlog_exec_t,s0) /usr/sbin/varnishd -- gen_context(system_u:object_r:varnishd_exec_t,s0) +/usr/sbin/vinyld -- gen_context(system_u:object_r:varnishd_exec_t,s0) /var/lib/varnish(/.*)? gen_context(system_u:object_r:varnishd_var_lib_t,s0) +/var/lib/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishd_var_lib_t,s0) /var/log/varnish(/.*)? gen_context(system_u:object_r:varnishlog_log_t,s0) +/var/log/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishlog_log_t,s0) /run/varnish\.pid -- gen_context(system_u:object_r:varnishd_runtime_t,s0) /run/varnishlog\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) /run/varnishncsa\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) +/run/vinyld\.pid -- gen_context(system_u:object_r:varnishd_runtime_t,s0) +/run/vinyllog\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) +/run/vinylncsa\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) -- 2.52.0