Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-26 Thread Kevin Chadwick
On Thu, 27 Dec 2012 00:01:58 +0800
Mark David Dumlao madum...@gmail.com wrote:

 Nobody's telling you _your_ system, as in the collection of programs
 you use for your productivity, is broken. What we're saying is that
 _the_ system, as in the general practice as compared to the
 specification, is broken. Those are two _very_ different things.

If the spec and practice are out of sync then if possible as this
thread demonstrates most and is perfectly possible then you fix the
practice and do not erode the spec.



Re: [gentoo-user] Re: Anyone switched to eudev yet? - what was wron with SysVInit?

2012-12-26 Thread Kevin Chadwick
On Wed, 26 Dec 2012 17:01:17 -0600
Canek Peláez Valdés can...@gmail.com wrote:

 And, what community is being divided? Fedora,OpenSuse, and Arch use
 systemd by default.

From debian and hurd to slackware which will not touch systemd ever and
ubuntu and also embedded with the kernel working on more and more
deeply embedded processors and userland working potentially on less or
more difficulties in porting if lennart's dreams ever come to pass,
which I hope many won't. So way more than half of linux will not use
systemd by default likely ever and it is rather different. Any
unification it does bring like /etc/hostname could be easily achieved
with a little organisation without systemd and would be way more
constructive if it happened because of that single purpose.

I didn't even mention POSIX compliance which is a requirement on many
projects. Fudging POSIX into Linux only would defeat the whole point of
POSIX, though apparently that is a real danger.



Re: [Bulk] Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-24 Thread Kevin Chadwick
 It was in fact a weirdo corner case
 since day 1.

Right, a weirdo corner case that is part of best practice and the
default suggestion on debian stable used on many many servers and for
good reason.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-24 Thread Kevin Chadwick
 Are there any other cases, apart from emotional attachment based on
 inertia, where a separate / and /usr are desirable? As I see it, there
 is only the system, and it is an atomic unit.

You should really read the thread before posting.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-24 Thread Kevin Chadwick
  You are only considering the case of /usr being on a plain hard disk
  partition, what if it in on an LVM volume, or encrypted (or both)
  of mounted over the network? All of these require something to be
  run before they can be mounted, and if that cannot be run until udev
  has started, we have been painted into a corner.  
 
   I agree that there will always be a small number of corner-cases where
 an initr* is required.  What annoys me, and probably a lot of other
 people, is the-dog-in-the-manger attitude
 http://en.wikipedia.org/wiki/The_Dog_in_the_Manger where some people
 seem to say If my weirdo, corner-case system can't boot a separate /usr
 without an initr* then, by-golly, I'll see to it that *NOBODY* can boot
 a separate /usr without an initr*

Maybe they should swap names with eudev being for obviously functional
corner cases aka early udev and the current eudev becoming udev by
default as being most correct for most cases. Arguably all cases for a
well designed system.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



[gentoo-user] E17 lock screen

2012-12-21 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

So e17 just came out and ive been using for a bit. The only problem
ive had with it is that i cant check the option to lock the screen on
suspend. I don't think this is a problem on some of the other
distributions so thought it could be a policy problem on gentoo.

Curious if anyone else uses e17/has this problem and maybe a fix. or
just for suggestions of where to look

- -Kevin
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQ1Q0VAAoJENfP/Gsfo0VKkdAH/3BdT99FW/NbDz+1X+KWAqOn
0j0AE0XGUNcNsttxIKCBAWqgsB93XS/ulg8JY6EL/GDk1PBzBF2YGFQ6ddd51hB5
GXaaOEdT24RK3+J7+POj6ogdweN4NcACfwiVm6jv7sZ72hmywQWycP0LSsMoOM4p
lnfejqX4Xlth7G1uPIoPtOnnbjhye6Idv3+LybblSYALNVvUPyif8cOj7vbhMgd4
D+oCtG3GNQXpuH/y1TVCA0KFC5OSQ8ix3ovJb9uwv//ErO4Ps/SufeJ14g9xNOGS
ZJNHhaFq6RyYspurvLprbdkDybs6ncbZrb7UhwvB8r3LprGqS0NqKDEQ2mdc3hY=
=+8p2
-END PGP SIGNATURE-



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-20 Thread Kevin Chadwick
 really? once upon a time I was told mounting / ro and /usr rw was a GOOD 
 THING 
 to do. I ignored that the same way I ignore it the other way round. With bind 
 mounting and stuff, you can make single directories rw.. so what is the 
 matter?

Ignorance is bliss, so good for you.

Only as root and if RBAC/SELINUX doesn't stop you. It's an extra quite
formidable layer. It is a good thing for many reasons and even a
requirement on some embedded systems. The kernel can also inform you of
any remounts making monitoring far simpler, easier and so powerful and
more efficient.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-20 Thread Kevin Chadwick
 On Thu, Dec 20, 2012 at 2:42 AM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
  with redhat's push to move everything into /usr - why not stop right there 
  and
  move everything back into /?
 
 I originally thought this way, but they actually reviewed the
 technical and historical merits for all the use cases and and found
 /usr to be superior. Straight out of the freedesktop wiki:
 http://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge
 
 0) If / and /usr are kept separate, programs in /usr can't be updated
 independently of programs in /, because the libraries they depend on
 might break compatibility. If the binaries and libraries were *all* in
 /usr, then the entire system's binaries would always be consistent
 regardless of where /usr were sourced from (config files in /etc,
 however, would still break).

Complete rubbish. If something in / needs something it should be in /
if something is in / that isn't critical it shouldn't be there and
won't matter. In all other cases everything exists. If you want some
special feature that adds complexity to your early boot up stage
or single user then that should be an optional package that installs
into /. Similar to ssh enabled grub, it's optional.

 2) If /usr were separated from /, then /usr could be mounted
 read-only, with / being mounted normally. Which makes sense, as /
 does have bits that are meant to be read-write.

It certainly does not. There are packages that fix dhcp. I haven't ever
setup a system that needed to do that. Updates get temporary
controlled access.

 3) Most software packagers write their binaries to a PREFIX defaulting
 to /usr/local, or /usr, as opposed to /. Determining which ones belong
 in / or /usr can sometimes be dependent on the distro and/or sysad.
 But since more of them default to /usr, if everything were in /usr
 it'd be a saner default.
 

A concensus would be good. A right consensus is more likely to get a
consensus. This has no bearing on the matters at hand.

 (0) basically says that keeping them separate only works as intended
 if the both the sysad and the distro upstream work together for their
 shared /usr mount. In many cases, however, sysads have to do a lot of
 working around and careful planning to get /usr mounted remotely.
 (1), (2), and (3) provide advantages to mounting the binaries and
 libraries separately from the / filesystem, which mounting them as
 part of / does not provide.
 

Rubbish you can mount the whole of / or /usr. If all you have is /usr
then if anything all you can mount is / but in fact you can mount any
folder anywhere due to unix-like systems being ace.

I wonder what percentage of Linux users believe you should have
one partition for everything due to easier installs. I know the number
will be increasing every day.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-20 Thread Kevin Chadwick
On Fri, 21 Dec 2012 05:46:33 +0800
Mark David Dumlao madum...@gmail.com wrote:

 
  A concensus would be good. A right consensus is more likely to get a
  consensus. This has no bearing on the matters at hand.  
 
 /usr as the default prefix for installed packages is the consensus
 of the vast majority of packages out there. Why do you think this has
 no bearing on their consideration?

I'm just pointing out that despite what many seem to state there are
losses and unclear/non forth coming positive reasons or real benefits
to the current apparently to be imposed or your doomed consensus of
consolidating data. Once your at multi-user the whole filesystem is one
for all intensive purposes anyway and so much of what you have said is
misleading. It really shouldn't be a difficult problem to fix, it is
just data after all.

 I certainly don't expect linux to solve these management problems,
 quite the opposite in fact but I can hope. I am just glad eudev is
 removing some of the excuse to ignore and quieten complaints that may
 be the real motivation to allow changes later that don't break
 anything or cause too loud screams, being the rules of the kernel
 devs before allowing more radical changes. There are a few indicators
 that lend credence to this possibility.

What is even more encouraging is eudevs keen eye on unneccesary
complexity and increased potential for bugs and unexpected code pull
in at the very core of the early boot process.

Stability and security features or design is never missed until it's too
late and then lots is spent on ineffective band aids.



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-20 Thread Kevin Chadwick
On Fri, 21 Dec 2012 00:09:50 +
Kevin Chadwick ma1l1i...@yahoo.co.uk wrote:

 I certainly don't expect linux to solve these management problems,
  quite the opposite in fact but I can hope.

I hope mentioning OpenBSD won't put anyone off but taking a leap out of
their book I feel could really benefit linux. This could be a busybox
like project but with general usage fully functional and non space
sensitive goals that creates a core reliable single user environment
with compilation options like busybox for distros to pick and choose
from that is consistent across all distros and self managing via
packagers needing to request for immediate inclusion by default but
obviously being installable though recognising they are crossing the
line drawn in the sand.



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-19 Thread Kevin Chadwick
 Surely not libs, those go
 in /usr/lib or /lib. If it's variable data somehow related to libs
 then someone needs to look up lib in a dictionary.
 

I have to say I was shocked a while back when I found /usr/bin/firefox
linking to a shell script at /usr/lib/firefox/firefox

I'd be interested if anyone can explain that oddity? I see one
other on this system. Perhaps systemd-udev copied firefox?

 If it really is lib code, then my question is how exactly is this
 stuff variable to warrant being in /var?

Maybe it's for JIT on steroids. JIT for pid1, what an unnerving thought.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [Bulk] Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-18 Thread Kevin Chadwick
 Thankfully, I've never had to
 maintain systems whose disks were small and low performing enough that
 it actually mattered to separate / from /usr.

So you don't understand it much at all. Actually many of lennarts pages
such as his security.html are full of wildly incorrect claims and
innaccurate assumptions and feature plagiarism leading me to believe
he doesn't have much experience outside of coding. Going back in time
his claim of pulse audio being good for professional audio was also
completely off the mark. Seperating Gnome and pulse can now cause pro
audio users on binary distro's major headaches too. I pointed one
fellow in the direction of a pro audio on gentoo tutorial rather than
deal with some new problems a little after systemd hit Arch.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] {OT} A simple routing problem

2012-12-18 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/18/2012 05:27 AM, Nilesh Govindrajan wrote:
 On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld wrote:
 On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote:
 
 SNIP
 
 Actually my fiber connection has a smaller limit than the ADSL 
 connection. I am trying to use the fiber connection for all
 activities except some torrent downloading for which I want to
 use my ADSL connection. Once I'm able to route through the ADSL
 gateway, it would be easy for me to setup another ip on eth0 on
 my machine on which transmission could listen. All traffic on
 that ip would be routed through ADSL and otherwise the fiber.
 
 Nilesh,
 
 I read that you managed to fix it, but for completenes and, if
 applicable, a different solution would be a router with 2 or more
 WAN-ports that can do the routing for you. Added benefit there
 would be that if the fiber connection dies, it would be able to
 automatically route everything through the ADSL.
 
 -- Joost
 
 
 
 Yeah that solution is always there, but I'm not going for that
 since I'm evaluating the fiber connection (a new ISP in my
 locality). Won't need the ADSL may be after a month or so when I'll
 have unlimited plan on fiber.
 
 @Pandu, or may be the DSL ISP was down yesterday when I was
 trying.
 
 The problem is not exactly fixed yet, although I'm able to add
 static routes on the DDWRT router using route command (and it is
 working), there's no way to route all traffic from a source via the
 other router. It doesn't have iptables ROUTE target neither
 iproute2 support.. is there some other method do to this using
 iptables?
 
 The whole problem would be solved if I could add routes on my local
  machine, but that doesn't seem to work. It always goes via fiber
 which is the default route.
 
 The final solution to this problem would be putting in a Linux
 machine there. I'm trying to build Gentoo for the Raspberry Pi
 which can be used for this task, but stuck at Python since it won't
 cross compile. Anyway that's another topic.
 
 -- Nilesh Govindarajan http://nileshgr.com
 
you actually can add routes on a local machine. the real trick would
be to have them pushed from the dd-wrt box so that they dont have to
be manually set each time

- -Kevin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQ0KNXAAoJEAwpfz/ORQZCg4YH/3onXndm8ZrmMd/DhtSYYvMc
hZWRBu4qwIbTapqpWPDZ7nniIfrhfCOfc6bD4MNPO0a20RmC35zAZlLkmFEUMgVf
iJ/25AjLPhI2I8bnLVHkI6Cq5mcvxugK5FMirdD4B4qG9Vd+oUZEo5R/BEZll7rL
9+RuKozq8c/Zdr+MNu/jEQhPtBjHKH6/vWnznK2U7WraRv9jw6vQIoHaMNi2cxG7
vRaD03sPTy58bgHtn26l9bodITTtXYmCCwQYnKfltIraYkTtZOoOUW81NICdv66l
6Ckow8FrXTLr8zDU9LfAWLTb316cyzTRHU3uX1KXqe0RAv6r1QTZPnRYeR2ix9I=
=5g1g
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} A simple routing problem

2012-12-18 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/18/2012 09:14 AM, Nilesh Govindrajan wrote:
 On Tuesday 18 December 2012 10:39:43 PM IST, Kevin Brandstatter
 wrote: On 12/18/2012 05:27 AM, Nilesh Govindrajan wrote:
 On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld
 wrote:
 On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote:
 
 SNIP
 
 Actually my fiber connection has a smaller limit than the
 ADSL connection. I am trying to use the fiber connection
 for all activities except some torrent downloading for
 which I want to use my ADSL connection. Once I'm able to
 route through the ADSL gateway, it would be easy for me
 to setup another ip on eth0 on my machine on which
 transmission could listen. All traffic on that ip would
 be routed through ADSL and otherwise the fiber.
 
 Nilesh,
 
 I read that you managed to fix it, but for completenes and,
 if applicable, a different solution would be a router with
 2 or more WAN-ports that can do the routing for you. Added
 benefit there would be that if the fiber connection dies,
 it would be able to automatically route everything through
 the ADSL.
 
 -- Joost
 
 
 
 Yeah that solution is always there, but I'm not going for
 that since I'm evaluating the fiber connection (a new ISP in
 my locality). Won't need the ADSL may be after a month or so
 when I'll have unlimited plan on fiber.
 
 @Pandu, or may be the DSL ISP was down yesterday when I was 
 trying.
 
 The problem is not exactly fixed yet, although I'm able to
 add static routes on the DDWRT router using route command
 (and it is working), there's no way to route all traffic from
 a source via the other router. It doesn't have iptables ROUTE
 target neither iproute2 support.. is there some other method
 do to this using iptables?
 
 The whole problem would be solved if I could add routes on my
 local machine, but that doesn't seem to work. It always goes
 via fiber which is the default route.
 
 The final solution to this problem would be putting in a
 Linux machine there. I'm trying to build Gentoo for the
 Raspberry Pi which can be used for this task, but stuck at
 Python since it won't cross compile. Anyway that's another
 topic.
 
 -- Nilesh Govindarajan http://nileshgr.com
 
 you actually can add routes on a local machine. the real trick
 would be to have them pushed from the dd-wrt box so that they dont
 have to be manually set each time
 
 -Kevin
 
 
 How??
 
 -- Nilesh Govindarajan http://nileshgr.com
 

with the route add command.
obviously not as clean as an iptables forward rule which is also an option
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQ0KgFAAoJEAwpfz/ORQZCYDwH/0lZMsp+Ncr2kO5iVbuX5Oje
3PUuelWA3IxhF7xmRkNoyMZr+A5QGGWajp7JHPHSSJ/k+Iv7h3xYDABgRwm3tSaP
S0tM0VwFVLXHukhUo8vWFOqU6vmCrTuhNtiTYehFYXXS2pzc07kG+b27aH1RSKsD
6zrha22EbaNe7c4dtdVY4rQ/GtPbpiDjAjvQev0nEreP4uLtwWJmx6V6onlGObGi
0v6TVs9dB7fXQh2z5XaYt4BQ1ORqzi0o2ocKTOURJd23kQAXRDfI96+xjG8Bro77
AcaxjXq8bP/W8mdDqFL3w44CF7QDca3uXKAOlGC1Qbm9XVmkETpCQrlzL8aKM0k=
=oIGG
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} A simple routing problem

2012-12-18 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/18/2012 09:38 AM, Nilesh Govindrajan wrote:
 On Tuesday 18 December 2012 10:59:41 PM IST, Kevin Brandstatter
 wrote: On 12/18/2012 09:14 AM, Nilesh Govindrajan wrote:
 On Tuesday 18 December 2012 10:39:43 PM IST, Kevin
 Brandstatter wrote: On 12/18/2012 05:27 AM, Nilesh
 Govindrajan wrote:
 On Tuesday 18 December 2012 03:41:44 PM IST, J.
 Roeleveld wrote:
 On Tue, December 18, 2012 04:44, Nilesh Govindrajan
 wrote:
 
 SNIP
 
 Actually my fiber connection has a smaller limit
 than the ADSL connection. I am trying to use the
 fiber connection for all activities except some
 torrent downloading for which I want to use my ADSL
 connection. Once I'm able to route through the ADSL
 gateway, it would be easy for me to setup another
 ip on eth0 on my machine on which transmission
 could listen. All traffic on that ip would be
 routed through ADSL and otherwise the fiber.
 
 Nilesh,
 
 I read that you managed to fix it, but for
 completenes and, if applicable, a different solution
 would be a router with 2 or more WAN-ports that can
 do the routing for you. Added benefit there would be
 that if the fiber connection dies, it would be able
 to automatically route everything through the ADSL.
 
 -- Joost
 
 
 
 Yeah that solution is always there, but I'm not going
 for that since I'm evaluating the fiber connection (a
 new ISP in my locality). Won't need the ADSL may be
 after a month or so when I'll have unlimited plan on
 fiber.
 
 @Pandu, or may be the DSL ISP was down yesterday when I
 was trying.
 
 The problem is not exactly fixed yet, although I'm able
 to add static routes on the DDWRT router using route
 command (and it is working), there's no way to route
 all traffic from a source via the other router. It
 doesn't have iptables ROUTE target neither iproute2
 support.. is there some other method do to this using
 iptables?
 
 The whole problem would be solved if I could add routes
 on my local machine, but that doesn't seem to work. It
 always goes via fiber which is the default route.
 
 The final solution to this problem would be putting in
 a Linux machine there. I'm trying to build Gentoo for
 the Raspberry Pi which can be used for this task, but
 stuck at Python since it won't cross compile. Anyway
 that's another topic.
 
 -- Nilesh Govindarajan http://nileshgr.com
 
 you actually can add routes on a local machine. the real
 trick would be to have them pushed from the dd-wrt box so
 that they dont have to be manually set each time
 
 -Kevin
 
 
 How??
 
 -- Nilesh Govindarajan http://nileshgr.com
 
 
 with the route add command. obviously not as clean as an iptables
 forward rule which is also an option
 
 
 I'm presently ssh'ing into the DDWRT router and doing this:
 
 route add -host hostname gw 192.168.0.32
 
 and it's pretty much working, except that I've to add a route to
 every host for which I want to use the ADSL connection.
 
 If I do the same on my local machine, it doesn't work and packets
 still end up going through my fiber connection.
 
 Would iptables ROUTE target help if I use that on my local
 machine?
 
 -- Nilesh Govindarajan http://nileshgr.com
 
I think you want the forward chain, im not sure what tools dd-wrt and
iptables has for it as more of my experience is pf and pfsense, but
their should be a way to forward packets headed for certain ports or
networks to the ADSL gateway. just have the rule listen on the
internal interface and redirect certain traffic to the other gateway

- -Kevin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQ0LFzAAoJEAwpfz/ORQZC5CcIALTqfU43j54PADVeQnjH2O+W
T8hzYT7jpD6llBhm2ApTHiROlWJmTnKo2VksDDyRE7GMDmocqvU9CWR9XvrOD8lF
RMi+G2A6aTGqWPFNzmhrcbxxYEijsVtUehmkPTGqWqIdkFFy7qK0Mv/gU+nUjqzR
bKxozG9MqByowHBmbFYbXf+fBoWDDlkrm7j0HgOe808mBGRMuiCBaKSB5SDyBGze
lCVMsQ7GsZasys4cqhPqUbS/jmGxUvpIK4SBzcVGM3HpT3SowuRZhyeP3qbeFg/4
u6Mq9WwpLi1d89zKM65BSEsZJFwLWmoml112Wt+zLoOJidsXp7XovUDUYSLiu8A=
=oL1a
-END PGP SIGNATURE-



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-17 Thread Kevin Chadwick
 So, since I have /usr separate from the rest, I could mount it read only
 and reduce the chance of corruption if say my UPS failed?  I already do
 this for /boot.  Interesting.  Very interesting indeed. 
 
 If the other issues happen, computers is likely the least of our
 problems.  ;-) 

Or if the bulk of the user data is under /usr perhaps with
further partitions for even more highly written locations
then you can have a more trusted ro root though in fact all the
partitions gain. It's not just power failure this covers and less so
these days with journaling, (though remember, journaling may not apply
to your system such as some embedded). I guess also the system crash
term may have been used in the FHS to cover more than just power
failure, filesystem bugs (less code used), hardware failure etc..

There are other plus points in the FHS too.

A counter point is head movement though that could be improved at the
same time due to a reduced fragmentation (I know it's much lower on unix
but still applies) depending on a few obvious things and removed with
ssd.

p.s. I'm 30 in January, so I hope I wouldn't be thought of as an old
fart already. Just because I agree with the /bin/grep /usr/bin/grep
consolidation but not the data consolidation.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] {OT} open-source: chat, tasks, resources, code

2012-12-17 Thread Kevin Brandstatter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/16/2012 11:26 PM, Grant wrote:
 When I need a new web-based software tool, I consider writing it myself and 
 if that isn't feasible
I try to use something open-source and self-hosted. I need something for
chat, task management, resource management, and code management, all for
groups. I'm considering Campfire, Trello, Float, and GitHub
respectively, but I thought I'd check with you guys to see if any of
this is available in an open-source and self-hosted form, especially in
portage.

 - Grant
for hosted git theres gitosis and other web based git tools to host your
own private repository. For the rest im not too sure since I don't know
what your requirements are of the various bits.

- -Kevin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQz1GEAAoJEAwpfz/ORQZC85AH/0AGLLuwgJ7uHcFYcz3j1Y5l
UVympJzDjLo6nOAkdfE423cIbfMhb2xG7YUASy3s71sRdmkuZM4hKVZLspkGj2kZ
AQ1tcdYg67Lp0faQIOyc0V796P+WNtGJCrKNvvN7M3LIJm6AxjnpLHsryY05IQE6
Og0sVm/C+zqUOYfK9PWC2oFuM674pPVt1MbfjXJNdmL88TriW5Vv+QCeqprjVci1
TJ1RSAKfAsCOnc9XkKJZ7iq5RIRkXwrx7w+BZvg8nVd7p+77AAD1QsjgPKBh7Vju
VY6CiV5/6As6ljjRU+K3Wk6iGlhmZg82WKRB7eyX130Jee5bx+TipCIDiEy81u8=
=WWMz
-END PGP SIGNATURE-




Re: [gentoo-user] {OT} open-source: chat, tasks, resources, code

2012-12-17 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/17/2012 05:06 PM, Michael Mol wrote:

What ive done on one of my servers is created a git user account that
cant login interactively, or with a password. (nologin), whoever needs
access gives me their private key and i add it to the authorized_keys
for the git account.

This is obvoiusly very basic and you could create users for each
project etc, or use one of the many git server programs that will
allow to have more fine grained access control, Just depends on your
needs.

For chat, ive used campfire for the chicago marathon, its not much
more than a glorified irc system. IRC is perfectly fine if your on a
closed network. but i would keep it off the general internet.

resource and task management, i think eclipse and some ides have
integrated solutions, outside of that not really sure

- -Kevin

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQz9CNAAoJENfP/Gsfo0VKoz4IAJ0GmU+RSPntz5nGOLqQO2W2
rWPfr+KdfE7lH6jQwBdztKtFkT8/00YrBgQJxlZJe+sQy5EP3QaCq8+Uscl86Bq8
d4TTCq3JyJr4eyo4Ycd8L06poediISt+++tTbWc324pofRCYWbHyyhe08Eux86PB
IXkemgCunwx1YIFEGPhPYGSf0kSCAeEvyNDCut+faYNvZbEolxdqFs/SBSXNvD4E
MHWzIConWqzlzHi5mn3l/B8yZmwEXQFIsgp3HgOhheIRafDYhR6wx8Kjca+Kbrz3
diteEpUIAS2+2g8+DigJz1vyhxSQyFZ4EjGlRGb4O1VzGONt7fVbFKar0/CV5hQ=
=J2VH
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} open-source: chat, tasks, resources, code

2012-12-17 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/17/2012 06:33 PM, Grant wrote:
 What ive done on one of my servers is created a git user account
 that cant login interactively, or with a password. (nologin),
 whoever needs access gives me their private key and i add it to
 the authorized_keys for the git account.
 
 This is obvoiusly very basic and you could create users for each 
 project etc, or use one of the many git server programs that
 will allow to have more fine grained access control, Just depends
 on your needs.
 
 For chat, ive used campfire for the chicago marathon, its not
 much more than a glorified irc system. IRC is perfectly fine if
 your on a closed network. but i would keep it off the general
 internet.
 
 An IRC server shouldn't listen on an internet-facing port?  Are
 there security issues?
 
 - Grant
 
 
 resource and task management, i think eclipse and some ides have 
 integrated solutions, outside of that not really sure
 
 - -Kevin
irc servers are notorious for botnets and the like and yes, are often
a prime target for remote exploitation. they can be secured like the
major systems, but it can be a bit more of a challenge

- -Kevin
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQz9pZAAoJENfP/Gsfo0VKdjQH/1Dc0qWISZc8xcMFKgBGlTlR
ao8UHcyHIoJapWESVOq/VglGBOXwiW2gWfSeO5LD+td+7hwe+5ZgkIewrPij9Dx5
yXxXDae3Obcd2L5ROZ9AncctM26vpqwBzTyFm+MXuaJfdFXECLaA1aMNptIJF2fr
iLSUntTlOooa7Falv+RCDg0ROXbV9VBckYPb3nKC38gUJvebw71uc/soGC4bzM7l
+cZRx/hXbcvnqXk8mXBl+Ox2t/UJfJuXXh3brK0lg8ov9Adho/3yoyYOPAYYPFAA
JZVy1P7j1JfHBBl72QSOcGbK1NC9+vmaysm4dXQJV9pTL/uRp4va5F1Q0iMIbi8=
=szla
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} A simple routing problem

2012-12-17 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/17/2012 07:26 PM, Nilesh Govindrajan wrote:
 Hi,
 
 I'm stuck with a routing issue:
 
 I have a DD-WRT router, which has one WAN port and four LAN ports
 with WiFi.
 
 I have a fiber connection which is connected by dialing PPPoE using
 pppd on the router, so I have no choice but to connect the fiber
 connection on WAN port.
 
 I have yet another (much slower) ADSL link, with it's own router
 (LAN-only). I'm trying to connect the router to the DD-WRT router's
 LAN port. I'm able to access the router, but routing through the
 gateway (the ADSL router) fails.
 
 Here's a simple diagram:
 
 The LAN network I'm using on DDWRT is 192.168.0.0, which is the
 LAN network for the internal side and WiFi.
 
 The fiber connection is obviously public network.
 
 The other ADSL connection can be configured to change subnet, it
 has a LAN side and WAN side.
 
 How I can I route through the ADSL router without requiring a
 separate NIC/network for it?
 
what exactly are you trying to route? traffic out to the internet over
the ADSL? or just trying to connect the machines on that router to the
fiber line and route all traffic from both out on the fiber?

- -Kevin
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQz+VkAAoJENfP/Gsfo0VKoYEH/RF2dS+OL1E3F6R6ttzg2hCQ
W40hpfLXoYJ9b9Imha+yLLLp4EaIDFfleCRDKVgqUd5P4iuj8Vb1bwct+Tig2tYf
LmS1GRoSzeWH8n3uAIel5Uq2+ZXHx+FLwP0Ld8JzRFCMElwGqDiKxIxdUctYpMad
y6RIBtoe2iOPanfBLdL7lBYu3MqThGc8QBV4oBRNUbPQsfdO4Q3NIqHc1WZwhyrX
BkfFgqp75K2LeCgu2snkqDo3ul+W1BTvI4e4fQk3ByUIxJ18Cpelfazvwsul74wS
IR+1EKqXvhTU2Iu8klkNlIt2ph+nbufm/BalvILpbhHQga4zCfYVG9UWj/Xx10E=
=Oajb
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} A simple routing problem

2012-12-17 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/17/2012 07:44 PM, Nilesh Govindrajan wrote:
 On Tuesday 18 December 2012 09:09:16 AM IST, Kevin Brandstatter
 wrote:
 On 12/17/2012 07:26 PM, Nilesh Govindrajan wrote:
 Hi,
 
 I'm stuck with a routing issue:
 
 I have a DD-WRT router, which has one WAN port and four LAN
 ports with WiFi.
 
 I have a fiber connection which is connected by dialing PPPoE
 using pppd on the router, so I have no choice but to connect
 the fiber connection on WAN port.
 
 I have yet another (much slower) ADSL link, with it's own
 router (LAN-only). I'm trying to connect the router to the
 DD-WRT router's LAN port. I'm able to access the router, but
 routing through the gateway (the ADSL router) fails.
 
 Here's a simple diagram:
 
 The LAN network I'm using on DDWRT is 192.168.0.0, which is
 the LAN network for the internal side and WiFi.
 
 The fiber connection is obviously public network.
 
 The other ADSL connection can be configured to change subnet,
 it has a LAN side and WAN side.
 
 How I can I route through the ADSL router without requiring a 
 separate NIC/network for it?
 
 what exactly are you trying to route? traffic out to the internet
 over the ADSL? or just trying to connect the machines on that
 router to the fiber line and route all traffic from both out on
 the fiber?
 
 -Kevin
 
 
 Actually my fiber connection has a smaller limit than the ADSL 
 connection. I am trying to use the fiber connection for all
 activities except some torrent downloading for which I want to use
 my ADSL connection. Once I'm able to route through the ADSL
 gateway, it would be easy for me to setup another ip on eth0 on my
 machine on which transmission could listen. All traffic on that ip
 would be routed through ADSL and otherwise the fiber.
 
 -- Nilesh Govindarajan http://nileshgr.com
 
well in that case if you know how to set it up so that the dd-wrt
router can see the ADSL gateway you can set a route on your box to
route traffic on a specific device to that gateway. In fact, you might
even be able to static route the torrent ports to that gateway from dd-wrt

- -Kevin
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQz+kBAAoJENfP/Gsfo0VKmi0H/0MU+5/fZUPTsJCBqXzigaHT
/cg3Th/SCTyd7F07OPzL6tFXT+toy0DLgQ1jbwx60qk8eV2YWQH/k8g9XDYg4cQG
qYI0JEgt2Gbg5BZONAYRDPX7R/iFnU4mbPqkXR8S7lBxBXTLUaTrE5JOTQzBO38v
XlVgfm0oPS50Cl4HkwZHgQPv5FkOL3h+zqjzLm+3LXNbToOiRUvi9w37kJgBXzh8
h5NOn/BvFkvKtKVAAt4tStqxxNoCAfeTOBquCyxG9lnSMM8exx/zCpQrKVs4wTcF
UIXVeC7ZpKTRid9L5V6rSl63gSSaptfWfxLMDCBiBAECI4JGjjRMBSRaA67ldfw=
=yl3e
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} A simple routing problem

2012-12-17 Thread Kevin Brandstatter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/17/2012 08:00 PM, Nilesh Govindrajan wrote:
 On Tuesday 18 December 2012 09:24:41 AM IST, Kevin Brandstatter
 wrote:
 On 12/17/2012 07:44 PM, Nilesh Govindrajan wrote:
 On Tuesday 18 December 2012 09:09:16 AM IST, Kevin
 Brandstatter wrote:
 On 12/17/2012 07:26 PM, Nilesh Govindrajan wrote:
 Hi,
 
 I'm stuck with a routing issue:
 
 I have a DD-WRT router, which has one WAN port and four
 LAN ports with WiFi.
 
 I have a fiber connection which is connected by dialing
 PPPoE using pppd on the router, so I have no choice but to
 connect the fiber connection on WAN port.
 
 I have yet another (much slower) ADSL link, with it's own 
 router (LAN-only). I'm trying to connect the router to the 
 DD-WRT router's LAN port. I'm able to access the router,
 but routing through the gateway (the ADSL router) fails.
 
 Here's a simple diagram:
 
 The LAN network I'm using on DDWRT is 192.168.0.0, which
 is the LAN network for the internal side and WiFi.
 
 The fiber connection is obviously public network.
 
 The other ADSL connection can be configured to change
 subnet, it has a LAN side and WAN side.
 
 How I can I route through the ADSL router without requiring
 a separate NIC/network for it?
 
 what exactly are you trying to route? traffic out to the
 internet over the ADSL? or just trying to connect the
 machines on that router to the fiber line and route all
 traffic from both out on the fiber?
 
 -Kevin
 
 
 Actually my fiber connection has a smaller limit than the ADSL 
 connection. I am trying to use the fiber connection for all 
 activities except some torrent downloading for which I want to
 use my ADSL connection. Once I'm able to route through the
 ADSL gateway, it would be easy for me to setup another ip on
 eth0 on my machine on which transmission could listen. All
 traffic on that ip would be routed through ADSL and otherwise
 the fiber.
 
 -- Nilesh Govindarajan http://nileshgr.com
 
 well in that case if you know how to set it up so that the
 dd-wrt router can see the ADSL gateway you can set a route on
 your box to route traffic on a specific device to that gateway.
 In fact, you might even be able to static route the torrent ports
 to that gateway from dd-wrt
 
 -Kevin
 
 
 I tried that. As the simplest test, I added this on ddwrt:
 
 route add -host 8.8.8.8 gw 192.168.0.32
 
 Where 192.168.0.32 is the private IP of my ADSL router. But when I
 say ping 8.8.8.8 from ddwrt, I don't get any response. Any idea why
 this happens?
 
 -- Nilesh Govindarajan http://nileshgr.com
 
is the ADSL configured to forward to the internet? how is the gateway
set up? it needs to be configured to route the outbound traffic to the
internet

- -Kevin
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQz+zEAAoJENfP/Gsfo0VKj2IH/1MpbUBS5vPPJtAa2jJprlyh
kDWDwVs7NFRrJE4SjOlXZmijP/5loE9YIvijm4rSNurLgqNxseatAQugAdERN4Py
Hrp+bTtr0AJ2EBwlabQsg0B7u0sFXuEjerhw4qoctEDw8cvbuKL7s3PWZzrXt2mk
3q++duj+2Riru2ojfX4oXFfoKCyQ3URVeosDfwF/leL8HTbsaUUYOQYV1bTGfcO7
JFmzS8w6X7CbdAEqjbSn7fu5WjLV3EvUYs8n1Xc12mtgptKZs1MkiSAN52Wwdihw
1vkZggTBuGTbs9RfJzKbtt/++tBH8Lxf+R3NetBzgBkzo4W9IFVsznY4GKH0+AE=
=aWAr
-END PGP SIGNATURE-



Re: [gentoo-user] Re: Anyone switched to eudev yet?

2012-12-16 Thread Kevin Chadwick
On Sun, 16 Dec 2012 22:32:24 +0200
nunojsi...@ist.utl.pt (Nuno J. Silva) wrote:

 My thanks, too! There's nothing like reading on some actual experience
 with this. So this was once the reason to keep / separate. Not that
 important anymore (but this is still no excuse to force people to keep
 /usr in the same filesystem).

Sorry but real world data is important and I am fully aware of the
academic theorist problems compared to practical experience but this
simply doesn't apply here. I didn't see any evidence or
argument that a larger root conducting millions more writes is as safe
as a smaller read only one perhaos not touched for months.

The testing criteria were very generally put and just because an
earthquake hasn't hit 200 building in the last 50 years is no reason to
remove shock absorbers or other measures from sky scrapers.



Re: [gentoo-user] Anyone switched to eudev yet?

2012-12-15 Thread Kevin Chadwick
On Sat, 15 Dec 2012 11:18:25 +0100
Volker Armin Hemmann volkerar...@googlemail.com wrote:

  It should be moving in the other direction for stability reasons and
  busybox is no full answer.
  
  On OpenBSD which has the benefit of userland being part of it. All
  the critical single user binaries are in root and built statically
  as much as possible, maximising system reliability no matter the
  custom requirements or packages.  
 
 until a flaw is found in one of the libs used and all those
 statically linked binaries are in danger.  Well done!

How unlikely and is why you have test systems. Other problem this
protects against are far less predictable. There is even a distro that
attempts to statically build everything. It's worth reading
that distros arguments for doing so in any case.

Ch3.1 of fhs-2.3.

___
Rationale
The primary concern used to balance these considerations, which favor
placing many things on the root filesystem, is the goal of keeping root
as small as reasonably possible. For several reasons, it is desirable
to keep the root filesystem small:


Disk errors that corrupt data on the root filesystem are a greater
problem than errors on any other partition. A small root filesystem is
less prone to corruption as the result of a system crash.





Re: [gentoo-user] {OT} dedicated server or cloud server?

2012-12-14 Thread Kevin Chadwick
 Doesn't a good cloud server also have potentially higher availability
 compared to dedicated?

Perhaps at your price point through redundancy which could be applied
to dedicated all be it at higher cost and so potentially still more
reliable and certainly more secure and also tested in almost any case
(lookup the paper about timing attacks on amazon services etc.).

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] {OT} dedicated server or cloud server?

2012-12-14 Thread Kevin Brandstatter
Cloud services are often far more expensive, I work with someone who did a
fair amount of research of the various costs of clouds. They are good for
dynamic scaling of resources but if your concentrating on one server or
another its likely your server load isn't highly intensive and a single
dedicated server could handle it. Also, there are the options of cheaper
webhosting, or a VPS, as a true dedicated server can be quite expensive due
to the cost of rackspace.

In terms of availability, it simply depends on replication and the
reliability of the data site. with a standard cloud server there is likely
not replication across sites and so the availability is determined by
availability of the data center. Dedicated servers dont have multi site
replication (unless you do it yourself), however many provide far better
uptime SLAs than a cloud provider.
For example, Amazon EC2 SLA guaruntees 99.95% uptime. whereas dedicated
servers or VPSs can generally offer between 99,99% and 99.% (depending
on who it is).

-Kevin Brandstatter



On Fri, Dec 14, 2012 at 8:34 AM, Florian Philipp li...@binarywings.netwrote:

 Am 14.12.2012 11:00, schrieb Grant:
   Would everyone here be in favor of a dedicated server over a cloud
   server from a host with good cloud infrastructure?  The cloud server
   concept is amazing but from what I'm reading a dedicated server at the
   same price point far outperforms it.
  
   - Grant
 
  Last time I did the calculation, a dedicated or normal virtualized
  infrastructure was more cost effective as long as you could accurately
  predict the performance you need.
 
  Cloud services only really help if you need a high dynamic range
  regarding scale and performance, e.g. a service that could get a lot of
  new users very fast or is only really active for short time spans.
 
  Doesn't a good cloud server also have potentially higher availability
  compared to dedicated?
 
  - Grant

 I'd be grateful if anyone can point me at a well conducted study on that
 topic. Until then I just say that my anecdotal evidence shows the
 opposite: My cheap-ass virtual server has an uptime of 492 days with
 only minor, previously announced network outages. During the same time,
 Amazon EC2 had what, 3 or 4 major outages?

 Regards,
 Florian Philipp




Re: [gentoo-user] Anyone switched to eudev yet?

2012-12-14 Thread Kevin Chadwick
On Fri, 14 Dec 2012 08:53:35 -0800
Mark Knecht markkne...@gmail.com wrote:

 I guess the other question that's lurking here for me is why do you
 have /usr on a separate partition? What's the usage model that drives
 a person to do that? The most I've ever done is move /usr/portage and
 /usr/src to other places. My /usr never has all that much in it beyond
 those two directories, along with maybe /usr/share. Would it not be
 easier for you in the long run to move /usr back to / and not have to
 deal with this question at all?

It should be moving in the other direction for stability reasons and
busybox is no full answer.

On OpenBSD which has the benefit of userland being part of it. All the
critical single user binaries are in root and built statically as much
as possible, maximising system reliability no matter the custom
requirements or packages.

The way I have it on OpenBSD

/ ro

100 megabytes and I never need to fsck and can reliably fix all
but the most likely problem and snapshot quickly, though there is no
need as the kernel is rock solid.

/usr ro,nodev
~600 megabytes that I almost never need to fsck even when I pull the
plug

/usr/local ro,nodev,nosuid
All installed packages go here and I can give users the ability to only
mount writeable this location. There are other plusses I won't bother
going into.


All the BSDs and debian stable (old and initramfs) still get's this
right with debian suggesting a seperate /usr during install in
compliance with the filesystem hiearchical standard and the upcoming
draft/version 3, which states the real technical and uptime benefits of
a seperate /usr.

https://wiki.linuxfoundation.org/en/FHS

Unfortunately stability and security often only get's noticed and
chosen over other function when it's completely obliterated and has
stopped functioning alltogether.

When hard worked (including rusty russel) documents like this get
ignored when freedesktop.org is given so much credence even though
freedesktop.org is actually simply stating opinion without having
debate/comments on it's site and in contrast a combined root/usr has no
technical benefit not addressed elsewhere (grub etc..) and when the
issues in userland are far from insurmountable it is quite worrying and
I am grateful to those who have stood up against this and the trend
of added complexity into pid1/systemd and early boot.

What is also worrying is the recent trends of the kits, udisks
dropping features for months to get multiseat and dbus getting
everywhere like Windows and RPC.

I can take spread out documentation compared to OpenBSD but some of
these issues are quite rediculous, I just wish OpenBSD had more devs for
KMS and stable updates as it is perhaps due to being a smaller project
involving both core userland and kernel and with hard fast goals, far
better managed.



Re: [gentoo-user] Re: {OT} Will ARM take over the world?

2012-12-13 Thread Kevin Chadwick
 I don't think that's right.  I have a Pandaboard ES with a dual-core 1.2Ghz
 CPU and 1GB RAM and I bet it would run Gnome just fine.  Again, maybe
 you're referring to something here that I'm not familiar with.

I think the key word was micro, but is that off topic (ignoring
subject)?

Many (such as lennart and some kernel devs such as GKH even) seem to
think embedded applies only to the mobile world when in fact mobile is
a small fraction of it.

Even below Uclinux type systems, there is nuttx linux or rowebots for
example which is in a similar position to what mobile was in the generic
kernel. 

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] ifconfig and ppp0 address

2012-12-11 Thread Kevin Chadwick
 I can send you the source code if you want. Likewise to any other
 interested reader 

Send to me please, Thanks

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] recovery of fstab

2012-12-11 Thread Kevin Brandstatter
mount them and see whats there?
also, what order did you mount them in? it may make a difference


On Tue, Dec 11, 2012 at 2:48 PM, James wirel...@tampabay.rr.com wrote:

 Well I have a gentoo system I'm trying to recover.
 I've got it booted up via systemrescue.

 I do not have a copy of the fstab, so what is the best
 way to discover which partitions are /boot / and so on?

 (brain dead tonight)


 I guesses but the / is blank?

 df snip
 /dev/sda2 61438696  51276944  10161752  84% /mnt/gentoo/boot
 /dev/sda3 61438696  51276944  10161752  84% /mnt/gentoo


 /mnt/gentoo/boot is populated (mounted correctly) but the /dev/sda3
 which I'm guessing is / is empty ?

 Been a while since I had to recover a system so referals to good
 docs are most welcome

 No to mention an automount capability with systemrescue?

 James








Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Kevin Brandstatter
I've had the same problem.
it seems setting DARK=true in .eixrc fixes the problem of the almost black
on black background for me

-Kevin


On Fri, Dec 7, 2012 at 5:26 PM, Dale rdalek1...@gmail.com wrote:

 Mark Knecht wrote:
  On Fri, Dec 7, 2012 at 3:01 AM, Dale rdalek1...@gmail.com wrote:
  Howdy,
 
  I was using eix a bit ago and I noticed the colors have changed.  Since
  I like to have white text and a black background, this is not working to
  well for me.  It seems some of the output is black text.  Put black text
  on a black background and I have missing text, usually the very thing I
  am looking for.  I have looked for a config somewhere in /etc but can't
  find where this is set.  I found where other colors are set but not for
  eix.
 
  Anyone have a hint as to where this is set or is it hard coded into eix?
 
  Thanks much.
 
  Dale
  Dale,
 If you (or someone else)  finds a nice concise setting for
  terminals that are black background, white text, I hope you'll post if
  back. I'm not going to have time to look at this right now but like
  you hate the way black on black text is looking! ;-)
 
  Cheers,
  Mark
 
 

 Well, I'm sort of tied up at the moment.  In the process of picking out
 a rifle.  I can only afford to do this once for a good long while so I
 got to pick a good one.  Anyway, I tried the settings Helmut posted, it
 didn't work.  I think the version I have installed doesn't allow that so
 I may have to upgrade it to test.  I also took a look at the eix man
 page.  I went like this:  O_O  I also CC'd myself on the bug and the dev
 is working on it like a bee making honey.  I think he is about to revert
 back to the old way since it is causing him grief.  If he does, then we
 will be happy and someone else can cry over the spilt milk.  lol

 If I figure out something or Helmut's config works, I'll post back.

 Dale

 :-)  :-)

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





Re: [gentoo-user] openconnect and network manager

2012-12-06 Thread Kevin Brandstatter
no have you installed the networkmanager-openconnect plugin?

as a side note, i solved the problem by reloading the dbus service which
fixed the permissions issued i was having


On Thu, Dec 6, 2012 at 9:41 AM, Patrick Holthaus 
patrick.holth...@uni-bielefeld.de wrote:

 Hey Kevin,

 Sorry, I can't help you with your problem. I'm also having issues with
 openconnect and networkmanager. The problem for me is that openconnect vpn
 devices won't even show up in the networkmanagement tool (kde). Did you
 expeirience similar?

 Thank you for your help.

 --
 Regards
 Patrick


Re: [gentoo-user] continue an installation

2012-12-06 Thread Kevin Brandstatter
coorect, you could concievable run something like
ebuild ebuildname qmerge if all the steps have been completed

-Kevin


On Thu, Dec 6, 2012 at 1:44 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 On Thu, 6 Dec 2012 08:45:10 +0100
 Willie WY Wong wong...@member.ams.org wrote:

  Hi list,
 
  Suppose that I tried to emerge a package, and the compilation phase
  went through without problems, but it got stopped in the installation
  phase. Is there a way to (after I fixed the problem) to tell portage
  to install the (now all already compiled binaries sitting in
  /var/tmp/portage) directly without having to redo the compiling
  phase?

 not with emerge, but you can use the lower-level command ebuild for
 that.

 portage  ebuild are analogous to yum  rpm or to apt* and dpkg

 man ebuild for more info

 
  Case in point:
 
  I just tried to update dev-lib/boost to 1.52. The compilation went
  without a hitch, but the installation died because of file collision
  against (I think) boost-1.49.0-r1000. Now that the colliding files are
  no longer there, is there a way to tell portage to go ahead an install
  boost-1.52 from the compiled sources in /var/tmp/portage ?
 
  Thanks,
 
  W



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





[gentoo-user] openconnect and network manager

2012-12-04 Thread Kevin Brandstatter
I'm having a bit of trouble tracking down the issue im having with
openconnect
it connects fine if i run from command line as root, as expected, but
network manager cant
seem to create the tun device.
This all works in ubuntu so im sure its just a permissions/configuration
issue, I just don't know where to look.

any ideas would be appreciated.

-Kevin B


Re: [gentoo-user] gst-plugins-ugly Update Error install phase

2012-12-02 Thread Kevin Brandstatter
ive had my own issues with the gstreamer libs.
but its with rebuilding, for some reason its failing saying there isnt a
make file


On Sun, Dec 2, 2012 at 2:41 PM, Silvio Siefke siefke_lis...@web.de wrote:

 Hello,

 i run update and by gstreamer i become the error message:

  Source compiled.
  Test phase [not enabled]: media-libs/gst-plugins-ugly-0.10.18

  Install gst-plugins-ugly-0.10.18 into
 /var/tmp/portage/media-libs/gst-plugins-ugly-0.10.18/image/ category
 media-libs
  * ERROR: media-libs/gst-plugins-ugly-0.10.18 failed (install phase):
  *   __eapi2_src_install is not supported


 Has someone an idea what is wrong? Has someone same msg and has realized
 the Error?


 Regards
 Silvio




Re: [gentoo-user] threads use flag for apache and php

2012-11-30 Thread Kevin Brandstatter
I would suggest using threads

-Kevin B


On Fri, Nov 30, 2012 at 4:35 PM, William Kenworthy bi...@iinet.net.auwrote:

 ok, major update time and I am again in a bind with the threads use
 flag.

 PHP wants it, or doesnt and so does/doesnt apache and they wont play
 nice.  So if I have to go back and rebuild a whole lot of stuff one way
 or the other which should it be? - +threads for both, neither, one
 enabled ... no choice will be pain free :(

 Its a mainly desktop system running almost everything but generally
 lightly loaded.

 Suggestions?

 BillK







Re: [gentoo-user] threads use flag for apache and php

2012-11-30 Thread Kevin Brandstatter
well i guess it depends if your using php that takes advantage of
concurrency. If you dont then threads arent necessary,
for apache i would recommend threads because it does make use of them.

Kevin B


On Fri, Nov 30, 2012 at 5:13 PM, William Kenworthy bi...@iinet.net.auwrote:

 why? - threads sounds like a good thing, but is it really if its
 optional?

 Its looking like threads minus is the way to go for php as geos needs
 php built with -threads - I now suspect I am going to be locked into one
 way (hopefully there is one way!) once I sort out the build
 dependencies.

 BillK

 On Fri, 2012-11-30 at 16:57 -0600, Kevin Brandstatter wrote:
  I would suggest using threads
 
 
  -Kevin B
 
 
  On Fri, Nov 30, 2012 at 4:35 PM, William Kenworthy
  bi...@iinet.net.au wrote:
  ok, major update time and I am again in a bind with the
  threads use
  flag.
 
  PHP wants it, or doesnt and so does/doesnt apache and they
  wont play
  nice.  So if I have to go back and rebuild a whole lot of
  stuff one way
  or the other which should it be? - +threads for both, neither,
  one
  enabled ... no choice will be pain free :(
 
  Its a mainly desktop system running almost everything but
  generally
  lightly loaded.
 
  Suggestions?
 
  BillK
 
 
 
 
 
 






Re: [gentoo-user] serial in /sys

2012-11-29 Thread Kevin Chadwick
 The values of ../by-uuid/ would probably be
 equally good, but I don't know how to find them any more than I know how to
 find the serials...

I use my own automounter scripts and udev with nice static mountpoints
from when udisks threw lots away for a while in favour of multiseat. A
recurring theme it seems!!! 

Incidentally I think I'm having issues accesing a dvd from a chroot due
to udisks and possibly due to not following the 'everythings a file'
mantra as thoggen falls back to /dev/dvd just fine and k9copy works only
in folder mode.

Does blkid -U work for you?

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] dog - man's best friend.

2012-02-23 Thread Kevin Monceaux
On Thu, Feb 23, 2012 at 08:42:00PM +, Alan Mackenzie wrote:
  
 (a) using less, and have it take just 10 screen lines; (b) using cat etc.,
 and have the interesting part scroll away.

(c) use less -F and less will automatically exit if the entire file can fit
on one screen.  One can export LESS='-F' to have less always do the above.



-- 

Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system?  One that works! 
Errare humanum est, ignoscere caninum.



Re: [gentoo-user] Goodbye, Gentoo

2011-05-29 Thread Kevin O'Gorman
On Sat, May 28, 2011 at 12:19 PM, Alan McKinnon alan.mckin...@gmail.comwrote:

 Apparently, though unproven, at 18:38 on Saturday 28 May 2011, Daniel da
 Veiga
 did opine thusly:

  On Thu, May 26, 2011 at 20:28, Kevin O'Gorman kogor...@gmail.com
 wrote:
   It looks like it's time to take Gentoo off of my main machine.  I feel
 a
   little sad about it, or I'd just quietly go away.
  
   So, since I am familiar with Ubuntu from work, and have it on a couple
 of
   laptops, I'm installing from the Ubuntu 11.04 live disk (video is just
   fine).
 
  Good luck.
  A friend just dropped Ubuntu cause they simply decided to use Unity, and
  the dashboard is just (his words) weird. He was used to the Gnome look,
  and they simply changed everthing with an upgrade.
 
  I stick with Gentoo, at least I know my next upgrade won't change my
 whole
  interface...


 Ubuntu are simply doing what KDE already did - take a risk, go with
 something
 new, try to stay ahead of the curve.

 Unity works fine on my netbook with 600 vertical pixels. I'm not sure it
 would
 work well on my 1920x1200 notebook though. That's the risk one takes with
 disruptive technologies, you might annoy some of your users


My hardware is not capable enough to run unity, so it logs into Gnome 2, the
familiar
interface.  I'm eventually going to upgrade the mobo and video, and I'll get
to visit
with Unity on my own schedule.  I generally stick to the LTS versions, which
remain
supported for 3 years.  I don't see the point of more frequent upgrades
because
as an old-timer, I am perfectly happy with the tools I'm used to and find
myself
increasingly exhausted on the learning curves.  I can do it, but I want
there to be
a really good view at the top. :o)

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Re: Goodbye, Gentoo

2011-05-28 Thread Kevin O'Gorman
On Fri, May 27, 2011 at 5:59 PM, walt w41...@gmail.com wrote:

 On 05/26/2011 04:28 PM, Kevin O'Gorman wrote:

  Now, a couple of months into my retirement
 ...
  in 2002 when I finished my PHD

 Retiring 9 years after finishing your education?


Nice to know that somebody can do the math :o).
I got a late start.  I was 52 (IIRR) when I started grad school and 59 when
I finished my PhD.

WTF are the rest of us doing wrong?

 Drop by here occasionally to give us a progress report :)


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Goodbye, Gentoo

2011-05-27 Thread Kevin O'Gorman
On Thu, May 26, 2011 at 11:00 PM, Stroller
strol...@stellar.eclipse.co.ukwrote:


 On 27/5/2011, at 12:28am, Kevin O'Gorman wrote:
  ...
  * Two XEON chips.  I didn't know it right away but that means 4 cores.
  They are old Pentium IV-based 32-bit chips.  I got the slowest still being
 made, so the clock speed is 1.6 GHz.  On 4 cores, it's not bad at all.

 I *think* at that age those may be single-core hyperthreading chips, which
 would nevertheless show in (for instance) `top` as 4 cores. I won't swear to
 this, though.

 Stroller.


 Actually, you're right.  I got two chips so I could work with real
threads and thread control.  The hyperthreading was a surprise, and might
have done quite as well by themselves.  Anyway, it still works fine and the
only thing likely to make me upgrade is that the card slots are all PCI-X
low voltage (extra cutout in the connector).  As time goes on I'm going to
want to add things, and I may wind up with a new mobo fairly soon.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Goodbye, Gentoo

2011-05-27 Thread Kevin O'Gorman
On Fri, May 27, 2011 at 5:56 AM, Marc Joliet mar...@gmx.de wrote:

 Am Thu, 26 May 2011 16:28:46 -0700
 schrieb Kevin O'Gorman kogor...@gmail.com:

  It looks like it's time to take Gentoo off of my main machine.  I feel a
  little sad about it, or I'd just quietly go away.
 
  A few months ago, an update made the machine headless -- well, it could
 no
  longer bring up X but I could use the console-mode for admin, and log in
 via
  SSH from my laptop and run GUI programs.  I was busy at the time, first
  deciding and then implementing my retirement, so I let it go.
 
  Now, a couple of months into my retirement, I'm trying to fix things up,
 and
  the latest Gentoo live disk cannot talk to my monitor at all.  Whatever
 it's
  trying is unacceptable to the HD monitor I've had on there for a year,
 and I
  can't even run the consoles.  The video card is an ATI Rage XL on the
  motherboard.  Like the rest of the machine, it's vintage 2000, so maybe
  support got dropped.
 [...]

 (I realise your decision is made, but if this is the bug I think it is,
 this
 has nothing to do with Gentoo in particular.)

 I wonder which kernel version you use, because in 2.6.36/37 I was hit by a
 nasty
 EDID parsing bug. Actually, IIRC the code for parsing EDIDs was updated to
 understand more features or something, and that triggered errors that
 didn't
 come up before because those parts of the response from the monitor were
 simply
 ignored until then (or something like that). This lead to my own monitor
 not
 responding for over a minute at a time (sometimes going blank in between)
 and
 other people complained that it left theirs permanently blank.

 I think this is the original bug:

  https://bugs.freedesktop.org/show_bug.cgi?id=31943

 which contains a workaround (with patch):

  The drm EDID checker is pretty strict about what EDIDs it will accept.
  Try
   this patch and add drm.edid_strict=0 to your kernel command line.

 For me, upgrading to 2.6.38 helped, I don't see the problem anymore (though
 other people report otherwise).

 *If* this is the bug, it makes me wonder why you don't see it under Ubuntu.

 Good luck with Ubuntu!

 Thanks.  It's up, its 2.5.38 which may explain a little.  I ported my usual
selections (think world)
from my laptops, downloaded and installed around 1400 packages in a bit over
5 hours.
This included both libreoffice (the default) and openoffice (from the
selections), apache,
gimp, on and on, and would surely have taken a week or so under Gentoo.

Today, I port over my apache configuration and my embarrassing downtime is
ended.
-- 
Kevin O'Gorman, PhD


[gentoo-user] Goodbye, Gentoo

2011-05-26 Thread Kevin O'Gorman
It looks like it's time to take Gentoo off of my main machine.  I feel a
little sad about it, or I'd just quietly go away.

A few months ago, an update made the machine headless -- well, it could no
longer bring up X but I could use the console-mode for admin, and log in via
SSH from my laptop and run GUI programs.  I was busy at the time, first
deciding and then implementing my retirement, so I let it go.

Now, a couple of months into my retirement, I'm trying to fix things up, and
the latest Gentoo live disk cannot talk to my monitor at all.  Whatever it's
trying is unacceptable to the HD monitor I've had on there for a year, and I
can't even run the consoles.  The video card is an ATI Rage XL on the
motherboard.  Like the rest of the machine, it's vintage 2000, so maybe
support got dropped.  But I'm not inclined to drop the machine -- it was the
ballyhooed thing in Linux Journal in 2002 when I finished my PHD, so I put
together these pieces:
* Two XEON chips.  I didn't know it right away but that means 4 cores.  They
are old Pentium IV-based 32-bit chips.  I got the slowest still being made,
so the clock speed is 1.6 GHz.  On 4 cores, it's not bad at all.
*  2GB of DDR ECC memory
* about a dozen hard drives (some old, but mostly 500GB - 2TB Sata drives),
I feel it's still worthy of respect.  Some of these are in EZ-Dock docking
stations and are used for rotating backups (including off-site).  The main
directories are on hardware RAID 1 so I have ongoing redundancy.
* a Smart UPS 1500 for everything except the laser printer.

So, since I am familiar with Ubuntu from work, and have it on a couple of
laptops, I'm installing from the Ubuntu 11.04 live disk (video is just
fine).

The real headache is all the stuff I'm going to have to port.

1) Apache and dynamic (Python CGI) web site.
2) Postfix
3) About a dozen accounts that just do wget(1) data gathering triggered by
the cron daemon.
4) DNS (I run my own domain on a commercial DSL account)
5) NTP client and server
6) Whatever else I forgot I set up over the years.

My original reason for using Gentoo is that this machine was pretty exotic
when I bought it, and I wanted to be able to tweak the compiler to get the
most out of it.  I can still do that for specific applications I'm working
on, but otherwise it's really a non-issue now.  I have gotten pretty tired
of updates that take over 48 hours to compile, and the occasional mess-up
that once or twice led me to rebuild with empty-tree and took a week or so.


So I guess I shouldn't complain (and I'm not).  I'm just not in the target
market for Gentoo any more.  It was fun, though.
-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Goodbye, Gentoo

2011-05-26 Thread Kevin O'Gorman
On Thu, May 26, 2011 at 6:57 PM, Mark Shields laebsh...@gmail.com wrote:

 On Thu, May 26, 2011 at 6:28 PM, Kevin O'Gorman kogor...@gmail.comwrote:

 It looks like it's time to take Gentoo off of my main machine.  I feel a
 little sad about it, or I'd just quietly go away.

 A few months ago, an update made the machine headless -- well, it could no
 longer bring up X but I could use the console-mode for admin, and log in via
 SSH from my laptop and run GUI programs.  I was busy at the time, first
 deciding and then implementing my retirement, so I let it go.

 Now, a couple of months into my retirement, I'm trying to fix things up,
 and the latest Gentoo live disk cannot talk to my monitor at all.  Whatever
 it's trying is unacceptable to the HD monitor I've had on there for a year,
 and I can't even run the consoles.  The video card is an ATI Rage XL on the
 motherboard.  Like the rest of the machine, it's vintage 2000, so maybe
 support got dropped.  But I'm not inclined to drop the machine -- it was the
 ballyhooed thing in Linux Journal in 2002 when I finished my PHD, so I put
 together these pieces:
 * Two XEON chips.  I didn't know it right away but that means 4 cores.
 They are old Pentium IV-based 32-bit chips.  I got the slowest still being
 made, so the clock speed is 1.6 GHz.  On 4 cores, it's not bad at all.
 *  2GB of DDR ECC memory
 * about a dozen hard drives (some old, but mostly 500GB - 2TB Sata
 drives), I feel it's still worthy of respect.  Some of these are in EZ-Dock
 docking stations and are used for rotating backups (including off-site).
 The main directories are on hardware RAID 1 so I have ongoing redundancy.
 * a Smart UPS 1500 for everything except the laser printer.

 So, since I am familiar with Ubuntu from work, and have it on a couple of
 laptops, I'm installing from the Ubuntu 11.04 live disk (video is just
 fine).

 The real headache is all the stuff I'm going to have to port.

 1) Apache and dynamic (Python CGI) web site.
 2) Postfix
 3) About a dozen accounts that just do wget(1) data gathering triggered by
 the cron daemon.
 4) DNS (I run my own domain on a commercial DSL account)
 5) NTP client and server
 6) Whatever else I forgot I set up over the years.

 My original reason for using Gentoo is that this machine was pretty exotic
 when I bought it, and I wanted to be able to tweak the compiler to get the
 most out of it.  I can still do that for specific applications I'm working
 on, but otherwise it's really a non-issue now.  I have gotten pretty tired
 of updates that take over 48 hours to compile, and the occasional mess-up
 that once or twice led me to rebuild with empty-tree and took a week or so.


 So I guess I shouldn't complain (and I'm not).  I'm just not in the target
 market for Gentoo any more.  It was fun, though.
 --
 Kevin O'Gorman, PhD



 You let a small problem like the latest live cd not booting your system
 scare you away?

 Have you tried using an older live cd?  If it's a video issue, maybe
 detecting your monitor wrong, how about turning on the framebuffer (there's
 an option for that)?

 It's doable man, don't give up.


Of course it's doable.  It's just the last straw.  This left my web site
down for a week; I obviously can't always keep up with Gentoo's
requirements, so I'm going to an easier distro that I'm equally familiar
with.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] RIP lafilefixer: I must have missed the memo

2011-05-19 Thread Kevin O'Gorman
On Thu, May 19, 2011 at 1:14 AM, Sebastian Beßler sebast...@darkmetatron.de
 wrote:

 Am 19.05.2011 04:09, schrieb Kevin O'Gorman:
  I've been using dev-util/lafilefixer ever since I learned about it.  Now
  I've bumped into a thread whose latest posts suggests that it is now
  obsolete, with a better capability built into portage.

 From man make.conf

 FEATURES =

 fixlafiles   Modifies .la files to not include other .la files and
 some other fixes (order of flags, duplicated entries, ...)

 As far as I can see this feature is on by default.

  If so, why is it still in portage and no mention of its obsolesence in
 the
  elogs?

 I use sys-apps/portage-2.2.0_alpha34 so it it possible that it is not
 yet in stable portage.


Yep, it's in stable and I'm very glad.  I'm unmerging lafilefixer, which has
been a pain in several ways.

Thanks for the info.


-- 
Kevin O'Gorman, PhD


[gentoo-user] RIP lafilefixer: I must have missed the memo

2011-05-18 Thread Kevin O'Gorman
I've been using dev-util/lafilefixer ever since I learned about it.  Now
I've bumped into a thread whose latest posts suggests that it is now
obsolete, with a better capability built into portage.

I hope this is true.  I'd love to ditch it because lafilefixer --justfixit
never fails to process some packages that are hardwired for one reason or
another.  Some search engine results suggest this may be true, but they're
mostly old.  Is this still and permanently true?

If so, why is it still in portage and no mention of its obsolesence in the
elogs?

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Two portage questions

2011-05-14 Thread Kevin O'Gorman
On Sat, May 14, 2011 at 3:51 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 Apparently, though unproven, at 12:31 on Saturday 14 May 2011, Alan
 Mackenzie
 did opine thusly:

  Hi, Gentoo.
 
  Two questions about Portage whose ansers I haven't found in the fine
  manuals:
 
  1. Where is it specified what is in system in the same way that
  world is in the file /var/lib/portage/world?

 That is defined in your system profile, not by you.

 /etc/make.profile is a symlink to something in $PORTDIR/profiles/ and that


Odd.  Not on my system, it's not.  It's a directory with two  entries:
  eapi: a text file, length 2, with contents 2\n.
  parent: a text file with two lines:
 ..
 ../../../../../../targets/desktop/kde
The parent is obviously not relative to the /etc/make.profile directory.
Portage works,
pretty much, although I have an unbuildable essential package at the moment
with a bug just filed.  Eix says my portage is 2.1.9.42.

defines the profile you are using. A profile is nothing more than a bunch of
 files that define what your basic system consists of - things like minimum
 packages to install, things that must not be installed, starting point for
 USE
 flags, etc etc.

[snippage]

 --
 alan dot mckinnon at gmail dot com

 --
Kevin O'Gorman, PhD


Re: [gentoo-user] Re: Prevent depclean from removing Python-2.6?

2011-05-11 Thread Kevin O'Gorman
On Wed, May 11, 2011 at 4:53 PM, Adam Carter adamcart...@gmail.com wrote:

  Apparently so.  It seems like it ought to pay attention to eselect.
  If I've explicitly configured my system to use 2.6 instead of 2.7,
  removing 2.6 doesn't seem like a good thing...


 Sounds to me like that should be made into a feature request. What does the
 list think? If there's support I will log it.


+1  It bit me, and just seems stupid.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths

2011-05-09 Thread Kevin McCarthy
On Mon, May 09, 2011 at 10:44:10AM -0300, Rafael Barrera Oro wrote:
 
 Considering the confusing nature of the error and the easyness which it is
 fixed with, should'n it be in a faq or something?
 

Well, I suppose the handbook could be changed to explain that no only do
you have to set the timezone and UTC/local settings for you clock, but
you also have to make sure it is set. Unfortunately, adding this
specific problem to a FAQ is problematic because there are dozens of
errors and problems that can come from a mis-set clock. It would be
difficult to cover them all.

-- 
Kevin McCarthy sign...@gentoo.org



Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Kevin McCarthy
On Mon, May 09, 2011 at 01:44:58PM +0800, Xi Shen wrote:
 It is not specific to Gentoo. But do not know where to search or post it :)
 
 My script looks like:
 
 url=http://mypage;
 curl_opts=-x ''
 curl $url -d \mydata\ $curl_opts
 
 If I execute it, I got an error from curl, saying it cannot resolve
 the proxy ''.
 

While bash arrays probably aren't required for this, the following seems
to work OK:

curl_opts=(-x )
curl $url -d \mydata\ ${curl_opts[@]}

But I'm sure there's a quotes-only solution, too. 

-- 
Kevin McCarthy sign...@gentoo.org



Re: [gentoo-user] crossdev avr compile failing on crtm328p.o

2011-05-07 Thread Kevin McCarthy
On Sat, May 07, 2011 at 08:34:04PM +0800, William Kenworthy wrote:
 /usr/libexec/gcc/avr/ld: crtm328p.o: No such file: No such file or
 directory
 
 Ive rebuilt/uninstalled/reinstalled the avr toolchain with no success.
 Can someone suggest where to look next?
 
 The file crtm328p.o does exist in /usr/avr/lib/avr5 along with the other
 arch specific libs.

I would look in /usr/avr/etc/portage/make.conf and make sure everything
there looks OK. I'd make sure you have something like this in there:

CHOST=avr
ROOT=/usr/${CHOST}/
LDFLAGS=-L${ROOT}lib -L${ROOT}usr/lib

Mind if I ask which arduino package you are using? The one in Portage is
somewhat old, and the one from overlay described on the Arduino site[1]
seems to have a problem with avrdude on my system. I eventually just
ended up downloading the binary version and running it from my home dir.

Maybe I should ping the Gentoo maintainers and see if I can help get
Arduino up-to-date in Portage...

[1] http://www.arduino.cc/playground/Linux/Gentoo

-- 
Kevin McCarthy sign...@gentoo.org



Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths

2011-05-06 Thread Kevin McCarthy
On Fri, May 06, 2011 at 12:32:50PM -0300, Rafael Barrera Oro wrote:
 I successfuly installed lafilefixer and then ran it, however, the problem
 persists :(
 
 2011/5/5 Stroller strol...@stellar.eclipse.co.uk
 
 
  On 5/5/2011, at 3:00am, Rafael Barrera Oro wrote:
 
  ...
  The thing is that emerging mirrorselect has the following outcome:
 
  * QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths
   * ERROR: dev-util/dialog-1.1.20100428 failed:
   *   soiled libtool library files found

Hmm, this is a strange one. It would probably help to take a look in
libdialog.la to see what's getting set to PORTAGE_TMPDIR. Once emerge
has failed to merge dev-util/dialog it should leave the workdir in
/var/tmp/portage. Can you post the contents of:

/var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428/libdialog.la

to the list? If you don't have a /v/t/p/dev-util/dialog-1.1.20100428
directory after failing to emerge it, try *TEMPORARILY* using the
keepwork feature:

FEATURES=keepwork emerge -1 dev-util/dialog

It's bad to use keepwork when you aren't debugging, so DO NOT put it in
your make.conf.

Hopefully looking at the .la file will help us narrow down what is
happening.

-- 
Kevin McCarthy sign...@gentoo.org


pgpdJIm46UKZ2.pgp
Description: PGP signature


Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths

2011-05-06 Thread Kevin McCarthy
On Fri, May 06, 2011 at 01:45:01PM -0300, Rafael Barrera Oro wrote:
 
 Attached to this message are the contents of the afforementioned file,
 thanks for the help!!!

Hmm... It looks like libtool is being called to link the library when
DESTDIR is set. It shouldn't be set during the compile phase, only
during the install phase. I wonder if the library is failing to be built
for some reason during compile, so make tries to build it in the
ebuild's install phase? I guess I'll need to see the entire build.log
for it before I can know for sure:

/var/tmp/portage/dev-util/dialog-1.1.20100428/temp/build.log

-- 
Kevin McCarthy sign...@gentoo.org


pgplICJy9Tg5I.pgp
Description: PGP signature


Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths

2011-05-06 Thread Kevin McCarthy
On Fri, May 06, 2011 at 03:25:31PM -0300, Rafael Barrera Oro wrote:
 2011/5/6 Kevin McCarthy sign...@gentoo.org
 
  On Fri, May 06, 2011 at 01:45:01PM -0300, Rafael Barrera Oro wrote:
  
   Attached to this message are the contents of the afforementioned file,
   thanks for the help!!!

This seems like cause for alarm:

  Unpacking source...
  Unpacking dialog-1.1-20100428.tgz to 
  /var/tmp/portage/dev-util/dialog-1.1.20100428/work
 tar: dialog-1.1-20100428/aclocal.m4: time stamp 2010-04-28 17:36:28 is 
 252636716.880100597 s in the future

Something is definitely wrong with your clock.

Then we have this:

  Source configured.
  Compiling source in 
  /var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428 ...
 make 
 make: Warning: File `trace.c' has modification time 2.4e+08 s in the future

Here is the libtool link from the compile phase. It looks correct, but
notice that it warns you about the clock problems:

 libtool: link: i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o .libs/dialog 
 .libs/dialog.o  
 -L/var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428 
 /var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428/.libs/libdialog.so
  -L/usr/lib -lncursesw -lm 
 make: warning:  Clock skew detected.  Your build may be incomplete.
  Source compiled.
  Test phase [not enabled]: dev-util/dialog-1.1.20100428
 

Then in the install phase, you will see that make can't figure out what
is up-to-date (because the clock is off) so it decides everything needs
to be rebuilt.

  Install dialog-1.1.20100428 into 
  /var/tmp/portage/dev-util/dialog-1.1.20100428/image/ category dev-util
---8---SNIP---8---
 make: Warning: File `trace.c' has modification time 2.4e+08 s in the future
 /usr/bin/libtool --tag=CC  --mode=compile i686-pc-linux-gnu-gcc -O2 
 -march=i686 -pipe  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  
 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED -DHAVE_CONFIG_H -I. -I. 
 -DLOCALEDIR=\/usr/share/locale\ -c trace.c

In the install phase, DESTDIR is set to the PORTAGE_TEMP directory and
libtool is called with -rpath set to the temp dir. This is what's
causing the QA warning. The problem is that we aren't supposed to be
building anything at this point. It is the INSTALL phase after all:

 /usr/bin/libtool --tag=CC  --mode=link i686-pc-linux-gnu-gcc -rpath 
 /var/tmp/portage/dev-util/dialog-1.1.20100428/image//usr/lib -version-info 
 `cut -f1 ./VERSION`   -Wl,-O1 -Wl,--as-needed -o libdialog.la trace.lo rc.lo 
 calendar.lo fselect.lo timebox.lo formbox.lo guage.lo pause.lo progressbox.lo 
 tailbox.lo mixedform.lo mixedgauge.lo arrows.lo buttons.lo checklist.lo 
 columns.lo dlg_keys.lo editbox.lo inputbox.lo inputstr.lo menubox.lo mouse.lo 
 mousewget.lo msgbox.lo textbox.lo ui_getc.lo util.lo version.lo yesno.lo 
 -L/usr/lib -lncursesw -lm 

So, the short of it is that you need to fix your clock. It needs to be
set reasonably close to the actual time and the timezone needs to be set
correctly as well. You might also look into net-misc/ntp to set the
clock from the network.

If your clock is set correctly, there's something horribly wrong and it
will require additional troubleshooting.

-- 
Kevin McCarthy sign...@gentoo.org


pgpT3OsTjyn8x.pgp
Description: PGP signature


Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths

2011-05-06 Thread Kevin McCarthy
On Fri, May 06, 2011 at 10:45:31PM +0100, Neil Bothwick wrote:
 Kevin, can you upload your PGP/GPG key to a public keyserver, otherwise
 the only point of signing your mails is to cause mailers to slow down
 while trying to check a signature against an unavailable key.

I know what you mean. I hate it when mutt stalls for ages while GPG
looks for the key. My key is in subkeys.pgp.net and I *thought* the
major keyservers exchanged keys. Is there a particular keyserver you
would like me to upload it to?

I suppose there's no reason I even need to sign messages to the list.
It's just a habit to sign e-mail.

-- 
Kevin McCarthy sign...@gentoo.org



Re: [gentoo-user] Apache is running but its log is not

2011-05-04 Thread Kevin O'Gorman
On Tue, May 3, 2011 at 11:15 PM, Joost Roeleveld jo...@antarean.org wrote:

 On Wednesday 04 May 2011 13:48:48 Adam Carter wrote:
   Well, 2.2.17 is indeed my server, but I decided to stop it and start it
   again.  Current log files showed up.
   Problem solved, by brute force again, and without any epiphanies of
   understanding.
 
  Last guess - logrotate is managing the log files but not reloading apache
  afterwards. Check that the entries in /etc/logrotate.d/apache2 have a
 line
  in there that runs /etc/init.d/apache2 reload.

 Adam,

 I think you got a really good guess. :)
 Especially as the log-files listed by lsof have status deleted:
 **
 apache25288   root9w  REG   8,44  57327591 204998
 /var/log/apache2/access_log-20110204 (deleted)
 **

 Interesting things happen when a file is deleted while a process still has
 access.

 --
 Joost

 Indeed they do.  I used to teach it to my students as a technique for
getting
a *really* temporary private file (combined with O_EXCL).

I'm about to try this, and I may change it a bit because when I restarted
apache,
reload didn't work.  I had to stop it and restart it.  Maybe I'll submit a
bug if I
can make sense out of what happens with 'reload' and it always happens.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] emerge stopped working

2011-05-04 Thread Kevin O'Gorman
On Tue, May 3, 2011 at 4:42 AM, Davide Carnovale 
francesco.davide.carnov...@gmail.com wrote:

 yes, the problem was that python 2.6 was unmerged and the new one wasn't
 selected yet. so eselecting the new python (2.7) and running python-updater
 restored my system. i used an usb version of the livedvd to help me in this,
 as wicd was among the broken things and i couldn't connect to the net to
 download the required packages to update python.
 so thanks everyone for the hints that led me to the solution and particular
 thanks to helmut, alan, kevin and stroller.
 i'll follow your suggestions and definitely pay more attention in the
 future while updating the system =)

 D


 2011/5/3 Helmut Jarausch jarau...@igpm.rwth-aachen.de

 On 05/02/2011 06:05:08 PM, Davide Carnovale wrote:
  @alan, no error are printed, where and what should i look for in the
  logs?
 
  @helmut python just returns to the console, without error or effect
  of
  any
  sort, does it means python has get unmerged and that's why emerge
  doesn't
  work anymore?
 

 You have got many hints from others.
 To consider the problem from all sides you my try

 ldd /usr/bin/python2.6
 ldd /usr/bin/python2.7

 and see if all dynamic libraries could be loaded.

 And if that fails, here a hint from an earlier thread

 Recovering Gentoo from a broken python
  This may be a life saver. I noticed that I have two version of python
 installed on my Gentoo box. So I thought I'd try uninstalling the old
 one. This actually uninstalls the latest version libraries leaving me
 with a warning such as ImportError: no such module time. This is bad
 as you cannot use emerge at all not even to emerge python to fix
 things. To fix, as root:

 cd /root
 wget http://distfiles.gentoo.org/distfiles/Python-2.7.1.tar.bz2
 tar jxvf Python-2.7.1.tar.bz2
 cd Python-2.7.1
 ./configure
 make
 ./python emerge python
 cd /root
 rm -rf Python-2.7.1*
 You are now fixed.

 Or replace 2.7.1 by 2.6.6 if your system has been running under
 Python 2.6 before the problem arose.

 Helmut.



Thanks from me too.

Lots of good ideas in this thread.  I'm glad the thread was there already
when I ran into exactly the same thing.
I can't even take refuge in claiming to be a n00b -- I've run gentoo on my
main machine since somewhere
around 2002, when I finished grad school and bought it for myself as a
present. (two dual-core Xeons, 2GB DDR ECC,
built from parts as suggested as the machine of the year (or something like
that) by Linux Journal).

I wound up with Gentoo because slower-release distros did not have kernels
that knew how to configure such a
machine -- I never figured out if it was the Xeon stuff or just SMP.
Anyway, an up-to-date kernel avoided it
triggering clock slowdowns.  Nothing like having a state-of-the-art machine
that persists in running at 10%.

I do try to get elogs by email, but its flakey for some reason. But some of
those other steps mentioned above I've never
heard of before.   Time for a little studying (sigh).

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Apache is running but its log is not

2011-05-03 Thread Kevin O'Gorman
LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ %I
%O combinedio
LogFormat %v %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\
%I %O vhostio
/IfModule

# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a VirtualHost
# container, they will be logged here.  Contrariwise, if you *do*
# define per-VirtualHost access logfiles, transactions will be
# logged therein and *not* in this file.
CustomLog /var/log/apache2/access_log common

# If you would like to have agent and referer logfiles,
# uncomment the following directives.
#CustomLog /var/log/apache2/referer_log referer
#CustomLog /var/log/apache2/agent_logs agent

# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#CustomLog /var/log/apache2/access_log combined
/IfModule

# vim: ts=4 filetype=apache

So there should be an access_log, and there is, but it has not been touched
in a while:
treat apache2 # ls -l
total 1584
-rw-rw-rw- 1 apache apache  0 Feb  4 03:10 access_log
-rw-rw-rw- 1 apache apache 191438 Jun 15  2009 access_log.1.gz
-rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz
-rw-rw-rw- 1 apache apache  15152 Jan 18 03:10 access_log-20110118.gz
-rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz
-rw-rw-rw- 1 apache apache  16844 Feb  4 03:10 access_log-20110204.gz
-rw-rw-rw- 1 apache apache 234663 Jun  8  2009 access_log.2.gz
-rw-rw-rw- 1 apache apache 270349 Jun  1  2009 access_log.3.gz
-rw-rw-rw- 1 apache apache 277761 May 25  2009 access_log.4.gz
-rw-rw-rw- 1 apache apache  0 Feb  4 03:10 error_log
-rw-rw-rw- 1 apache apache 117611 Jun 15  2009 error_log.1.gz.out
-rw-rw-rw- 1 apache apache  33793 Dec 26 03:10 error_log-20101226.gz
-rw-rw-rw- 1 apache apache   3729 Jan 18 03:10 error_log-20110118.gz
-rw-rw-rw- 1 apache apache  34184 Jan 25 03:10 error_log-20110125.gz
-rw-rw-rw- 1 apache apache   4350 Feb  4 03:10 error_log-20110204.gz
-rw-rw-rw- 1 apache apache   5706 Jun  8  2009 error_log.2.gz
-rw-rw-rw- 1 apache apache   5628 Jun  1  2009 error_log.3.gz
-rw-rw-rw- 1 apache apache   6344 May 25  2009 error_log.4.gz
-rw-rw-rw- 1 apache apache  0 Feb  6 03:10 ssl_access_log
-rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz
-rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz
-rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz
-rw-rw-rw- 1 apache apache 89 Feb  6 03:10 ssl_access_log-20110206.gz
-rw-rw-rw- 1 apache apache  0 Feb  7 03:10 ssl_error_log
-rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz
-rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz
-rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz
-rw-rw-rw- 1 apache apache203 Feb  7 03:10 ssl_error_log-20110207.gz
-rw-rw-rw- 1 apache apache  0 Feb  6 03:10 ssl_request_log
-rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz
-rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz
-rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz
-rw-rw-rw- 1 apache apache103 Feb  6 03:10 ssl_request_log-20110206.gz
treat apache2 #

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Apache is running but its log is not

2011-05-03 Thread Kevin O'Gorman
On Tue, May 3, 2011 at 8:19 PM, Kevin O'Gorman kogor...@gmail.com wrote:

 On Mon, May 2, 2011 at 8:30 PM, Adam Carter adamcart...@gmail.com wrote:



 Okay, there was already a thread about that, and my Python problem seems
 solved.  I still have no log entries.


 Ok, as root, try lsof | grep apache and see if there are any open log
 files. You may need to emerge lsof first if you dont already have it.

 IIRC apache fails to start if it cant write to the log directory - could
 be wrong on that tho.



 So there should be an access_log, and there is, but it has not been touched
 in a while:
 treat apache2 # ls -l

 total 1584
 -rw-rw-rw- 1 apache apache  0 Feb  4 03:10 access_log
 -rw-rw-rw- 1 apache apache 191438 Jun 15  2009 access_log.1.gz
 -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz
 -rw-rw-rw- 1 apache apache  15152 Jan 18 03:10 access_log-20110118.gz
 -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz
 -rw-rw-rw- 1 apache apache  16844 Feb  4 03:10 access_log-20110204.gz
 -rw-rw-rw- 1 apache apache 234663 Jun  8  2009 access_log.2.gz
 -rw-rw-rw- 1 apache apache 270349 Jun  1  2009 access_log.3.gz
 -rw-rw-rw- 1 apache apache 277761 May 25  2009 access_log.4.gz
 -rw-rw-rw- 1 apache apache  0 Feb  4 03:10 error_log
 -rw-rw-rw- 1 apache apache 117611 Jun 15  2009 error_log.1.gz.out
 -rw-rw-rw- 1 apache apache  33793 Dec 26 03:10 error_log-20101226.gz
 -rw-rw-rw- 1 apache apache   3729 Jan 18 03:10 error_log-20110118.gz
 -rw-rw-rw- 1 apache apache  34184 Jan 25 03:10 error_log-20110125.gz
 -rw-rw-rw- 1 apache apache   4350 Feb  4 03:10 error_log-20110204.gz
 -rw-rw-rw- 1 apache apache   5706 Jun  8  2009 error_log.2.gz
 -rw-rw-rw- 1 apache apache   5628 Jun  1  2009 error_log.3.gz
 -rw-rw-rw- 1 apache apache   6344 May 25  2009 error_log.4.gz
 -rw-rw-rw- 1 apache apache  0 Feb  6 03:10 ssl_access_log
 -rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz
 -rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz
 -rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz
 -rw-rw-rw- 1 apache apache 89 Feb  6 03:10 ssl_access_log-20110206.gz
 -rw-rw-rw- 1 apache apache  0 Feb  7 03:10 ssl_error_log
 -rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz
 -rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz
 -rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz
 -rw-rw-rw- 1 apache apache203 Feb  7 03:10 ssl_error_log-20110207.gz
 -rw-rw-rw- 1 apache apache  0 Feb  6 03:10 ssl_request_log
 -rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz
 -rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz
 -rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz
 -rw-rw-rw- 1 apache apache103 Feb  6 03:10 ssl_request_log-20110206.gz
 treat apache2 #

 --
 Kevin O'Gorman, PhD


Well, 2.2.17 is indeed my server, but I decided to stop it and start it
again.  Current log files showed up.
Problem solved, by brute force again, and without any epiphanies of
understanding.

Thanks for your help.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Apache is running but its log is not

2011-05-02 Thread Kevin O'Gorman
On Sat, Apr 30, 2011 at 11:37 PM, Adam Carter adamcart...@gmail.com wrote:


 How do I find out where/if Apache thinks its logging things?


 In /etc/apache check httpd.conf and modules.d/00_mod_log_config.conf


in /etc/apache2, I find
   ServerRoot /usr/lib/apache2
but no log files, and no special logfile paths, so it seems it must use the
default.

However in /var/log/apache2 I find log files that have not been touched
since February.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Apache is running but its log is not

2011-05-02 Thread Kevin O'Gorman
On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote:

  I just noticed a failure in a dynamic web page that I haven't touched
  in years.  So I looked in
  /var/log/apache2 and found that no files have been touched since
  February.

 Are permissions correct for the apache user to created and write to
 files? Does syslog show any messages from Apache?

 Permissions are generous:

treat apache2 # ls -lad /var
drwxr-xr-x 17 root root 4096 Apr 30 23:06 /var
treat apache2 # ls -lad /var/log
drwxr-xr-x 17 root root 4096 May  2 03:14 /var/log
treat apache2 # ls -lad /var/log/apache2
drwxrwxrwx 2 apache apache 4096 Apr 30 22:16 /var/log/apache2
treat apache2 # ls -l /var/log/apache2
total 1584
-rw-rw-rw- 1 apache apache  0 Feb  4 03:10 access_log
-rw-rw-rw- 1 apache apache 191438 Jun 15  2009 access_log.1.gz
-rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz
-rw-rw-rw- 1 apache apache  15152 Jan 18 03:10 access_log-20110118.gz
-rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz
-rw-rw-rw- 1 apache apache  16844 Feb  4 03:10 access_log-20110204.gz
-rw-rw-rw- 1 apache apache 234663 Jun  8  2009 access_log.2.gz
-rw-rw-rw- 1 apache apache 270349 Jun  1  2009 access_log.3.gz
-rw-rw-rw- 1 apache apache 277761 May 25  2009 access_log.4.gz
-rw-rw-rw- 1 apache apache  0 Feb  4 03:10 error_log
-rw-rw-rw- 1 apache apache 117611 Jun 15  2009 error_log.1.gz.out
-rw-rw-rw- 1 apache apache  33793 Dec 26 03:10 error_log-20101226.gz
-rw-rw-rw- 1 apache apache   3729 Jan 18 03:10 error_log-20110118.gz
-rw-rw-rw- 1 apache apache  34184 Jan 25 03:10 error_log-20110125.gz
-rw-rw-rw- 1 apache apache   4350 Feb  4 03:10 error_log-20110204.gz
-rw-rw-rw- 1 apache apache   5706 Jun  8  2009 error_log.2.gz
-rw-rw-rw- 1 apache apache   5628 Jun  1  2009 error_log.3.gz
-rw-rw-rw- 1 apache apache   6344 May 25  2009 error_log.4.gz
-rw-rw-rw- 1 apache apache  0 Feb  6 03:10 ssl_access_log
-rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz
-rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz
-rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz
-rw-rw-rw- 1 apache apache 89 Feb  6 03:10 ssl_access_log-20110206.gz
-rw-rw-rw- 1 apache apache  0 Feb  7 03:10 ssl_error_log
-rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz
-rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz
-rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz
-rw-rw-rw- 1 apache apache203 Feb  7 03:10 ssl_error_log-20110207.gz
-rw-rw-rw- 1 apache apache  0 Feb  6 03:10 ssl_request_log
-rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz
-rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz
-rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz
-rw-rw-rw- 1 apache apache103 Feb  6 03:10 ssl_request_log-20110206.gz
treat apache2 #

There is one syslog entry for apache in the last 7 days:
May  1 08:44:13 treat named[5150]: error (unexpected RCODE SERVFAIL)
resolving 'maven.apache.org/A/IN': 199.19.57.1#53

This does not seem to have anything to do with the problem, which is that my
CGI script associated with hex.kosmanor.com/hex/bin/newdump was failing.

In the meanwhile, I'll be opening a different thread because things got lots
worse when I did a --depclean, which deleted the one copy of python that
everything seems to use: my CGI scripts are now the least of my problems.  I
can no longer run portage, vim or even untar my extensive collection of
binary packages.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] emerge stopped working

2011-05-02 Thread Kevin O'Gorman
On Mon, May 2, 2011 at 9:05 AM, Davide Carnovale 
francesco.davide.carnov...@gmail.com wrote:


 2011/5/2 Helmut Jarausch jarau...@igpm.rwth-aachen.de

 On 05/02/2011 05:38:03 PM, Davide Carnovale wrote:
  Hi all!
  i was going through a world update today and during --depclean emerge
  throw
  an error complaining about possible corrupted binaries or hw failure.
  since then it has stopped working, no matter what i try to emerge,
  the
  command simply return to the shell without any kind of error or any
  other
  output at all.
  i fired and usb stick with the gentoo 11 live dvd and i copied over
  both
  bash and emerge binaries to my machine, in case they were corrupted
  (bash
  was given as the most likely) but nothing changed.
  now i simply have no clue on what's wrong and how can i fix it, apart
  from a
  full reinstall, which i'd like to avoid.
 
  can anyone point me somewhere to solve this problem?
 

 emerge needs Python. Have you tried to invoke Python, just by

 python
 import portage
 quit()

 Helmut.

 @alan, no error are printed, where and what should i look for in the logs?

 @helmut python just returns to the console, without error or effect of any
 sort, does it means python has get unmerged and that's why emerge doesn't
 work anymore?


I have the same problem.  I just did a --depclean, and find that 'vim'
cannot run:

treat log # vim
vim: error while loading shared libraries: libpython2.6.so.1.0: cannot open
shared object file: No such file or directory
treat log #

So I have to fall back on pico, which I only barely know how to use.

I have quite a collection of binary packages (everything emerged in the last
few years), but even untarring them fails (just wedges with no message, and
even strace(1) is not helping me find this.)

I can unpack on a different machine, but will that even help?

BTW, it's not that I don't have python, it's just that version 2.6.6 got
unloaded somehow:
[I] dev-lang/python
 Available versions:
(2.4)   2.4.6{tbz2}
(2.5)   2.5.4-r4{tbz2}
(2.6)   2.6.5-r3{tbz2} 2.6.6-r1{tbz2} 2.6.6-r2{tbz2}
(2.7)   2.7.1-r1{tbz2}
(3.1)   3.1.2-r4{tbz2} 3.1.3-r1{tbz2}
(3.2)   [M]~3.2
{-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6
+ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml}
 Installed versions:  reformatted for clarity
  2.4.6(2.4){tbz2}(11:05:11 PM 02/19/2011)(cxx gdbm ipv6 ncurses
readline ssl threads tk wide-unicode xml -berkdb -bootstrap -build -doc
-elibc_uclibc -examples -wininst)
  2.5.4-r4(2.5){tbz2}(11:16:07 PM 02/19/2011)(gdbm ipv6 ncurses
readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc
-examples -sqlite -wininst)
  2.7.1-r1(2.7){tbz2}(06:11:36 PM 04/21/2011)(gdbm ipv6 ncurses
readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc
-examples -sqlite -wininst)
  3.1.3-r1(3.1){tbz2}(02:31:33 PM 02/26/2011)(gdbm ipv6 ncurses
readline ssl threads tk wide-unicode xml -build -doc -elibc_uclibc -examples
-sqlite -wininst)
 Homepage:http://www.python.org/

I'm right now trying to see if eselect python set 3 will let emerge, vim
and tar run again.  3 is version 2.7.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] emerge stopped working

2011-05-02 Thread Kevin O'Gorman
On Mon, May 2, 2011 at 9:54 AM, Kevin O'Gorman kogor...@gmail.com wrote:



 On Mon, May 2, 2011 at 9:05 AM, Davide Carnovale 
 francesco.davide.carnov...@gmail.com wrote:


 2011/5/2 Helmut Jarausch jarau...@igpm.rwth-aachen.de

 On 05/02/2011 05:38:03 PM, Davide Carnovale wrote:
  Hi all!
  i was going through a world update today and during --depclean emerge
  throw
  an error complaining about possible corrupted binaries or hw failure.
  since then it has stopped working, no matter what i try to emerge,
  the
  command simply return to the shell without any kind of error or any
  other
  output at all.
  i fired and usb stick with the gentoo 11 live dvd and i copied over
  both
  bash and emerge binaries to my machine, in case they were corrupted
  (bash
  was given as the most likely) but nothing changed.
  now i simply have no clue on what's wrong and how can i fix it, apart
  from a
  full reinstall, which i'd like to avoid.
 
  can anyone point me somewhere to solve this problem?
 

 emerge needs Python. Have you tried to invoke Python, just by

 python
 import portage
 quit()

 Helmut.

 @alan, no error are printed, where and what should i look for in the
 logs?

 @helmut python just returns to the console, without error or effect of any
 sort, does it means python has get unmerged and that's why emerge doesn't
 work anymore?


 I have the same problem.  I just did a --depclean, and find that 'vim'
 cannot run:

 treat log # vim
 vim: error while loading shared libraries: libpython2.6.so.1.0: cannot open
 shared object file: No such file or directory
 treat log #

 So I have to fall back on pico, which I only barely know how to use.

 I have quite a collection of binary packages (everything emerged in the
 last few years), but even untarring them fails (just wedges with no message,
 and even strace(1) is not helping me find this.)

 I can unpack on a different machine, but will that even help?

 BTW, it's not that I don't have python, it's just that version 2.6.6 got
 unloaded somehow:
 [I] dev-lang/python
  Available versions:
 (2.4)   2.4.6{tbz2}
 (2.5)   2.5.4-r4{tbz2}
 (2.6)   2.6.5-r3{tbz2} 2.6.6-r1{tbz2} 2.6.6-r2{tbz2}
 (2.7)   2.7.1-r1{tbz2}
 (3.1)   3.1.2-r4{tbz2} 3.1.3-r1{tbz2}
 (3.2)   [M]~3.2
 {-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6
 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml}
  Installed versions:  reformatted for clarity
   2.4.6(2.4){tbz2}(11:05:11 PM 02/19/2011)(cxx gdbm ipv6 ncurses
 readline ssl threads tk wide-unicode xml -berkdb -bootstrap -build -doc
 -elibc_uclibc -examples -wininst)
   2.5.4-r4(2.5){tbz2}(11:16:07 PM 02/19/2011)(gdbm ipv6 ncurses
 readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc
 -examples -sqlite -wininst)
   2.7.1-r1(2.7){tbz2}(06:11:36 PM 04/21/2011)(gdbm ipv6 ncurses
 readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc
 -examples -sqlite -wininst)
   3.1.3-r1(3.1){tbz2}(02:31:33 PM 02/26/2011)(gdbm ipv6 ncurses
 readline ssl threads tk wide-unicode xml -build -doc -elibc_uclibc -examples
 -sqlite -wininst)
  Homepage:http://www.python.org/

 I'm right now trying to see if eselect python set 3 will let emerge, vim
 and tar run again.  3 is version 2.7.

 --
 Kevin O'Gorman, PhD


ANSWER: yes it did.  At least emerge and vim are working again.  I'm also
doing all of my usual post-emerge cleanups just in case:
#!/bin/bash

echo ' !!! Running dispatch-conf'
dispatch-conf
echo ' !!! Running revdep-rebuild --ignore'
revdep-rebuild --ignore
echo ' !!! Running lafilefixer --justfixit'
lafilefixer --justfixit | fgrep -v 'skipping update'
echo ' !!! Running perl-cleaner all'
perl-cleaner all | fgrep -v 'Skipping directory'
I'm hoping you also have an extra copy of python around, so you can do the
same thing.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] emerge stopped working

2011-05-02 Thread Kevin O'Gorman
On Mon, May 2, 2011 at 10:10 AM, Mick michaelkintz...@gmail.com wrote:


 I'll guess, since everybody else is, that you updated python to 2.7, then
 did
 *NOT* run python-update, did not use eselect to change to 2.7, but *DID*
 run
 emerge --depclean which removed dev-lang/python-2.6.6-r2.

 that would be python-updater.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Apache is running but its log is not

2011-05-02 Thread Kevin O'Gorman
On Mon, May 2, 2011 at 9:36 AM, Kevin O'Gorman kogor...@gmail.com wrote:



 On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote:

  I just noticed a failure in a dynamic web page that I haven't touched
  in years.  So I looked in
  /var/log/apache2 and found that no files have been touched since
  February.

 Are permissions correct for the apache user to created and write to
 files? Does syslog show any messages from Apache?

 Permissions are generous:

 treat apache2 # ls -lad /var
 drwxr-xr-x 17 root root 4096 Apr 30 23:06 /var
 treat apache2 # ls -lad /var/log
 drwxr-xr-x 17 root root 4096 May  2 03:14 /var/log
 treat apache2 # ls -lad /var/log/apache2
 drwxrwxrwx 2 apache apache 4096 Apr 30 22:16 /var/log/apache2
 treat apache2 # ls -l /var/log/apache2
 total 1584
 -rw-rw-rw- 1 apache apache  0 Feb  4 03:10 access_log
 -rw-rw-rw- 1 apache apache 191438 Jun 15  2009 access_log.1.gz
 -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz
 -rw-rw-rw- 1 apache apache  15152 Jan 18 03:10 access_log-20110118.gz
 -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz
 -rw-rw-rw- 1 apache apache  16844 Feb  4 03:10 access_log-20110204.gz
 -rw-rw-rw- 1 apache apache 234663 Jun  8  2009 access_log.2.gz
 -rw-rw-rw- 1 apache apache 270349 Jun  1  2009 access_log.3.gz
 -rw-rw-rw- 1 apache apache 277761 May 25  2009 access_log.4.gz
 -rw-rw-rw- 1 apache apache  0 Feb  4 03:10 error_log
 -rw-rw-rw- 1 apache apache 117611 Jun 15  2009 error_log.1.gz.out
 -rw-rw-rw- 1 apache apache  33793 Dec 26 03:10 error_log-20101226.gz
 -rw-rw-rw- 1 apache apache   3729 Jan 18 03:10 error_log-20110118.gz
 -rw-rw-rw- 1 apache apache  34184 Jan 25 03:10 error_log-20110125.gz
 -rw-rw-rw- 1 apache apache   4350 Feb  4 03:10 error_log-20110204.gz
 -rw-rw-rw- 1 apache apache   5706 Jun  8  2009 error_log.2.gz
 -rw-rw-rw- 1 apache apache   5628 Jun  1  2009 error_log.3.gz
 -rw-rw-rw- 1 apache apache   6344 May 25  2009 error_log.4.gz
 -rw-rw-rw- 1 apache apache  0 Feb  6 03:10 ssl_access_log
 -rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz
 -rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz
 -rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz
 -rw-rw-rw- 1 apache apache 89 Feb  6 03:10 ssl_access_log-20110206.gz
 -rw-rw-rw- 1 apache apache  0 Feb  7 03:10 ssl_error_log
 -rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz
 -rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz
 -rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz
 -rw-rw-rw- 1 apache apache203 Feb  7 03:10 ssl_error_log-20110207.gz
 -rw-rw-rw- 1 apache apache  0 Feb  6 03:10 ssl_request_log
 -rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz
 -rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz
 -rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz
 -rw-rw-rw- 1 apache apache103 Feb  6 03:10 ssl_request_log-20110206.gz
 treat apache2 #

 There is one syslog entry for apache in the last 7 days:
 May  1 08:44:13 treat named[5150]: error (unexpected RCODE SERVFAIL)
 resolving 'maven.apache.org/A/IN': 199.19.57.1#53

 This does not seem to have anything to do with the problem, which is that
 my CGI script associated with hex.kosmanor.com/hex/bin/newdump was
 failing.

 In the meanwhile, I'll be opening a different thread because things got
 lots worse when I did a --depclean, which deleted the one copy of python
 that everything seems to use: my CGI scripts are now the least of my
 problems.  I can no longer run portage, vim or even untar my extensive
 collection of binary packages.

 --
 Kevin O'Gorman, PhD

 Okay, there was already a thread about that, and my Python problem seems
solved.  I still have no log entries.


-- 
Kevin O'Gorman, PhD


[gentoo-user] Apache is running but its log is not

2011-05-01 Thread Kevin O'Gorman
I just noticed a failure in a dynamic web page that I haven't touched
in years.  So I looked in
/var/log/apache2 and found that no files have been touched since
February.  I've rebooted
and kept the system current by regular emerges, so it's been
restarted, but until now I did
not notice a failure (it's a feature not commonly used).  I want to
find out the exact error
from my CGI program (the web error says the system logs will have more
info but they don't).

How do I find out where/if Apache thinks its logging things?

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] Re: revdep-rebuild Not Fixing Broken Links

2011-04-08 Thread Kevin O'Gorman
On Thu, Apr 7, 2011 at 10:38 AM, Brennan Shacklett
bp.shackl...@gmail.comwrote:

  I think that package is there, but I'll check this weekend.  I didn't
 feel like carrying my laptop today.
  It would be nice if I just had to install it, but I would think
 revdep-rebuild should pull it in . . . or doesn't revdep-rebuild work that
 way?

 revdep-rebuild will only rebuild the package with the broken link. It won't
 pull in anything (unless the ebuild pulls something else in), so
 revdep-rebuild can't fix an issue that needs another package that the ebuild
 doesn't depend on.

 --Brennan Shacklett


Moreover, you may want to run emerge -a --depclean, which just might
flush the package(s) with broken links.

I run that manually once in a while, but regularly clean a bunch of other
things with a script I call cleanup,
-#!/bin/bash
-dispatch-conf
-revdep-rebuild
-lafilefixer --justfixit
-perl-cleaner all
-locale-gen --keep --quiet

You have to be prepared to respond to dispatch-conf, but the others run to
completion by themselves.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-31 Thread Kevin Coetzee
HP Probook 4710s just works.

x86_64
Chicony Electronics Co., Ltd (webcam)
Intel Corporation 82801I (ICH9 Family) HD Audio Controller
ATI Technologies Inc M92 LP [Mobility Radeon HD 4300 Series]
(x11-drivers/radeon-ucode and x11-drivers/xf86-video-ati)
Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
Ethernet controller: Marvell Technology Group Ltd. Device 436c

On Thu, Mar 31, 2011 at 6:12 AM, kelly hirai kg...@fsu.edu wrote:

  thinkpad edge i5, intel  gpu. x86_64 all good.


 On 03/30/11 14:31, Robin Atwood wrote:

 I am in the market for a new laptop and would be interested if anyone else
 on the list had recently bought a laptop in which all the hardware worked
 out of the box with Linux. I am most concerned about WiFi/audio/webcam, the
 finer points of hibernation are of lesser concern. Currently I have a Linux
 Certified machine but I want to avoid shipping costs to the UK.



  TIA

 -Robin

 --

 --

 Robin Atwood.



  Ship me somewheres east of Suez, where the best is like the worst,

 Where there ain't no Ten Commandments an' a man can raise a thirst

 from Mandalay by Rudyard Kipling

 --



















  --

 --

 Robin Atwood.

 Ship me somewheres east of Suez, where the best is like the worst,

 Where there ain't no Ten Commandments an' a man can raise a thirst

 from Mandalay by Rudyard Kipling

 --





-- 
Kevin Coetzee


Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-31 Thread Kevin O'Gorman
On Wed, Mar 30, 2011 at 11:31 AM, Robin Atwood
robin.atw...@attglobal.netwrote:

  I am in the market for a new laptop and would be interested if anyone
 else on the list had recently bought a laptop in which all the hardware
 worked out of the box with Linux. I am most concerned about
 WiFi/audio/webcam, the finer points of hibernation are of lesser concern.
 Currently I have a Linux Certified machine but I want to avoid shipping
 costs to the UK.



 TIA

 -Robin


I bought a Gateway NV55C late last year, and Ubuntu went on without a hitch:
sound, movies, webcam, wifi, ethernet, second monitor and all.

The only thing to dislike is that the machine does not have an indicator LED
for caps lock -- on Win 7 it uses an on-screen icon each time the status
changes.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] LXDE

2011-03-05 Thread Kevin McCarthy
On Sat, Mar 05, 2011 at 02:51:54PM -0500, dhk wrote:
 On 03/03/2011 10:25 PM, daid kahl wrote:
 
 I installed xdm and slim, but strange things happen with that.  When I
 run /etc/xinit.d/xdm start the slim login appears, but the right half of
 my keyboard doesn't work right.  For example when I press the k key a
 2 is printed.  Very strange.
 

I bet you are on a laptop that doesn't have a dedicated number pad. If
you look, you will see that JKL are also 123 when the numlock is on.
SLiM's default setting is to turn the numlock on when it starts. 

You can turn this off  with the numlock setting in /etc/slim.conf. 

-- 
Kevin McCarthy sign...@gentoo.org


pgpOlnpakqut4.pgp
Description: PGP signature


[gentoo-user] Re: Any small and fast desktop search app for GNOME?

2011-03-01 Thread Kevin McCarthy
On Tue, Mar 01, 2011 at 02:14:04PM +0800, Thomas Yao wrote:
 I dislike gnome-do and I use synapse on ubuntu with another PC
 So I'm wondering is there any other good desktop search applications?
 Or how can I install synapse on gentoo?
 Thank you!

I've just committed gnome-extra/synapse to the testing tree in portage.
I've also added all of the zeitgeist-related packages to support it. If
you are running ~arch, it should just be a matter of emerge -av
synapse. If you are on a stable arch, you will have to unmask it first.

There is an optional package called zeitgeist-datahub that you may
want to emerge too. While optional, it should give zeitgeist more data
to work with, so you may want to emerge -av zeitgeist-datahub too.

Please open a bug at bugs.gentoo.org if you have any issues with it.

Enjoy.

-- 
Kevin McCarthy sign...@gentoo.org


pgpl7JIxMX24w.pgp
Description: PGP signature


Re: [gentoo-user] Puzzled about --depclean

2010-12-23 Thread Kevin O'Gorman
On Wed, Dec 22, 2010 at 9:04 AM, Mark Knecht markkne...@gmail.com wrote:

 On Wed, Dec 22, 2010 at 8:36 AM, Kevin O'Gorman kogor...@gmail.com
 wrote:
  I just ran emerge -p --depclean and the only thing it wants to remove
 is
  gentoo-sources-2.6.35-r12.  So my system's pretty clean, but I'm quite
  puzzled with this result.
 
  I have 5 versions of gentoo-sources installed, and the one it wants to
 ditch
  is the one I'm actually using.  I can understand why it wouldn't care
 about
  that, but why not:
 2.6.31-r10 which is no longer in the tree
 any of the others, which are marked in exactly the same way as the
victim it picked?  Some are older, and some are newer than this
victim.  What gives?
 
  I'm just wondering about how --depclean picked on this one of the five?


 Look in /var/lib/portage/world and see if you are protecting the
 versions you think it should be cleaning but it isn't.

 Hope this helps,
 Mark

 I looked there, and there's
  sys-kernel/gentoo-sources
so I would expect them all to be protected.  Why the exception?

++ kevin


-- 
Kevin O'Gorman, PhD


[gentoo-user] Persistent hal

2010-12-22 Thread Kevin O'Gorman
I don't really want it, but my system still has hal installed.
According to equery depends, it seems that there are still two packages that
unconditionally
depend on hal (besides hal-info): k3b and gnome-mount.

I don't care much about gnome-mount (this is primarily a KDE system), but I
definitely use
K3B a lot.

I don't see any use flags to change with respect to k3b, so I'm feeling I''m
missing something.

Help?

++ kevin


Re: [gentoo-user] Persistent hal

2010-12-22 Thread Kevin O'Gorman
On Wed, Dec 22, 2010 at 7:33 AM, Mark Knecht markkne...@gmail.com wrote:

  On Wed, Dec 22, 2010 at 7:26 AM, Kevin O'Gorman kogor...@gmail.com
 wrote:
  I don't really want it, but my system still has hal installed.
  According to equery depends, it seems that there are still two packages
 that
  unconditionally
  depend on hal (besides hal-info): k3b and gnome-mount.
 
  I don't care much about gnome-mount (this is primarily a KDE system), but
 I
  definitely use
  K3B a lot.
 
  I don't see any use flags to change with respect to k3b, so I'm feeling
 I''m
  missing something.
 
  Help?

 You are not as far as I can tell. I was looking at that yesterday. Saw
 the same thing.

That's pretty strange.  I loked further, and found that --depclean wanted to
ditch the gnome-mounter,
which I promptly unmerged myself, so K3B is the only thing left that wants
hal.  Of course, I'm
sticking with x86 stable, which means hal-2.0.0.  Maybe the ~x86 version in
there fixes this?

-- 
Kevin O'Gorman, PhD


[gentoo-user] Puzzled about --depclean

2010-12-22 Thread Kevin O'Gorman
I just ran emerge -p --depclean and the only thing it wants to remove is
gentoo-sources-2.6.35-r12.  So my system's pretty clean, but I'm quite
puzzled with this result.

I have 5 versions of gentoo-sources installed, and the one it wants to ditch
is the one I'm actually using.  I can understand why it wouldn't care about
that, but why not:
   2.6.31-r10 which is no longer in the tree
   any of the others, which are marked in exactly the same way as the
  victim it picked?  Some are older, and some are newer than this
  victim.  What gives?

I'm just wondering about how --depclean picked on this one of the five?

-- 
Kevin O'Gorman, PhD


[gentoo-user] Eeek: many open ports

2010-12-13 Thread Kevin O'Gorman
Eeek!!

Just fooling around with some software on my laptop, I found that my Gentoo
desktop has an even dozen open inet ports with something listening to them,
in addition to the ones I would expect (25, 80 and so on).
They are all in the range 32768-6.

Netstat agrees that they're open but does not disclose which process is
listening.

Does anybody know how to find this out?

++ kevin

-- 
Kevin O'Gorman, PhD


[gentoo-user] Re: Eeek: many open ports

2010-12-13 Thread Kevin O'Gorman
On Mon, Dec 13, 2010 at 1:08 PM, Kevin O'Gorman kogor...@gmail.com wrote:

 Eeek!!

 Just fooling around with some software on my laptop, I found that my Gentoo
 desktop has an even dozen open inet ports with something listening to them,
 in addition to the ones I would expect (25, 80 and so on).
 They are all in the range 32768-6.

 Netstat agrees that they're open but does not disclose which process is
 listening.

 Does anybody know how to find this out?


I should add that they all disappear when I log off, and are not seen when I
log in as root, nor when I log in remotely.  These could
(I hope so) be things that KDE is starting, but it seems like an awful lot
of listening ports.  I have about 125 processes just for starting KDE, few
of which I understand, so I could use some help narrowing this down.

++ kevin
-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Eeek: many open ports

2010-12-13 Thread Kevin O'Gorman
On Mon, Dec 13, 2010 at 1:18 PM, pk pete...@coolmail.se wrote:

 On 2010-12-13 22:08, Kevin O'Gorman wrote:

  Netstat agrees that they're open but does not disclose which process is
  listening.
 
  Does anybody know how to find this out?

 netstat only lists listening processes when you're root...

 Not for me, it doesn't.  It lists processes for unix-domain sockets whether
I'm root or not, but does not show them for inet-domain at all.

I'm using netstat -l or netstat -ln.  Is there some other option I need?
 I didn't see one.

++ kevin


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Kevin O'Gorman
On Wed, Dec 8, 2010 at 8:28 AM, Stroller strol...@stellar.eclipse.co.ukwrote:


 On 8/12/2010, at 4:11pm, Albert Hopkins wrote:
  ...
  I have a script I used to locate redudancies in the world file.  It
  requires gentoolkit.  It basically looks at packages in world that have
  reverse dependencies also in world (but only goes one level deep).  Just
 
  # auditworld  /var/lib/portage/world
 
  http://paste.pocoo.org/show/302273/

 I think this only works on ~ARCH, right?

 On x86 I get:

 Traceback (most recent call last):
  File ./auditworld, line 20, in module
import gentoolkit.sets
 ImportError: No module named set


Are you sure it's even it gentoolkit?  I have that but no auditworld on x86.
It's not in gentoolkit-dev either.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] time for an emerge -e world?

2010-11-24 Thread Kevin O'Gorman
On Fri, Nov 19, 2010 at 12:17 PM, Alan McKinnon alan.mckin...@gmail.comwrote:

 Apparently, though unproven, at 20:54 on Friday 19 November 2010, Allan
 Gottlieb did opine thusly:

  It seems, however, that you're still going down the path of emerge
  
   -e @world. Why is that? If it's just to be confident that everything
   is back to the way it should be then I understand that. I've done it
   myself many times in the last 12 years.
 
  Yes that is the reason.


 Sounds like the big guns approach, can be valid at times.

 I'm usually the first one to chip in about emerge -e world being stupid
 when
 someone reads the gcc upgrade guide, but sometimes you have a box that just
 will not fix itself despite hours of troubleshooting. In a case like this a
 full remerge often fixes mysterious but actual real problems.


I've had pretty much the same thing happen.  In my case, 'eix' showed that I
had 0.9.8p and 1.0.0 installed
in two different slots.   However the 3 files that belong to 0.9.8 were
missing.  Fortunately, I run with --buildpkg
so I had a binary package lying around.  Emerging it with -gK restored the
files, and everything was okay.

OTOH, a couple of years ago I did an emerge -e and regretted it.  It kept
stopping because something wasn't
configured right, and I had to go through dispatch-conf on everything up to
that point before I could get it to
proceed.  Good luck with your few days.  Mine was more like 2 weeks of
stop-and-go.

--
Kevin O'Gorman, PhD


Re: [gentoo-user] Postfix broken

2010-11-19 Thread Kevin O'Gorman
On Mon, Nov 15, 2010 at 2:47 PM, kashani kashani-l...@badapple.net wrote:

 On 11/15/2010 8:37 AM, Kevin O'Gorman wrote:

 Color me stupid.  It was stopped.  It started when I told it to in
 /etc/init.d.
 Now I have to wonder what stopped it.  Judging from the mail that got
 through all of a sudden, I guess it stopped
 about 2 weeks ago.  I'll have to watch this...


IIRC updates of the Postfix package that could in result in data
 loss of queued mail will shutdown Postfix before preceding. Looks like
 Postfix 2.7.1 hit on Nov 4 and 2.6.7 has been in the system since June. I'd
 bet you ran the update, Postfix shutdown for safety, and you missed the
 screen output about restarting it.

 kashani

 That's probably right.  Emerges that take days have trained me to not to
watch them happen.  I read the latest elog of all packages once a month,
some send me mail; but if Postfix shut down before delivery, I would not get
it at all.  I use elogviewer once a month, so I'll probably see it in a
couple of weeks.

It's nice to know what happened.  Not much mail actually goes through this
system, so while this has
been something of a puzzle, no major harm was done.  It's nice to have the
explanation.

Thanks.

++ kevin


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Postfix broken

2010-11-15 Thread Kevin O'Gorman
On Sun, Nov 14, 2010 at 1:18 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Sat, 13 Nov 2010 21:57:42 -0800, Kevin O'Gorman wrote:

  I don't even know where to start on this.

 I'd start by looking at the logs, I think Postfix logs to syslog by
 default. The first question is is it even starting?


Color me stupid.  It was stopped.  It started when I told it to in
/etc/init.d.
Now I have to wonder what stopped it.  Judging from the mail that got
through all of a sudden, I guess it stopped
about 2 weeks ago.  I'll have to watch this...

Thanks.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Postfix broken

2010-11-14 Thread Kevin O'Gorman
On Sun, Nov 14, 2010 at 7:35 AM, Willie Wong ww...@math.princeton.eduwrote:

 On Sat, Nov 13, 2010 at 09:57:42PM -0800, Kevin O'Gorman wrote:
  Some time ago, it appears, postfix stopped working for me.  I am no
 longer
  able
  to use it to send mail (usually to my ISP, where it gets routed).
 

 Do you actually need a full blown mail server? If you just relay your
 mail to your ISP, then you may be able to simplify your life using
 something like nbsmtp.

 I used to take mail locally, via sendmail, since I stopped using uucp
around 1987.  When I found out about postfix, it
was good riddance to those re-write rules.  Then I simplified by sending it
all to the ISP so I now have just 3 mail spools:
1) gmail for all my mailing lists because they'll let me spool forever it
seems -- my quota is over 7GB and
I'm using maybe 30% after about 8 years.  This is stuff were privacy doesn't
matter to me.
2) My ISP, because it's more reliable than I can do at home.
3) Work, which I can't avoid.

At home I stuck to Postfix because until now it never gave me a lick of
trouble.  I'm pretty old and no longer
get much joy out of learning yet another tool for its own sake.  It's gotta
be LOTS better than what I have.  In the
last year I've only taken on m4, Fireworks and Dreamweaver.  There are good
enough reasons for each.

If I were a few decades younger, this would have been good advice, so thanks
for the tip.

-- 
Kevin O'Gorman, PhD


[gentoo-user] Postfix broken

2010-11-13 Thread Kevin O'Gorman
Some time ago, it appears, postfix stopped working for me.  I am no longer
able
to use it to send mail (usually to my ISP, where it gets routed).

It used to work fine, and if there was an elog that I needed to follow, I
missed it.

I don't even know where to start on this.  Can anyone give me a shove in the
right direction.  I'm pretty good at this, but I only configured Postfix
once and it
was a long time ago.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Re: world symlinking

2010-11-02 Thread Kevin O'Gorman
On Tue, Nov 2, 2010 at 3:21 PM, Francesco Talamona 
francesco.talam...@know.eu wrote:

 On Tuesday 02 November 2010, Gary Golden wrote:
  Hi, list.
  I keep changes of my /etc with git and I would like to include
  /var/lib/portage/world file into the repository.
 
  Can I safely do:
 
  mv /var/lib/portage/world /etc/portage
  ln -s /etc/portage /var/lib/portage/world
 
  Will portage update handle it properly?
  Using hardlinks seems to be more cleaner way, but for some reason I
  don't want to use it for this task.
 
  Have a nice day! ;)

 Actually it's much easier, I have two machines, both with /etc/world.
 And it's a exact copy of /var/lib/portage/world, something in my
 computers is doing this, and it isn't a (soft|hard)link :)

 sys-apps/portage-2.2_rc67

 HTH
Francesco


I'll look forward to that going stable x86.  Right now that means
sys-apps/portage-2.1.8.3

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Re: Winter clock change did not happen

2010-10-31 Thread Kevin O'Gorman
On Sun, Oct 31, 2010 at 10:24 AM, Mick michaelkintz...@gmail.com wrote:

 On Sunday 31 October 2010 17:03:32 Graham Murray wrote:
  Mick michaelkintz...@gmail.com writes:
   MSWindows changed it to winter time when I eventually booted into it.
   Gentoo wouldn't show the winter time until I had first booted into
   MSWindows.  If the setting CLOCK=local is meant to make Gentoo use
 the
   hardware clock like MSWindows does, why it did not behave the same as
   MSWindows with the DST change?
 
  Gentoo uses the CLOCK= value when it boots. It uses this to determine
  the initial system time. If you set to 'UTC' then the appropriate
  timezone offset will be applied. If it is set to 'LOCAL' then Gentoo
  assumes (and it has to) that the HWClock is set to the correct local
  time, including the correct Daylight Saving correction.
 
  So, if Gentoo was running at the time of the clock change then the
  system time would have changed from Summer to Winter time. However, if
  Gentoo was not running and you booted it this morning then it would,
  legitimately, assume that HW Clock had been set to the correct local
  time prior to it be booted. When you booted into MSWindows, it changed
  the time on the HW Clock to be Winter time (ie it put it back 1 hour),
  so that next time you booted into Gentoo the HW clock was set to the
  correct local time. With CLOCK=LOCAL, when you boot for the first time
  after a Summer/Winter time change, Gentoo has no way to telling whether
  or not something else (eg MSWindows or manually via the BIOS setup) has
  already changed the HW clock to Summer/Winter time.

 Thank you Graham for your very detailed reply!  I understand now why the
 problem exists.  I have used the registry change suggested by Nuno on Win7
 and
 will see what gives next time DST changes.  I just hope that it'll work
 without having *both* OS shifting the clock by one hour ...

 The more I read this page[1] the more I am tempted to format MSWindows out
 of
 this box whether the warranty is still valid or not!

 [1] 
 http://www.cl.cam.ac.uk/~mgk25/mswish/ut-rtc.htmlhttp://www.cl.cam.ac.uk/%7Emgk25/mswish/ut-rtc.html
 --
 Regards,
 Mick


You guys had me scared for a bit.  But I'm in the USA, where the change
happens in
the morning of the first Sunday in November, which will be the 7th.

I can wait.

++ kevin


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Re: X programs as root

2010-10-17 Thread Kevin O'Gorman
On Mon, Oct 4, 2010 at 10:22 PM, Andrey Vul andrey@gmail.com wrote:

 sudoers(5):
 ...
 ## Run X applications through sudo
 Defaults env_keep += DISPLAY HOME
 ...

 sudo visudo; paste; done


Except that in the heavily-commented version of the sudoers file that I
have, the corresponding line does not include the DISPLAY variable, and it
happens to work fine that way.  Try just keeping HOME.



-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Re: X programs as root

2010-10-17 Thread Kevin O'Gorman
On Sun, Oct 17, 2010 at 8:37 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 Apparently, though unproven, at 15:03 on Sunday 17 October 2010, Nikos
 Chantziaras did opine thusly:

  On 10/17/2010 04:00 PM, Nikos Chantziaras wrote:
   On 09/22/2010 09:48 PM, Andrey Vul wrote:
   When I launch X programs via sudo, I get the following:
  
   $sudo gui-admin
   No protocol specified
   gui-admin: cannot connect to X server :0
  
   ( Assume gui-admin is an X program )
  
   But (gk|kde)su(do)? works. This is somewhat confusing.
  
   I just discovered something. Keeping HOME is not really recommended,
   because the programs that run as root will then use your user's
   configuration files and sometimes will set 'root' as their owner. As
 you
   can imagine, this is not a good thing.
  
   It seems what X programs really need is the .Xauthority file of the
   current X session. All you have to do is add this line to your
 ~/.bashrc:
  
   export XAUTHORITY=$HOME/.Xauthority
  
   Then you don't have to configure sudoers to keep the HOME env var.
 
  (I have the tendency to press the Send button too soon...)
 
  Setting XAUTHORITY in the user's .bashrc also means that you don't have
  to modify /etc/sudoers *in any way*, not even DISPLAY needs to be kept.
Setting XAUTHORITY is *all* what is needed.


 I owe you a beer :-)

 One little export and this annoying thingy has now gone away:

 $ sudo vi /etc/fstab
 Password:
 No protocol specified


 You have NO IDEA how long that has annoyed me and how long I've been
 searching
 for a solution. Make that two beers!

 I'm a bit surprised, but this fix actually does work, even without any
special arrangement to
env_keep XAUTHORITY.  But I still don't like it any better than my own
solution

echo -n .mybashrc: 
xhost +r...@localhost

which I place in my .mybashrc, where I keep all of my .bashrc
customizations.  My way, it can
remind me what's going on, and seems more direct.  It also works if I su
to root.  As an old-timer on Unix, I often forget sudo.  I don't like it
much anyway because it won't get me into root if something goes wrong in
bootup: with this in mind, I need a root PW anyway, until that bottleneck
gets fixed.

The above form is actually only used in a debugging mode I've defined, and
is silent otherwise.

++ kevin

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-26 Thread Kevin O'Gorman
On Sat, Sep 25, 2010 at 5:11 PM, Stroller strol...@stellar.eclipse.co.ukwrote:


 On 25 Sep 2010, at 03:17, Kevin O'Gorman wrote:
  ...
   I've heard good things about it, but I'm under the impression it is
 not free (as in beer).  Is that true?
  I don't know but I can emerge -q icc
 
  There is other non-Free software you can install with Portage.
 
  Just yesterday I was looking at games-fps/ut2003 and games-fps/ut2004 -
 I
  believe these require the game's installer CDs to work.
 
  I would imagine that if you were to emerge ICC it would require an
  activation key before it would compile anything, otherwise we'd all be
 using
  it.
 
 
  Wouldn't that be kind of senseless since the source code is distributed?
  Knowing it would not be hard to bypass the activation key, if they wanted
  money for it they wouldn't let the source code out, license or no
 license.

 Just because you can emerge a package doesn't mean the full source is
 distributed. It could be a binary package, it could contain a small binary
 blob for activation.

 Paul Hartman provides more info in his post of 24 September 2010 23:16:30
 GMT+01:00, but I was specifically replying to the assumption or implication
 if it can be emerged it must be free.

 You are right.  Thanks for the clarification.

++ kevin



-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Kevin O'Gorman
On Tue, Sep 21, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.comwrote:

 On 09/22/10 07:31, Peter Humphrey wrote:

 On Monday 20 September 2010 16:38:05 Paul Hartman wrote:

  I haven't had any crashing or failing to start, but Firefox in Linux
 has always been pretty bad in general for me. Slow UI, unusable in NX
 (constant screen redraws; Thunderbird does the same thing), network
 stalling for MINUTES at a time, slow to load, etc. Other browsers on
 the same machine don't suffer any of these problems. I don't use
 Firefox as my primary browser because it is so flaky.


 That's odd, because on this newish i5 box, which is suffering really
 severe responsiveness problems otherwise, FF responds to my commands
 smartly.


 Firefox for windows is compiled with PGO via ICC which apparently improves
 performance quite a bit. I believe there are issues when firefox is compiled
 with GCC via PGO and in any case, there is no support for PGO building of
 Firefox @ gentoo afaik. I wish I had the time and knowledge to whip up an
 ebuild that could do the magic to test it out tho.

 Any takers ? :P

 Uh, what are PGO and ICC??

I also must add that I get decent performance from the fox on Ubuntu let
alone Vista, which makes me take your suggestion about build parameters
seriously.

++ kevin


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Kevin O'Gorman
On Fri, Sep 24, 2010 at 9:51 AM, Bill Longman bill.long...@gmail.comwrote:

  On 09/24/10 09:48, Kevin O'Gorman wrote:

 On Tue, Sep 21, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.comwrote:

  On 09/22/10 07:31, Peter Humphrey wrote:

 On Monday 20 September 2010 16:38:05 Paul Hartman wrote:

  I haven't had any crashing or failing to start, but Firefox in Linux
 has always been pretty bad in general for me. Slow UI, unusable in NX
 (constant screen redraws; Thunderbird does the same thing), network
 stalling for MINUTES at a time, slow to load, etc. Other browsers on
 the same machine don't suffer any of these problems. I don't use
 Firefox as my primary browser because it is so flaky.


 That's odd, because on this newish i5 box, which is suffering really
 severe responsiveness problems otherwise, FF responds to my commands
 smartly.


  Firefox for windows is compiled with PGO via ICC which apparently
 improves performance quite a bit. I believe there are issues when firefox is
 compiled with GCC via PGO and in any case, there is no support for PGO
 building of Firefox @ gentoo afaik. I wish I had the time and knowledge to
 whip up an ebuild that could do the magic to test it out tho.

 Any takers ? :P

  Uh, what are PGO and ICC??

 I also must add that I get decent performance from the fox on Ubuntu let
 alone Vista, which makes me take your suggestion about build parameters
 seriously.

 ICC is the Intel C compiler.


Ahh..   I've heard good things about it, but I'm under the impression it is
not free (as in beer).  Is that true?

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Kevin O'Gorman
On Fri, Sep 24, 2010 at 3:01 PM, Stroller strol...@stellar.eclipse.co.ukwrote:


 On 24 Sep 2010, at 20:15, Bill Longman wrote:
  ...
 
 Uh, what are PGO and ICC??
 
 I also must add that I get decent performance from the fox on
 Ubuntu let alone Vista, which makes me take your suggestion about
 build parameters seriously.
 ICC is the Intel C compiler.
 
  Ahh..   I've heard good things about it, but I'm under the impression
  it is not free (as in beer).  Is that true?
 
  I don't know but I can emerge -q icc

 There is other non-Free software you can install with Portage.

 Just yesterday I was looking at games-fps/ut2003 and games-fps/ut2004 - I
 believe these require the game's installer CDs to work.

 I would imagine that if you were to emerge ICC it would require an
 activation key before it would compile anything, otherwise we'd all be using
 it.

 Stroller.


Wouldn't that be kind of senseless since the source code is distributed?
 Knowing it would not be hard to bypass the activation key, if they wanted
money for it they wouldn't let the source code out, license or no license.

Just my $.02

++ kevin

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-20 Thread Kevin O'Gorman
On Mon, Sep 20, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.comwrote:

  I had this same problem and decided I had bad RAM. Before I could order
 any, I rebuild my system and it happens that I did so with an image that had
 GCC 4.3* rather than 4.4. Funny enough, firefox worked just fine. I did some
 searching and apparently nspr has issues with a certain function enabled in
 -O2 @ gcc 4.4.

 From the following: https://bugzilla.redhat.com/show_bug.cgi?id=487844

 Apparently if you rebuild nspr @ gcc 4.4 with -O2 -fno-strict-aliasing

 I haven't confirmed this, as I haven't had time to jump back to 4.4 but if
 someone can confirm this fixes the issue, I'd certainly be greatful!


I'm still at 4.3.4, and having these problems.  I wouldn't be holding my
breath for a silver bullet.  I'm writing this on chormium, having just given
up on Opera for being slow as FF.  Sigh.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-19 Thread Kevin O'Gorman
On Sun, Sep 19, 2010 at 3:02 AM, András Csányi sayusi.a...@gmail.comwrote:

 On 19 September 2010 10:09, Alan McKinnon alan.mckin...@gmail.com wrote:
  Apparently, though unproven, at 00:28 on Sunday 19 September 2010, András
  Csányi did opine thusly:
 
  On 19 September 2010 00:14, Kevin O'Gorman kogor...@gmail.com wrote:
   Is it just me?  Or does Firefox get slower every release?  And less
   stable.
  
   I got myself up to the latest, and I cannot install my 4 add-ons
 (xmarks,
   AdBlockPlus, Noscript, Stumble-upon) without it crashing.  Seg fault
   sometimes.  I've got ECC memory, and no reported problems, and it does
   not help to clear the profiles (rename ~/.mozilla)  and re-emerge.
   Grr.
 
  Use Chrome/Chromium. At my gentoo the fox won't even start. I don't
  know why, I won't to know why... I'm tired about Firefox. :S
 
 
  If you run Firefox from a terminal, do you get an error about xpcom?
 
  If so, you need revdep-rebuild and possibly re-merge nss.
  It's all in the build elogs.

 Hi Alan,

 I have tried to start from terminal, but no message. I have tried to
 run after revdep-rebuild but nothing. I have installed binary version
 but the result was the same.
 After these I have tried strace and if I remenber correctly it stopped
 with segmentation fault. Unfortunately I can't reproduce this problem
 because few days ago I changed my system from 32 bit to 64 bit. Here
 everything is working fine according firefox.

  I know I should have report it but, that time, I was really tired
 emotionally. :(


Yeah, me too.  I teach at a university and classes start tomorrow. I've had
the fox not starting as someone else did, then on upgrade it was sort of
working, then not.  The last bug I submitted led to the instruction to start
with a clean profile.  Sounds sensible, but that means none of my bookmarks,
ad blocks, noscript, cookies or anything.  I tried it anyway with 3.6.9 and
Xmarks only (really need those bookmarks).  It died before I could get near
to the original problem.  That's when I started this thread.  I've got other
more urgent things to do with my time.

Like my laptop's Ubuntu which suddenly decided it didn't know anything about
its network adapters, and I could not figure out the config tools that seem
to want me to know the MAC address of all that stuff.  No clue, don't know
how to find out, but at least I can back up my home directories.  But I need
this thing for class _tomorrow_ and I've got a lot of stuff to print and get
on the web -- these things have cost me about a week.

I'm writing this on Opera.  I'll try chrome if it's easy to figure out.  I
don't expect to see the fox on gentoo again any time soon.  I'm sad because
I used to like it.  Good luck.

++ kevin

-- 
Kevin O'Gorman, PhD


[gentoo-user] Fire the fox.

2010-09-18 Thread Kevin O'Gorman
Is it just me?  Or does Firefox get slower every release?  And less stable.

I got myself up to the latest, and I cannot install my 4 add-ons (xmarks,
AdBlockPlus, Noscript, Stumble-upon) without it crashing.  Seg fault
sometimes.  I've got ECC memory, and no reported problems, and it does not
help to clear the profiles (rename ~/.mozilla)  and re-emerge.

Grr.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Gentoos community communication rant

2010-09-07 Thread Kevin O'Gorman
On Mon, Sep 6, 2010 at 4:55 PM, Al oss.el...@googlemail.com wrote:

 Jake


[snip]


  Why say that lists are dead early?  This list I find takes a certain
  amount of maintenance to keep up-to-date, otherwise it grows to an
  unmanageable number of e-mails in my Inbox.  If anything, it's too

 Well that is the first advantage of a newsreader. It does not spam
 your mailbox. You select yourself what you want to read by the header.
 The other contents are never delivered to you, eat up neither traffic
 nor space. People don't really need to complain of to much traffic.


[SNIP SNIP]


 Al


You get the same advantage with some email accounts, if you use them
right.  For instance, this account on gmail is used for mailing lists only.
Because it's gmail I can use filters to attach labels naming the list it
comes from.  Any spam that gets through will be in the minority that
do not have a label attached, and I can ditch them forthwith.

Because it's gmail, I have a private archive of all of my mailing lists
going back to 2004, and I'm only using 35% of my (constantly increasing)
7.8GB allocation.  If I want, I can search on this stuff without getting
false positives
from lists I don't subscribe to.

I can also filter some mailgroups to go directly to the archive, so they
only
speak when spoken to.

I use my ISP for personal mail, and a work account for work.

My point: it's easier and more pleasant to find the right tool for the job,
rather than complain about what anyone else is doing.  For me, case
closed and I can go back to doing what I want.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Gentoos community communication rant

2010-09-07 Thread Kevin O'Gorman
On Tue, Sep 7, 2010 at 8:05 AM, Peter Humphrey pe...@humphrey.ukfsn.orgwrote:

 On Tuesday 07 September 2010 01:36:28 David W Noon wrote:

  Moreover, keeping this as a subscription-only mailing list keeps the
  spam count down.

 An equally important factor is prohibiting subscriptions from
 dynamically allocated IP addresses. This has caused me to spend money on
 a fixed address.

 --
 Rgds
 Peter.  Linux Counter 5290, 1994-04-23.

 Really?  I pay because I have a use for a fixed IP, but if the above is
your only
reason, there are free email accounts to be had that can forward to wherever
you
like.  I yet another gmail account like that for some specific sensitive
traffic that I
want semi-anonymous.  I'm sure there are other free accounts that can do the
same.

Save your money for the things you really need.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Output of emerge -NDpvu world

2010-09-03 Thread Kevin O'Gorman
On Wed, Sep 1, 2010 at 4:14 PM, Peter Humphrey pe...@humphrey.ukfsn.orgwrote:

 On Wednesday 01 September 2010 23:39:25 Dale wrote:

  Hmmm, whatever you set it to, you will be a few lines short.  The
  error will always be just above what you can scroll back to.  lol

 So you've noticed that too, eh?


Of course I've noticed it, how could I not?  (Murphy's law has *so* many
corollaries.)

When I really want it, for any given command, I use bash with
 command 21 | tee /tmp/junk
and this suppresses most color-coding so I can view the results with simple
tools.

It helps to have a really big /tmp (mine has 19GB free at the moment), and
to keep
using the same name in case you forget to delete the (possibly huge) file.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Output of emerge -NDpvu world

2010-09-01 Thread Kevin O'Gorman
On Mon, Aug 30, 2010 at 9:18 AM, econti contiemi...@alice.it wrote:

 Hi all
 is it possible to page the output of emerge -NDpvu world in a terminal?
 'emerge -NDpvu world | more' does not work.

 emilio

 You can run it under script and it recrods everything to a file, and look
at the file however you like.

If using less(1) or more(1), I would do it this way
   emerge -NDpvu world 21 | less
under the bash shell.

There are a lot of advantages to less, but perhaps the most important is
that you can scroll backwards if you've gone too far -- you don't have to
start over.

-- 
Kevin O'Gorman, PhD


<    1   2   3   4   5   6   7   8   9   >