Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to apply ACLs: No such file or directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 532

PostPosted: Wed Jun 18, 2014 11:32 pm    Post subject: Failed to apply ACLs: No such file or directory Reply with quote

Hello World!!

I have a new issues, my journalctl show the next Fail:

Code:
jun 06 16:47:23 natrix systemd[1]: Starting Session 1 of user natrix.
jun 06 16:47:23 natrix systemd-logind[2710]: New session 1 of user natrix.
jun 06 16:47:23 natrix systemd[1]: Started Session 1 of user natrix.
jun 06 16:47:23 natrix systemd-logind[2710]: Failed to apply ACLs: No such file or directory
jun 06 16:47:23 natrix systemd[2784]: pam_unix(systemd-user:session): session opened for user natrix by (uid=0)


The line "Failed to apply ACLs: No such file or directory" is in red.

how is it? how I fix it?

Thanks!!!
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1369
Location: Montréal

PostPosted: Thu Jun 19, 2014 12:00 am    Post subject: Reply with quote

Hi,
first, check if the root and others filesystems are mounted with the acl option. For the acl be effectives, the acl option must be active when the filesystem is mounted.

If it is not, you can activate the acl option by yourself in /etc/fstab.
_________________
Paul
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 532

PostPosted: Thu Jun 19, 2014 12:30 am    Post subject: Reply with quote

Hi Logicien!!

please, can you tell me how to do?

How do I check the acl option?

thank a lot!!! :)
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1369
Location: Montréal

PostPosted: Thu Jun 19, 2014 1:06 am    Post subject: Reply with quote

Execute the command mount in a terminal and check which options are set for each mount. In /etc/fstab, the fourth field is the one for mount options. In this field, you can add the acl option anywhere. Just preceed acl with a comma if there's an other option before and with a comma too if there's an other option after.

In my own fstab, a Samba share partition is mounted with the acl option
Code:
LABEL=Garde                /mnt/garde        ext4     acl,barrier=0,defaults,noatime,nodiratime            1      2

I do not need acl for other partitions including the root partition.
_________________
Paul
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 532

PostPosted: Thu Jun 19, 2014 8:50 pm    Post subject: Reply with quote

I can not do work it, :?

fstab
Code:
/dev/sda7               /               ext4            acl,noatime     0 1


Code:
# mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=505554,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda7 on / type ext4 (rw,noatime,data=ordered)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda6 on /mnt/Datos type fuseblk (rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other,blksize=4096)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=405224k,mode=700,uid=1000,gid=1000)
/dev/sda1 on /boot type ext2 (rw,relatime,errors=continue,user_xattr,acl)


More information:

Code:
# systemctl status systemd-logind
● systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib64/systemd/system/systemd-logind.service; static)
   Active: active (running) since jue 2014-06-19 22:03:09 ART; 23min ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat
 Main PID: 2650 (systemd-logind)
   Status: "Processing requests..."
   CGroup: /system.slice/systemd-logind.service
           └─2650 /usr/lib/systemd/systemd-logind

jun 19 22:03:09 natrix systemd-logind[2650]: New seat seat0.
jun 19 22:03:09 natrix systemd-logind[2650]: Watching system buttons on /dev/input/event4 (Power Button)
jun 19 22:03:09 natrix systemd-logind[2650]: Watching system buttons on /dev/input/event3 (Power Button)
jun 19 22:03:10 natrix systemd-logind[2650]: Watching system buttons on /dev/input/event3 (Power Button)
jun 19 22:03:10 natrix systemd-logind[2650]: Watching system buttons on /dev/input/event4 (Power Button)
jun 19 22:03:23 natrix systemd-logind[2650]: New session 1 of user natrix.
jun 19 22:03:23 natrix systemd-logind[2650]: Failed to apply ACLs: No such file or directory
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1369
Location: Montréal

PostPosted: Sat Jun 21, 2014 9:03 pm    Post subject: Reply with quote

Did you emerge the alc package?
Code:
emerge --ask sys-apps/acl

More information at Files System ACL/HOWTO
_________________
Paul
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 532

PostPosted: Sun Jun 22, 2014 3:15 pm    Post subject: Reply with quote

Yes...

Code:
sys-apps/acl
      Latest version available: 2.2.51
      Latest version installed: 2.2.51
      Size of files: 376 kB
      Homepage:      http://savannah.nongnu.org/projects/acl
      Description:   access control list utilities, libraries and headers
      License:       LGPL-2.1


I have enable the options in the kernel.

:? :?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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