Re: [gentoo-user] MediaTomb - sorting images by exif rating

2011-10-02 Thread czernitko
Thanks for your answer, Michael. I have already read the web page you
posted, but my problem is that libextractor extracts various EXIF metadata
from jpeg files EXCEPT for exif rating. So I wonder whether there is any
workaround/any way to do this in some different way? Or maybe some way to
teach libextractor to extract those data? I tried to find some configuration
for libextractor/exiv2 but unforutnately without any success.
Peter

2011/10/2 Michael Mol 

> On Sun, Oct 2, 2011 at 5:50 AM, czernitko  wrote:
> > Hello there!
> > I am using Mediatomb with my telly which is so far the best DLNA server
> I've
> > tried. I use the telly to present images from my DSLR camera and I'd like
> to
> > be able to list only images that have rating over 4. By rating, I mean
> EXIF
> > tag 0x4746 (Exif.Image.Rating). Does anybody know how to force MediaTomb
> to
> > create such virtual folders?
>
> MediaTomb builds the virtual folder set via JavaScript.
>
> Take a peek under /usr/share/mediatomb/js , and at
> http://mediatomb.cc/pages/scripting
>
> --
> :wq
>
>


[gentoo-user] Mediatomb media server - users & permissions for /media/videoX

2008-09-29 Thread Stroller

Hi there,

I'm in the process of ripping my DVD collection to mp4 and have just  
installed net-misc/mediatomb. I am EXTREMELY impressed with this  
service, which has very quickly demonstrated a marvellous ability to  
stream video to my PS3.


On my server I have two largish hard-drives which are used for  
miscellaneous storage - backups, drivers & service packs for my work,  
customer backups and all these video files which will soon be rapidly  
increasing in quantity.


Because of the miscellaneous nature of this data, I have mounted these  
two disks at /mnt/space and /mnt/morespace Following a discussion a  
while back I will probably move them to /media/video[123] or /media/ 
spaceX when I get around to reorganising.


Permissions on these volumes are such that any user on the system (me,  
hypothetically trusted friends or family in the future) should have  
full access to all the miscellaneous junk on them. I need to play back  
videos and delete the old versions when I decide a film needs to be  
ripped in higher quality.


I'm a little unclear as to how these permissions have been applied -  
shouldn't it be based either on the permissions of the mount-point  
directory, or added as an "-o users,umask=000" in /etc/fstab ?


  $ grep space /etc/fstab
  LABEL=space   /mnt/space  xfs noatime 
0 3
  LABEL=MoreSpace   /mnt/morespace  xfs noatime 
0 3
  $ sudo umount /mnt/morespace/
  $ ls -lh /mnt/
  total 0
  drwxrwx--- 2 root cdrom  72 May 28  2007 dvdrom
  drwxrwx--- 2 root users  48 Sep 21 23:24 foo
  drwxrwxrwx 2 root root   48 May 19  2007 morespace
  drwxrwx--- 8 root users 116 Sep 11 11:53 space
  $ sudo mount -a
  $ ls -lh /mnt/
  total 4.0K
  drwxrwx--- 2 root cdrom   72 May 28  2007 dvdrom
  drwxrwx--- 2 root users   48 Sep 21 23:24 foo
  drwxrwx--- 5 root users 4.0K Sep 15 20:46 morespace
  drwxrwx--- 8 root users  116 Sep 11 11:53 space
  $


Anyway, the problem that I encountered was that Mediatomb was unable  
to read these drives because Gentoo init.d script (very sensibly, IMO)  
runs the server as its own user, which clearly did not have permission  
to read these disks. I like this idea, because I tend to trust the  
users on my system (this may be foolish!) yet fear a hijacked daemon  
maliciously deleting my collection of Carry On films.


You can see here how I've worked around the problem for the moment:

$ grep -ie user -ie group /etc/conf.d/mediatomb
# Run MediaTomb as this user.
MEDIATOMB_USER="mediatomb"
# Run MediaTomb as this group.
#MEDIATOMB_GROUP="mediatomb"
MEDIATOMB_GROUP="users"
$

However I'm posting to solicit suggestions on the best permissions  
practices for this purpose. mediatomb shouldn't need write access to  
these files or folders at all - there's no option on the UPnP client,  
for instance, to delete files from the server. Should I make the  
drives owned by "users" and in the "mediatomb" group, with read-only  
access for the latter? Any other suggestions?


Stroller.



[gentoo-user] MediaTomb - sorting images by exif rating

2011-10-02 Thread czernitko
Hello there!
I am using Mediatomb with my telly which is so far the best DLNA server I've
tried. I use the telly to present images from my DSLR camera and I'd like to
be able to list only images that have rating over 4. By rating, I mean EXIF
tag 0x4746 (Exif.Image.Rating). Does anybody know how to force MediaTomb to
create such virtual folders?
Thanks for your responses!
Peter


Re: [gentoo-user] Mediatomb media server - users & permissions for /media/videoX

2008-09-30 Thread Willie Wong
On Tue, Sep 30, 2008 at 03:05:58AM +0100, Penguin Lover Stroller squawked:
> I'm a little unclear as to how these permissions have been applied - 
> shouldn't it be based either on the permissions of the mount-point 
> directory, or added as an "-o users,umask=000" in /etc/fstab ?

umask only applies to file systems with no intrinsic permission
settings, e.g. VFAT. The permissions for file systems with permission
bits are set in the file system itself. Which is why before and after
mounting the mount point may have different permission listings. 

In otherwords, chmod/chown/chgrp applied to the mount point with
nothing mounted will change the mount point's listing when nothing is
mounted, and chmod/chown/chgrp applied to the mount point after
mounting will change the permissions of the actual file system. 

>
> However I'm posting to solicit suggestions on the best permissions 
> practices for this purpose. mediatomb shouldn't need write access to these 
> files or folders at all - there's no option on the UPnP client, for 
> instance, to delete files from the server. Should I make the drives owned 
> by "users" and in the "mediatomb" group, with read-only access for the 
> latter? Any other suggestions?
>
What's so secret in your media folders that you can't just give read
access to mediatomb? Why don't you have it like you have now with
regards tot he owner and group and just give read permission to other? 

owner root
group users
umask 002  (i.e. you will have rwxrwxr-x or rw-rw-r-- ?)

To do any fancier (say, files owned by root, read-write access for all
users and read access only for mediatomb and no access for everyone
else) you will probably need a real ACL with which I can offer no
suggestions.

W
-- 
When coal was first discovered, there was a large black market.
Sortir en Pantoufles: up 662 days, 12:48



Re: [gentoo-user] Mediatomb media server - users & permissions for /media/videoX

2008-09-30 Thread Stroller

Hi Willie,

Many thanks for your informative reply.


On 30 Sep 2008, at 15:18, Willie Wong wrote:

On Tue, Sep 30, 2008 at 03:05:58AM +0100, Penguin Lover Stroller  
squawked:

I'm a little unclear as to how these permissions have been applied -
shouldn't it be based either on the permissions of the mount-point
directory, or added as an "-o users,umask=000" in /etc/fstab ?


umask only applies to file systems with no intrinsic permission
settings, e.g. VFAT. The permissions for file systems with permission
bits are set in the file system itself ... chmod/chown/chgrp applied  
to the mount point after

mounting will change the permissions of the actual file system.


Of course! It would not have occurred to me to ask this question were  
I mounting a drive at a normal place in the Unix directory tree (by  
which I mean /bin, /boot, /etc, /home, /lib, /sbin, /usr, /var and  
directories below them).



However I'm posting to solicit suggestions on the best permissions
practices for this purpose. mediatomb shouldn't need write access  
to these

files or folders at all - there's no option on the UPnP client, for
instance, to delete files from the server. Should I make the drives  
owned
by "users" and in the "mediatomb" group, with read-only access for  
the

latter? Any other suggestions?


What's so secret in your media folders that you can't just give read
access to mediatomb? Why don't you have it like you have now with
regards tot he owner and group and just give read permission to other?

owner root
group users
umask 002  (i.e. you will have rwxrwxr-x or rw-rw-r-- ?)


Of course! That's perfect. And I can easily keep customer data and  
other stuff on the drive at umask 007.



To do any fancier (say, files owned by root, read-write access for all
users and read access only for mediatomb and no access for everyone
else) you will probably need a real ACL with which I can offer no
suggestions.


No, that's not necessary at all. I must've been having a brain-fart  
even to have asked.


Stroller.



[gentoo-user] Re: mysql

2010-07-11 Thread walt
On 07/11/2010 09:29 AM, Stéphane Guedon wrote:
> Hello
> 
> Could someone help me concerning mysql.
> 
> My servers (both laptop hosted mysql and server hosted) are buggy. Every time 
> I restart them through the 
> init script, it crash ! :
> 
> 18:15:06 r...@einstein:~ # rc-service mysql restart
> pdns  | * Stopping PowerDNS (default) ...
> mediatomb | * Stopping MediaTomb ...  
> [ ok ]
> mysql | * Stopping  ...
> mysql | * Stopping mysqld (0) 
> [ ok ]
> mysql | * Starting  ...
> mysql | * Starting  (/etc/mysql/my.cnf)
> mysql | * MySQL NOT started (0)   
>   [ !! ]

I'm not familiar with running rc-service directly.  If you add the --debug flag
like this:

#/etc/init.d/mysql start --debug

maybe it will give you better error messages.




Re: [gentoo-user] MediaTomb - sorting images by exif rating

2011-10-02 Thread Michael Mol
On Sun, Oct 2, 2011 at 10:58 AM, czernitko  wrote:
> Thanks for your answer, Michael. I have already read the web page you
> posted, but my problem is that libextractor extracts various EXIF metadata
> from jpeg files EXCEPT for exif rating. So I wonder whether there is any
> workaround/any way to do this in some different way? Or maybe some way to
> teach libextractor to extract those data? I tried to find some configuration
> for libextractor/exiv2 but unforutnately without any success.

I don't have a good answer for that. You might try the ask-and-lurk
pattern in #mediatomb on Freenode. Note that you're running Gentoo,
and could patch the source (in case you pique the curiosity of an
interested mt dev).

-- 
:wq



Re: [gentoo-user] Miracast from Gentoo PC to TV

2015-11-18 Thread Mick
On Wednesday 18 Nov 2015 20:27:41 Fernando Rodriguez wrote:
> On Wednesday, November 18, 2015 5:12:10 PM Mick wrote:
> > Hi All,
> > 
> > Any idea what ebuild I need to connect to a Samsung TV, which uses
> > Miracast.
> 
> Do you want to use the TV as a monitor or just stream media to it? If the
> latter, you can use net-misc/mediatomb if the TV supports upnp/dlna. I
> think the only solution for miracast right now is openwfd [1] and it looks
> like it's not in the tree yet.
> 
> [1] http://www.freedesktop.org/wiki/Software/openwfd/

Thanks Fernando, I would want to use both, but mediatomb would probably be 
used more often.

I saw openwfd.  Anyone has experience using it, or is it early days yet?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] mysql

2010-07-11 Thread Stéphane Guedon
Hello

Could someone help me concerning mysql.

My servers (both laptop hosted mysql and server hosted) are buggy. Every time I 
restart them through the 
init script, it crash ! :

18:15:06 r...@einstein:~ # rc-service mysql restart
pdns  | * Stopping PowerDNS (default) ...
mediatomb | * Stopping MediaTomb ...  [ 
ok ]
mysql | * Stopping  ...
mysql | * Stopping mysqld (0)   
  [ ok ]
mysql | * Starting  ...
mysql | * Starting  (/etc/mysql/my.cnf)
mysql | * MySQL NOT started (0) 
[ !! ]
mysql | * ERROR: mysql failed to start
18:15:44 r...@einstein:~ # ps -A|grep mys
 2333 ?00:00:00 mysqld
18:15:56 r...@einstein:~ # killall mysqld
18:17:37 r...@einstein:~ # rc-service mysql zap
mysql | * Manually resetting mysql to stopped state
18:17:44 r...@einstein:~ # rc-service mysql start
mysql | * Starting  ...
mysql | * Starting  (/etc/mysql/my.cnf)
mysql | * MySQL NOT started (0) 
[ !! ]
mysql | * ERROR: mysql failed to start
18:17:53 r...@einstein:~ # ps -A|grep mys   

 
 2628 ?00:00:00 mysqld

Of course, it crashs also on boot process, whereas at least two services (pdns 
and mediatomb) need it !

==

Here is the end of emerge --info mysql for the server hosted, which is the most 
problematic :

dev-db/mysql-5.1.46 was built with the following:
USE="community debug latin1 (multilib) perl -big-tables -cluster -embedded 
-extraengine -max-idx-128 -
minimal -pbxt -profiling (-selinux) -ssl -static -test -xtradb" 
CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 
-fno-strict-aliasing"
CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 
-fno-exceptions -
fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates 
-fno-strict-aliasing"

==

I think I have read carefully the doc concerning mysql : 
http://www.gentoo.org/doc/fr/mysql-howto.xml.

What can I do ?

Thanks

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] mysql

2010-07-11 Thread roundyz
St??phane Guedon wrote:

>> Hello
>> 
>> Could someone help me concerning mysql.
>> 
>> My servers (both laptop hosted mysql and server hosted) are buggy. Every 
>> time I restart them through the 
>> init script, it crash ! :
>> 
>> 18:15:06 r...@einstein:~ # rc-service mysql restart
>> pdns  | * Stopping PowerDNS (default) ...
>> mediatomb | * Stopping MediaTomb ... 
>>  [ ok ]
>> mysql | * Stopping  ...
>> mysql | * Stopping mysqld (0)
>>  [ ok ]
>> mysql | * Starting  ...
>> mysql | * Starting  (/etc/mysql/my.cnf)
>> mysql | * MySQL NOT started (0)  
>>[ !! ]
>> mysql | * ERROR: mysql failed to start
>> 18:15:44 r...@einstein:~ # ps -A|grep mys
>>  2333 ?00:00:00 mysqld
>> 18:15:56 r...@einstein:~ # killall mysqld
>> 18:17:37 r...@einstein:~ # rc-service mysql zap
>> mysql | * Manually resetting mysql to stopped state
>> 18:17:44 r...@einstein:~ # rc-service mysql start
>> mysql | * Starting  ...
>> mysql | * Starting  (/etc/mysql/my.cnf)
>> mysql | * MySQL NOT started (0)  
>>[ !! ]
>> mysql | * ERROR: mysql failed to start
>> 18:17:53 r...@einstein:~ # ps -A|grep mys
>>  
>>
>>  2628 ?00:00:00 mysqld
>> 
>> Of course, it crashs also on boot process, whereas at least two services 
>> (pdns and mediatomb) need it !
>> 
>> ==
>> 
>> Here is the end of emerge --info mysql for the server hosted, which is the 
>> most problematic :
>> 
>> dev-db/mysql-5.1.46 was built with the following:
>> USE="community debug latin1 (multilib) perl -big-tables -cluster -embedded 
>> -extraengine -max-idx-128 -
>> minimal -pbxt -profiling (-selinux) -ssl -static -test -xtradb" 
>> CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer 
>> -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing"
>> CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer 
>> -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -
>> fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates 
>> -fno-strict-aliasing"
>> 
>> ==
>> 
>> I think I have read carefully the doc concerning mysql : 
>> http://www.gentoo.org/doc/fr/mysql-howto.xml.
>> 
>> What can I do ?
>> 
>> Thanks

Hello,

What do the logs in /var/log/mysql/ read? Thats where I'd look for the
clue. Also check your config file.

Ragards,

Matt



Re: [gentoo-user] Re: mysql

2010-07-11 Thread Stéphane Guedon
Le dimanche 11 juillet 2010 19:37:34, walt a écrit :
> On 07/11/2010 09:29 AM, Stéphane Guedon wrote:
> > Hello
> > 
> > Could someone help me concerning mysql.
> > 
> > My servers (both laptop hosted mysql and server hosted) are buggy. Every
> > time I restart them through the init script, it crash ! :
> > 
> > 18:15:06 r...@einstein:~ # rc-service mysql restart
> > pdns  | * Stopping PowerDNS (default) ...
> > mediatomb | * Stopping MediaTomb ... 
> > [ ok ] mysql | * Stopping  ...
> > mysql | * Stopping mysqld (0)
> > [ ok ] mysql | * Starting  ...
> > mysql | * Starting  (/etc/mysql/my.cnf)
> > mysql | * MySQL NOT started (0)  
> >   [ !! ]
> 
> I'm not familiar with running rc-service directly.  If you add the --debug
> flag like this:
> 
> #/etc/init.d/mysql start --debug
> 
> maybe it will give you better error messages.

I have just done three (3) rc-service mysql restart --verbose, and everything 
goes right, nothing bug... strange !
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: mysql

2010-07-11 Thread Alan McKinnon
On Sunday 11 July 2010 19:58:43 Stéphane Guedon wrote:
> Le dimanche 11 juillet 2010 19:37:34, walt a écrit :
> > On 07/11/2010 09:29 AM, Stéphane Guedon wrote:
> > > Hello
> > > 
> > > Could someone help me concerning mysql.
> > > 
> > > My servers (both laptop hosted mysql and server hosted) are buggy.
> > > Every time I restart them through the init script, it crash ! :
> > > 
> > > 18:15:06 r...@einstein:~ # rc-service mysql restart
> > > pdns  | * Stopping PowerDNS (default) ...
> > > mediatomb | * Stopping MediaTomb ...
> > > 
> > > [ ok ] mysql | * Stopping  ...
> > > 
> > > mysql | * Stopping mysqld (0)
> > > 
> > > [ ok ] mysql | * Starting  ...
> > > 
> > > mysql | * Starting  (/etc/mysql/my.cnf)
> > > mysql | * MySQL NOT started (0)
> > > 
> > >   [ !! ]
> > 
> > I'm not familiar with running rc-service directly.  If you add the
> > --debug flag like this:
> > 
> > #/etc/init.d/mysql start --debug
> > 
> > maybe it will give you better error messages.
> 
> I have just done three (3) rc-service mysql restart --verbose, and
> everything goes right, nothing bug... strange !

Did you notice that according to your logs, mysql did in fact start and shut 
itself done 2 hour 23 minutes later?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Software for LCD Data Center

2011-08-21 Thread Michael Mol
On Sun, Aug 21, 2011 at 2:21 AM, Stroller
 wrote:
>
> On 20 August 2011, at 10:40, czernitko wrote:
>
> …
>
> I've recently bought LCD television from Panasonic (TX-L32E30E Viera). It is
> connected to my home LAN and it should be able to access data on local
> computers using some Data Center feature. From what I've heard, it is
> something little bit different than common NFS/Samba sharing. It should be
> natively supported by Win7 and there may be some applications for WinXP.
> Unfortunately no applications were shipped on CD with the telly. I wonder
> whether there is some way to connect my home Gentoo server to the telly? Is
> there any linux application/specific Samba configuration/...? Have anyone
> tried anything similar?
>
> I've just checked the telly's specifications page [1] and, as per Mick's
> reply, it does appear to be DNLA you're thinking of.
> DNLA is rubbish - it's a "standard" so wide that it's no use as a standard
> any more. Manufacturers can choose such small subsets of features to
> implement, and have such freedom in *how* they implement features, that no
> two devices need ever work together - they can still all call themselves
> "DNLA compliant".
> So don't rely on DNLA - there are sure to be plenty of good video formats
> unsupported by your TV - but you might also check out MediaTomb, an
> alternative DNLA server.
> Stroller.
>
> [1] http://panasonic.net/avc/viera/eu2011/product/e_lcd.html

I'll second the MediaTomb recommendation. It's got a significant
learning curve to get set up, but they've got a large community wiki
with examples and advice, and their IRC channel is helpful if you run
into bugs.

(Amusing side note...MediaTomb is what got me into Gentoo way back
when...I wanted to use a distro a bit better set up as a development
environment, as I was tracking down crasher bugs in media codecs that
were killing my mt server. As it happened, libavcodec was crashing
when it encountered a corrupted bitstream)

-- 
:wq



Re: [gentoo-user] mediatomb and rhythmbox

2015-03-16 Thread Stefan G. Weichinger
On 16.03.2015 20:23, Stefan G. Weichinger wrote:

> --- can someone help here?

maybe this:

https://bugs.gentoo.org/show_bug.cgi?id=540714



Re: [gentoo-user] Re: mysql

2010-07-11 Thread Stéphane Guedon
Le dimanche 11 juillet 2010 20:00:16, Alan McKinnon a écrit :
> On Sunday 11 July 2010 19:58:43 Stéphane Guedon wrote:
> > Le dimanche 11 juillet 2010 19:37:34, walt a écrit :
> > > On 07/11/2010 09:29 AM, Stéphane Guedon wrote:
> > > > Hello
> > > > 
> > > > Could someone help me concerning mysql.
> > > > 
> > > > My servers (both laptop hosted mysql and server hosted) are buggy.
> > > > Every time I restart them through the init script, it crash ! :
> > > > 
> > > > 18:15:06 r...@einstein:~ # rc-service mysql restart
> > > > pdns  | * Stopping PowerDNS (default) ...
> > > > mediatomb | * Stopping MediaTomb ...
> > > > 
> > > > [ ok ] mysql | * Stopping  ...
> > > > 
> > > > mysql | * Stopping mysqld (0)
> > > > 
> > > > [ ok ] mysql | * Starting  ...
> > > > 
> > > > mysql | * Starting  (/etc/mysql/my.cnf)
> > > > mysql | * MySQL NOT started (0)
> > > > 
> > > >   [ !! ]
> > > 
> > > I'm not familiar with running rc-service directly.  If you add the
> > > --debug flag like this:
> > > 
> > > #/etc/init.d/mysql start --debug
> > > 
> > > maybe it will give you better error messages.
> > 
> > I have just done three (3) rc-service mysql restart --verbose, and
> > everything goes right, nothing bug... strange !
> 
> Did you notice that according to your logs, mysql did in fact start and
> shut itself done 2 hour 23 minutes later?

That's really strange, but I have said this log haven't change since days !

I think logs are not correctly configured. But according to /etc/mysql/my.cnf, 
there's only mysqld.err.

Should I change something ?
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] dlna & Gentoo

2010-01-31 Thread Stroller


On 28 Jan 2010, at 16:34, James wrote:

... Supposedly you can control the embedded web
browser, via the DLNA protocol.


I don't really understand this sentence.

My experience is limited to the use of MediaTomb to stream .mp3 audio  
& .mp4 video files from a Linux server to my PS3 for playback, and I  
believe this is related to the hodgepodge of technologies which are  
loosely assembled under the "DLNA" and "uPNP" brands.


However, in that case you use a standard web-browser to configure some  
options on the server, and which directories to include. Being a Linux- 
based server, MediaTomb does not have any special browser requirements.


I don't understand how you would control either a web-browser, or a  
web-server, using DLNA.


My understanding of DNLA from reading the wikipedia article (which may  
have been posted in this thread) is that it's not a protocol as such,  
but more of a "work together" certification, although a loose one. If  
your DNLA amplifier has a little embedded web-server, then its web- 
pages must (as I read that) be viewable in the simple web-browser  
installed on a Windows CE client. This is something of a  
simplification, as AIUI there can be loads of other incompatibilities  
when trying to actually stream the music between devices in the home.  
But I would reckon that browser compatibility is the least of your  
problems.


Stroller.



Re: [gentoo-user] mysql

2010-07-11 Thread Stéphane Guedon
Le dimanche 11 juillet 2010 20:07:11, roun...@hotmail.ru a écrit :
> St??phane Guedon wrote:
> >> Hello
> >> 
> >> Could someone help me concerning mysql.
> >> 
> >> My servers (both laptop hosted mysql and server hosted) are buggy. Every
> >> time I restart them through the init script, it crash ! :
> >> 
> >> 18:15:06 r...@einstein:~ # rc-service mysql restart
> >> pdns      | * Stopping PowerDNS (default) ...
> >> mediatomb | * Stopping MediaTomb ...
> >>  [ ok ] mysql | * Stopping  ...
> >> mysql | * Stopping mysqld (0)   
> >>  [ ok ] mysql | * Starting  ...
> >> mysql | * Starting  (/etc/mysql/my.cnf)
> >> mysql | * MySQL NOT started (0) 
> >>[ !! ] mysql | * ERROR: mysql failed to start
> >> 18:15:44 r...@einstein:~ # ps -A|grep mys
> >> 
> >>  2333 ?00:00:00 mysqld
> >> 
> >> 18:15:56 r...@einstein:~ # killall mysqld
> >> 18:17:37 r...@einstein:~ # rc-service mysql zap
> >> mysql | * Manually resetting mysql to stopped state
> >> 18:17:44 r...@einstein:~ # rc-service mysql start
> >> mysql | * Starting  ...
> >> mysql | * Starting  (/etc/mysql/my.cnf)
> >> mysql | * MySQL NOT started (0) 
> >>    [ !! ] mysql | * ERROR: mysql failed to start
> >> 18:17:53 r...@einstein:~ # ps -A|grep mys
> >> 
> >>  2628 ?00:00:00 mysqld
> >> 
> >> Of course, it crashs also on boot process, whereas at least two services
> >> (pdns and mediatomb) need it !
> >> 
> >> ==
> >> 
> >> Here is the end of emerge --info mysql for the server hosted, which is
> >> the most problematic :
> >> 
> >> dev-db/mysql-5.1.46 was built with the following:
> >> USE="community debug latin1 (multilib) perl -big-tables -cluster
> >> -embedded -extraengine -max-idx-128 - minimal -pbxt -profiling
> >> (-selinux) -ssl -static -test -xtradb" CFLAGS="-march=native -O3 -pipe
> >> -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing"
> >> CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer
> >> -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions - fno-strict-aliasing
> >> -felide-constructors -fno-rtti -fno-implicit-templates
> >> -fno-strict-aliasing"
> >> 
> >> ==
> >> 
> >> I think I have read carefully the doc concerning mysql :
> >> http://www.gentoo.org/doc/fr/mysql-howto.xml.
> >> 
> >> What can I do ?
> >> 
> >> Thanks
> 
> Hello,
> 
> What do the logs in /var/log/mysql/ read? Thats where I'd look for the
> clue. Also check your config file.

19:12:09 r...@einstein:/var/log/mysql # ls -l 
total 36
-rw-rw 1 mysql mysql 0 Jul 11 15:05 mysql.err
-rw-rw 1 mysql mysql 0 Jul 11 15:05 mysql.log
-rw-rw 1 mysql mysql 36816 Apr 21 10:52 mysqld.err

19:14:11 r...@einstein:/var/log/mysql # tail mysqld.err 
100323  8:30:20 [Note] Event Scheduler: Loaded 0 events
100323  8:30:20 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.44-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  
Gentoo Linux mysql-5.1.44-r1
100421 10:52:15 [Note] /usr/sbin/mysqld: Normal shutdown

100421 10:52:17 [Note] Event Scheduler: Purging the queue. 0 events
100421 10:52:20  InnoDB: Starting shutdown...
100421 10:52:39  InnoDB: Shutdown completed; log sequence number 0 8395213
100421 10:52:40 [Note] /usr/sbin/mysqld: Shutdown complete

This file is like this since DAYS ! I don't know why !

I use the usual config file given by the emerge process...

> 
> Ragards,
> 
> Matt

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: mysql

2010-07-11 Thread Alan McKinnon
On Sunday 11 July 2010 20:33:17 Stéphane Guedon wrote:
> Le dimanche 11 juillet 2010 20:00:16, Alan McKinnon a écrit :
> > On Sunday 11 July 2010 19:58:43 Stéphane Guedon wrote:
> > > Le dimanche 11 juillet 2010 19:37:34, walt a écrit :
> > > > On 07/11/2010 09:29 AM, Stéphane Guedon wrote:
> > > > > Hello
> > > > > 
> > > > > Could someone help me concerning mysql.
> > > > > 
> > > > > My servers (both laptop hosted mysql and server hosted) are buggy.
> > > > > Every time I restart them through the init script, it crash ! :
> > > > > 
> > > > > 18:15:06 r...@einstein:~ # rc-service mysql restart
> > > > > pdns  | * Stopping PowerDNS (default) ...
> > > > > mediatomb | * Stopping MediaTomb ...
> > > > > 
> > > > > [ ok ] mysql | * Stopping  ...
> > > > > 
> > > > > mysql | * Stopping mysqld (0)
> > > > > 
> > > > > [ ok ] mysql | * Starting  ...
> > > > > 
> > > > > mysql | * Starting  (/etc/mysql/my.cnf)
> > > > > mysql | * MySQL NOT started (0)
> > > > > 
> > > > >   [ !! ]
> > > > 
> > > > I'm not familiar with running rc-service directly.  If you add the
> > > > --debug flag like this:
> > > > 
> > > > #/etc/init.d/mysql start --debug
> > > > 
> > > > maybe it will give you better error messages.
> > > 
> > > I have just done three (3) rc-service mysql restart --verbose, and
> > > everything goes right, nothing bug... strange !
> > 
> > Did you notice that according to your logs, mysql did in fact start and
> > shut itself done 2 hour 23 minutes later?
> 
> That's really strange, but I have said this log haven't change since days !
> 
> I think logs are not correctly configured. But according to
> /etc/mysql/my.cnf, there's only mysqld.err.
> 
> Should I change something ?


I mean to point out that according to your logs, mysql did in fact appear to 
start. Then it stopped. Ignoring the hour in the timestamps in case it's 
timezone differences, this means that according to your logs mysql ran for 
something like 23 minutes.

This does not mean it does not start as you claim.
It means something is killing it.
You need to go find what that is. I can't help you with that, you are the only 
one in front of your computer.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Software for LCD Data Center

2011-08-25 Thread czernitko
Ok, you were right guys! I installed MediaTomb per your recommendations, and
it works like a charm! Installation and configuration was easy as a pie
thanks to Gentoo's portage and MediaTomb's web UI. Moreover its DLNA is
compatible with my telly! Yay! :) Streaming of video, conversion of
unsupported formats and everything just works in five minutes of work! And
it is much better than Twonky Media Server which is the only officially
supported software by Panasonic.
Thanks for all your time guys!
Peter


Re: [gentoo-user] Miracast from Gentoo PC to TV

2015-11-18 Thread Fernando Rodriguez
On Wednesday, November 18, 2015 5:12:10 PM Mick wrote:
> Hi All,
> 
> Any idea what ebuild I need to connect to a Samsung TV, which uses Miracast.
> 
> 

Do you want to use the TV as a monitor or just stream media to it? If the 
latter, you can use net-misc/mediatomb if the TV supports upnp/dlna. I think 
the only solution for miracast right now is openwfd [1] and it looks like it's 
not in the tree yet.

[1] http://www.freedesktop.org/wiki/Software/openwfd/

-- 
Fernando Rodriguez



Re: [gentoo-user] Software for LCD Data Center

2011-08-24 Thread czernitko
Thanks for all your answers guys! And sorry for not responding for three
days, I was away on holiday. From what you say I will give DLNA a try (no
other choice, I simply want to watch movies stored on my pc). I found some
list of DLNA software on
http://www.rbgrn.net/content/21-how-to-choose-dlna-media-server-windows-mac-os-x-or-linuxbut
I will give a try to ushare and MediaTomb first. I'll go through the
list and try each piece of software and see which one works best with my
telly x gentoo combination. I'll let you know as soon as I have more info!
Cheers,
Peter


Re: [gentoo-user] Software for LCD Data Center

2011-08-24 Thread Michael Mol
On Wed, Aug 24, 2011 at 7:57 AM, czernitko  wrote:
> Thanks for all your answers guys! And sorry for not responding for three
> days, I was away on holiday. From what you say I will give DLNA a try (no
> other choice, I simply want to watch movies stored on my pc). I found some
> list of DLNA software on
> http://www.rbgrn.net/content/21-how-to-choose-dlna-media-server-windows-mac-os-x-or-linux
> but I will give a try to ushare and MediaTomb first. I'll go through the
> list and try each piece of software and see which one works best with my
> telly x gentoo combination. I'll let you know as soon as I have more info!

If you need help with MT, I can offer some assistance as I have time.


-- 
:wq



[gentoo-user] mediatomb and rhythmbox

2015-03-16 Thread Stefan G. Weichinger

anyone using mediatomb to serve music etc ?

I do since yesterday ... and host the mp3s generated by mythtv .. they
get found and played fine on my TV set *and* my android smartphone!

-

On my gnome-desktop I have the rhythmbox player 3.1 with USE-flags
"upnp-av" :

[I] media-sound/rhythmbox
 Available versions:  3.0.3 3.1^t **[1] {cdr daap dbus html ipod
libnotify +libsecret lirc mtp nsplugin +python test +udev upnp-av
visualizer webkit zeitgeist PYTHON_SINGLE_TARGET="python3_2 +python3_3"
PYTHON_TARGETS="python3_3 python3_4"}
 Installed versions:  3.1^t(20:19:05 16.03.2015)(cdr dbus libnotify
libsecret nsplugin python udev upnp-av -daap -html -ipod -lirc -mtp
-test -visualizer -webkit -zeitgeist PYTHON_TARGETS="python3_3 -python3_4")

AFAI understand this should load grilo-plugins?

# eix grilo
[I] media-libs/grilo
 Available versions:  (0.2) 0.2.10(0.2/1) 0.2.11(0.2/1)
   {examples gtk +introspection +network playlist test vala}
 Installed versions:  0.2.11(0.2)(17:17:01 08.11.2014)(gtk
introspection network playlist -examples -test -vala)
 Homepage:https://wiki.gnome.org/Projects/Grilo
 Description: A framework for easy media discovery and browsing

[I] media-plugins/grilo-plugins
 Available versions:  (0.2) 0.2.12 0.2.13
   {daap +dvd flickr freebox gnome-online-accounts lua pocket
thetvdb tracker upnp-av +vimeo +youtube}
 Installed versions:  0.2.13(0.2)(00:21:44 16.02.2015)(dvd
gnome-online-accounts tracker upnp-av vimeo youtube -daap -flickr
-freebox -lua -pocket -thetvdb)
 Homepage:https://wiki.gnome.org/Projects/Grilo
 Description: A framework for easy media discovery and browsing

--- Do I need USE="daap" ?? I think, no ... ?

When I disable and re-enable the grilo-browser-plugin within rhythmbox I
get this in the debug-logs:

(20:20:09) [0x1265cd0] [rb_grilo_plugin_init] rb-grilo-plugin.c:89:
RBGriloPlugin initialising
(20:20:09) [0x1265cd0] [extension_added_cb] rb-shell.c:792: activating
extension Grilo media browser

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-bookmarks'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-raitv'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-magnatune'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-jamendo'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-gravatar'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-podcasts'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-tracker'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-optical-media'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-metadata-store'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-local-metadata'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-dleyna'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-filesystem'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-bliptv'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-lastfm-albumart'

(rhythmbox:27983): Grilo-WARNING **: [registry] grl-registry.c:356:
Plugin is already loaded: 'grl-apple-trailers'

(rhythmbox:27983): Rhythmbox-WARNING **: Failed to load Grilo plugins:
All configured plugin paths are invalid


--- can someone help here?

Stefan




Re: [gentoo-user] Re: dlna & Gentoo

2010-01-31 Thread Stroller


On 29 Jan 2010, at 15:14, James wrote:

Iain Buchanan  netspace.net.au> writes:
...
Exactly what I'm afraid. If I have to roll my own, I guess
I'll just by the version( Yamaha RX-V1900) without ethernet and
load up a Gentoo PC with sound cards that splice from the mixer
to all of the components and amplifiers.


I think you want to have a word with this guy:

http://www.vimeo.com/1878837

I'm unclear what the tuner gives you that you can't get with a PCI  
tuner card in a Gentoo box, MediaTomb and some work. The video shows  
streaming of Internet radio.


As I understand the purpose of a conventional hi-fi tuner, it's to  
receive over-the-air conventional radio, and it seems to be this  
streaming of Internet radio that is an extra feature of this  
advertised tuner (although I only glanced at the Yamaha's  
specification, as I'm not qualified to understand it).


However with a tuner card one could additionally receive digital radio  
via DVB-T or DVB-S.


All this could be managed via web-interface on a DIY Gentoo box.  
Alternatively Silverstone offer computer cases with big dials &  
buttons on the front.


Stroller.




[gentoo-user] Mounting a big drive for stuff - /mnt or /media

2009-08-05 Thread Stroller

Hi there,

I'm in the process of commissioning a box which has a large hard drive  
on which videos, mp3s & stuff will be stored.


On all my other machines, such drives are mounted at /mnt/space (and a  
second drive at /mnt/morespace)


I have a notion to move to a hierarchy under /media/ - something like / 
media/space or /media/videos or  /media/disk1,  /media/disk2, /media/ 
disk3, ...


I can't remember WHY I came iup with this idea, however.

Googling, I can find more than one message to this list in which I  
assert this intention and state refer to a discussion on this list  
which led to it. However I can't find that previous discussion itself.

http://www.linux-archive.org/gentoo-user/168375-mediatomb-media-server-users-permissions-media-videox.html
http://www.nabble.com/Autofs-or-ivman--td14647701.html

The only thing that springs to mind is that /mnt was originally used  
by system administrators to temporarily mount removable media. I think  
the FHS comes into it. But right now this isn't terribly convincing,  
particularly as I currently expect to be using one BIG volume, so  
there should be no need for more than drive mounted in this way.


Can anyone persuade me or provide other reasons for using /media?

Thanks in advance,

Stroller.




Re: [gentoo-user] Software for LCD Data Center

2011-08-20 Thread Stroller

On 20 August 2011, at 10:40, czernitko wrote:
> …
> I've recently bought LCD television from Panasonic (TX-L32E30E Viera). It is 
> connected to my home LAN and it should be able to access data on local 
> computers using some Data Center feature. From what I've heard, it is 
> something little bit different than common NFS/Samba sharing. It should be 
> natively supported by Win7 and there may be some applications for WinXP. 
> Unfortunately no applications were shipped on CD with the telly. I wonder 
> whether there is some way to connect my home Gentoo server to the telly? Is 
> there any linux application/specific Samba configuration/...? Have anyone 
> tried anything similar?

I've just checked the telly's specifications page [1] and, as per Mick's reply, 
it does appear to be DNLA you're thinking of.

DNLA is rubbish - it's a "standard" so wide that it's no use as a standard any 
more. Manufacturers can choose such small subsets of features to implement, and 
have such freedom in *how* they implement features, that no two devices need 
ever work together - they can still all call themselves "DNLA compliant".

So don't rely on DNLA - there are sure to be plenty of good video formats 
unsupported by your TV - but you might also check out MediaTomb, an alternative 
DNLA server.

Stroller.


[1] http://panasonic.net/avc/viera/eu2011/product/e_lcd.html

[gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Mick
I am trying to understand what is pulling in mysql again.  This
morning a load of qt packages were being updated and I noticed a bunch
of perl and virtual packages in there too.  Rest assured dev-db/mysql
was in there, again.  This is despite the fact that the mysql use flag
seem to be not active as far as portage is concerned:

# euse -i mysql
global use flags (searching: mysql)

[-] mysql - Adds mySQL Database support

local use flags (searching: mysql)

[-] mysql (app-admin/ulogd):
Build MYSQL output plugin to save packets in a mysql database.

[-] mysql (net-misc/mediatomb):
Use dev-db/mysql as backend rather than SQLite3. If this USE flag is
disabled, dev-db/sqlite is used in its stead.

Looking into it further I see that the virtual package is pulling the
database in:

# equery depends dev-db/mysql
[ Searching for packages depending on dev-db/mysql... ]
virtual/mysql-5.0 (=dev-db/mysql-5.0*)

# equery depends virtual/mysql
[ Searching for packages depending on virtual/mysql... ]
dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0)
dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql)
dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql)
dev-perl/DBD-mysql-4.00.5 (virtual/mysql)
x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql)

So, is this telling me the virtual mysql package depends of the real
mysql and vice versa?  Should I give up and accept that just like a
LAMP build, from now on a Linux desktop *must* run mysql and nothing
else will do?  I've read that sqlite is borked and won't do what
semantic-desktop wants, but what about people who for arguments sake
want to run postgress or some other database?
-- 
Regards,
Mick



[gentoo-user] mysql USE flag error

2009-10-18 Thread Mick
I am not sure I understand this message about the mysql USE flag:
=
# emerge -upDv world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to 
satisfy ">=x11-libs/qt-sql-4.5.0:4[mysql]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-sql-4.5.2 (Change USE: +mysql)
(dependency required by "app-office/akonadi-server-1.2.1" [ebuild])
(dependency required by "kde-base/kdepimlibs-4.3.1" [ebuild])
(dependency required by "kde-base/krfb-4.3.1" [ebuild])
(dependency required by "world" [argument])

# euse -i mysql
global use flags (searching: mysql)

[-] mysql - Adds mySQL Database support

local use flags (searching: mysql)

[-] mysql (app-admin/ulogd):
Build MYSQL output plugin to save packets in a mysql database.

[-] mysql (net-misc/mediatomb):
Use dev-db/mysql as backend rather than SQLite3. If this USE flag is disabled, 
dev-db/sqlite is used in its stead.

$ eix -l x11-libs/qt-sql
[snip...]
 Installed versions:  4.5.2(4)(12:30:57 10/10/09)(iconv qt3support 
sqlite -debug -firebird -mysql -odbc -pch -postgres)
=

Of the packages mentioned as dependencies requiring mysql I only have 
installed kde-base/krfb, but not the version shown above 
kde-base/krfb-4.3.1 - see below:
=
# emerge -Cpv kde-base/krfb

>>> These are the packages that would be unmerged:

 kde-base/krfb
selected: 3.5.10 
   protected: none 
 omitted: none 

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
=

Can you please explain why this mysql USE flag message shows up?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Mounting a big drive for stuff - /mnt or /media

2009-08-06 Thread Dale
Stroller wrote:
> Hi there,
>
> I'm in the process of commissioning a box which has a large hard drive
> on which videos, mp3s & stuff will be stored.
>
> On all my other machines, such drives are mounted at /mnt/space (and a
> second drive at /mnt/morespace)
>
> I have a notion to move to a hierarchy under /media/ - something like
> /media/space or /media/videos or  /media/disk1,  /media/disk2,
> /media/disk3, ...
>
> I can't remember WHY I came iup with this idea, however.
>
> Googling, I can find more than one message to this list in which I
> assert this intention and state refer to a discussion on this list
> which led to it. However I can't find that previous discussion itself.
> http://www.linux-archive.org/gentoo-user/168375-mediatomb-media-server-users-permissions-media-videox.html
>
> http://www.nabble.com/Autofs-or-ivman--td14647701.html
>
> The only thing that springs to mind is that /mnt was originally used
> by system administrators to temporarily mount removable media. I think
> the FHS comes into it. But right now this isn't terribly convincing,
> particularly as I currently expect to be using one BIG volume, so
> there should be no need for more than drive mounted in this way.
>
> Can anyone persuade me or provide other reasons for using /media?
>
> Thanks in advance,
>
> Stroller.
>
>
>

You can create a mount point and mount the drive where ever you want.  I
created the mount point /data on my system and mounted a drive to it.  I
store my wallpapers, some rarely used documents, owners manuals and
things like that there.  Point is, Linux doesn't care where you put it,
just put it where you want it and can find it.

Dale

:-)  :-) 



[gentoo-user] Re: get_iplayer rocks!

2009-12-22 Thread Stroller


On 21 Dec 2009, at 22:23, walt wrote:


On 12/21/2009 03:35 AM, Stroller wrote:


OMG! get_iplayer rocks!


Very cool, thanks.  I can't answer your question, but I'm listening to
A Celtic Heartbeat from Radio Wales just 15 minutes after I saw this,
so thanks for the tip and happy holidays :o)


I'm just really impressed by get_iplayer.

It makes it easy to schedule recordings, so that you just create a  
search for a series name using the --pvr related options and the whole  
series downloads automagically. I always miss the first episodes of  
"Have I Got News For You" when a new series starts, because I never  
notice that it's on until weeks later, but now never again - the  
search is stored, so any new shows will be downloaded.


If you add "tvmode = flashhd,flashvhigh" to your .get_iplayer options  
then the shows are downloaded in hi-def 720p. They're converted to mp4  
container (the streams are already in the right codecs) and they play  
on the PS3. The video quality is really quite good indeed.


I've got my get_iplayer output directory set to one that MediaTomb  
knows about (via inotify), so anything new is just there ready waiting  
to be watched. I find the command-line options slightly obscure, but  
aside from that get_iplayer will revolutionise my TV watching - it  
makes it easier than piracy!


I miss out on the best of BBC radio because I'm rarely driving when  
it's on, and I just don't listen at home. A customer of mine gave me  
an old iPod mini a while back - is an obsolete model, but its 4gig  
memory is still enough for hours of shows - so I've bought a £7 radio  
transmitter on eBay so I can time-shift radio, too. That's gonna be  
great, too!


Stroller.




Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Alan McKinnon
On Thursday 04 March 2010 17:37:23 Mick wrote:
> I am trying to understand what is pulling in mysql again.  This
> morning a load of qt packages were being updated and I noticed a bunch
> of perl and virtual packages in there too.  Rest assured dev-db/mysql
> was in there, again.  This is despite the fact that the mysql use flag
> seem to be not active as far as portage is concerned:
> 
> # euse -i mysql
> global use flags (searching: mysql)
> 
> [-] mysql - Adds mySQL Database support
> 
> local use flags (searching: mysql)
> 
> [-] mysql (app-admin/ulogd):
> Build MYSQL output plugin to save packets in a mysql database.
> 
> [-] mysql (net-misc/mediatomb):
> Use dev-db/mysql as backend rather than SQLite3. If this USE flag is
> disabled, dev-db/sqlite is used in its stead.
> 
> Looking into it further I see that the virtual package is pulling the
> database in:
> 
> # equery depends dev-db/mysql
> [ Searching for packages depending on dev-db/mysql... ]
> virtual/mysql-5.0 (=dev-db/mysql-5.0*)
> 
> # equery depends virtual/mysql
> [ Searching for packages depending on virtual/mysql... ]
> dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0)
> dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql)
> dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql)
> dev-perl/DBD-mysql-4.00.5 (virtual/mysql)
> x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql)
> 
> So, is this telling me the virtual mysql package depends of the real
> mysql and vice versa?  Should I give up and accept that just like a
> LAMP build, from now on a Linux desktop *must* run mysql and nothing
> else will do?  I've read that sqlite is borked and won't do what
> semantic-desktop wants, but what about people who for arguments sake
> want to run postgress or some other database?

The tool you want to answer this question is

emerge -t

There will be a reason why mysql is being pulled in, most likely a package 
that must have it. 

If a user wants postgres, he should install and run postgres. How would this 
affect the presence or absence of mysql?
 
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...

2010-03-15 Thread Steve
On 15/03/2010 18:21, Stroller wrote:
> It's hard to be more specific without knowing your usage.
Yes... I was deliberately vague to see what options came up... but I can
be more specific.  The budget is miniscule - and the performance demands
(bandwidth and latency) are completely non-challenging.  It's in this
context that I'm looking for reliability and availability... and I'd
like to have unix permissions working properly.  Security is a moderate
concern - the physical network is secured - but there is a broadband
connection which exposes various services.

> For storage of a "mere terabyte" you can buy a networked storage
> enclosure which will accommodate two drives. These are cheap, do
> mirroring, will accommodate standard 1TB, 1.5TB, 2TB drives, but are
> probably not too fast.

A cheap NAS enclosure is a definite possibility - there'd be no
performance issue - though this leaves three key questions:
1) Will it support unix file-permissions and can I be (fairly sure) it
will be secure if someone hacks my Wi-Fi?
2) Will I be able to put the (majority of the) gentoo filesystem on it -
or will I need to have a fully booted system to connect?
3) Can I use two entirely separate devices and mirror to both?  (I
expect the failure of the enclosure to be at least as likely as the
failure of a drive.)

> If you build your own server you can use software or hardware RAID.

Hmmm... building my own server - I've done that in the past, but my plan
is to minimize DIY with a view to minimizing the number of components
that might fail.  Ideally, I'd have four devices - one with a CPU and
memory (the server)... booting from Flash or CD or whatever  (+a
replacement in the cupboard); two separate boxes with drives in them
(mirrored storage); one (wired) Ethernet hub and broadband gateway.  I'd
connect to the network from a separate desktop/laptop to interact with
it - either locally or remotely.

> I wouldn't get too het up about Samba / CIFS vs NFS. Samba / CIFS can
> be faster than NFS, even in an all-Linux environment. Other times it's
> not. This seems pretty much random, depending upon whom is doing the
> benchmarking. On an intellectual level, at least, I find neither
> wholly satisfying - it would be really nice to have a Linux-native
> network filesystem that does authentication / permissions properly.
> But both do work.

Well the 'server' will be running Samba - and it's the back-end storage
for that I'm trying to resolve.  CIFS definitely looks problematic -
since Unix permissions for server data are one valuable separation
between publicly accessible services and my private data.  NFS might be
OK (it doesn't "feel" great) - though I *really* don't want to move from
one server to two when I'm aiming for reliability. 

> I looked at ZFS, but decided that Solaris, from a look at the HCL, was
> too picky over hardware. I think ZFS is great, I no longer think it's
> the future. My selection of cheap hardware is far wider under Linux, I
> can install Gentoo and just `emerge mediatomb` and stream movies to my
> PS3.
I like ZFS, conceptually, though I don't like Solaris.  I'm aware that
Apple have toyed with adopting ZFS and that it is available for BSD... A
*really* neat solution would be a (pair of) cheap NAS devices running an
appliance distribution of BSD with ZFS - exporting a NFS mount...
possibly over a VPN?  Hmmm - I'm trying to avoid complexity, too. Hmmm.




Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...

2010-03-15 Thread Stroller
r think it's  
the future. My selection of cheap hardware is far wider under Linux, I  
can install Gentoo and just `emerge mediatomb` and stream movies to my  
PS3.


So there ya go. Lots of options, budget from dead cheap to mega money.  
Depends how much you can justify.


Stroller.



[1] http://www.newegg.com/product/product.aspx?item=n82e16811219021


Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Mick
On 4 March 2010 15:57, Alan McKinnon  wrote:
> On Thursday 04 March 2010 17:37:23 Mick wrote:
>> I am trying to understand what is pulling in mysql again.  This
>> morning a load of qt packages were being updated and I noticed a bunch
>> of perl and virtual packages in there too.  Rest assured dev-db/mysql
>> was in there, again.  This is despite the fact that the mysql use flag
>> seem to be not active as far as portage is concerned:
>>
>> # euse -i mysql
>> global use flags (searching: mysql)
>> 
>> [-    ] mysql - Adds mySQL Database support
>>
>> local use flags (searching: mysql)
>> 
>> [-    ] mysql (app-admin/ulogd):
>> Build MYSQL output plugin to save packets in a mysql database.
>>
>> [-    ] mysql (net-misc/mediatomb):
>> Use dev-db/mysql as backend rather than SQLite3. If this USE flag is
>> disabled, dev-db/sqlite is used in its stead.
>>
>> Looking into it further I see that the virtual package is pulling the
>> database in:
>>
>> # equery depends dev-db/mysql
>> [ Searching for packages depending on dev-db/mysql... ]
>> virtual/mysql-5.0 (=dev-db/mysql-5.0*)
>>
>> # equery depends virtual/mysql
>> [ Searching for packages depending on virtual/mysql... ]
>> dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0)
>> dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql)
>> dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql)
>> dev-perl/DBD-mysql-4.00.5 (virtual/mysql)
>> x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql)
>>
>> So, is this telling me the virtual mysql package depends of the real
>> mysql and vice versa?  Should I give up and accept that just like a
>> LAMP build, from now on a Linux desktop *must* run mysql and nothing
>> else will do?  I've read that sqlite is borked and won't do what
>> semantic-desktop wants, but what about people who for arguments sake
>> want to run postgress or some other database?
>
> The tool you want to answer this question is
>
> emerge -t

Right, but I started this mammoth emerge before I spent enough time
looking at its contents I'm afraid.  :-(  I could of course uninstall
them and try again, but there's steam coming out the back of this old
box and I would rather not have to rinse and repeat.

This is what was pulled in today and most of the perl stuff seemed
like new installs:

 Thu Mar  4 09:20:24 2010 >>> dev-libs/libffi-3.0.9
 Thu Mar  4 09:20:49 2010 >>> dev-db/mysql-init-scripts-1.2
 Thu Mar  4 09:26:49 2010 >>> net-dns/bind-tools-9.4.3_p5
 Thu Mar  4 09:33:38 2010 >>> dev-perl/Net-Daemon-0.43
 Thu Mar  4 09:34:57 2010 >>> perl-core/Storable-2.20
 Thu Mar  4 09:35:22 2010 >>> dev-perl/yaml-0.68
 Thu Mar  4 09:35:56 2010 >>> perl-core/Test-Harness-3.17
 Thu Mar  4 09:36:32 2010 >>> perl-core/Package-Constants-0.02
 Thu Mar  4 09:37:07 2010 >>> perl-core/Sys-Syslog-0.27
 Thu Mar  4 09:37:26 2010 >>> virtual/perl-Storable-2.20
 Thu Mar  4 09:37:41 2010 >>> virtual/perl-Test-Harness-3.17
 Thu Mar  4 09:37:57 2010 >>> virtual/perl-Package-Constants-0.02
 Thu Mar  4 09:38:15 2010 >>> virtual/perl-Sys-Syslog-0.27
 Thu Mar  4 09:38:46 2010 >>> dev-perl/PlRPC-0.2020-r1
 Thu Mar  4 09:39:19 2010 >>> perl-core/IO-Zlib-1.09
 Thu Mar  4 09:39:35 2010 >>> virtual/perl-IO-Zlib-1.09
 Thu Mar  4 09:40:09 2010 >>> perl-core/Archive-Tar-1.54
 Thu Mar  4 09:40:27 2010 >>> virtual/perl-Archive-Tar-1.54
 Thu Mar  4 09:41:03 2010 >>> perl-core/Module-Build-0.34.0201
 Thu Mar  4 09:41:19 2010 >>> virtual/perl-Module-Build-0.34.0201
 Thu Mar  4 09:41:52 2010 >>> perl-core/ExtUtils-CBuilder-0.26.03
 Thu Mar  4 09:42:08 2010 >>> virtual/perl-ExtUtils-CBuilder-0.26.03
 Thu Mar  4 09:42:48 2010 >>> perl-core/File-Spec-3.30
 Thu Mar  4 09:43:21 2010 >>> perl-core/ExtUtils-ParseXS-2.20.0401
 Thu Mar  4 09:43:37 2010 >>> virtual/perl-ExtUtils-ParseXS-2.20.0401
 Thu Mar  4 09:43:53 2010 >>> virtual/perl-File-Spec-3.30
 Thu Mar  4 09:44:48 2010 >>> dev-perl/DBI-1.609
 Thu Mar  4 09:47:31 2010 >>> dev-util/boost-build-1.41.0
 Thu Mar  4 09:55:19 2010 >>> media-gfx/exiv2-0.19
 Thu Mar  4 11:49:55 2010 >>> dev-libs/boost-1.41.0-r3
 Thu Mar  4 12:29:27 2010 >>> dev-db/mysql-5.0.84-r1
 Thu Mar  4 12:29:44 2010 >>> virtual/mysql-5.0
 Thu Mar  4 12:30:32 2010 >>> dev-perl/DBD-mysql-4.00.