Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3227163ybi; Sun, 14 Jul 2019 09:16:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVX8ol2tzbzrf4wT1RawlhNs3t62wY8uWyj4VTG0aqTXl9elDGLweivjT6NTtuHPm0VJ45 X-Received: by 2002:a17:90a:109:: with SMTP id b9mr23150643pjb.112.1563121008413; Sun, 14 Jul 2019 09:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563121008; cv=none; d=google.com; s=arc-20160816; b=R8Qu8NrrXinq75gkHWcP/k8PrUP2xJ7wKcypFnIdIvEMOLsswRE26u7g5h7jHNX4pd QswT4gw4i0UUqsHEft6LbXLTHdk9DwmriVhR10UZAloXd9rnb8hjIsV0ZztvjN2XEdJb 6Uqhu5CNng/MJNhThHyDBhyxMlTDWngpvYGcZbC76uXWESp/dUiR6GvjGpue0Ab6vtdp 981CdaFtKRgtNqTHp7uIrbPT8jqsobiaRjVi6xi7p977M6BaHMH3xvAP27zC7LmN8GMw 1X/D/uKzOAX7UgyGQfnEP3zYLoF7CJWV+0xL7qeJn8jEoKgJ/YV8Dh8WLUCizprfDKKO HJgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=0Vw7iHzONKEuZauHgMMziL+3a6ktFyuSPUw9aOw+adE=; b=gmZsUgphfVzd9EwoFB/alo7rTpN7xJhkhJMYSlccKbPaSD7fnNTWxusyjckLgPwr3b 4IUqy4exTrzQcQ9LinU6JiLDySUyFy7rM+iadKIOIHOayulByz3kKRvQQzJ1hzDzjHMc Ge4w0LLv/TBX6rnPQg9f7jhSQbOb9wVeUAXxfsvM5ePVjwpd2Q5h72EeelpD0R4IWnFw UtwucROsO90YWEJy/d1CRIr20s9SeTEdOb4QG5isy2MnQYNzVhMGDW+3Rh4mpnSZSyJp Bv299CP3ibW6mpra90pKzSBElu2qn2g82KbNGBS8cnDG1QK9Y88Z45DPn5/I+e/oNLzv GRwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B64Fn9IF; spf=pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u123si10194714pgb.12.2019.07.14.09.16.44; Sun, 14 Jul 2019 09:16:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B64Fn9IF; spf=pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728106AbfGNQQY (ORCPT + 11 others); Sun, 14 Jul 2019 12:16:24 -0400 Received: from mail-ed1-f54.google.com ([209.85.208.54]:36949 "EHLO mail-ed1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728065AbfGNQQY (ORCPT ); Sun, 14 Jul 2019 12:16:24 -0400 Received: by mail-ed1-f54.google.com with SMTP id w13so13205112eds.4 for ; Sun, 14 Jul 2019 09:16:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0Vw7iHzONKEuZauHgMMziL+3a6ktFyuSPUw9aOw+adE=; b=B64Fn9IFfcLweQVjG6bskQ0ogPQmNoC7sSE7kxQKQvaAXGqHpKp71ucazFd/lGLTzh lV9kOpXTC7vRZU8vE8ZMPTGD6+ds9ZoWSwogSiAHF8pQmHghdGVo+uAVcdSoQymD/rZi ESW2C1jIpCH6zAQMxXKNsRmOdV6lf3JyxcYsgfNU1ekgnAGq0YZRVCcbQ+q9GvJF+1iJ I+gfSfpst5f2NclsnVXYd7My09jztBizasBj0bg4rhODNWaUamKDU9xkFK1KWGnA1oBB xDlPnq1lhtHMqtTyjWlb671igsqjJd08x5HfNNmG0xDY7ra3P98au1BMtzLzl+x+Z3Rd SIMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=0Vw7iHzONKEuZauHgMMziL+3a6ktFyuSPUw9aOw+adE=; b=p6pYwblauev6smuNnaELCAHq3OXN0KPJI/f/35PfjA2CIFLOSjTv723Mu7aNn6nHox DsxbIl66dYUUhJQ89boZA1WUQJ07YuA6dNHksg/1kDPLpaHiHGfSyB9p9JuX+z7Q62CF blI3olQNtSC3r//WjsWSvTxRrjeFWYcnrjftBVCbtOAxDKzWzuexHDYjWHTAQHxNUCoL qEbC5sCwrV/Klui7FH9Z6mIiRJPo+sHxb5DDGR5tzwaKomzPFaeEZzvcLLINku/HyjnP NRbAg9AF5OQNvQlMsAPWJQ804bFrqcI9XkomdwuSlaP1VRq4uVAaNtUPv4HXoR82+lYb TAhg== X-Gm-Message-State: APjAAAWcJBVfd4ME+NPoIZHROYvoI9khF1kpd+fJHDHTHYvj2JjHykcg 4/UfHVIb0kozypnORqIjuq6x/J7p X-Received: by 2002:a17:906:5859:: with SMTP id h25mr16845429ejs.202.1563120982300; Sun, 14 Jul 2019 09:16:22 -0700 (PDT) Received: from brutus.lan (brutus.defensec.nl. [2001:985:d55d::438]) by smtp.gmail.com with ESMTPSA id se3sm3185328ejb.31.2019.07.14.09.16.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 14 Jul 2019 09:16:20 -0700 (PDT) Date: Sun, 14 Jul 2019 18:16:19 +0200 From: Dominick Grift To: Russell Coker Cc: "selinux-refpolicy@vger.kernel.org" Subject: Re: systemd reboot Message-ID: <20190714161619.GB29870@brutus.lan> Mail-Followup-To: Russell Coker , "selinux-refpolicy@vger.kernel.org" References: <5834210.QDNlvuYVDn@liv> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: <5834210.QDNlvuYVDn@liv> User-Agent: Every email client sucks, this one just sucks less. X-PGP-Key: https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 15, 2019 at 01:10:48AM +1000, Russell Coker wrote: > # cat /lib/systemd/system/reboot.target > cat: /lib/systemd/system/reboot.target: Permission denied > # systemctl reboot > ... it reboots >=20 > Should systemd be doing some sort of access check on reboot.target? I was wrong. It is doing an acccess check on reboot.target I tried it out here: https://www.youtube.com/watch?v=3DYUATkv6R6Ys&feature= =3Dyoutu.be >=20 > --=20 > My Main Blog http://etbe.coker.com.au/ > My Documents Blog http://doc.coker.com.au/ >=20 >=20 >=20 --=20 Key fingerprint =3D 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=3Dget&search=3D0x3B6C5F1D2C7B6B02 Dominick Grift --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEujmXliIBLFTc2Y4AJXSOVTf5R2kFAl0rVU8ACgkQJXSOVTf5 R2lLDAv/cu3kHLcA5yoe5Ppcjos2hUhAwIp7D4QOJqABVf/K8z4WcRzmuy+Bt9NF s3Uu8uo6oN8pfJMScTTtmME10UJlhXqIl+LbF0iZqmE+FwlgOhrDndlu8E3hXTIT 8AMTy3dAhb1jOCmfWC39nCFESMfyTsYUuRZDUm12QIVUWwPZ5Lzm8FueNRAXJxZr nnzTQMmq3j5MkHTIeK2h6ljNp8jB/w31nNv43RncB8EFKntda95XofmRtq5X7Geu bgekRc8woJzatQ4pNk3Bt4fdDacYcD1qUCZZdGTnl21LiD7WLHZFdmSWh7JXUMJm iZw9sB2catrdBlccK141H0wVY8TcxIUZX7vGf3504J4cgJ2zDsyCkhA25/fMaVM4 9NyzJf8x3oslHrTNr6XKoyn+HWNVq3FckYnbIzu1NkpAAXgj/EBmG/HquKjTIyVF EaHPY8ap59SWigr9esc03jIHgOcjdzwLVXODsk+wsu0opM+YaKGWGfYVkP83VT2I 5q8mWJDB =Ddaq -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--