[gentoo-user] Re: net-snmp 5.7.2_rc1 on xen

2012-12-30 Thread Holger Hoffstaette
On Sun, 30 Dec 2012 02:06:51 +, Matt Harrison wrote:

> All has gone well except the new version of net-snmp (5.7.2_rc1) refuses

Current is 5.7.2 final..

> * Starting snmpd ...
> pcilib: Cannot open /proc/bus/pci
> pcilib: Cannot find any working access method.
> * start-stop-daemon: failed to start `/usr/sbin/snmpd'
> * Failed to start

Have you tried to build with USE="-pci" ?

-h





[gentoo-user] gentoo on a raspberry pi with omxplayer

2012-12-30 Thread William Kenworthy
Hi, I have a working gentoo base system on a new RPI B model.  I am
starting to add X and ratpoison with the aim of using omxplayer to a nfs
share from my mythbox, but hope someone else has been there before me.

In reality, I would like to just run omxplayer on a minimum framebuffer,
but not sure if it will use the acceleration (google hits are ambiguous)
as Ive bought the mpeg2 codec licence.

Any hints/guides on how to do this could save me a lot of time :)

BillK



[gentoo-user] Re: [OT] codec for video embedded in presentation

2012-12-30 Thread Nuno J. Silva
On 2012-12-30, Francisco Ares wrote:

> Hello All,
>
> I know this is WAY off- topic, but I have seen topics in many different
> areas, probably some gentooers will be glad to share experiences.
>
> I am trying to create some videos for a M$ Office presentation. Some are
> from "recordmydesktop", which produces an OGG video, that I have to
> convert, so "Powerpoint" will open it without complaining. (I know the
> trick about renaming the video file to AVI extension, but this does not
> work always)
>
> So I would like to know witch is the best/correct codec to encode/convert a
> video file for proper use with M$ Powerpoint.
>
> I have being using this script for testing:
>
> #! /bin/bash
> mencoder "$1" -oac pcm -ovc lavc -lavcopts
> vcodec=ffv1:vbitrate=1200:vme=4:mbd=2:v4mv:dia=-1 -ofps 25 -o test.avi
>
> Any ideas/suggestions?

Keep in mind that the support for videos in powerpoint presentations
will vary greatly across different powerpoint versions, windows versions
and even across different installs of the same versions. Even if you
manage to get a version of powerpoint to "like" the container and
codecs, it may not work on all computers.

The AVI container has been used by windows for a long time, so I'd say
chances are that it will work on more systems, but I can't say for sure.


-- 
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/




Re: Should /usr be merged with /? (Was: Re: [gentoo-user] Re: Anyone switched to eudev yet?)

2012-12-30 Thread Mark David Dumlao
On Sat, Dec 29, 2012 at 3:00 PM, Paul Colquhoun
 wrote:
> I'd certainly be happy "fixing" FHS to say that tools for mounting and
> recovering "essential system partitions" be located in /, and that these
> "essential system partitions" contain the tools for mounting and recovering
> non-essential partitions.

The beef with the comment on /home being nonessential is besides the
point, /usr, /var, or /opt could have been some special case FUSE
filesystem, making it still impossible to predict which files _should_
be in /. The more relevant matter here is that plan FHS, in
combination with FUSE, makes that difficult.

--
This email is:[ ] actionable   [ ] fyi[x] social
Response needed:  [ ] yes  [x] up to you  [ ] no
Time-sensitive:   [ ] immediate[ ] soon   [x] none



Re: [gentoo-user] experiences with zfsonlinux?

2012-12-30 Thread Volker Armin Hemmann
Hi everybody,

so I did it. Three disks as a raidz pool, (zfstank), and created zfstank/var 
and zfstank/data

Set both mountpoints as legacy and put them into fstab - I know I could zfs 
deal with that, but I feel more comfortable that way. Restoring all the data 
from backup took a long time, but not as long as doing the backup in the first 
place. Write rate was, most of the time, impressive. In fact, so far it was a 
really painless experience. There was a hard lockup - and zfs recovered 
nicely. But it doesn't seem to react to 'sync' is that true or just a feeling?

Glück Auf,

Volker
-- 
#163933



Re: Should /usr be merged with /? (Was: Re: [gentoo-user] Re: Anyone switched to eudev yet?)

2012-12-30 Thread Kevin Chadwick
On Sun, 30 Dec 2012 20:19:44 +0800
Mark David Dumlao  wrote:

> > I'd certainly be happy "fixing" FHS to say that tools for mounting
> > and recovering "essential system partitions" be located in /, and
> > that these "essential system partitions" contain the tools for
> > mounting and recovering non-essential partitions.  
> 
> The beef with the comment on /home being nonessential is besides the
> point, /usr, /var, or /opt could have been some special case FUSE
> filesystem, making it still impossible to predict which files _should_
> be in /. The more relevant matter here is that plan FHS, in
> combination with FUSE, makes that difficult.

That's not best practice though is it and I completely disagree with the
rules you seem to believe the english language has too. 

It is not a difficult problem, just FUSE is not expected or intended
for that, if that changes it is easily fixed immediately by the admin
or by the packager preferably in concert with some root management body
or project. 

Many/All of these issues that have come up are actually of 0 effect, we
are not talking about preventing users from merging them as most Linux
users do because they just hit ok ok ok in ubuntus installation but
about a major degradation due to some devs whim and without I might add
proper community involvement or commentry ALLOWED. One things for sure
real problems will arise directly due to this merge if this merge
becomes standard and possibly with won't fixes used leading to
pointlessly breaking existing servers and linux becoming even more of an
unorganised mess.

On windows production machines I arrived at putting c: on it's own
smaller partition and program files on a larger partition. It meant I
could have many more c: backups and restore much more quickly too
resulting in much higher uptime and reduced loss in the cases that
registry restore wasn't good enough and system restore is crap. With
windows 7 it's not so beneficial as windows 7 is huge but still useful
as everything is getting huge on windows these days. You do get the
occasional dumb program perhaps fixable with a drive link within c:.

Windows 8 should be more reliable but I expect brings new issues in this
area due to app restrictions and where sandboxing could have been used
for security instead.



Re: [gentoo-user] experiences with zfsonlinux?

2012-12-30 Thread Michael Hampicke
Am 30.12.2012 15:07, schrieb Volker Armin Hemmann:
> 
> Set both mountpoints as legacy and put them into fstab - I know I could zfs 
> deal with that, but I feel more comfortable that way.

Howdy Volker,

that's a good idea. For some reason - with the latest sys-fs/zfs upgrade
(0.6.0_rc13) - I found that both of my zfs file systems (single pool) do
not get mounted at boot time automatically. This worked fine up until
now. I'll look into that in the new year, right now, I'm on vacation :)



Re: [gentoo-user] Re: net-snmp 5.7.2_rc1 on xen

2012-12-30 Thread Matt Harrison
On 30/12/2012 10:55, Holger Hoffstaette wrote:
> On Sun, 30 Dec 2012 02:06:51 +, Matt Harrison wrote:
> 
>> All has gone well except the new version of net-snmp (5.7.2_rc1) refuses
> 
> Current is 5.7.2 final..
> 
>> * Starting snmpd ...
>> pcilib: Cannot open /proc/bus/pci
>> pcilib: Cannot find any working access method.
>> * start-stop-daemon: failed to start `/usr/sbin/snmpd'
>> * Failed to start
> 
> Have you tried to build with USE="-pci" ?

Thanks for the reply Holger,

I hadn't seen that 5.7.2 final was available, it was masked for me on
x86 and I'm afraid I was rusty enough to not have checked it. That
version does allow the pci USE flag and it works like a charm.

Thanks for the pointer in the right direction.



[gentoo-user] Perseverance reaps rewards

2012-12-30 Thread Colleen Beamer
Happy New Year All,

I hope you all had a happy holiday.  Oddly enough, this e-mail isn't to
request assistance although I did post this problem quite a while back
and was not able to resolve it.

Ever since I got my new desktop computer slightly over a year ago, I
have been trying to set up a connection in Open Office Base to a MySQL
data base.  I couldn't get it working with ODBC.  I had this working on
my laptop, so it wasn't a huge issue not to have it on my desktop, but
hey, I'm stubborn so, periodically, when I did a sync to my computer, I
would try again.  Yesterday, I decided to try it using JDBC. 
Admittedly, I had some issues, but googled and finally got all things
resolved so I now have the connection set up in OO Base.  I also learned
a few things so perhaps now I could even get the ODBC connection working
if I wanted to.

I'm not a "techy", just what you might call a "power user".  Just goes
to show you that even an old bat like me can run Linux which is why I
will never believe that Linux is too hard to learn  for some maybe
so, but if you have the desire to learn, you can do it, IMHO!  :-)

Anyway, that's all I have to say.

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




Re: [gentoo-user] gentoo on a raspberry pi with omxplayer

2012-12-30 Thread Alan McKinnon
On Sun, 30 Dec 2012 19:27:21 +0800
William Kenworthy  wrote:

> Hi, I have a working gentoo base system on a new RPI B model.  I am
> starting to add X and ratpoison with the aim of using omxplayer to a
> nfs share from my mythbox, but hope someone else has been there
> before me.
> 
> In reality, I would like to just run omxplayer on a minimum
> framebuffer, but not sure if it will use the acceleration (google
> hits are ambiguous) as Ive bought the mpeg2 codec licence.
> 
> Any hints/guides on how to do this could save me a lot of time :)


Hi Bill,

I have no experience using omxplayer on a Pi connecting to a mythbox,
but i do have experience running several ports of xbmc on a Pi to play
media (I reckon they are comparable), and I will happily share my
conclusions with you:

It's not worth the effort.

No matter what you do, no matter what tweaks you try to employ, the Pi
just does not have enough CPU grunt to do the job. Oh, it's fine with
small low-resolution files and straightforward audio, but sooner or
later you'll want to run some media that needs more and the Pi falls
down on that score. It's usually because it has to decode the audio in
software on the CPU. In my case I don;t have kit I can passthrough
audio to (I use a regular TV), so YMMV if you have decent audio kit.

I eventually gave up trying to coerce my Pi into working and asked
Santa Claus for an Xtreamer Ultra 2 instead (he complied) and all my
HTPC problems are fixed.

If your intent is to learn something by all means proceed (you will
learn, and lots of it :-). But if you are looking for something to use
that works, it's probably only fair you know up front the odds of
success are not good.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] IPTABLES syntax change?

2012-12-30 Thread Michael Orlitzky
On 12/29/2012 01:32 PM, Walter Dnes wrote:
>   Two questions I'm not sure about.
> 
> 1) I run a desktop, and use passive ftp.  Is there any need for me to
> accept RELATED packets?
> 

Probably not, I think the server needs it though.


> 2) Does a "-j LOG" return to the chain it was called from, or does it do
> an implicit DROP?
> 

It returns to spot where it was called from.



Re: [gentoo-user] Re: [OT] codec for video embedded in presentation

2012-12-30 Thread Francisco Ares
2012/12/30 Nuno J. Silva 

> On 2012-12-30, Francisco Ares wrote:
>
> > Hello All,
> >
> > ...
>
> Keep in mind that the support for videos in powerpoint presentations
> will vary greatly across different powerpoint versions, windows versions
> and even across different installs of the same versions. Even if you
> manage to get a version of powerpoint to "like" the container and
> codecs, it may not work on all computers.
>
> The AVI container has been used by windows for a long time, so I'd say
> chances are that it will work on more systems, but I can't say for sure.
>
>
> --
> Nuno Silva (aka njsg)
> http://njsg.sdf-eu.org/
>
>
>

Thanks for the advice.  I know that, have already been caught in that
pitfall. That is why I always carry a free viewer of the same version as
the one I build the presentation (sigh!!), a bunch of video codecs (K-Lite)
and, in case everything fails, a portable VLC.

If my colleagues would at least be kind enough to have OpenOffice installed
on their machines also...

Thanks again
Francisco


Re: [gentoo-user] Re: [OT] codec for video embedded in presentation

2012-12-30 Thread Francisco Ares
2012/12/30 Nuno J. Silva 

> On 2012-12-30, Francisco Ares wrote:
>
> > Hello All,
> >
> > ...
>
> Keep in mind that the support for videos in powerpoint presentations
> will vary greatly across different powerpoint versions, windows versions
> and even across different installs of the same versions. Even if you
> manage to get a version of powerpoint to "like" the container and
> codecs, it may not work on all computers.
>
> The AVI container has been used by windows for a long time, so I'd say
> chances are that it will work on more systems, but I can't say for sure.
>
>
> --
> Nuno Silva (aka njsg)
> http://njsg.sdf-eu.org/
>
>
>
Thanks, Nuno, gonna try it.

-- 
Francisco
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw


Re: [gentoo-user] gentoo on a raspberry pi with omxplayer

2012-12-30 Thread William Kenworthy
On 31/12/12 06:17, Alan McKinnon wrote:
> On Sun, 30 Dec 2012 19:27:21 +0800
> William Kenworthy  wrote:
> 
>> Hi, I have a working gentoo base system on a new RPI B model.  I am
>> starting to add X and ratpoison with the aim of using omxplayer to a
>> nfs share from my mythbox, but hope someone else has been there
>> before me.
>>
>> In reality, I would like to just run omxplayer on a minimum
>> framebuffer, but not sure if it will use the acceleration (google
>> hits are ambiguous) as Ive bought the mpeg2 codec licence.
>>
>> Any hints/guides on how to do this could save me a lot of time :)
> 
> 
> Hi Bill,
> 
> I have no experience using omxplayer on a Pi connecting to a mythbox,
> but i do have experience running several ports of xbmc on a Pi to play
> media (I reckon they are comparable), and I will happily share my
> conclusions with you:
> 
> It's not worth the effort.
> 
> No matter what you do, no matter what tweaks you try to employ, the Pi
> just does not have enough CPU grunt to do the job. Oh, it's fine with
> small low-resolution files and straightforward audio, but sooner or
> later you'll want to run some media that needs more and the Pi falls
> down on that score. It's usually because it has to decode the audio in
> software on the CPU. In my case I don;t have kit I can passthrough
> audio to (I use a regular TV), so YMMV if you have decent audio kit.
> 
> I eventually gave up trying to coerce my Pi into working and asked
> Santa Claus for an Xtreamer Ultra 2 instead (he complied) and all my
> HTPC problems are fixed.
> 
> If your intent is to learn something by all means proceed (you will
> learn, and lots of it :-). But if you are looking for something to use
> that works, it's probably only fair you know up front the odds of
> success are not good.
> 
> 

Thanks for the conclusions ... I agree in part at least that its
underpowered (already mildly overclocking it and using distcc) but its
both a learning experience and hopefully will be useful.

It will play the files I am interested in (I tested using xbmc), however
I am not as interested in gaudy eye candy (which seems to be what xbmc
is all about) as in something easy to use - and myth integration was
woeful on the version I tried.

I have (after an overnight compile) a working X on framebuffer (tested
at 720p) using ratpoison - omxplayer is now compiling.

I am thinking of a simple ncurses or perltk interface to spawn omxplayer
with a seleced file - need nothing more complex than that.  I already
have a "myth job" transcoding off-air recordings to an ipad friendly
720p with proper descriptive file names so I am aiming to start out with
a similar, quite basic setup.

I have overcome the versioning mismatch in the various components and
the licence is enabled according to a test.  Did you use the licenced
mpeg2 playback?

BillK




Re: [gentoo-user] IPTABLES syntax change?

2012-12-30 Thread Adam Carter
> > 2) Does a "-j LOG" return to the chain it was called from, or does it do
> > an implicit DROP?
> >
>
> It returns to spot where it was called from.
>
>
Yep, so you could create a new chain to drop and log;
/sbin/iptables -N logdrop
/sbin/iptables -A logdrop -j LOG --log-prefix 'DROP '
/sbin/iptables -A logdrop -j DROP

Then call that one
/sbin/iptables -A tcp_packets -p TCP --dport 80 -j ACCEPT
/sbin/iptables -A tcp_packets -p TCP -j logdrop


Re: [gentoo-user] IPTABLES syntax change?

2012-12-30 Thread Walter Dnes
  OK, here is version 2.  I had "an excellent adventure" along the way.

* At the very last line (COMMIT), iptables-restore said it failed, but
  no clue whatsoever as to why.

* I copied the rules file to a scratch-file, and converted it to a bash
  script that called iptables each time.

* This method showed errors when using "-m multiport"

* "multiport" is apparently not part of the core of iptables.  It's an
  extra kernel option that has to be invoked explicity.

* cd /usr/src/linux
  make menuconfig
  [*] Networking support  --->
  Networking options  --->
  [*] Network packet filtering framework (Netfilter)  --->

  Here's where it gets tricky.  You *MUST* first enable...

  [*]   Advanced netfilter configuration

...and then go into...

Core Netfilter Configuration  --->
...and select...

<*>   "multiport" Multiple port match support

  Rebuild kernel and reboot.  Now for the iptables rules, version 2

*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:BAD_DPORT - [0:0]
:BAD_SPORT - [0:0]
:DROP_LOG - [0:0]
:FECESBOOK - [0:0]
:ICMP_IN - [0:0]
:ICMP_OUT - [0:0]
:PRIVATE_LOG - [0:0]
:UNSOLICITED - [0:0]
[0:0] -A BAD_DPORT -j LOG --log-prefix "BAD_DPORT:" --log-level 6
[0:0] -A BAD_DPORT -j DROP
[0:0] -A BAD_SPORT -j LOG --log-prefix "BAD_SPORT:" --log-level 6
[0:0] -A BAD_SPORT -j DROP
[0:0] -A DROP_LOG -j LOG --log-level 6
[0:0] -A DROP_LOG -j DROP
[0:0] -A FECESBOOK -j LOG --log-prefix "FECESBOOK:" --log-level 6
[0:0] -A FECESBOOK -j DROP
[0:0] -A ICMP_IN -p icmp -m icmp --icmp-type 0 -j ACCEPT
[0:0] -A ICMP_IN -p icmp -m icmp --icmp-type 3 -j ACCEPT
[0:0] -A ICMP_IN -p icmp -m icmp --icmp-type 4 -j ACCEPT
[0:0] -A ICMP_IN -p icmp -m icmp --icmp-type 11 -j ACCEPT
[0:0] -A ICMP_IN -p icmp -m icmp --icmp-type 12 -j ACCEPT
[0:0] -A ICMP_IN -j LOG --log-prefix "IN_BAD_ICMP:" --log-level 6
[0:0] -A ICMP_IN -j DROP
[0:0] -A ICMP_OUT -p icmp -m icmp --icmp-type 3 -j ACCEPT
[0:0] -A ICMP_OUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
[0:0] -A ICMP_OUT -p icmp -m icmp --icmp-type 30 -j ACCEPT
[0:0] -A ICMP_OUT -j LOG --log-prefix "OUT_BAD_ICMP:" --log-level 6
[0:0] -A ICMP_OUT -j DROP
[0:0] -A INPUT -s 192.168.123.248/29 -i eth0 -j ACCEPT
[0:0] -A INPUT -s 169.254.0.0/16 -i eth0 -j ACCEPT
[0:0] -A INPUT -i lo -j ACCEPT
[0:0] -A INPUT -m conntrack --ctstate INVALID,NEW -j UNSOLICITED
[0:0] -A INPUT -p tcp -m multiport --dports 0:1023,6000:6063 -j BAD_DPORT
[0:0] -A INPUT -p udp -m multiport --dports 0:1023,6000:6063 -j BAD_DPORT
[0:0] -A INPUT -s 69.63.176.0/20 -j FECESBOOK
[0:0] -A INPUT -s 69.220.144.0/20 -j FECESBOOK
[0:0] -A INPUT -s 69.63.176.0/20 -j FECESBOOK
[0:0] -A INPUT -s 69.171.224.0/19 -j FECESBOOK
[0:0] -A INPUT -s 200.58.112.0/20 -j FECESBOOK
[0:0] -A INPUT -s 213.155.64.0/19 -j FECESBOOK
[0:0] -A INPUT -s 10.0.0.0/8 -j PRIVATE_LOG
[0:0] -A INPUT -s 127.0.0.0/8 -j PRIVATE_LOG
[0:0] -A INPUT -s 172.16.0.0/12 -j PRIVATE_LOG
[0:0] -A INPUT -s 192.168.0.0/16 -j PRIVATE_LOG
[0:0] -A INPUT -p icmp -j ICMP_IN
[0:0] -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
[0:0] -A OUTPUT -d 192.168.123.248/29 -o eth0 -j ACCEPT
[0:0] -A OUTPUT -o lo -j ACCEPT
[0:0] -A OUTPUT -p tcp -m multiport --sports 0:1023,6000:6063 -j BAD_SPORT
[0:0] -A OUTPUT -p udp -m multiport --sports 0:1023,6000:6063 -j BAD_SPORT
[0:0] -A OUTPUT -d 69.63.176.0/20 -j FECESBOOK
[0:0] -A OUTPUT -d 69.220.144.0/20 -j FECESBOOK
[0:0] -A OUTPUT -d 69.63.176.0/20 -j FECESBOOK
[0:0] -A OUTPUT -d 69.171.224.0/19 -j FECESBOOK
[0:0] -A OUTPUT -d 200.58.112.0/20 -j FECESBOOK
[0:0] -A OUTPUT -d 213.155.64.0/19 -j FECESBOOK
[0:0] -A PRIVATE_LOG -j LOG --log-prefix "IN_BAD_ADDR:" --log-level 6
[0:0] -A PRIVATE_LOG -j DROP
[0:0] -A UNSOLICITED -j LOG --log-prefix "UNSOLICITED:" --log-level 6
[0:0] -A UNSOLICITED -j DROP
COMMIT

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] experiences with zfsonlinux?

2012-12-30 Thread Volker Armin Hemmann
Am Sonntag, 30. Dezember 2012, 15:22:58 schrieb Michael Hampicke:
> Am 30.12.2012 15:07, schrieb Volker Armin Hemmann:
> > Set both mountpoints as legacy and put them into fstab - I know I could
> > zfs
> > deal with that, but I feel more comfortable that way.
> 
> Howdy Volker,
> 
> that's a good idea. For some reason - with the latest sys-fs/zfs upgrade
> (0.6.0_rc13) - I found that both of my zfs file systems (single pool) do
> not get mounted at boot time automatically. This worked fine up until
> now. I'll look into that in the new year, right now, I'm on vacation :)

one thing that baffled me was when I set the mountpoint for zfstank/var - and 
it was gone.  ;) 

But seriously, setting up zfs was way easier than my first steps with mdraid + 
fitting a filesystem on it. It is different (just like office 2010 is easiert 
than 
2003 but people complain because it is different) but a lot easier. I hope it 
stays that way.

One thing that scares me: it is way too easy to throw away everything..

zpool history   
zsh: correct 'history' to '.history' [nyae]? n
History for 'zfstank':
2012-12-29.23:47:49 zpool create -f -o ashift=12 zfstank raidz ata-
Hitachi_HDS5C3020ALA632_ML4230FA17X6EK ata-
Hitachi_HDS5C3020ALA632_ML4230FA17X6HK ata-
Hitachi_HDS5C3020ALA632_ML4230FA17X7YK
2012-12-29.23:48:05 zfs create zfstank/var
2012-12-29.23:48:10 zfs create zfstank/data
2012-12-29.23:50:10 zfs set compression=on zfstank/var
2012-12-29.23:50:48 zfs set compression=on zfstank/data
2012-12-29.23:51:04 zfs set atime=off zfstank
2012-12-29.23:54:00 zfs set quota=100G zfstank/var
2012-12-30.00:04:16 zfs set mountpoint=/var zfstank/var
2012-12-30.00:08:00 zfs destroy zfstank/var
2012-12-30.00:08:35 zfs create -o quota=100G zfstank/var
2012-12-30.00:14:38 zfs set compression=on zfstank/var
2012-12-30.00:19:09 zfs set mountpoint=legacy zfstank/data
2012-12-30.05:55:17 zfs set mountpoint=legacy zfstank/var

compared with the hours of fiddling when I started using raid this was pretty 
much straight forward - and yes, I know, destroying var was not necessary, but 
at that point I just wanted to try it... as I said, way too easy to throw away 
everything. 

-- 
#163933



[gentoo-user] Heads up if you start X with startx; xorg-server suid flag

2012-12-30 Thread Walter Dnes
  I ran an update on my netbook today, and couldn't fire up X.  I
checked out Google on my desktop, and found the website
http://en.spontex.org/forum/thread/561/1/ which described the exact
problem, and more importantly, the solution.

* Up til now X has been installed suid by default.  This is what allows
  regular users to start X with startx .

* According to /usr/portage/x11-base/xorg-server/ChangeLog  USE="suid"
  has been enabled as of December 20, 2012.  If you do not enable it,
  you will not be able to run startx as a regular user.  xdm and other
  X login managers will still work.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Heads up if you start X with startx; xorg-server suid flag

2012-12-30 Thread Volker Armin Hemmann
Am Montag, 31. Dezember 2012, 01:28:17 schrieb Walter Dnes:
>   I ran an update on my netbook today, and couldn't fire up X.  I
> checked out Google on my desktop, and found the website
> http://en.spontex.org/forum/thread/561/1/ which described the exact
> problem, and more importantly, the solution.
> 
> * Up til now X has been installed suid by default.  This is what allows
>   regular users to start X with startx .
> 
> * According to /usr/portage/x11-base/xorg-server/ChangeLog  USE="suid"
>   has been enabled as of December 20, 2012.  If you do not enable it,
>   you will not be able to run startx as a regular user.  xdm and other
>   X login managers will still work.

what do we learn?
always use -v
always read the output
always check the meaning of changed/added flags.

 -- 
#163933



[gentoo-user] Re: Heads up if you start X with startx; xorg-server suid flag

2012-12-30 Thread Walter Dnes
On Mon, Dec 31, 2012 at 01:28:17AM -0500,  wrote
> 
> * According to /usr/portage/x11-base/xorg-server/ChangeLog  USE="suid"
>   has been enabled as of December 20, 2012.  If you do not enable it,
>   you will not be able to run startx as a regular user.  xdm and other
>   X login managers will still work.

  Let me re-phrase that.  A USE="suid" flag has been created.  If you do
not enable it, you will not be able to run startx as a regular user.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] gentoo on a raspberry pi with omxplayer

2012-12-30 Thread Alan McKinnon
On Mon, 31 Dec 2012 08:35:36 +0800
William Kenworthy  wrote:

> > If your intent is to learn something by all means proceed (you will
> > learn, and lots of it :-). But if you are looking for something to
> > use that works, it's probably only fair you know up front the odds
> > of success are not good.
> > 
> >   
> 
> Thanks for the conclusions ... I agree in part at least that its
> underpowered (already mildly overclocking it and using distcc) but its
> both a learning experience and hopefully will be useful.
> 
> It will play the files I am interested in (I tested using xbmc),
> however I am not as interested in gaudy eye candy (which seems to be
> what xbmc is all about) as in something easy to use - and myth
> integration was woeful on the version I tried.
> 
> I have (after an overnight compile) a working X on framebuffer (tested
> at 720p) using ratpoison - omxplayer is now compiling.
> 
> I am thinking of a simple ncurses or perltk interface to spawn
> omxplayer with a seleced file - need nothing more complex than that.
> I already have a "myth job" transcoding off-air recordings to an ipad
> friendly 720p with proper descriptive file names so I am aiming to
> start out with a similar, quite basic setup.
> 
> I have overcome the versioning mismatch in the various components and
> the licence is enabled according to a test.  Did you use the licenced
> mpeg2 playback?

Hi Bill,

If it does what you need, then by all means fire away. If nothing else,
the learning experience will be worth it.

I don't have a purchased mpeg-2 license, so can't comment on that. All
my content is transcoded to h.264 in mp4 containers, or good old .avi

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] experiences with zfsonlinux?

2012-12-30 Thread Alan McKinnon
On Mon, 31 Dec 2012 04:42:45 +0100
Volker Armin Hemmann  wrote:

> compared with the hours of fiddling when I started using raid this
> was pretty much straight forward - and yes, I know, destroying var
> was not necessary, but at that point I just wanted to try it... as I
> said, way too easy to throw away everything. 

If it's any comfort, 

rm -rf
fdisk

are just as easy to type :-)

I suppose the zfs tools fall in that category of "for root use ONLY"
and need to be protected like the root account itself. Great power/great
responsibility and all that

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: Heads up if you start X with startx; xorg-server suid flag

2012-12-30 Thread Dale
Walter Dnes wrote:
> On Mon, Dec 31, 2012 at 01:28:17AM -0500,  wrote
>> * According to /usr/portage/x11-base/xorg-server/ChangeLog  USE="suid"
>>   has been enabled as of December 20, 2012.  If you do not enable it,
>>   you will not be able to run startx as a regular user.  xdm and other
>>   X login managers will still work.
>   Let me re-phrase that.  A USE="suid" flag has been created.  If you do
> not enable it, you will not be able to run startx as a regular user.
>

I checked here and it must be enabled in my profile.  I don't have it in
make.conf or any other portage file that I edit.  I use the KDE profile
for those who are wondering.  It may save time looking/checking it. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!