Bug 707066 - ipod-set-info callout fails on Fedora 15, so songs are unavailable on iPod device
Summary: ipod-set-info callout fails on Fedora 15, so songs are unavailable on iPod de...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libgpod
Version: 15
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 656609 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-23 21:02 UTC by Adam Dingle
Modified: 2011-07-22 15:39 UTC (History)
5 users (show)

Fixed In Version: libgpod-0.8.0-9.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-15 05:41:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Dingle 2011-05-23 21:02:11 UTC
When I connect an iPod to my Fedora 15 computer and add songs to it using Rhythmbox, the songs are unavailable on the device (the iPod reports "No Music").  I debugged and found that the problem is that ipod-set-info (a libgpod executable) is not running properly.  Details follow.

Here's what's supposed to happen when you connect an iPod:

1. A udev rule defined in /lib/udev/90-libgpod.rules fires and runs /lib/udev/ipod-set-info.
2. ipod-set-info writes a file iPod_Control/Device/SysInfoExtended to the iPod.  This file contains information that libgpod needs in order to properly write files to the iPod.  (See README.SysInfo in the libgpod distribution for more about this.)

On Fedora 15, ipod-set-info fails to write the SysInfoExtended file.  The problem is that Fedora builds libgpod with this configure option (found in libgpod.spec):

  --with-temp-mount-dir=%{_localstatedir}/run/%{name}

That maps to /var/run/libgpod.  Unfortunately that directory does not exist, and ipod-set-info won't create it automatically.  So when ipod-set-info tries to mount the iPod (that happens in mount_ipod() in generic-callout.c), the call "mkdtemp(filename)" fails, and so SysInfoExtended is never written.  And so Rhythmbox can't write songs properly to the iPod.

Comment 1 Todd Zullinger 2011-05-23 23:30:13 UTC
This is due to http://fedoraproject.org/wiki/Features/var-run-tmpfs.  Can you give a scratch build a try and see if it fixes things for you?

http://koji.fedoraproject.org/koji/taskinfo?taskID=3088233

Comment 2 Adam Dingle 2011-05-24 00:38:38 UTC
Thanks for the quick response!  I can confirm that this scratch libgpod build fixes the problem.

Comment 3 Fedora Update System 2011-05-24 18:40:50 UTC
libgpod-0.8.0-8.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/libgpod-0.8.0-8.fc15

Comment 4 Fedora Update System 2011-05-25 02:25:34 UTC
Package libgpod-0.8.0-8.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libgpod-0.8.0-8.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/libgpod-0.8.0-8.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-05-26 03:07:31 UTC
libgpod-0.8.0-9.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/libgpod-0.8.0-9.fc15

Comment 6 Fedora Update System 2011-06-15 05:41:38 UTC
libgpod-0.8.0-9.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Christophe Fergeau 2011-07-22 15:39:39 UTC
*** Bug 656609 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.