Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364827 - sys-fs/udisks: Doesn't verify if /var/run/udisks exists before trying to write into it
Summary: sys-fs/udisks: Doesn't verify if /var/run/udisks exists before trying to writ...
Status: RESOLVED DUPLICATE of bug 333893
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 18:19 UTC by Igor
Modified: 2011-04-25 19:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor 2011-04-25 18:19:40 UTC
I have /var/run as tmpfs, so it is empty after boot.
GNOME disk utility (?) wants directory /var/run/udisks
that is not exist.

This is the message I've got from GNOME disk utility:
Error creating file system: helper exited with exit code 1: cannot create directory /var/run/udisks/job-mkfs-RgYT6O: No such file or directory

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-04-25 19:19:59 UTC
$ grep var/run/udisks /var/db/pkg/sys-fs/udisks*/*
/var/db/pkg/sys-fs/udisks-1.0.2-r1/CONTENTS:dir /var/run/udisks

And from udisks source,

src/device.c: "Error creating file system: helper exited with exit code %d: %s\n%s",

So it seems like udisks should ensure first the directory exists, before trying to write into it
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-04-25 19:21:43 UTC
OK, duplicate of bug 333893

*** This bug has been marked as a duplicate of bug 333893 ***