[Top] [All Lists]

Xfsdump / restore, Problems with Linux file capabilities

To: xfs@xxxxxxxxxxx
Subject: Xfsdump / restore, Problems with Linux file capabilities
From: fugazzi® <fugazzi99@xxxxxxxxx>
Date: Sat, 29 Dec 2012 18:41:35 +0000
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=hYxFk2+s6AmMEBuVLjQAzPNfmx2OmyuXMdTjbgs2T1o=; b=NDWXPolrqN/zx0edI/lIFsMof9IOFOPvqjFtm+hzkUFjW2klIkCmjnPYJlx4iQvRKF nEtEMRozRmQFpzT2Qjo4qd3jXPtYJggJB+Kqci6Z6pWr38HdtqsClJl13pc1Qbzvp0vX pGOyv0RScaWzvMKM2B630Ejlc4hVtmJqnNpUc/gzagGrWTm8vQcFFct4rANQg24DtHAh IN1k8ua9r25iyL4MkcfH+GnYMh3H1Tospg1DZ5FA/pN8T/2uwJD2WTNXk3/5W0QZ13Nz Q3FLX8MRnxq3/KuMmaffY/cy+JknMOF+fQSPwrNxIW/VJ/eAsU/3V8NOd8J7BsIT6xt6 Fmuw==
User-agent: KMail/4.9.4 (Linux/3.7.1; KDE/4.9.4; x86_64; ; )
Hi everyone, I had a problem with xfsrestore not restoring Linux capabilities 
on my system.

If I do "getcap ping" on my XFS file-system I normally get:
/usr/bin/ping = cap_net_raw+ep.

On the contrary, after a restore I get nothing, the capability is gone.
I tried with posix acls and they got restored correctly so the problem seems 
to be only connected with capabilities.
This is annoying because after a restore I have to remember to re install the 
packages that used capabilities to have them back on, otherwise no ping with 
normal user for example.

I use Arch Linux 64 bit with kernel 3.7.1 vanilla on a core2 quad system.

Hope this will be of help,
Thank you,

<Prev in Thread] Current Thread [Next in Thread>