[Voyage-linux] voyage.update missets /var permissions, and apt-get update shows inappropriate lilo warning

Kim-man 'Punky' TSE (spam-protected)
Wed Aug 10 09:24:41 HKT 2011


Hi Mark,

I have over a hundred installation of Voyage MPD and never see a problem.  Of course, I always install the CF on the 
host computer which is a Debian and as root.

On 8/10/2011 9:08 AM, Mark Schlegel wrote:
> Sure did, this is the command from my shell history on the pc I made the CF
> on:
>
>
> tar --numeric-owner -jxf voyage-mpd-0.7.5.tar.bz2
>
>
> Mark
>
> On Tuesday 09 August 2011 08:59:52 PM you wrote:
>> Did you remember to use the "--numeric-owner" option in tar when
>> decompressing the tarball before the install?
>>
>> Various parts of /var are owned by different users, it is probably
>> best to re-install.
>>
>> On Tue, Aug 9, 2011 at 6:43 PM, Mark Schlegel<moschleg at verizon.net>  wrote:
>>> I just got my Alix 2d2 installed with Voyage MPD 0.7.5 and had some
>>> questions.
>>>
>>> When I did the set up for nfs, that went fine and then so did the initial
>>> apt- get update and upgrade to update my installation.
>>> But the upgrade shows a warning page that tells me to run liloconfig and
>>> /sbin/lilo or else my install will not work.  But looking around I think
>>> Voyage mpd 0.7.5 is grub based so this warning is bogus and can just be
>>> ignored?
>>>
>>> Also, I then tried to start mpd with:
>>>
>>> # /etc/init.d/mpd start
>>>
>>> but then got this error:
>>>
>>> Starting Music Player Daemon: mpdFailed to load database: Failed to open
>>> database file "/var/lib/mpd/tag_cache": No such file or directory
>>> database: Can't create db file in "/var/lib/mpd": Permission denied
>>> no message buffer overruns failed!
>>>
>>> I then looked and found most of the directories under /var were owned by
>>> id "500" which doesn't exist on my Alix box which explains the
>>> permission problem.  I think this is pollution from my Fedora box where
>>> I build the CF card by doing:
>>>
>>> format-cf.sh
>>>
>>> and
>>>
>>> voyage.update    using the tar ball file.  My Fedora user id is 500/500
>>> (default for user ids, they start from 500 and go up).  Is this a problem
>>> with the voyage.update script?   Would the fix be to just set all the
>>> dirs and files under /var/ as owned by "mpd" or should that be 'root' ?
>>>
>>> Mark
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> Voyage-linux at list.voyage.hk
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux


-- 
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage ONE   (http://linux.voyage.hk/voyage-one)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
* Voyage Store   (http://store.voyage.hk)






More information about the Voyage-linux mailing list