touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #08734
Re: [Bug 1354543] mediascanner fails to watch removable devices if/media/$USER doesn't exist when starting
On lunes 11 de agosto de 2014 05h'04:19 ART, Jussi Pakkanen wrote:
> The core question is why does not /media/$USER exist when Mediascanner
> is starting? It does exist on the desktop. Could this be a timing issue
> or is the configuration completely different?
/media is created as a temp filesystem and udisks2 only creates the full
path on first mount.
The desktop has a persistent filesystem, so the rule is probably the same
and would only fail for the first time after a new install. We also don't
have udisks (sans 2) on the phone.
I just tested on desktop by creating a new user and /media/$USER doesn't
exist until I first mount something; of course, this is hidden by the
persistence and long term desktop use.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1354543
Title:
mediascanner fails to watch removable devices if /media/$USER doesn't
exist when starting
Status in “mediascanner2” package in Ubuntu:
Confirmed
Bug description:
If the system has never mounted a removable device then /media/$USER
does not exist which causes mediascanner to fail it's watch with this
error:
Mount directory does not exist
if something is mounted after this, then it just doesn't notice it.
starting mediascanner after /media/$USER is created allows everything
to work.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: mediascanner2.0 0.102+14.10.20140805-0ubuntu1
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.14.5-0ubuntu3
Architecture: armhf
Date: Fri Aug 8 14:39:22 2014
InstallationDate: Installed on 2014-08-08 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140808-020205)
SourcePackage: mediascanner2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1354543/+subscriptions
References