Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SELinux] - root SELInux user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
y351
n00b
n00b


Joined: 21 May 2017
Posts: 49

PostPosted: Fri Nov 09, 2018 2:10 pm    Post subject: [SELinux] - root SELInux user Reply with quote

Bonjour,

Depuis que je suis passé de "permissive" à "enforcing", divers problèmes sont rencontrés :

1) je ne peux pas rentrer dans le répertoire /root, en faisant un sudo

KO :
ls -lZ /root
root:object_r:user_homedir_t
cd /root
unable to change directory to /root: Permission denied


OK :
chcon -R -u system_u /root
ls -lZ /root
system_u:object_r:user_homedir_t
cd /root



Pour basculer à root, j'ai dû faire :
Code:

chcon -R -u system_u /root
 id -Z
staff_u:staff_r:staff_t
newrole -r sysadm_r
id -Z
staff_u:sysadm_r:sysadm_t
sudo -i


Est-ce normal ?

2) Je ne peux plus installer, faire de màj système
Voici les logs :
http://dpaste.com/0KKH85Z

Comment autoriser cela ?

3) Lors du boot, j'obtiens des alertes du genre :
Quote:

/etc is not writable, unable to write /etc/mtab

Quote:

/ is not writable, unable to clean up underlying /run


Comment corriger ?

Merci d'avance pour vos retours.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum