Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4856 - important Gnome directory spontaneously disappears

Attached to Project: Arch Linux
Opened by name withheld (Gullible Jones) - Saturday, 24 June 2006, 01:55 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 24 June 2006, 07:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To arjan timmerman (blaasvis)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The directory /opt/gnome/share/dbus-1/servies has a tendency to vanish for no apparent reason, making it impossible to use the user message bus - which, in turn, makes a bunch of Gnome applications nonfunctional. Remaking the directory fixes this, of course, but directories shouldn't pop out of existence like that.
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 27 September 2006, 21:35 GMT
Reason for closing:  Fixed
Comment by arjan timmerman (blaasvis) - Saturday, 24 June 2006, 08:46 GMT
try this:
touch /opt/gnome/share/dbus-1/services/.keep

it probably gets removed by pacman if no files are in it.

Comment by name withheld (Gullible Jones) - Saturday, 24 June 2006, 14:50 GMT
I'll try that... Be aware that there was no upgrade though, this was on a fresh install. I had Gnome running, logged out, did some stuff on the console (no upgrades), then tried to start X again, and it failed because dbus-launch couldn't find that directory.
Comment by name withheld (Gullible Jones) - Saturday, 24 June 2006, 14:52 GMT
Also, it appears that opt/gnome/share/dbus-1/services is empty at all times, even when the message bus is obviously in use (e.g. when the Totem plugin is playing a movie).
Comment by arjan timmerman (blaasvis) - Saturday, 24 June 2006, 21:08 GMT
that's normal, only some packages will put some there. epiphany/rhythmbox etc..
Comment by name withheld (Gullible Jones) - Saturday, 24 June 2006, 23:28 GMT
Ah, got it... It was Epiphany, I must have uninstalled it while Gnome was running... Phooey. Strange, Rhythmbox never gave me this problem on uninstall.

(Perhaps dbus should just ignore this directory if it is empty or doesn't exist?)
Comment by arjan timmerman (blaasvis) - Sunday, 25 June 2006, 06:41 GMT
rhythmbox gained this in 0.9.5, also it is impossible for dbus to ignore :(
Comment by name withheld (Gullible Jones) - Sunday, 25 June 2006, 14:51 GMT
Hmm. Maybe pacman should not delete directories that were not owned by a given package, even if said package dumped stuff in those directories and removing that stuff would leave said directories empty?
Comment by Jan de Groot (JGC) - Monday, 26 June 2006, 09:03 GMT
gnome-common should put a .keep file in there. What happens is that pacman removes the empty directory when it uninstalls the last package that has a file in there. AFAIK, dbus ignores the .keep file, at least, it does in the session.d and system.d directories.
Comment by name withheld (Gullible Jones) - Monday, 26 June 2006, 11:11 GMT
That would work I guess... I don't like that pacman can go and delete directories owned by one package when removing a different package though.

Loading...