Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfs quota für hardened amd64
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Raze
n00b
n00b


Joined: 13 Jul 2009
Posts: 59
Location: Germany

PostPosted: Wed Apr 07, 2010 10:44 am    Post subject: xfs quota für hardened amd64 Reply with quote

Mit aktiviertem Grsec kann ich keine quota setzen:

Code:
strace setquota -u 1043 350 400 0 0 /dev/sda4

*snip
Code:
stat("/dev/sda4", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 4), ...}) = 0
quotactl(Q_XGETQSTAT|USRQUOTA, "/dev/sda4", 0, {version=1, ...}) = 0
stat("/dev/sda4", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 4), ...}) = 0
quotactl(Q_XGETQSTAT|USRQUOTA, "/dev/sda4", 0, {version=1, ...}) = 0
geteuid()                               = 0
quotactl(Q_XGETQUOTA|USRQUOTA, "/dev/sda4", 1043, 0x7b5e80f91a30) = -1 EPERM (Operation not permitted)
quotactl(Q_XSETQLIM|USRQUOTA, "/dev/sda4", 1043, {version=0, flags=0, fieldmask=0x3f, id=0, blk_hardlimit=800, blk_softlimit=700, ino_hardlimit=0, ino_softlimit=0, bcount=0, icount=0, ...}) = -1 EPERM (Operation not permitted)
write(2, "setquota: ", 10setquota: )              = 10
write(2, "Cannot write quota for 1043 on /"..., 66Cannot write quota for 1043 on /dev/sda4: Operation not permitted
) = 66
exit_group(1)                           = ?


Scheitert demnach bei auslesen / setzen des xfs_quotas, ich bin aber völlig ratlos und froh um jeden Tip. Deaktiviere ich grsec oder melde mich per admin-role an kann problemlos quotas setzen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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