So gvfs is a GNOME thing. You can read about it here: GVFS - Wikipedia, the free encyclopedia, I see bug reports, but not in our bugzilla, about root not being able to stat ~/.gvfs, which may be used by some backup software. Using STAT means - to display file or file system status. You are the user called ion I guess. I feel like a fortune teller trying to make sense of this little bit of an error message. So, its about your user area /home/ion perhaps, you use GNOME and openSUSE 12.2 (or maybe 12.1) with systemd and perhaps you are trying to backup your home area and there may be a bug where root is trying to stat ~/.gvfs and it does not work. Does this sound like you?
Sorry, I should have made my signature more prominent as it shows…
openSUSE 12.2 64bit KDE Version 4.8.5 (4.8.5) "release 2"
…so no, I don’t use GNOME. Furthermore I have come to accept ~/.gvfs errors as every “rsync” backup I perform returns one. What I don’t understand is why my bootup is delayed over an empty directory needed by a GUI I don’t use.
Thanks for the response. I did find those links with Google before I posted here, but neither the Ubuntu nor the Archlinux links led to any answers to my query. However since you took the time to research them, I will read them again in case I missed something.
On 02/07/2013 04:46 PM, ionmich wrote:
> However since you took the time to research them, I
> will read them again in case I missed something.
there may not be a direct answer to your specific questions…but, i
have just started an experiment: i have removed .gvfs from my home’s
root directory, and so far (10 minutes) i have found no ill effects…
i would expect to have problems only if using .gvfs to interact with
distant file systems, automatically…or possibly some gnome
applications might touch it…i do not know…
READ the caveat in my sig before following any of:
my machine may catch on fire tomorrow, but what i did in a user konsole was:
that will first unmount gvfs (must be done prior to move/delete), then
make an “archive” directory (or name it whatever you want) to store it,
and finally move gvfs…
why move it, because i do not know the long term effects…maybe i need
to move it back…if i see errors or strangeness involving gvfs i would
boot to runlevel 3 and log in as my user, then
mv /home/[username]/archive/.gvfs /home/[username]/.gvfs
su -
mount /home/[username]/.gvfs
init 5
note, even if you move it to /archive if you rsync the entire /home you
will see the error again if you do not exclude…
I have also moved .gvfs from my home directory to a safe place and rebooted several times with no ill effects so far. I suspect that as you mentioned if I run any GNOME based software it will re-appear. But as I don’t know which of the applications I use depend on GNOME files it will take some time to test.
When I set the permissions on this directory to be writeable by the owner, the very next boot removed the directory altogether, and there was no error reported. Also boot time was faster. But then on the next boot, the directory re-appeared with read-only permission and the whole initial process repeated. Puzzling.
The log messages (the “tmpfile” string) indicate that this is part of a cleanup of temporary files. The directory “/run/user” is one of the directories configured for such cleanup.
I’m guessing that the cleanup process takes this error in its stride, and that it doesn’t actually cause a time delay beyond a millisecond or two.
On 2013-02-07 23:16, ionmich wrote:
>
> ionmich;2525123 Wrote:
>> /run/user/ion/gvfs is a directory with nothing in it. It readable by
>> the user. What is systemd trying to do and failing?
>>
>
> When I set the permissions on this directory to be writeable by the
> owner, the very next boot removed the directory altogether, and there
> was no error reported. Also boot time was faster. But then on the next
> boot, the directory re-appeared with read-only permission and the whole
> initial process repeated. Puzzling.
The “/run” directory is dynamic. It does not exist in disk, but in
memory, and thus any change you do there is not permanent.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
On 2013-02-08 00:56, nrickert wrote:
>
> robin_listas;2525384 Wrote:
>> However, the “/run/user/*/gvfs” file is new to me. I don’t run 12.2 so I
>> don’t even have the /run directory.
>
> I think it has just moved there, from “$HOME/.gvfs”. I am no longer
> seeing “$HOME/.gvfs” created.
Good idea.
We can then make a backup of home without the nuisance from that
directory failing permissions, and we do not need a backup of /run.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
In 12.3, it is instead at “/run/user/1001/gvfs”
and note that 1001 is my uid. I suppose that’s because two different users could share the same uid, so they should share the same gvfs.
Also, in 12.3, if I plug in a USB and mount it in KDE, then it shows up in “/run/media/rickert/label-or-uuid-of-disk”. I’m not sure why they used the userid rather than the uid there. It seems a tad inconsistent.
And I guess I have gone way off-topic for this thread.
On 02/07/2013 10:46 PM, ionmich wrote:
> I have also moved .gvfs from my home directory
sigh! i see it has magically reappeared in my home…
and, i have no /run in my root…strange that you do. it is sure not
from the old days…sounds like something some Ship Jumper thought
would be a new, good idea!
–
dd
openSUSE®, the “German Engineered Automobile” of operating systems!
On 2013-02-08 07:48, dd wrote:
> On 02/07/2013 10:46 PM, ionmich wrote:
>> I have also moved .gvfs from my home directory
>
> sigh! i see it has magically reappeared in my home…
Yes, as soon as some gnome app runs. You might find out which with an
apparmour rule that forbids that directory. Let me see… The trick was
mentioned by Cristian Rodríguez in 2009, and you have to modify it as
needed:
+++······················
try this:
auditctl -w /dev/null -p a
auditctl -e 1
and then watch the logs…
if auditctl is not found, when you execute it as root, install package
“audit”
······················+±
At the time, some unknown process was removing permissions of /dev/null.
> and, i have no /run in my root…strange that you do.
Not strange, it was introduced with 12.2, a sysmted feature or requisite.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)