Re: systemd reboot

Dominick Grift <[email protected]>
Newsgroups org.kernel.vger.selinux-refpolicy
Message-ID <[email protected]>
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
> 
> Should systemd be doing some sort of access check on reboot.target?

I don't think so. The access check is on systemd-reboot.service i believe.

> 
> -- 
> My Main Blog         http://etbe.coker.com.au/
> My Documents Blog    http://doc.coker.com.au/
> 
> 
> 

-- 
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02
https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02
Dominick Grift
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEujmXliIBLFTc2Y4AJXSOVTf5R2kFAl0rSQkACgkQJXSOVTf5
R2kHVgv/W1X/GcJ1jShMsR6w4sUVD91pwwtQdPogsH/mSj/oIQuXf0EmMpj7GDuE
odd/95saZOXZTIIRO2GFfU4n6aKu8CazfY4AtXemX1e6zz+g+IsX+f5ugppWUCcv
ja+2BixTGSUYMR7GKRXKiSUhFo3eC/iR6dNveOIshV9zK4mxo4BWYWOzaJk6+xBa
Fi789MotJxbkU+eoQshNyySoNjrarPSRwgmYC/jACl3N4kcVWrehs8nTlz+X3tQk
0sPxTHCU5oxr43cECYrjN4F5jz8RxU1cv0HHH0D8z+qsjJ//fFJsNBp3zphsYLEC
GSJ5gccfsN5IvLBn657g3/y8K+dmkDC2gnDpvt/GDKkRuZYgDGttfrYqCAkGHIoN
A1zV7XFna6jtqDHDs5/37YxN7OhH4s27RK8Otu3KyeSG/vHx/Nq4Pw10sN3oKe3Y
t+hxUUQZZHXVCu5xnrwDljqpdgs+HfYYOZeKMGuGF2wO1cvCgNY8yqP9qJ9v7Ag2
SWWcoFQW
=HWMm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.