Re: [gentoo-user] Several KDE packages don't compile.

2012-01-05 Thread Todd Goodman
* Dale  [120104 20:46]:
> Howdy,
> 
[..]
> This is one of the errors:
> 
> [ 51%] Building CXX object 
> kscreensaver/kdesavers/CMakeFiles/kvm.kss.dir/kvm.o
> Building CXX object 
> kscreensaver/kdesavers/CMakeFiles/krotation.kss.dir/rotation.o
> Linking CXX executable klorenz.kss
> Linking CXX executable kpolygon.kss
> Linking CXX executable kblob.kss
> Linking CXX executable kclock.kss
> [ 52%] Building C object kscreensaver/kdesavers/CMakeFiles/kvm.kss.dir/vm.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>  
> cannot find -lKDE4Workspace__kscreensaver
> collect2: ld returned 1 exit status
 [..]

Did you try a rebuild with -j1 or an emerge of just that ebuild?

Todd



Re: [gentoo-user] gcc-4.5.3-r1 fails to compile with "internal compiler error"

2012-01-31 Thread Todd Goodman
* Grant  [120131 14:26]:
> I can't seem to get gcc-4.5.3-r1 to compile.  I tried twice and it
> failed at the exact same point both times.  The build log doesn't
> mention a segfault.  Does anyone know how to fix this?  I was able to
> compile gcc-4.3.3 a short while ago.
> 
> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:
> In function 'internal_dfa_insn_code':
> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:360:1:
> internal compiler error: Aborted
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See  for instructions.
> make[3]: *** [insn-attrtab.o] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/gcc'
> make[2]: *** [all-stage2-gcc] Error 2
> make[2]: Leaving directory 
> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
> make[1]: *** [stage2-bubble] Error 2
> make[1]: Leaving directory 
> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
> make: *** [bootstrap-lean] Error 2
> emake failed
> 
> - Grant

Did you check the log for OOM (Out of Memory) problems?

I've had problems building gcc  on a machine with limited RAM when my swap
hasn't been enabled.

Todd



Re: [gentoo-user] Re: Recommended VPN Tunnel client?

2012-02-10 Thread Todd Goodman
* Michael Mol  [120210 12:51]:
[..]
> That's what I was talking about. Where I work, we use OpenVPN,
> operating in UDP mode. This is after several bad experiences using it
> in TCP mode.
> 
> By "UDP mode" and "TCP mode", I mean OpenVPN's connections to other
> OpenVPN nodes were in UDP or TCP, respectively. When OpenVPN's
> connections operate over TCP (and thus it gets guarantee'd delivery),
> you can create a situation where a tunneled TCP connection attempts to
> push data faster than your Internet connection can allow because it
> never gets any congestion feedback; OpenVPN was accepting packets
> faster than it could shove them through, and was buffering the rest.

So obviously OpenVPN wasn't handling congestion appropriately and should
have been using some queueing discipline to discard instead of letting
transmit queues grow unbounded.

But switching to UDP from TCP just pushes the problem off your OpenVPN
gateway and onto the "outside" network.

If you're really receiving more traffic than can be sent over the
"outside" network, now you're relying on intermediate routers to "do the
right thing" with your excess UDP traffic and most likely impacting TCP
traffic through the same router.

Todd



Re: [gentoo-user] Re: Recommended VPN Tunnel client?

2012-02-10 Thread Todd Goodman
* Michael Mol  [120210 13:36]:
> On Fri, Feb 10, 2012 at 1:22 PM, Todd Goodman  wrote:
> > * Michael Mol  [120210 12:51]:
> > [..]
> >> That's what I was talking about. Where I work, we use OpenVPN,
> >> operating in UDP mode. This is after several bad experiences using it
> >> in TCP mode.
> >>
> >> By "UDP mode" and "TCP mode", I mean OpenVPN's connections to other
> >> OpenVPN nodes were in UDP or TCP, respectively. When OpenVPN's
> >> connections operate over TCP (and thus it gets guarantee'd delivery),
> >> you can create a situation where a tunneled TCP connection attempts to
> >> push data faster than your Internet connection can allow because it
> >> never gets any congestion feedback; OpenVPN was accepting packets
> >> faster than it could shove them through, and was buffering the rest.
> >
> > So obviously OpenVPN wasn't handling congestion appropriately and should
> > have been using some queueing discipline to discard instead of letting
> > transmit queues grow unbounded.
> 
> Sure, that contributed to the problem, and may qualify as a bug. On
> the flip side, by operating OpenVPN in TCP mode, you're saying you
> want guaranteed delivery across the link.

Yes, certainly.  And certainly TCP has far more resource requirements on the
sending side.  However, it also has congestion avoidance built in to it,
which UDP does not.

> 
> >
> > But switching to UDP from TCP just pushes the problem off your OpenVPN
> > gateway and onto the "outside" network.
> >
> > If you're really receiving more traffic than can be sent over the
> > "outside" network, now you're relying on intermediate routers to "do the
> > right thing" with your excess UDP traffic and most likely impacting TCP
> > traffic through the same router.
> 
> OpenVPN was running on the router on both ends. The sending side was
> on the lean side of an ADSL modem, plugged directly into the same, so
> the entire issue was handled locally.

There was no infrastructure between the two routers?  They had a direct
connection between them?  It would be slightly strange to go through the
hassle of running OpenVPN in that case...

> 
> Even if OpenVPN wasn't running on the router itself, there'd wouldn't
> *be* excess UDP traffic when running OpenVPN in UDP mode, as
> congestion management would be behaving properly. so other traffic
> would not be unduly impacted.

Why do you think congestion management would be behaving properly?  What
congestion management are you referring to for UDP traffic?

The only thing intermediate routers can do in the case of congestion due
to UDP traffic is to drop.  And depending on the queueing implementation
they may end up dropping TCP traffic as well.

Almost certainly they'll signal congestion to TCP endpoints with traffic
through them, hence impacting TCP traffic as well.

Todd



Re: [gentoo-user] Re: Somewhat OT: Any truth to this mess?

2012-02-20 Thread Todd Goodman
* walt  [120219 15:37]:
> On 02/18/2012 05:18 AM, Dale wrote:
> 
> > Sounds like the internet could be switched off.  So, next question, how
> > easy would it be to get it going again?  Hours?  Days?  Weeks?
> 
> My guess is that the old farts that read this list could have their old
> dialup bulletin boards back on line in a day.  Probably on the original
> hardware gathering dust in the attic :p
> 

Naw, uucp on dialup on a Telebit Trailblazer 9600.  :-)

Todd



Re: [gentoo-user] Re: Somewhat OT: Any truth to this mess?

2012-02-20 Thread Todd Goodman
* wdk@moriah  [120219 17:58]:
> 
> 
> On 20/02/2012, at 5:14, walt  wrote:
> 
> > On 02/18/2012 08:35 AM, Mike Edenfield wrote:
> > 
> >> * On March 8 the FBI will turn off their stand-in DNS servers.
> > 
> > The FBI has people that know how to run a DNS server?  I feel better
> > about my tax dollars now ;)  Oh, wait, I'll bet they outsource it to
> > Google.
> > 
> > 
> Not unless google can supply them with detailed logs for tracking/analysis ...
> 
> BillK

Google could have shown J. Edgar Hoover a thing or two about tracking
and keeping records on people...

Todd



Re: [gentoo-user] RFC: are you able to use "elogv" as a non-root user?

2012-02-20 Thread Todd Goodman
* Nikos Chantziaras  [120218 14:59]:
> This isn't an important issue, but it still bugs me a bit (curiosity 
> killed the cat.)  Some while ago (no idea when exactly, could be 6 
> months ago or a year ago), I stopped being able to use "elogv" as a 
> regular user.  Something had changed the permissions of the 
> "/var/log/portage" and  "/var/log/portage/elog" directories.  The only 
> thing I know for sure, is that it wasn't me who changed them (and I'm 
> the only user of that machine.)
> 
> See the related bug report:
> 
>https://bugs.gentoo.org/show_bug.cgi?id=404413
> 
> So I have a question: did anyone else here notice this as well?  What is 
> the output of:
> 
>ls -ld /var/log/portage /var/log/portage/elog
> 
> on your system?
> 

I seem to remember an emerge that changed the permissions of some log
files (I had to change /etc/syslog-ng/syslog-ng.conf to add the
owner(root) and group(logcheck) options.)

I don't know if other files changed or if the directory permissions
changed at that time?

Todd



Re: [gentoo-user] [OFF] string1!string2!string3 notation

2012-02-27 Thread Todd Goodman
* Claudio Roberto Fran?a Pereira  [120227 08:35]:
> I'm reading Writing Solid Code, by Steve Maguire, and at the end of
> the book there is an about the author section that mentions two
> contact addresses: one is an email, the other is
> microsoft!storm!stevem. The book is from 1993, so that should be an
> old address, for an old protocol. So what? That's not enough for my
> curiosity. Anyone does know where this came from?
> 
> --
> Claudio Roberto França Pereira
> 

As others have said it's a "bang path" for UUCP routing.

It was used for mail routing even when not strictly using UUCP as well.

This was before such thing as DNS and you got to pass around host tables
(/etc/hosts) which contained all known hosts and their IP addresses.

Todd



Re: [gentoo-user] [OFF] string1!string2!string3 notation

2012-02-27 Thread Todd Goodman
* Michael Mol  [120227 11:49]:
> On Mon, Feb 27, 2012 at 10:28 AM, Todd Goodman  wrote:
> > * Claudio Roberto Fran?a Pereira  [120227 08:35]:
> >> I'm reading Writing Solid Code, by Steve Maguire, and at the end of
> >> the book there is an about the author section that mentions two
> >> contact addresses: one is an email, the other is
> >> microsoft!storm!stevem. The book is from 1993, so that should be an
> >> old address, for an old protocol. So what? That's not enough for my
> >> curiosity. Anyone does know where this came from?
> >>
> >> --
> >> Claudio Roberto França Pereira
> >>
> >
> > As others have said it's a "bang path" for UUCP routing.
> >
> > It was used for mail routing even when not strictly using UUCP as well.
> >
> > This was before such thing as DNS and you got to pass around host tables
> > (/etc/hosts) which contained all known hosts and their IP addresses.
> 
> Predates me somewhat, but I believe UUCP operated over DUN/direct
> serial without the IP layer, as well.

Yep.

Todd



Re: [gentoo-user] Photo management programs

2012-03-05 Thread Todd Goodman
* Michael Mol  [120304 15:12]:
> So I take a lot of pictures. A *lot* of pictures. Sometimes around
> 500/month, sometimes twice that if I manage to get out more. I've got
> a large number of 'DCIM' directories from different cameras, different
> camera models, etc, going back ten years. Sometimes in JPG, sometimes
> RAW, sometimes both.
> 
> And I've never really managed them well.
> 
> Does anyone have any photo management tool they like? I've got bits of
> Qt and Gtk installed already, and while I'd prefer to avoid pulling in
> a full desktop environment, I might--if the tool is good enough. It
> would have to:
> 
> * Handle RAW (via libraw or dcraw is fine), JPEG, PNG[1] and TIFF[1]
> content and metadata
> * Index by metadata, including things like the recording camera's
> serial number[2]
> * Not be destructive, or ambiguous about being destructive, on image
> import. I tried using Amarok to organize my music, which is in similar
> disarray, and I was never sure if it was being destructive about the
> source files/folders. So I made copies. Which ultimately added to the
> disarray.
> 
> 
> [1] My postprocessing occasionally winds up in lossless formats like these.
> [2] My fiancee and I have the same model camera, and occasionally need
> to share memory cards, so I'd like to be able to use serial number to
> distinguish whose is whose.
> 
> -- 
> :wq

I like Digikam a lot.

There's some rough edges, but part of that is because a lot of
development is being done all the time on it with lots of new features
added.  Obviously sticking to a non-bleeding edge build would reduce
that a lot.

The developers are all quite responsive and the Gentoo packager
(Andreas) is very active too.

I run it from the command line without KDE running though it's a KDE app
(so you'll have to pull in bits of KDE.)

Try it though.  It may not be the kind of managing you're looking for
(though I think it can do everything you've mentioned above with a
recent enough version.)

Todd



Re: [gentoo-user] Photo management programs

2012-03-05 Thread Todd Goodman
* Dale  [120305 12:09]:
[..]
> Honestly, if digikam worked right with my camera, I'd use it in a heart
> beat.  I like it but I can't get my pics to show up right.  I can't
> figure out why tho.  Maybe I should try getting from the stick like you
> do?  Thing is, I leave my camera on the tri-pod about 90% of the time.
> The card is on the bottom of mine beside the battery.
> 
> Dale

Have you tried a more recent Digikam Dale?

They use libgphoto2 (I believe) and also recently pulled in more support
internally (again, I believe) so they continue to improve camera
support.

I don't know offhand what's what in the latest Gentoo stable and testing
ebuilds though as I build from the upstream git in most cases.

Todd



Re: [gentoo-user] photo viewer other than gthumb?

2012-03-09 Thread Todd Goodman
* Michael Mol  [120308 21:31]:
> I typically use geeqie.
> 
> On Thu, Mar 8, 2012 at 9:20 PM, Grant  wrote:
> > Can anyone recommend a photo browser/viewer other than gthumb which is
> > in portage or an overlay?
> >
> > - Grant
> >
> 
> 
> 
> -- 
> :wq

+1 on geeqie

Todd



Re: [gentoo-user] [OT]: Need help with a Makefile

2012-03-09 Thread Todd Goodman
* meino.cra...@gmx.de  [120309 14:54]:
> Hi,
> 
> I am trying to compile a linux-kernel for an embedded system.
> There is an (older) build environment. 
> The kernel is based on a 2.4er linux kernel.
> When doing a 
> make menuconfig
> I get:
> 
> make menuconfig
> Makefile:441: *** mixed implicit and normal rules.  Stop.
> [1]8814 exit 2 make menuconfig
> 
> The according part of the makefile is:
> 
> include $(srctree)/arch/$(ARCH)/Makefile
> export KBUILD_DEFCONFIG
> 
> 441 config %config: scripts_basic outputmakefile FORCE
> $(Q)mkdir -p include/linux
> $(Q)$(MAKE) $(build)=scripts/kconfig $@
> $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
> 
> 
> 
> I marked the according line with its number.
> 
> Unfortunately I am not familiar with makefiles...
> 
> I am using the make of the gentoo system, which is
> GNU make 3.82...
> 
> What is wrong here?
> 
> Thank you very much in advance for any help!
> Best regards,
> mcc
> 
> 

Hi Meino,

Unfortunately GNU Make changed the rules on Makefiles (or decided to
enforce a rule that wasn't previously enforced, I don't know which) and
the kernel Makefiles were caught out by it.

The later kernels have the changes made that are necessary but if you're
building an older kernel with a newer make then you'll run into this
problem.

You can look at newer kernel source to find the changes necessary.

In the case above, the imlicit rule is the %config target and the normal
rule is the config target.

You can just separate those into two separate rules with the same
recipes.

For example:
  config: scripts_basic outputmakefile FORCE
 $(Q)mkdir -p include/linux
 $(Q)$(MAKE) $(build)=scripts/kconfig $@
 $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
  
  %config: scripts_basic outputmakefile FORCE
 $(Q)mkdir -p include/linux
 $(Q)$(MAKE) $(build)=scripts/kconfig $@
 $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease

Regards,

Todd



Re: [gentoo-user] LVM, /usr and really really bad thoughts.

2012-03-10 Thread Todd Goodman
* Dale  [120309 21:55]:
> Howdy,
> 
[..]
> [0.787822] Trying to unpack rootfs image as initramfs...

It found your initramfs...

> [0.867787] Freeing initrd memory: 5084k freed

The followng look like they're from your Dracut initramfs

> [0.880111] audit: initializing netlink socket (disabled)
> [0.880439] type=2000 audit(1331081750.879:1): initialized
> [0.912626] fuse init (API version 7.17)
> [1.258561] ehci_hcd :00:12.2: init command 0010005 (park)=0
> ithresh=1 period=512 RUN
> [1.270152] ehci_hcd :00:13.2: init command 0010005 (park)=0
> ithresh=1 period=512 RUN
> [1.583458] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19)
> initialised: dm-de...@redhat.com

The following here certainly are

> [4.258421] init-early.sh used greatest stack depth: 3696 bytes left
> [4.503735] init.sh used greatest stack depth: 3576 bytes left

And the following are confirmation

> root@fireball / # dmesg | grep dracut
> [3.018189] dracut: Checking reiserfs: /dev/sda3
> [3.018531] dracut: issuing reiserfsck -a  /dev/sda3
> [3.033879] dracut: Reiserfs super block in block 16 on 0x803 of
> format 3.6 with standard journal
> [3.034463] dracut: Blocks (total/free): 4883760/2502678 by 4096 bytes
> [3.034781] dracut: Filesystem is clean
> [3.035210] dracut: Remounting /dev/sda3 with -o ro
> [3.082413] dracut: Mounted root filesystem /dev/sda3
> [3.158322] dracut: Switching root
> root@fireball / #
> 
> And grub looks like this:
> 
> title=Initramfs-new_kernel
> root (hd0,0)
> kernel /boot/bzImage-3.2.2-1 root=/dev/sda3 init=/sbin/init
> initrd /initramfs-3.2.2-1.img
> 
> Does anyone think dracut is not working?  I need to make certain before
> diving into the next step.

Looks like it's all working for you then!

Todd



[gentoo-user] Anyone Else "Ping-Ponging" with fltk?

2012-03-28 Thread Todd Goodman
I've been getting the following "Ping-ponging" of fltk for maybe a
couple weeks now.

What I mean is that I have x11-libs/fltk-2.0_pre6970-r1:2 installed and
slotted.

When I emerge -avD --changed-use world it wants to slot install
x11-libs/fltk-1.3.0-r1

x11-libs/fltk is in world.

However after having both slots installed and emerge --depclean wants to
remove x11-libs/fltk-1.3.0-r1.

Then the next time I emerge world it wants to put it back, etc etc etc

Is there something screwy with the slotting?

Or have I broken my system?

Thanks,

Todd



Re: [gentoo-user] Anyone Else "Ping-Ponging" with fltk?

2012-03-28 Thread Todd Goodman
* Neil Bothwick  [120328 11:06]:
> On Wed, 28 Mar 2012 10:15:19 -0400, Todd Goodman wrote:
> 
> > x11-libs/fltk is in world.
> 
> Why?

Don't know.  Probably forgot the -1 at some point or needed it for some
software outside of Gentoo.

> 
> > Or have I broken my system?
> 
> Probably. There is rarely a good reason for having libraries in world.

Fine, but it hardly seems that it's broken just because there's a
library in world?

> 
> 
> -- 
> Neil Bothwick
> 
> "Do you reply to our surveys.?"
> [X]Never [ ]Always [ ]Sometimes





Re: [gentoo-user] Anyone Else "Ping-Ponging" with fltk?

2012-03-28 Thread Todd Goodman
* David W Noon  [120328 11:22]:
> On Wed, 28 Mar 2012 15:58:00 +0100, Neil Bothwick wrote about Re:
> [gentoo-user] Anyone Else "Ping-Ponging" with fltk?:
> 
> > On Wed, 28 Mar 2012 10:15:19 -0400, Todd Goodman wrote:
> [snip]
> > > Or have I broken my system?
> > 
> > Probably. There is rarely a good reason for having libraries in world.
> 
> For us programmers it is often essential that we have one or more
> library packages in world, since we might be using that library (or
> those libraries) in projects we are developing.
> 
> The question I think Todd Goodman is trying to ask is why a package in
> world should be a candidate for depclean.
> -- 
> Regards,
> 
> Dave  [RLU #314465]

Yes, exactly.

And more specifically, if the two versions of fltk are slotted it makes
me even more surprised that portage wants to depclean the 1.3.0 version.

Thanks,

Todd



Re: [gentoo-user] Anyone Else "Ping-Ponging" with fltk?

2012-03-28 Thread Todd Goodman
* Michael Mol  [120328 11:28]:
> On Wed, Mar 28, 2012 at 11:14 AM, Todd Goodman  wrote:
> > * Neil Bothwick  [120328 11:06]:
> >> On Wed, 28 Mar 2012 10:15:19 -0400, Todd Goodman wrote:
> >>
> >> > x11-libs/fltk is in world.
> >>
> >> Why?
> >
> > Don't know.  Probably forgot the -1 at some point or needed it for some
> > software outside of Gentoo.
> >
> >>
> >> > Or have I broken my system?
> >>
> >> Probably. There is rarely a good reason for having libraries in world.
> >
> > Fine, but it hardly seems that it's broken just because there's a
> > library in world?
> 
> Remove it from world, and try an emerge -p --depclean.

No offense, but I wasn't really asking how to remove packages
from my system if I need both slots for some reason.

It wants to then depclean both versions (no surprise there.)

> 
> Having the library in world ties you to a particular name for that
> library, among (potentially) other things. That could conceivably lead
> to ping-ponging if an update moves it away from some piece of that
> original description, and than another update notices that it's
> missing.

Yes, of course if the ebuild names change then it's a possible problem.
The same for an ebuild for a package that isn't a library.

It still seems broken for emerge to want to install both versions in
slots and then turn around and remove one of them immediately
afterwards.

Todd



Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?

2012-03-29 Thread Todd Goodman
* Dale  [120329 16:22]:
> Canek Peláez Valdés wrote:
> 
> > Can you try doing
> > 
> > dracut -H /boot/initramfs-
> > 
> > ??
> > 
> > The man page from dracut says that -H is for the "current host"
> > instead of a "generic host". Maybe the "generic host" configuration is
> > messing up something with su that your actual host configuration
> > needs.
> > 
> > I use -H. As I have ben saying, my initramfs it's pretty up in sync
> > with my normal system.
> > 
> > Regards.
> 
> 
> Notice, I make the distinction between Console and Konsole by making the
> first letter capitalized.  It kind of gets confusing.  :/
> 
> I had to reboot so I made a new init thingy with the -H switch.  It
> works in Console but nothing root works in KDE.  I get the same error.
> Heck, Konsole won't even try to come up much less ask for my password.
> Krusader asks for password and says that su is not in the path.  This is
> similar to what I got when I was in a Console too.
> 
> So, boot without init thingy, everything works fine.  Boot with the init
> thingy, I can't access things in KDE as root.  All I do is reboot.  I
> don't change or edit anything other than selecting a different entry in
> grub.
> 
> I use Konsole when I emerge and such as that.  I use Krusader, since
> Konqueror developed a bug, to edit config files.  I don't care to switch
> to a Console to emerge something or edit a config file.  This is not
> going to work for me long term.
> 
> Also, keep in mind, I boot the EXACT same kernel whether I use the init
> thingy or not.  All I do is remove the stuff the init thingy needs to
> work.
> 
> Go figure.
> 
> Dale
> 
> :-)  :-)

My dracut initramfs (created with just hostonly=yes changed from the
config installed by Gentoo) is quite "heavy" and starts up udevd in
the initramfs.  That along with other things that happen in there could
possibly be leading to your permission problems.

If I were you, I'd manually create an initramfs the way that Neil has
mentioned that simply mounts /usr and then does a switch_root and see if
you still have problems.

It's really not too hard if you can muddle through simple shell scripts.

Todd





Re: [gentoo-user] Anyone Else "Ping-Ponging" with fltk?

2012-03-30 Thread Todd Goodman
* Walter Dnes  [120330 02:53]:
[..]
> You have to fix this problem manually by...
> 
> unmerge =x11-libs/fltk-2.0_pre6970-r1
> 
>   Note that fltk-2.0_pre6970-r1.ebuild contains the comments...
> 
> # NOTE: KEYWORDS removed in purpose since everything from gentoo-x86 is
> # using
> #   FLTK 1.3.0 series from SLOT="1" now
> #KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
> 
>   fltk-1.3 will handle what fltk-2.0 handled, unless you have some very
> hard-coded software.
> 
> -- 
> Walter Dnes 

Thanks Walter for the description of what the real problem is here.

Todd



Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?

2012-03-30 Thread Todd Goodman
* Dale  [120329 17:39]:
[..]
> I already tried making one from scratch and also making the one inside
> the kernel.  Both belly flopped and left me with nothing but errors.  It
> never even tried to leave the init thingy environment.  I think I posted
> them a good long while back but no clue what they were know.  I just
> moved on to what was supposed to be "easy".  Yea, right.  :/
> 
> My concern is this, if it is this hard for me to get one working, if it
> ever breaks, I'm screwed.  I know myself pretty well, if it breaks and I
> can't figure it out, I'll be looking for a install CD/DVD and fix it on
> a grand scale.  This is how I got to Gentoo.  I couldn't get Mandrake to
> work right and be stable, I switched.
> 
> Well, it's supper time here.  Maybe that will help, me at least.  lol
> 
> Dale


Do you want to try again to make one from scratch?

If you're not using LVM or RAID for root or /usr and you compile your
filesystem into the kernel then it's very simple and should be about
a five line (tops) init script (and even if those don't hold for you,
it's not that much tougher.)

If you spend the time now to do it yourself I think you'll find you have
the tools and knowledge to track down any problems later.

If you're willing to try again, I'm willing to work with you.

If you can find your hand-rolled initramfs and the errors you were
having we can figure it out.

And for the record.  I hate this whole /usr must be mounted in an
initramfs or on /.  It seems that all these arguments about bluetooth
keyboards and such have it all exactly bass ackwards.  If you have some
flavor of hardware that isn't supported in the base kernel then you
should be creating an initramfs for support.

But I can't argue with people who donate their time getting to work on
what they want to and supporting only what they want to.

And I'm not ready to make and maintain an overlay that doesn't require
this so it's time for me to stop gnashing my teeth and suck it up and get
on with life.

Todd

P.S. - If you don't want to get an hand-rolled initramfs working, it
would be interesting to see what an ls -lr /dev shows for the cases
where everything works for you and where it doesn't.



Re: [gentoo-user] Anyone Else "Ping-Ponging" with fltk?

2012-04-03 Thread Todd Goodman
* Maxim Wexler  [120403 14:55]:
> >>
> >>   fltk-1.3 will handle what fltk-2.0 handled, unless you have some very
> >> hard-coded software.
> >>
> >> --
> >> Walter Dnes 
> >
> > Thanks Walter for the description of what the real problem is here.
> >
> 
> from update -p world console o/p:
> 
> <...>
> [ebuild  NS] x11-libs/fltk-1.3.0 [2.0_pre6970-r1] USE="threads
> -cairo -debug -doc -examples -games -opengl -pdf -xft -xinerama" 0 kB
> <...>
> 
> Now portage is repeating itself. This is what I saw last update last
> week. Getting big yawns on irc #gentoo. Does this mean nobody knows or
> nobody cares what's going on? Or is there a third alternative I
> haven't considered?
> 
> MW

Hi Maxim,

Do you need fltk-2.0_pre6970-r1?

If your emerge -C it then everything should be happy with just
fltk-1.3.0 (which is actually *more recent* than 2.0_pre6970-r1
according to Walter.)

Regards,

Todd



Re: [gentoo-user] list of kernel modules

2012-04-06 Thread Todd Goodman
* Mark Knecht  [120406 11:40]:
[..]
> To me it looks safe to emerge -C kmod and then emerge
> module-init-tools if you want to go that way. I'd do an equery files
> kmod and carefully study what you're getting with that package, or
> else push a bug request up to that package maintainer for providing a
> modprobe that's not 100% compatible.
> 
> Good luck,
> Mark

udev-182-r2 and dracut depend on kmod.

So if the OP hasn't masked them then he needs kmod.

Todd



Re: [gentoo-user] list of kernel modules

2012-04-06 Thread Todd Goodman
* Mark Knecht  [120406 12:16]:
> On Fri, Apr 6, 2012 at 9:03 AM, Todd Goodman  wrote:
> > * Mark Knecht  [120406 11:40]:
> > [..]
> >> To me it looks safe to emerge -C kmod and then emerge
> >> module-init-tools if you want to go that way. I'd do an equery files
> >> kmod and carefully study what you're getting with that package, or
> >> else push a bug request up to that package maintainer for providing a
> >> modprobe that's not 100% compatible.
> >>
> >> Good luck,
> >> Mark
> >
> > udev-182-r2 and dracut depend on kmod.
> >
> > So if the OP hasn't masked them then he needs kmod.
> >
> > Todd
> >
> 
> I have the newer udev masked, but I do have dracut installed and don't
> need kmod here.
> 
> My system is _mostly_ stable, not ~amd64, so possibly that's part of the 
> issue.
> 
> - Mark

Hmm, I'd expect dracut to depend on virtual/modutils-0 then but
dracut-017-r3 sure doesn't seem to:

equery d kmod
sys-kernel/dracut-017-r3 (>sys-apps/kmod-5[tools])

Wait, I looked at the ebuild and it depends on either module-init-tools
or kmod so that's why.

So it looks like just udev-182-r2 depends upon it.

Sorry for the misinformation.

Todd



Re: [gentoo-user] Recommend a tftp server that works?

2012-05-08 Thread Todd Goodman
* Grant Edwards  [120507 23:34]:
> Can somebody recommend a tftp server that works?
> 
> I've got atftp installed and have been using the client for some time
> (after fixing a number of bugs).
> 
> But, the atftpd server just plain refuses to do anything other than
> print out the help text and exit.  It doesn't matter what options you
> specify or what root directory you give, it just prints the help text
> and exits.  No error messages, just the help text and you're done.
> 
> After having worked with the atftp client code, I have no desire to
> wade into the server code to try to fix it as well.
> 
> But, when I try to install one of the other tftp servers, emerge
> refuses.  How to I tell emerge to go ahead and install, for example,
> netkit-tftp even though atftp is already installed?


I use tftp-hpa and it works well for me.

Todd



Re: [gentoo-user] Are those "green" drives any good?

2012-05-10 Thread Todd Goodman
* Dale  [120509 19:54]:
[..]
> Way back in the stone age, there was a guy that released a curve for
> electronics life.  The failure rate is high at the beginning, especially
> for the first few minutes, then falls to about nothing, then after
> several years it goes back up again.  At the beginning of the curve, the
> thought was it could be a bad solder job, bad components or some other
> problem.  At the other end was just when age kicked in.  Sweat spot is
> in the middle.

C. Gordon Bell has that curve in his book "Computer Engineering."

Available online at:

http://research.microsoft.com/en-us/um/people/gbell/Computer_Engineering/index.html

for HTML and:

http://research.microsoft.com/en-us/um/people/gbell/CGB%20Files/Computer%20Engineering%207809%20c.pdf

for the PDF.

Todd



Re: [gentoo-user] grub2 in portage

2012-06-29 Thread Todd Goodman
* Allan Gottlieb  [120629 14:53]:
> Now that grub is slotted (slot:2 is grub2; slot:0 is legacy grub),
> an update world will merge grub-2.00 along side my current
> grub-0.97-r12.
> 
> Am I correct in believing that, if I *do* the emerge but *not* do
> anything else with grub, I will continue to use legacy grub (-0.97-r12)
> whenever I boot?
> 
> I realize I can add
> sys-boot/grub:2
> to package.mask
> 
> thanks,
> allan

I believe that's the case.  Until you run grub2-install you'll still run
your old grub 0.92-r12.

Make sure you do the step mentioned in the emerge output though and get
grub:0 in your world file or else the next emerge --depclean will remove
your grub-0.97-r12.

Todd



Re: [gentoo-user] What is with emerge after update world ?

2011-03-26 Thread Todd Goodman
* Andrzej Stycze?  [110326 11:42]:
> Hello,

Hello Andrzej,

> 
> I try gentoo once again a few days ago and everything go OK until I install 
> KDE. Then I see that I got the following symptom that something is wrong
> 
> # eselect read 1
> ! ! ! Error: Can't load module read
> exiting

I think you might mean "eselect news read 1"

> 
> Then I install LibreOffice and OK, but eselect as above still not work 
> properly.
> 
> Then I sync tree portage and do:
> 
> # emerge -a --update --deep --newuse world && \
> emerge --deepclean && \
> revdep-rebuild 
> 
> After this I saw, that many things was broken with LibreOffice and 
> additionaly 
> also Python was updated to 2.7  version, and now If I do:

Try "eselect python list" and if there's no '*' try "eselect python 1"
(if python 2.7 is number 1)


Then try using emerge again.

Todd



Re: [gentoo-user] Setting up a local web server

2011-04-02 Thread Todd Goodman
* Adam Carter  [110402 01:15]:
> > dig you build php with an apache2 flag to enable the Apache module?
> >
> 
> And you'll also need this in your httpd.conf;
> 
> AddType application/x-httpd-php .php

70_mod_php5.conf in /etc/apache2/modules.d adds the handler for that
automatically when PHP5 is defined (and mod_mime.c is there.)

So doublecheck that php was built with the apache2 USE flag as mentioned
above.  I've rebuilt php after apache2 before to be sure the needed
modules are installed.

Also as mentioned make sure your APACHE2_OPTS in /etc/conf.d/apache2
uses -D PHP5 and not just PHP or PHP4.

And finally don't forget to restart apache after emerging php

Todd



Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-20 Thread Todd Goodman
* Harry Putnam  [110420 13:51]:
> Stroller  writes:
> 
> > Consider OpenWRT. You can run it on something like the Netgear
> > WNR2000, the Buffalo WZR-HP-G300NH, or something even cheaper if you
> > don't need wifi.
> 
> I don't need wifi, but of course OpenWRT won't run on the cisco
> But that WZR-HP-G300NH is looking promising.

I've just purchased one and it arrived today and I installed DD-WRT and
then upgraded to OpenWRT.  It's working well but obviously I've only
just started working with it.

> 
> Paul Hartman  writes:
> 
> [...]
> 
> > I have WZR-HP-G300NH (running DD-WRT), if you don't plan on using wifi
> > it would be great. The wifi is really unstable and I couldn't
> > recommend this device if you're a heavy wifi user, but the wired
> > portion works great, the device itself is by far the fastest I've ever
> > owned, and it has a USB port so you can attach external storage in
> > case you want to use it as a server, too.
> 
> Can you make any comment about the logging capabilities?

OpenWRT is running the BusyBox syslogd by default.  I doubt it would take
much to build a syslog-ng (or whatever other logger you prefer) if there
isn't already a package for it.

Oh, I see that there already are syslog-ng (1.6.12-2) and syslog-ng3
(3.0.5-1) packages

You have iptables support so you can do pretty much anything you like
with regards to logging.

Todd


> 
> "W.Kenworthy"  writes:
> 
> [...]
> 
> > I have this device and am using Firmware: DD-WRT v24-sp2 (08/07/10) std
> > - its been totally stable since I dumped the buffalo firmware.  My son
> > plays windoze online games and I often move large files around as well
> > as stream mythtv across it - no problems at all.  Until I started
> > powering the systems down at night (power charges went up :) it would
> > stay up for over a month at a time and it was never a crash as to why it
> > was restarted - usually power, or reconfiguration.
> 
> Maybe you can make some comment about logging capablities?  Maybe one
> or both of you might be willing to post a log sample?
> 



Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-21 Thread Todd Goodman
* Harry Putnam  [110420 15:03]:
> Paul Hartman  writes:
> 
> > Apr 20 14:41:08 ddwrt kern.warn kernel: [2814955.71] DROP IN=eth1
> > OUT= MAC=ff:ff:ff:ff:ff:ff:00:1b:54:c9:4b:d9:08:00 SRC=10.166.128.1
> > DST=255.255.255.255 LEN=325 TOS=0x00 PREC=0x00 TTL=255 ID=34279
> > PROTO=UDP SPT=67 DPT=68 LEN=305
> > Apr 20 14:41:08 ddwrt kern.warn kernel: [2814956.13] DROP IN=eth1
> > OUT= MAC=ff:ff:ff:ff:ff:ff:00:1b:54:c9:4b:d9:08:00 SRC=10.166.128.1
> > DST=255.255.255.255 LEN=325 TOS=0x00 PREC=0x00 TTL=255 ID=34287
> > PROTO=UDP SPT=67 DPT=68 LEN=305
> > Apr 20 14:41:10 ddwrt kern.warn kernel: [2814957.77] DROP IN=eth1
> > OUT= MAC=ff:ff:ff:ff:ff:ff:00:1b:54:c9:4b:d9:08:00 SRC=172.16.129.29
> > DST=255.255.255.255 LEN=365 TOS=0x00 PREC=0x00 TTL=255 ID=34300
> > PROTO=UDP SPT=67 DPT=68 LEN=345
> >
> > So it looks like ordinary linux firewall logging... I'm sure you can
> > customize it if you want to, just as you would on a normal machine.
> >
> > Hope that helps :)
> 
> Yes, thanks for taking the trouble... When I asked that, I hadn't
> realized that both dd-wrt and openWRT were actually tiny linux OS.
> 
> I've reading more about them since.
> 
> It sounds from your report that dd-wrt has some kind of basic firewall
> script in place by default.
> 
> Whereas openWRT sounds like you may need to role your own iptables
> script right off the bat.  at least judging from a few posts I've now
> read from their mailing list where people seem to be asking the kinds
> of iptables questions you might find on that list..
> 

There is a basic firewall in place with OpenWRT (enabled by default.)

There is a a web GUI for OpenWRT (as well as with DD-WRT.)

The web GUI supports the usual config pages as with other similar home
routers.

There's a status page showing the iptables chains with the packet
counts for each rule (the most complicated page to view I'd say.)

There's config pages for overall firewall config with default policies
and other things such as zone config.  There's a "traffic control" page
which lets you define your filter rules and a "Traffic Redirection" page
which allows you to set up your port forwarding (DNAT.)

It's quite easy to configure and doesn't require iptables knowledge.

Though I like very much that the option is there if I want to take
advantage of it.

I've used LEAF for a long time (a small Linux Embedded  Firewall
Appliance) and it's great but DD-WRT and OpenWRT have nice GUIs on top
of them and it was very easy to reflash my Buffalo to DD-WRT and then
upgrade from that to OpenWRT.



Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-22 Thread Todd Goodman
* Harry Putnam  [110422 16:00]:
> Todd Goodman  writes:
> 
> > There is a basic firewall in place with OpenWRT (enabled by default.)
> >
> > There is a a web GUI for OpenWRT (as well as with DD-WRT.)
> >
> > The web GUI supports the usual config pages as with other similar home
> > routers.
> >
> > There's a status page showing the iptables chains with the packet
> > counts for each rule (the most complicated page to view I'd say.)
> >
> > There's config pages for overall firewall config with default policies
> > and other things such as zone config.  There's a "traffic control" page
> > which lets you define your filter rules and a "Traffic Redirection" page
> > which allows you to set up your port forwarding (DNAT.)
> >
> > It's quite easy to configure and doesn't require iptables knowledge.
> >
> > Though I like very much that the option is there if I want to take
> > advantage of it.
> 
> [...] 
> 
> I want to thank you for providing such detailed information. It is a
> very helpful reply... thanks
> 

You're welcome.

BTW, rereading what I wrote above, I didn't mean to imply that DD-WRT
doesn't have a basic firewall in place by default (I don't know if it
does, I'd assume so.)

Also, I've been running lots of traffic through the wireless on that
Buffalo OpenWRT box and haven't experienced any drops (the same traffic
caused a LinkSys and TrendNet box running the commercial firmware to
drop the wireless connections.)

So I'm happy with at this point.

Todd



Re: [gentoo-user] trouble with libxcb (and others)

2011-04-26 Thread Todd Goodman
* Allan Gottlieb  [110426 14:34]:
> On Tue, Apr 26 2011, Allan Gottlieb wrote:
> 
> > Starting last night several builds and programs are crashing due to
> > problems in libxcb and others.
> >
> > My system is ~amd64.
[SNIP]
> > openoffice (picked up by revdep-rebuild) fails to build saying
> >
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the 
> > pkg-config search path. Perhaps you should add the directory containing 
> > `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 
> > 'libwpd-0.8' found
> > configure: error: Library requirements (libwpd-0.8 ) not met; consider 
> > adjusting the PKG_CONFIG_PATH environment variable if your libraries are in 
> > a nonstandard prefix so pkg-config can find them.
> >
> > I looked (using locate) and I have libwpd-0.9.1 now.  Should I downgrade
> > to lib0.8.14?

For what it's worth I run ~x86 and I got the same error with libwpd
until I made sure I had the 0.8 slot emerged as well (emerge libwpd:0.8)

It looks like it just became slotted (if I remember right.)

Unfortunately I then had a problem with OpenOffice and libwpg.  And had
to downgrade back to 1.1.3 (and mask 0.2.0.)  It looked like OpenOffice
wasn't happy with a 2.0 version and still wanted a 1.0 version (but I
didn't look too carefully.)

However it looks like it's slotted now so you should be able to install
libwpg:0.2 as well as libwpg:0.1 and OpenOffice will still work.

However, I get file collisions when trying to install libwpg:0.2 with
libwpg:0.1 installed right now.  It might still be in the process of being
fully slotted?

If you don't have the libwpd:0.8 and/or libwpg:0.1 slotted versions then
just emerge them too.

Todd



Re: [gentoo-user] trouble with libxcb (and others)

2011-04-27 Thread Todd Goodman
* Allan Gottlieb  [110427 10:54]:
> On Tue, Apr 26 2011, Todd Goodman wrote:
> 
> > * Allan Gottlieb  [110426 14:34]:
> >> On Tue, Apr 26 2011, Allan Gottlieb wrote:
> >> 
> >> > Starting last night several builds and programs are crashing due to
> >> > problems in libxcb and others.
> >> >
> >> > My system is ~amd64.
> > [SNIP]
> >> > openoffice (picked up by revdep-rebuild) fails to build saying
> >> >
> >> > checking for pkg-config... /usr/bin/pkg-config
> >> > checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the 
> >> > pkg-config search path. Perhaps you should add the directory containing 
> >> > `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 
> >> > 'libwpd-0.8' found
> >> > configure: error: Library requirements (libwpd-0.8 ) not met; consider 
> >> > adjusting the PKG_CONFIG_PATH environment variable if your libraries are 
> >> > in a nonstandard prefix so pkg-config can find them.
> >> >
> >> > I looked (using locate) and I have libwpd-0.9.1 now.  Should I downgrade
> >> > to lib0.8.14?
> >
> > For what it's worth I run ~x86 and I got the same error with libwpd
> > until I made sure I had the 0.8 slot emerged as well (emerge
> > libwpd:0.8)
> 
> It is worth a lot!
> 
> > It looks like it just became slotted (if I remember right.)
> >
> > Unfortunately I then had a problem with OpenOffice and libwpg.  And had
> > to downgrade back to 1.1.3 (and mask 0.2.0.)  It looked like OpenOffice
> > wasn't happy with a 2.0 version and still wanted a 1.0 version (but I
> > didn't look too carefully.)
> >
> > However it looks like it's slotted now so you should be able to install
> > libwpg:0.2 as well as libwpg:0.1 and OpenOffice will still work.
> >
> > However, I get file collisions when trying to install libwpg:0.2 with
> > libwpg:0.1 installed right now.  It might still be in the process of being
> > fully slotted?
> >
> > If you don't have the libwpd:0.8 and/or libwpg:0.1 slotted versions then
> > just emerge them too.
> 
> I just now followed your advice and emerged both libwpd:0.8 and
> libwpg:0.1.  I was a little surprised to see that
> emerge -1 was insufficient (depclean wanted to remove them again).
> 
> If a certain slot is needed for another application, I had expected
> depclean to leave it alone.  Anyway I then did an emerge -n to put them
> into world and depclean is happy.
> 
> As it turns out now revdep-rebuild doesn't want to remerge anything,
> but I am doing a reinstall of openoffice anyway just to confirm that it
> is happy.
> 
> I wonder if the situation has now stabilized and forcing the old slots
> to be present is no longer needed.  I will have more time after the
> semester ends and I don't have to prepare lectures / grade exams.
> I hope during the end of may to go through world and prune any that
> don't appear to be necessary.
> 
> Thank you very much for your help.
> 
> allan

Great!  You're welcome.

FWIW, if anyone else is having problems emerging both slotted versions
of libwpg, my problems with libwpg:0.1 and libwpg:0.2 having filename
conflicts was due to having the doc USE flag set.

It's bug http://bugs.gentoo.org/show_bug.cgi?id=364857

I know some have mentioned that in general it's not a good idea to have
the doc USE flag enabled globally.

Todd



Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-28 Thread Todd Goodman
* Harry Putnam  [110428 01:06]:
> Yeah I had a look at the lines containing LOG and of course had no
> idea of what they meant or how to alter them.
> 
> The entire iptables is inlined below... maybe you will know how to alter
> them so that ports show up in logs.  That is, only if you are still
> patient enough to continue so far, no one has complained about the
> OT thread... but I fear I must be nearing the end of your patient
> willingness to continue, if not the lists willingness to allow my OT
> thread.
> 
> ----   ---=---   -   
> There only 4 instances of LOG in the tables.  But I wonder if it might
> just be an increase in log level that is required.

I don't think so.  That's the syslog level and changing it might change
if you see the logged entries at all (depending on your syslog config.)

> 
> I wanted to try that out, but was a bit chicken, thinking I'd destroy
> whatever setup there is that invokes the iptable rules.

You won't really break anything by changing the log levels.

If you're changing things using iptables commands from the shell then
it's unlikely any changes are permanent anyway (everything will go back
to how it was.)  To make a permanent change you'll need to figure how
and where the iptables rules are being loaded from when the system comes
up (it might be using iptable-save and iptables-restore or a firewall
script or similar.)

Now I'm not an expert on iptables logging and I'm sure Mick and/or
someone else will respond too.

I think your iptables output is truncated at 80 columns too so some of
the info is missing at the ends of some of the lines.

Also, I apologize but I forget exactly the traffic for which you're
trying to get the port #'s logged?

But let's go through what's there (apologies if you already know what
I mention:)

First, iptables has different tables that it (netfilter in the kernel)
uses for different purposes.  The one you're interested in (and which
you dumped and is the default for the iptables command if you don't
specify one) is the filter table.

Other tables that are of interest for other things are the nat table
and, for most people, to a lessor degree the mangle table.

Inside tables there are standard chains of rules and there are
(potentially) user-defined chains.

The path a packet takes in the system determines which tables and chains
are processed.

> 
> Chain INPUT (policy DROP)

The filter table INPUT chain is used when a packet is destined for the
box itself (i.e., not sourced on the box and not being forwarded through
the box.)

The policy is to DROP any packets that aren't matched by terminating
rules (e.g., ACCEPT) in the chain.

> target prot opt source   destination
> ACCEPT tcp  --  0.0.0.0/00.0.0.0/0  tcp dpt:23
> ACCEPT esp  --  0.0.0.0/00.0.0.0/0
> ACCEPT udp  --  0.0.0.0/00.0.0.0/0  udp dpt:4500
> ACCEPT udp  --  0.0.0.0/00.0.0.0/0  udp dpt:500

These ACCEPT rules allow certain traffic destined for the router itself.

> DROP   tcp  --  0.0.0.0/00.0.0.0/0  state NEW tcp 
> flags:

Other TCP traffic that's not allowed above is dropped if it's a NEW TCP
connection to the router itself (i.e., not a response to TCP traffic
initiated by the router.)

> ACCEPT all  --  0.0.0.0/00.0.0.0/0  state 
> RELATED,ESTABL

This accepts any traffic that's part of a flow initiated from the
router.

> INPUT_UDP  udp  --  0.0.0.0/00.0.0.0/0

Go process the the user defined INPUT_UDP chain if the packet is a UDP
packet.  If that chain reaches the end of its rule list without matching
a terminating rule it will return back here (as with all jumps to other
chains.)

> INPUT_TCP  tcp  --  0.0.0.0/00.0.0.0/0

Go process the the user defined INPUT_TCP chain if the packet is a TCP
packet

> DOSicmp --  0.0.0.0/00.0.0.0/0  icmp type 8

Go process the the user defined DOS chain if the packet is a ICMP
packet with icmp type 8

> ACCEPT all  --  0.0.0.0/00.0.0.0/0  state NEW

ACCEPT all traffic that's in state NEW to the router.  Presumably if a
packet hasn't been dropped above or in the user defined chains then the
router wants to see that traffic.

> 
> Chain FORWARD (policy DROP)

The filter table FORWARD chain is used when a packet is being forwarded
by the system.  The default policy is to DROP packets not matched by any
terminating rules in the chain.

> target prot opt source   destination
> ip_filter  all  --  0.0.0.0/00.0.0.0/0

Go process the user defined ip_filter chain for all packets

> POLICY icmp --  0.0.0.0/00.0.0.0/0

Go process the user defined POLICY chain for ICMP packets

> POLICY udp  --  0.0.0.0/00.0.0.0/0

Go process the user defined POLICY chain for UDP packets

> TCPMSS tcp  --  0.0.0.0/0   

Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-30 Thread Todd Goodman
* Harry Putnam  [110430 00:03]:
> Todd Goodman  writes:
> 
> [...]
> 
> > You won't really break anything by changing the log levels.
> 
> Todd, your post was really a boost for me.  And thanks for you kind
> offer of looking things over.
> 
> [...]
> 
> Mick wrote:
> > No worries!  I'm no iptables guru, but I'm still here!  ;-)
> 
> [...]
> 
> Mick, your post was another really info packed and helpful response.
> 
> This really sucks since I think right now is the proper time to pursue
> this stuff full tilt.
> 
> However, life is intervening and I am leaving for Atlanta (from Gary
> IN) tomorrow with an old beatup 1979 1 ton ford pulling a gooseneck
> trailer.  I have quite a lot to do suddenly to get things ready with
> the old beater so it will be a good while before I can get back to
> this.
> 
> I suspect I've about worn out the OT thread by now, so won't renew it,
> but I hope I will not be wearing out my welcome if I call on either of
> you by private email if I get in deep doo doo, when I do get back at
> this.
> 
> I think both of your input on this is so full and thorough that I may
> be able to get it figured out now without further pestering.
> 

You're welcome and are welcome to contact me via private email.

Good luck on your trip!

Todd



Re: [gentoo-user] How's the openrc update going for everyone?

2011-05-10 Thread Todd Goodman
* Dale  [110510 17:29]:
> Hi folks,
> 
> I was curious, what's the results of the openrc update for people that 
> have done theirs?  Is it pretty simple and "just works" or are there 
> issues?  I'm mostly interested in x86 and amd64 since that is what I 
> have.  Just a simple works here and I'm X86 or amd64 would be nice.  
> List issues if you had any.
> 
> Thanks for the feedback.
> 
> Dale
> 
> :-)  :-)

Hi Dale,

I did it previously on a couple ~x86 machines and now on a couple x86
machines haven't had any problems at all.

Todd



Re: [gentoo-user] nepomuk/virtuoso using 100% cpu

2011-05-10 Thread Todd Goodman
* Alan McKinnon  [110510 17:26]:
> Apparently, though unproven, at 22:53 on Tuesday 10 May 2011, Mick did opine 
> thusly:
[SNIP]
> 
> > Have you tried running kdedebug --off  to see if the error logging
> > stop?
> 
> I don't have such an app as kdedebug. What package provides it?

I think he meant kdebugdialog (from kde-base/kdebugdialog)

Todd

> 
> 
> > 
> > I am just updating kde on an old machine (only runs sqlite instead of
> > mysql) and hope I will not have such problems - or worse!
> 
> -- 
> alan dot mckinnon at gmail dot com



Re: [gentoo-user] mirrorselect on new install

2011-05-12 Thread Todd Goodman
* Felix Miata  [110512 16:15]:
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6 seems to 
> have a circular reference, that is, suggesting the use of the subject utility 
> prior to chrooting and having any such utility in $PATH. I've never installed 
> Gentoo before, so maybe I've missed something. Or maybe that page could use 
> another link or some rewrite to clarify?
> 
> I tried to find an answer via http://archives.gentoo.org/gentoo-user/ but it 
> seems to lack a search function/box. :-(
> -- 
> "The wise are known for their understanding, and pleasant
> words are persuasive." Proverbs 16:21 (New Living Translation)
> 
>   Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
> 
> Felix Miata  ***  http://fm.no-ip.com/

mirrorselect is available in the system you're running before you
chroot.

I believe the instructions in the handbook you reference above assume
you've booted off a Gentoo install disk (which should have mirrorselect
on it.)

Todd



Re: [gentoo-user] Ctrl+C not working over ssh?

2011-05-24 Thread Todd Goodman
* Andy Wilkinson  [110524 12:24]:
> I can't say for sure when this started, as I have gone a while without 
> accessing my computer remotely much, but perhaps since my last upgrade 
> (which may have included openrc), ctrl-c doesn't work over ssh.  I have 
> tested this from multiple workstations and even my droid, using 
> different terminal emulators, and have got consistent results.
> 
> I'm not even sure where to start looking.  Googling didn't find me much 
> (at least, not much that's current at all; 5 year-old ubuntu bugs aren't 
> very useful), and I'm not sure at all what might be causing this.  Could 
> anyone here point me to something that might be causing this?
> 
> Thanks,
> 
> -Andy

I don't have any problems.  What does 'stty -a' show for the intr= bit?

Todd



Re: [gentoo-user] Ctrl+C not working over ssh?

2011-05-25 Thread Todd Goodman
* Andy Wilkinson  [110524 18:02]:
> On 05/24/2011 12:38 PM, Todd Goodman wrote:
> > * Andy Wilkinson  [110524 12:24]:
> >> I can't say for sure when this started, as I have gone a while without
> >> accessing my computer remotely much, but perhaps since my last upgrade
> >> (which may have included openrc), ctrl-c doesn't work over ssh.  I have
> >> tested this from multiple workstations and even my droid, using
> >> different terminal emulators, and have got consistent results.
> >>
> >> I'm not even sure where to start looking.  Googling didn't find me much
> >> (at least, not much that's current at all; 5 year-old ubuntu bugs aren't
> >> very useful), and I'm not sure at all what might be causing this.  Could
> >> anyone here point me to something that might be causing this?
> >>
> >> Thanks,
> >>
> >> -Andy
> > I don't have any problems.  What does 'stty -a' show for the intr= bit?
> >
> > Todd
> >
> $ stty -a
> speed 38400 baud; rows 23; columns 80; line = 0;
> intr = ^C; ...
> 
> Which looks right, but when I try to use Ctrl-C, this happens:
> 
> $ ping localhost
> PING localhost (127.0.0.1) 56(84) bytes of data.
> 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.037 ms
> ^C64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.032 ms
> ^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.032 ms
> ^C^C^C^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=4 ttl=64 
> time=0.034 ms
> ^C^C^C^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=5 ttl=64 
> time=0.032 ms
> ^Z
> 
> This does NOT happen locally: from a console or terminal at the machine, 
> I can interrupt just fine.  Ctrl-Z does//work over ssh.
> 
> Thanks,
> 
> -Andy

Very strange (as someone else said.)

Only thing I can think of is that something in your startup scripts
(.profile, .bashrc, etc.) are doing something different between the
two logins.

I've seen that most often when they do things based on TERM and it's
different between a local login and remote.

Maybe make sure your startup scripts run with a 'set -x' at the
beginning and compare the output?

Good luck,

Todd



Re: [gentoo-user] Ctrl+C not working over ssh?

2011-05-26 Thread Todd Goodman
* Andy Wilkinson  [110525 21:27]:
[...]
> Well, for no good reason, a reboot once I was back at the machine fixed
> the issue.  I'm not sure why; I didn't change anything.  I hate not
> knowing why reboots fix things. :(
> 
> -Andy

Argh!!!  I did see in a google search that someone else had the problem
and a reboot fixed it too.

If it ever happens again I'd wonder if all new SSH sessions experience
the same problem and if so, if restarting the SSH daemon fixes it too.

Or if it's some weirdness with the psuedo-tty system.

Todd



Re: [gentoo-user] Can't emerge php-5.3.6

2011-05-26 Thread Todd Goodman
* Mike Diehl  [110526 13:15]:
> I'm trying to do an emerge -u world and I'm down to php and one other package 
> that needs it.
> 
> I've done emerge --sync several times.
> However, the php emerge fails:
> 
> 
> Generating phar.php
> /bin/sh: line 1: 11383 Segmentation fault  ` if test -x 
> "/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php"; then 
> /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n 
> -- "/var/tmp/portage/dev-
[..]

What's your sh linked to?  (ls -l /bin/sh)

What's the version of the package that provides it?

Todd



Re: [gentoo-user] Need dovecot configuration help

2011-05-26 Thread Todd Goodman
* Michael Sullivan  [110526 14:40]:
> A couple of days ago I applied via etc-update a new init script and conf
> file for dovecot.  Now I cannot get local LAN mail from it.  I was
> previously able to.  My current dovecot version info is:
> 
> carter ~ # emerge -pv dovecot
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ] net-mail/dovecot-2.0.11  USE="berkdb bzip2 doc ipv6 ldap
> maildir mysql pam ssl zlib -caps -cydir -kerberos -managesieve -mbox
> -mdbox -postgres -sdbox -sieve -sqlite -suid -vpopmail" 0 kB
> 
> Total: 1 package (1 reinstall), Size of downloads: 0 kB
> 
>  * IMPORTANT: 3 news items need reading for repository 'gentoo'.
>  * Use eselect news to read news items.
> 
> The /etc/dovecot/dovecot.conf file is as such:
[..]
> #listen = *, ::

What's the exact problem you're having?  No response?  Error response
from dovecot?

Do you see dovecot listening?

Do a 'netstat -a -t | egrep imap' and see if there's any output.

If it's not listening on *:imap (say on 127.0.0.1:imap for example)
then you probably want the 'listen = *' in your config file.

Is dovecot complaining in the logs?

When you emerge a new dovecot you need to restart it
(/etc/init.d/dovecot restart) or else you'll get errors with the
client/server communication as well.

Todd



Re: [gentoo-user] Can't emerge php-5.3.6

2011-05-26 Thread Todd Goodman
* Mike Diehl  [110526 13:40]:
> On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote:
> > * Mike Diehl  [110526 13:15]:
> > > I'm trying to do an emerge -u world and I'm down to php and one other
> > > package that needs it.
> > > 
> > > I've done emerge --sync several times.
> > > However, the php emerge fails:
> > > 
> > > 
> > > Generating phar.php
> > > /bin/sh: line 1: 11383 Segmentation fault  ` if test -x
> > > "/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php";
> > > then
> > > /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool
> > > echo -n -- "/var/tmp/portage/dev-
> > 
> > [..]
> > 
> > What's your sh linked to?  (ls -l /bin/sh)
> 
> lrwxrwxrwx 1 root root 4 May 25 08:24 /bin/sh -> bash
> 
> > What's the version of the package that provides it?
> 
> # emerge -s bash
> 
> *  app-shells/bash
>   Latest version available: 4.1_p9
>   Latest version installed: 4.1_p9
>   Size of files: 6,457 kB
>   Homepage:  http://tiswww.case.edu/php/chet/bash/bashtop.html
>   Description:   The standard GNU Bourne again shell
>   License:   GPL-3
> 
> 
> > Todd
> 
> -- 
> 
> Take care and have fun,
> Mike Diehl.

Wow, that is one seriously ugly line.

I'm able to build it OK (I'm running with php-5.3.6-r1 but built 5.3.6 with
ebuild /usr/portage/dev-lang/php/php-5.3.6.ebuild compile)

But I have bash-4.1_p10 and maybe our USE flags are different too.

Something is crashing while trying to do that mega-line run of shtool.

You could do the ebuild above so that you can then go into
/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build and see
if you can run shtool with that huge line and see what crashes.

Sorry,

Todd



Re: [gentoo-user] mutt: Tagging on the contents of mails

2011-05-28 Thread Todd Goodman
* meino.cra...@gmx.de  [110528 00:31]:
> Dale  [11-05-28 06:40]:
> > meino.cra...@gmx.de wrote:
> > >
> > >:
> > >
> > >How can I accomplish tagging on base of the contents of the mail
> > >with the mailreader mutt?
> > >
> > >Best regards,
> > >mcc
> > >
> > >
> > >   
> > 
> > Let's see if this helps:
> > 
> > http://www.mutt.org/doc/manual/manual.html#toc2.3
> > 
> > Should be more applicable to your needs.  ;-)   I have never used mutt 
> > but have been known to use Google on occasion, with good results 
> > results if I am lucky.
> > 
> > Dale
> > 
> > :-)  :-)
> > 
> 
> Yes, Dale, I tried that before. "T tage mail matching a pattern" does
> not what I seems to be: It matches only against the subject line.
> This was the reason, why I asked here...
> 
> Best regards,
> mcc
> 

Hi mcc,

What are you using for a pattern?

If I want to find pineapple anywhere in the message then I press 'T' and
then '~B pineapple'

There are lots of other '~' selectors.  I use ~f quite often to find
mail from a specific address.

If you want space you need to escape them or enclose the whole pattern
in quotes.

Todd




Re: [gentoo-user] [OT - More Router Advice] Cheap Router with decent/reliable VLAN support

2011-05-28 Thread Todd Goodman
* Tanstaafl  [110528 12:43]:
> After seeing an older thread asking about a router, I figured I'd ask my
> own question...
> 
> I'm looking for a cheap but reliable router that has decent and SIMPLE
> way to add VLANs (I'm not a CISCO guy and don't want to have to become
> one)...
> 
> Specifically, I want to have one VLAN that my wireless access points are
> plugged into, to provide ONLY internet access, and then a separate VLAN
> for my internal network...
> 
> This is to protect my internal net from any potentially infected
> machines that are on the wireless access points (I routinely work on
> infected computers for friends/family, so, I need internet access, but
> want them isolated from my internal network).
> 
> Anyone? Will one of the FLOSS builds for the cheap Cable/DSL routers
> support VLANs on the different built-in router ports (ie, Tomato, DD-WRT
> or OpenWRT)?
> 
> Looking forward to any suggestions/ideas...

Hi, I'm pretty sure OpenWRT supports VLANs.

I started using it on a Buffalo WHR-G300N (I think, not at home to check
right now.)  Cheap and I didn't expect much but it works great (far
better than any Linksys or trendnet products I've purchased and run
their firmware on.)

I'd highly recommend it.

Todd



Re: [gentoo-user] [OT - More Router Advice] Cheap Router with decent/reliable VLAN support

2011-05-30 Thread Todd Goodman
* Gregory Shearman  [110528 20:17]:
> In linux.gentoo.user, Todd Goodman wrote:
> > * Tanstaafl  [110528 12:43]:
> >> After seeing an older thread asking about a router, I figured I'd ask my
> >> own question...
> >> 
> >> I'm looking for a cheap but reliable router that has decent and SIMPLE
> >> way to add VLANs (I'm not a CISCO guy and don't want to have to become
> >> one)...
> >> 
> >> Specifically, I want to have one VLAN that my wireless access points are
> >> plugged into, to provide ONLY internet access, and then a separate VLAN
> >> for my internal network...
> >> 
> >> This is to protect my internal net from any potentially infected
> >> machines that are on the wireless access points (I routinely work on
> >> infected computers for friends/family, so, I need internet access, but
> >> want them isolated from my internal network).
> >> 
> >> Anyone? Will one of the FLOSS builds for the cheap Cable/DSL routers
> >> support VLANs on the different built-in router ports (ie, Tomato, DD-WRT
> >> or OpenWRT)?
> >> 
> >> Looking forward to any suggestions/ideas...
> >
> > Hi, I'm pretty sure OpenWRT supports VLANs.
> >
> > I started using it on a Buffalo WHR-G300N (I think, not at home to check
> > right now.)  Cheap and I didn't expect much but it works great (far
> > better than any Linksys or trendnet products I've purchased and run
> > their firmware on.)
> 
> I'll second that. I run a Buffalo Nfiniti WZR-HP-G300NH with openwrt
> installed. It is VLAN capable and has Gigabyte ethernet and b/g/n wifi.
> It also has a USB socket for extra disk storage if needed (or any other
> peripheral you fancy).  It just sits in the corner and does its job. It
> is also very cheap.
> 
> -- 
> Regards,
> Gregory.

Thanks Gregory, I do have the WZR-HD-G300NH.  Very cheap and works
great.

Todd



Re: [gentoo-user] [OT - More Router Advice] Cheap Router with decent/reliable VLAN support

2011-05-31 Thread Todd Goodman
* Tanstaafl  [110530 16:40]:
> On 2011-05-28 8:42 PM, Gregory Shearman wrote:
> > In linux.gentoo.user, Todd Goodman wrote:
> >> * Tanstaafl  [110528 12:43]:
> >>> Anyone? Will one of the FLOSS builds for the cheap Cable/DSL routers
> >>> support VLANs on the different built-in router ports (ie, Tomato, DD-WRT
> >>> or OpenWRT)?
> >>>
> >>> Looking forward to any suggestions/ideas...
> >>
> >> Hi, I'm pretty sure OpenWRT supports VLANs.
> >>
> >> I started using it on a Buffalo WHR-G300N (I think, not at home to check
> >> right now.)  Cheap and I didn't expect much but it works great (far
> >> better than any Linksys or trendnet products I've purchased and run
> >> their firmware on.)
> > 
> > I'll second that. I run a Buffalo Nfiniti WZR-HP-G300NH with openwrt
> > installed. It is VLAN capable and has Gigabyte ethernet and b/g/n wifi.
> > It also has a USB socket for extra disk storage if needed (or any other
> > peripheral you fancy).  It just sits in the corner and does its job. It
> > is also very cheap.
> 
> Thanks for the reco guys... will probably go with it...
> 
> Is the VLAN configurable via the GUI? Or is it commandline only? I'm not
> exactly a whiz with this stuff...
> 
> Also, any pointers to OpenWRT docs that cover creating VLANs? I
> obviously want to make sure I do it right... I'd hate to *think* I was
> secure and then find out the hard way I goofed when setting it up... ;)

I'm not at home and haven't used VLANs on it but I'm pretty sure it
supports GUI config of VLANs.

I've found the GUI to be very well done once I got used to the navigation
(which was counterintuitive at first to me, but then so are some
commercial GUIs too.)

Todd



Re: [gentoo-user] Cleaning redundant configuration files

2011-06-01 Thread Todd Goodman
* David W Noon  [110601 13:10]:
> On Wed, 01 Jun 2011 18:20:02 +0200, Neil Bothwick wrote about Re:
> [gentoo-user] Cleaning redundant configuration files:
> 
> >On Wed, 1 Jun 2011 15:57:58 +0100, David W Noon wrote:
> [snip]
> >> Remember: we are discussing the COMPLETE DELETION of a
> >> package, not an upgrade or rebuild.
> >
> >We are discussing unmerge behaviour, unmerging is part of the upgrade
> >and rebuild processes.
> 
> Now I see why we are talking/writing at cross purposes.
> 
> What I am proposing I would apply only to -C or -c options on an emerge
> command, not the internal actions during an upgrade/rebuild.  I have
> stated that several times in this thread, so I thought I had made
> myself clear.
> -- 
> Regards,
> 
> Dave  [RLU #314465]
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> dwn...@ntlworld.com (David W Noon)
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

What you seem to ignore or miss in the discussion is that an
emerge -C is necessary at times during an upgrade and rebuild when package
dependencies are not perfect.

That said, having it configurable with the default being the current
operation seems flexible.

Todd



Re: [gentoo-user] Cleaning redundant configuration files

2011-06-01 Thread Todd Goodman
* David W Noon  [110601 14:41]:
> On Wed, 01 Jun 2011 20:20:02 +0200, Todd Goodman wrote about Re:
> [gentoo-user] Cleaning redundant configuration files:
> 
> >What you seem to ignore or miss in the discussion is that an
> >emerge -C is necessary at times during an upgrade and rebuild when
> >package dependencies are not perfect.
> 
> See my follow-up to Volker Armin Hemmann on this.
> -- 
> Regards,
> 
> Dave  [RLU #314465]
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> dwn...@ntlworld.com (David W Noon)
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

It's not a rare situation as you imply in that followup and
copying off/backing up and then restoring is a lot of busywork and
fraught with risk when the current situation works just fine, thank you
very much.

If the current situation is unacceptable to you, why not create a patch
and work to get it approved?

Please make it optional with the default being the existing behavior.

Todd



Re: [gentoo-user] Re: thunderbird "fixed" folders? [SOLVED]

2011-06-07 Thread Todd Goodman
* kashani  [110606 19:37]:
> On 6/6/2011 4:31 PM, Alan McKinnon wrote:
> > Apparently, though unproven, at 01:01 on Tuesday 07 June 2011, James did 
> > opine
> > thusly:
> >
> >> Ju want closet commando action? Check out some of my old
> >> college buddies from Alaska:
> >>
> >> http://www.youtube.com/watch?v=Tza2L6kfl8E&feature=youtu.be
> >>
> >> PEACE (through superior firepower)
> >> is the Alaskan motto
> >
> >
> > WTF is that thing the ladies are firing at 1:25 and 4:25? I'll hazard a 
> > guess
> > at the calibre - 18mm?
> >
> > And I thought the RPG7s we played with back in the day were impressive
> 
> .50 cal or 12.9mm. It's single shot bolt action so it's likely some 
> variation of the Barret M82 rifle though there are other systems. $6-8 a 
> round to shoot or maybe as low as $3 if you're using reloads.
> 
> kashani

The M82 is a 10-rd, box magazine, semi auto, not a bolt action.

It could be a Ferret (bolt action .50 upper on an AR-15 lower) or
similar.

And ammo prices have come back down after people realized the best gun
salesman in the world (Obama) wasn't going to immediately try to push
new anti-self-defense regulations.

Todd



Re: [gentoo-user] portage-2.2.0_alpha38 & --depclean

2011-06-07 Thread Todd Goodman
* Alan McKinnon  [110607 04:42]:
> Latest portage-2.2.0_alpha38 has changed something with system set and 
> depclean handling. It now shows this:
> 
> !!! 'app-editors/nano' is part of your system profile.
>   
>   
> 
> !!! Unmerging it may be damaging to your system.  
>   
>   
> 
>   
>   
>   
> 
>   
>   
>   
> 
>  app-editors/nano
> selected: 2.3.1 
>protected: none 
>  omitted: none 
> 
> !!! 'sys-apps/less' is part of your system profile.   
>   
>   
> 
> !!! Unmerging it may be damaging to your system.  
>   
>   
> 
>   
>   
>   
> 
>   
>   
>   
> 
>  sys-apps/less
> selected: 443 
>protected: none 
>  omitted: none 
> 
> 
> Changelog doesn't say much about this. I have nano, vim, more and less 
> installed and vim is in world. I really don't feel like adding the other 
> three 
> since they are already in system (and by definition a subset of world)
> 
> Anyone else seeing this?
> 
> My profile is default/linux/amd64/10.0/desktop
> -- 
> alan dot mckinnon at gmail dot comg

I'm seeing it with nano

Todd



Re: [gentoo-user] Re: thunderbird

2011-06-11 Thread Todd Goodman
* pk  [110611 06:09]:
> On 2011-06-10 19:39, Todd Goodman wrote:
> 
> > Please keep bullshit libtard rude remarks out of Linux mailing list,
> > thank you.
> 
> With the risk of starting a flame war:
> 
> I would like to remind you that this is quite an international list;
> thus the american views of what's right or not may seem a bit
> "otherworldly" to us not from the US. Some of you seem to be living a
> life from a (really bad) western movie... And to be really "frank" your
> remark seems to me _at least_ as inflammatory as Nikos and he's right in
> that this is a gentoo user list which messages should at least have some
> sort of relation to gentoo and not political views, right?
> 
> Best regards
> 
> Peter K

Indeed there are many countries and continents represented and many
different views within each.

To be "frank," I was responding to his hypocrisy of saying that a Gentoo
mailing list should not include political views (rightly so in my
opinion) while espousing condescending political views himself (which
you so kindly cut from the email, however my reply was almost exactly
the same word for word as his.)

I'm now done replying to this thread so everyone who wishes to get in the
last word may have a go at it.

Med väiga häningar,

Todd



Re: [gentoo-user] Internet

2011-06-14 Thread Todd Goodman
* Cahn Roger  [110614 09:05]:
> Hi,
> 
[..]
>  * Bringing up interface eth0
>  *   dhcp ...
>  * Running dhcpcd ...
> dhcpcd[3076]: version 5.2.12 starting
> dhcpcd[3076]: eth0: waiting for carrier
> dhcpcd[3076]: eth0: carrier acquired
> dhcpcd[3076]: eth0: rebinding lease of 192.168.1.20
> dhcpcd[3076]: eth0: broadcasting for a lease
> dhcpcd[3076]: timed out
> dhcpcd[3076]: allowing 8 seconds for IPv4LL timeout
> dhcpcd[3076]: timed out
[..]

Hi Roger,

It looks like your DHCP server isn't serving addresses.

If it's your Internet router you might try resetting it (power cycling
it.)  I've seen them get wedged specifically relating to DHCP with many
different consumer brands.

Regards,

Todd



Re: [gentoo-user] Internet

2011-06-14 Thread Todd Goodman
* Cahn Roger  [110614 09:31]:
> Le 14/06/2011 15:15, Todd Goodman a écrit :
> 
> Hi Todd,

Hi Roger,

> 
> Thank you for your quick answer.

You're welcome (for what it's worth.)

> 
> > It looks like your DHCP server isn't serving addresses.
> 
> Well, it serves adresses for W7, and on the laptop for XP and Gentoo.
> The box is configured with fixed adresses.

Your DHCP server serves addresses for other hardware OK?

Just not on this box running either Gentoo or W7?

When you say fixed addresses you mean the DHCP server gives out a
fixed IP address based on the MAC address of the requestor?

Can you check the DHCP logs on the DHCP server?

> 
> > If it's your Internet router you might try resetting it 
> 
> I'll try it!

If that doesn't work, maybe a wireshark or tcpdump on your Gentoo
box and force it to send another DHCP request.

If you're using fixed IP addresses you might try manually configuring
the Gentoo box with it's IP address and see if networking all works
fine then?

Regards,

Todd

> 
> Thank you again Todd
> Roger
> 



Re: [gentoo-user] Internet

2011-06-14 Thread Todd Goodman
* Mick  [110614 17:20]:
> On Tuesday 14 Jun 2011 20:45:30 Cahn Roger wrote:
> > > # /etc/init.d/net.eth0 stop
> > > # ifconfig eth0 192.168.1.20 up
> > > 
> > > and post output of
> > 
> > /etc/init.d/net.eth0 stop
> >  * Caching service dependencies ...
> > /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
> > /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
> > SIOCADDRT: Le fichier existe
> > /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
> > /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
> > SIOCADDRT: Le fichier existe
> > /etc/init.d/../conf.d/net: line 9: broadcast : commande introuvable
> > /etc/init.d/../conf.d/net: line 10: netmask : commande introuvable
> 
> You need to remove those lines that I asked you to type on the command line 
> from the /etc/conf.d/net file - or look at the example file provided and use 
> that to define static address/broadcast/netmask correctly.
> 
> Typically something like:
> 
>   config_eth0="192.168.1.20/24" 
> 
> should do it.  If you want to define a static route and dns server add:
> 
>   routes_eth0="default via 192.168.1.1"
>   dns_servers_eth0="192.168.1.1"
> 
> HTH.
> -- 
> Regards,
> Mick

Well his /etc/conf.d/net file is now toast after what Thanasis had him
do.  So they're out of there now.  :-)

Todd



Re: [gentoo-user] crontab not executing

2011-06-20 Thread Todd Goodman
* Grant  [110619 18:09]:
> One of my systems has a crontab like this to clean up and consolidate
> the output of the video monitoring app "motion":
> 
> # crontab -l
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/home/grant/cron.root.txt installed on Sat Sep 25 10:42:18 2010)
> # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
> 50 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' +%Y%m%d)*.jpg
> 55 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' +%Y%m%d)*.avi
> 59 23 * * * /usr/bin/mencoder /home/motion/$(date +%Y%m%d)*.avi -noidx
> -o /home/motion/full-$(date +%Y%m%d).avi -ovc copy -oac copy
> 
> If I execute each command manually, it works great, but nothing
> happens otherwise.  Can someone tell me why this crontab doesn't seem
> to be executing?
> 
> - Grant

How did you edit and which file did you edit?

Did you use crontab -e?

Todd



Re: [gentoo-user] Re: Do we have to build gcc with fortran now?

2011-06-22 Thread Todd Goodman
* Nikos Chantziaras  [110622 11:53]:
> On 06/22/2011 06:35 PM, Dale wrote:
> > Nikos Chantziaras wrote:
> >>
> >> I suppose you got the idea by now ;-) Do you need dev-lang/R? If not,
> >> then "emerge -pv --depclean dev-lang/R". Do you need the package(s)
> >> that this brings up? If not, continue --depclean those until you reach
> >> something that has no other dependencies; meaning you reached the top
> >> level. Do you need *that*? If not, unmerge it, then depclean
> >> everything (just "emerge -a --depclean".)
> >>
> >> This should get rid of all stuff you don't actually need/want.
> >>
> >>
> >
> > Well, that leads back to KDE. So, looks like it stays.
> 
> And KDE wants Fortran because you have that USE flag enabled in 
> make.conf :-D

Well, I don't have fortran use enabled

mail-proxy ~ # euse -i fortran
global use flags (searching: fortran)

[-  ] fortran - Adds support for fortran (formerly f77)

local use flags (searching: fortran)

no matching entries found

However, kde-base/kde-meta-4.6.4 pulls in kde-base/kdeedu-meta-4.6.4
which pulls in kde-base/kantor which pulls in dev-lang/R (since my profile
has the R use flag enabled) which pulls in virtual/blas which pulls in
sci-libs/blas-reference-20070226 which then craps out since I don't have
the fortran use flag enabled.

My solution is to force -R in make.conf

> 
> 
> >>> Well, it appeared to only affect gcc here. We all know I have to have
> >>> that.
> >>
> >> GCC is a compiler collection. You usually only need gcc and g++.
> >> Fortan, Objective-C, Objective-C++, ADA, Pascal, Java, whatever else
> >> is usually something you don't install unless you know you need it.
> >
> > But gcc is the one that got rebuilt when I changed the USE flag. So, it
> > needs it because the other package needs it and in the end, KDE needs
> > all that stuff. So, the flag is added and I guess it is needed by
> > something I want to keep. Sort of like my GUI and all. ;-)
> 
> I'm on KDE too, and it doesn't need it.  Probably because my make.conf 
> explicitly says "-fortran" in it.
> 



Re: [gentoo-user] Re: Do we have to build gcc with fortran now?

2011-06-22 Thread Todd Goodman
* Dale  [110622 14:45]:
> Dale wrote:
> > Todd Goodman wrote:
> >>
> >> Well, I don't have fortran use enabled
> >>
> >> mail-proxy ~ # euse -i fortran
> >> global use flags (searching: fortran)
> >> 
> >> [-  ] fortran - Adds support for fortran (formerly f77)
> >>
> >> local use flags (searching: fortran)
> >> 
> >> no matching entries found
> >>
> >> However, kde-base/kde-meta-4.6.4 pulls in kde-base/kdeedu-meta-4.6.4
> >> which pulls in kde-base/kantor which pulls in dev-lang/R (since my 
> >> profile
> >> has the R use flag enabled) which pulls in virtual/blas which pulls in
> >> sci-libs/blas-reference-20070226 which then craps out since I don't have
> >> the fortran use flag enabled.
> >>
> >> My solution is to force -R in make.conf
> >>
> >
> > Let me make a note of that, in make.conf of course.  ;-)
> >
> > Thanks.
> >
> > Dale
> >
> > :-)  :-)
> >
> 
> When I did that, it complained that cantor was built with no backend.  
> Did you get the same thing?  It said this here:
> 
> WARN (postinst)
> 
> You have decided to build cantor with no backend.
> To have this application functional, please do one of below:
>  # emerge -va1 '='kde-base/cantor-4.6.4 with 'R' USE flag enabled
>  # emerge -vaDu sci-mathematics/maxima
> 
> So, I did the later and it needs to emerge several packages that I 
> didn't have before.  Looks like I can either have a bit of bloat on one 
> side or a bit of bloat on the other side.  o_O
> 
> I mention just in case you didn't notice the message and then something 
> borks on next login.
> 
> Dale
> 
> :-)  :-)

Yes, it complained about the same thing.  Since I don't know what cantor
is I figure I don't much care if it has a backend or not.  :-)

Seriously, I haven't noticed any issues yet not having the backend.

If I find something broken I need then I'll do as you did.

Thanks,

Todd



Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-22 Thread Todd Goodman
* Dale  [110622 16:41]:
> Matthew Finkel wrote:
[...]
> > Do correct me if I'm wrong, but wasn't blas-reference pulled in by
> > merging gcc with USE="fortran"? Or did you install blas-reference for
> > another reason?
> >
> >
> >
> >
> 
> 
> No clue.  I just -c'd some stuff and kept running revdep-rebuild and 
> emerge -uvDNa world until it all got sorted.  It took a few times but I 
> finally got a clean result.
> 
> The funny thing is this.  I removed about 3 packages but had to install 
> close to a dozen to satisfy what was missing.  Cantore, or something 
> like that, was left with no backend when I removed R.
> 
> So, removed some bloat then installed some more bloat.  Ain't that a peach?
> 
> Dale
> 
> :-)  :-)

No actually blas-reference fails to build unless gcc is built with the
fortran use flag enabled (since there's no fortran compiler available.)

The deps pulling in blas-reference are in my previous mail.

Todd



Re: [gentoo-user] Re: Do we have to build gcc with fortran now?

2011-06-23 Thread Todd Goodman
* Dale  [110622 17:40]:
> Todd Goodman wrote:
> > * Dale  [110622 14:45]:
> >
> >>
> >> When I did that, it complained that cantor was built with no backend.
> >> Did you get the same thing?  It said this here:
> >>
> >> WARN (postinst)
> >>
> >> You have decided to build cantor with no backend.
> >> To have this application functional, please do one of below:
> >>   # emerge -va1 '='kde-base/cantor-4.6.4 with 'R' USE flag enabled
> >>   # emerge -vaDu sci-mathematics/maxima
> >>
> >> So, I did the later and it needs to emerge several packages that I
> >> didn't have before.  Looks like I can either have a bit of bloat on one
> >> side or a bit of bloat on the other side.  o_O
> >>
> >> I mention just in case you didn't notice the message and then something
> >> borks on next login.
> >>
> >> Dale
> >>
> >> :-)  :-)
> >>  
> > Yes, it complained about the same thing.  Since I don't know what cantor
> > is I figure I don't much care if it has a backend or not.  :-)
> >
> > Seriously, I haven't noticed any issues yet not having the backend.
> >
> > If I find something broken I need then I'll do as you did.
> >
> > Thanks,
> >
> > Todd
> >
> >
> >
> 
> root@fireball / # eix cantor
> [I] kde-base/cantor
>   Available versions:  (4) 4.6.2{tbz2} 4.6.3{tbz2} (~)4.6.4{tbz2}
>  {+R aqua debug +handbook kdeenablefinal kdeprefix ps}
>   Installed versions:  4.6.4(4){tbz2}(01:24:34 PM 
> 06/22/2011)(handbook -R -aqua -debug -kdeenablefinal -ps)
>   Homepage:http://www.kde.org/
>   Description: KDE4 interface for doing mathematics and 
> scientific computing
> 
> root@fireball / #
> 
> You may not need it unless you jump into the menu and go to Education > 
> Mathematics > Cantor.  I don't even know how it works so if you are the 
> same as me, you won't need it.
> 
> Dale
> 
> :-)  :-)

Yeah, real doubtful as the machine is typically used to remote shell
into with a handlful of graphic apps started with a display on the
remote machine I'm sshing in from.  :-)

Thanks,

Todd



Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-23 Thread Todd Goodman
* Mark Knecht  [110622 18:35]:
> On Wed, Jun 22, 2011 at 2:28 PM, Todd Goodman  wrote:
> 
> >
> > No actually blas-reference fails to build unless gcc is built with the
> > fortran use flag enabled (since there's no fortran compiler available.)
> >
> > The deps pulling in blas-reference are in my previous mail.
> >
> > Todd
> 
> If you have virtual/fortran installed then portage will pull in a
> different Fortran compiler. (ifc on my machine)
> 
> - Mark

Yes of course.  Sorry for the imprecise statement.  But the point is my
profile turns on R by default so just by emerging kde-meta I end up with
the GCC fortran compiler and packages that require a fortran compiler.

And if the fortran use flag was turned off (either by changes on ~x86 or
if I turn it off myself) then I get build failures.

Todd



Re: [gentoo-user] Re: Do we have to build gcc with fortran now?

2011-06-23 Thread Todd Goodman
* Indi  [110622 18:59]:
> On Wed, Jun 22, 2011 at 04:30:01PM -0500, Dale wrote:
> > Then again, I don't fly either.  I have told people that if they 
> > see me on a plane, close the lid on my coffin.  That's the only 
> > way I would get on a plane.
> > 
> 
> You haven't lived until you've been up in a small, underpowered 
> ultralight or single engine plane. :)
> 
> -- 
> caveat utilitor 
> ??? ??? ??? ??? ??? ??? ??? 
> 

Or flying a small single-engine helicopter solo...

Todd



Re: [gentoo-user] Re: Do we have to build gcc with fortran now?

2011-06-23 Thread Todd Goodman
* Neil Bothwick  [110622 20:37]:
> On Thu, 23 Jun 2011 00:55:10 +0200, Alan McKinnon wrote:
> 
> > Helicopters are reserved for those with a death wish
> 
> Unless the helicopter is an air ambulance, not that what I was doing to
> require an air ambulance in the first place was particularly sane.
> 
> 
> -- 
> Neil Bothwick
> 
> Know thyself.  If you need help, call the C.I.A.

It seemed ironic that a recent training helicopter crash near here
resulted in the survivor being taken off in an air ambulance helicopter.

Though most of those I know of are twin engine turbines so chances are
good you won't lose both engines at once...

Helicopters are for those who are pigheaded enough to want to beat the
air into submission.  :-)

Todd



Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-24 Thread Todd Goodman
* Mike Edenfield  [110623 18:34]:
> On 6/23/2011 6:22 PM, Peter Humphrey wrote:
> > On Wednesday 22 June 2011 16:50:10 Dale wrote:
> > 
> >> If you use KDE like me, be prepared to put the thing back tho.  Some KDE
> >> packages depend on things that seem to need it enabled.
> > 
> > Looks like it's only packages that are pulled in by kdeedu-meta. Do you 
> > need 
> > all those?
> > 
> 
> It's one package (cantor) that has one dependency (R) that is optional
> (USE=-R) that falls squarely into the "if you aren't sure if you need it
> then you probably don't" category. So for most users, no, you don't need
> to build gcc with fortran. Dale's just playing it safe, I guess, after
> the admittedly scary "I'm all broken and stuff!" warning message cantor
> throws at you.
> 
> --Mike

What seems strange then is that if everyone keeps telling Dale that he
most likely doesn't need cantor and R then why is R enabled in the
profile by default?

Seems it should be -R by default?

Todd



Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-24 Thread Todd Goodman
* Mike Edenfield  [110624 08:25]:
> On 6/24/2011 8:03 AM, Todd Goodman wrote:
> > * Mike Edenfield  [110623 18:34]:
> 
> >> It's one package (cantor) that has one dependency (R) that is optional
> >> (USE=-R) that falls squarely into the "if you aren't sure if you need it
> >> then you probably don't" category. So for most users, no, you don't need
> 
> > What seems strange then is that if everyone keeps telling Dale that he
> > most likely doesn't need cantor and R then why is R enabled in the
> > profile by default?
> 
> It's not enabled in the profile, it's enabled in the ebuild:
> 
> IUSE="debug ps +R"
> 
> and likely for the same reason there's a scary warning. If 
> you're installing cantor, because you plan to use it (and 
> not because kde-meta is a bloat monster), you need one of 
> the two backends to make it work. R is the preferred option 
> there, so the cantor maintainers assume "if you want cantor, 
> you probably want R", and the cascade begins.
> 
> --Mike

Ah, OK.  So it really comes down to "kde-meta is a bloat monster."

Thanks,

Todd



Re: [gentoo-user] strange, but Makefile is missing from gentoo-sources

2011-07-19 Thread Todd Goodman
* Space Cake  [110719 08:29]:
> Hi,
> 
> I don't know exactly what happened but yesterday morning Makefile is
> disappeared from my /usr/src/linux directory
> 
> rw-r--r--  1 root 0 89856 jún1 12.18 config_38
> -rw-r--r--  1 root 0 92513 jún1 12.18 config_39
> lrwxrwxrwx  1 root 022 jún1 13.42 linux -> linux-2.6.36-gentoo-r8
> drwxr-xr-x 24 root 0  4096 júl   18 17.47 linux-2.6.35-gentoo-r12
> drwxr-xr-x 21 root 0  4096 júl5 14.50 linux-2.6.36-gentoo-r8
> drwxr-xr-x 10 root 0  4096 júl5 14.52 linux-2.6.38-gentoo
> drwxr-xr-x 21 root 0  4096 júl5 14.54 linux-2.6.38-gentoo-r3
> drwxr-xr-x 23 root 0  4096 júl   18 17.59 linux-2.6.38-gentoo-r6
> drwxr-xr-x 21 root 0  4096 júl5 14.51 linux-2.6.39-gentoo
> 
> 
> brutal portage # uname -a
> Linux brutal 2.6.36-gentoo-r8 #12 SMP Mon Jun 20 17:32:09 CEST 2011 i686
> Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz GenuineIntel GNU/Linux
> 
> 
> symlink is good, I've tried to re-emerge the current gentoo-source
> package but I still have no Makefile what is the easiest way to
> solve a problem like this?
> 
> Thank you
> Laszlo
> 

Did you actually cd into the proper directory?  That listing looks like
it's just /usr/src.

Also your linux symlink is quite old compared to the other
gentoo-sources you have installed.  Is that intentional or do you need
to manually update the symlink?

Regards,

Todd



Re: [gentoo-user] mysqld invoked oom-killer

2011-07-21 Thread Todd Goodman
* Paul Hartman  [110721 12:33]:
[..]
> I think if you have 4GB of RAM you shouldn't need any swap under
> normal circumstances. I have a gentoo box with just 256MB of RAM
> that's running web server (apache + php), mail server (postfix +
> dovecot), and database (mariadb), and it works fine if i disable swap.
> I do normally have swap enabled on it, though, because emerging
> sometimes uses a lot of RAM.
> 

Indeed, I have a server with 256MB of memory and it couldn't emerge
gcc when I had swap disabled.

However, it typically runs fine with no swap.

It's only running bind basically.



Re: [gentoo-user] Can't kill Firefox!

2011-07-23 Thread Todd Goodman
* Stroller  [110723 09:21]:
> 
> On 21 July 2011, at 19:48, Dale wrote:
> > ...
> > I would try to kill it as root.  The -9 option should work.  That hasn't 
> > failed me yet.  I always run kill commands as root and DOUBLE check the PID 
> > after typing it in.
> 
> I believe that `kill -9` is bad practice - doesn't it leave memory allocated 
> to the processes as unrecoverable or something?
> 
> I believe other signals should be attempted first. See the list in `man 
> kill`. I won't swear to it, but `kill -4` sounds right.
> 
> Stroller.
> 
> 

No, a kill -9 shouldn't leave memory allocated.

However, it is best to try other signals first because it gives the app
a chance to clean up before closing (if they handle the signals.)  But
that's also why they don't necessarily work.

SIGHUP (kill -1) is the first thing I generally try.  Depending on the
app I may try SIGQUIT (kill -15) but generally it's straight to kill -9
if the kill -1 doesn't work.

Todd



Re: [gentoo-user] Can't kill Firefox!

2011-07-23 Thread Todd Goodman
* Mick  [110723 10:20]:
> On Saturday 23 Jul 2011 14:31:23 Todd Goodman wrote:
> > * Stroller  [110723 09:21]:
> > > On 21 July 2011, at 19:48, Dale wrote:
> > > > ...
> > > > I would try to kill it as root.  The -9 option should work.  That
> > > > hasn't failed me yet.  I always run kill commands as root and DOUBLE
> > > > check the PID after typing it in.
> > > 
> > > I believe that `kill -9` is bad practice - doesn't it leave memory
> > > allocated to the processes as unrecoverable or something?
> > > 
> > > I believe other signals should be attempted first. See the list in `man
> > > kill`. I won't swear to it, but `kill -4` sounds right.
> > > 
> > > Stroller.
> > 
> > No, a kill -9 shouldn't leave memory allocated.
> > 
> > However, it is best to try other signals first because it gives the app
> > a chance to clean up before closing (if they handle the signals.)  But
> > that's also why they don't necessarily work.
> > 
> > SIGHUP (kill -1) is the first thing I generally try.  Depending on the
> > app I may try SIGQUIT (kill -15) but generally it's straight to kill -9
> > if the kill -1 doesn't work.
> > 
> > Todd
> 
> Thanks, I tried kill -15 first and then kill -9.  I also tried pkill, 
> killall, 
> but I got no response from firefox and run out of ideas.
> 
> What does kill -4 do?  What is ILL?

SIGILL is an illegal instruction.  Not one you'd want to use with kill
in general.

Todd



[gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels

2011-07-25 Thread Todd Goodman
Dale (and whoever else was having problems with Firefox and X hangs,)

I don't know if you've seen it but:

http://lkml.org/lkml/2011/7/24/54

looks like a thread that might be applicable?

Todd



Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels

2011-07-25 Thread Todd Goodman
* Dale  [110725 14:43]:
> Todd Goodman wrote:
> > Dale (and whoever else was having problems with Firefox and X hangs,)
> >
> > I don't know if you've seen it but:
> >
> > http://lkml.org/lkml/2011/7/24/54
> >
> > looks like a thread that might be applicable?
> >
> > Todd
> >
> >
> >
> 
> That does look interesting.  I had a few times where mine would just 
> hang and I could use the SysReq keys but most of the time it just plain 
> paniced.

Yes, I remember that.  But depending on your kernel config you could be
getting a "panic" based on settings (I believe.)

> 
> I'm not subscribed so if you see something interesting, let me know.  I 
> wish I could let them know it also causes kernel panics as well.  I 
> suspect tho that whatever fix they come up with, it will fix it all.  I 
> may go back to a older kernel too. lol  That may work for a temp fix 
> anyway.

I'll let you know if I see anything that looks related.  It would be
interesting if going back to 2.6.38 is a temp fix for you.  I know you'd
tried older kernels before but...

As someone else mentioned, you can certainly report it.  However, it
would be very helpful if you can get the panic information.  I know it's
difficult with X hanging and needing X to reproduce the problem but
SSHing to the machine and/or a netconsole might allow something to be
seen.  And the panic information would likely be quite illuminating.

> 
> Thanks very much for the link.  At least it is not just me and they know 
> about it now.

Yes, though hearing from more than one person with the issue might help
get it solved quicker.  There may be similarities between your machines
that point he finger at a certain area...

Todd

> 
> Dale
> 
> :-)  :-)



Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels

2011-07-26 Thread Todd Goodman
* Dale  [110725 15:33]:
> Todd Goodman wrote:
> > * Dale  [110725 14:43]:
> >
> >> Todd Goodman wrote:
> >>  
> >>> Dale (and whoever else was having problems with Firefox and X hangs,)
> >>>
> >>> I don't know if you've seen it but:
> >>>
> >>> http://lkml.org/lkml/2011/7/24/54
> >>>
> >>> looks like a thread that might be applicable?
> >>>
> >>> Todd
> >>>
> >>>
> >>>
> >>>
> >> That does look interesting.  I had a few times where mine would just
> >> hang and I could use the SysReq keys but most of the time it just plain
> >> paniced.
> >>  
> > Yes, I remember that.  But depending on your kernel config you could be
> > getting a "panic" based on settings (I believe.)
> >
> >
> 
> That is true.  I think .39 was the one that always paniced.  It seems 
> the later .38 wold sometimes give me a change to use the SysReq keys.  
> It' shard to recall now.  :/

Yes, I like to keep notes of what I've tried, but hindsight is 20-20

> 
> >> I'm not subscribed so if you see something interesting, let me know.  I
> >> wish I could let them know it also causes kernel panics as well.  I
> >> suspect tho that whatever fix they come up with, it will fix it all.  I
> >> may go back to a older kernel too. lol  That may work for a temp fix
> >> anyway.
> >>  
> > I'll let you know if I see anything that looks related.  It would be
> > interesting if going back to 2.6.38 is a temp fix for you.  I know you'd
> > tried older kernels before but...
> >
> > As someone else mentioned, you can certainly report it.  However, it
> > would be very helpful if you can get the panic information.  I know it's
> > difficult with X hanging and needing X to reproduce the problem but
> > SSHing to the machine and/or a netconsole might allow something to be
> > seen.  And the panic information would likely be quite illuminating.
> >
> >
> 
> I'm not subscribed there and that is a very high traffic list.  I did 
> take a look at the option of subscribing tho.  I also tried to ssh into 
> my rig from my old rig, it refused.  It couldn't even find my box.  It 
> worked fine after I rebooted tho.

Yes it is very high traffic.

You don't need to subscribe to post though and it's quite common to
mention at the end that you're not subscribed and request direct email
responses.

As far as ssh'ing in, I'd suggest doing it before the problem manifests
and trying to get console output on your screen.

> 
> 
> >> Thanks very much for the link.  At least it is not just me and they know
> >> about it now.
> >>  
> > Yes, though hearing from more than one person with the issue might help
> > get it solved quicker.  There may be similarities between your machines
> > that point he finger at a certain area...
> >
> > Todd
> >
> >
> >> Dale
> >>
> >> :-)  :-)
> >>  
> 
> Yea, having more info would be helpful but it appears that more than I 
> have has already been given.  I may see if I can email someone directly 
> or something.  Maybe that will work, if I don't go to spam or something.

I'd suggest emailing the list.  Emailing someone directly before that
might be considered quite rude.

> 
> Is this related to a specific nic driver?  I wasn't able to really tell 
> much from all the error messages they posted.  I still haven't tried a 
> different nic.  I sort of been busy.

No, there were a lot of IRQ changes.  It could impact pretty much any
driver though perhaps it's due to an incorrect assumption in a specific
driver that no longer holds after the IRQ rework.

Todd

> 
> Dale
> 
> :-)  :-)



Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels

2011-07-26 Thread Todd Goodman
* Dale  [110726 09:46]:
> Todd Goodman wrote:
> >
> > I'll let you know if I see anything that looks related.  It would be
> > interesting if going back to 2.6.38 is a temp fix for you.  I know you'd
> > tried older kernels before but...
> > Todd
> >
> >
> 
> This makes me wonder.  I have went all the way back to 2.6.35-r15 and it 
> does the same thing.  Could it be that my problem is unrelated?

It's certainly possible it's unrelated.  Or it could be something
similar and the other bug reporter made a mistake bisecting or didn't run
long enough to fail with that bisection.  It's possibly a lot of things
since we don't have enough information.

> 
> Also, I copied my current config over and ran make oldconfig.  Since I 
> am actually downgrading, would that work the same way or would it have 
> settings that no longer apply and may muck things up?

I don't think that would work OK (but don't know for sure.)  In most
cases it would probably work OK as I believe unused parameters will
be ignored.  But if a parameter was removed or the meaning changed then
you might have a problem (unlikely I'd guess, but I don't know.)

Todd

> 
> Dale
> 
> :-)  :-)



Re: [gentoo-user] wireshark fails. undefined reference to ****

2011-07-27 Thread Todd Goodman
* Dale  [110727 05:07]:
> Is anyone else running into this:
> 
> libtool: link: x86_64-pc-linux-gnu-gcc -DINET6 
> "-D_U_=__attribute__((unused))" -march=native -O2 -pipe -Wall -W -Wextra 
> -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith 
> -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security 
> -I/usr/include -I/usr/local/include -pthread -I/usr/include/gtk-2.0 
> -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 
> -I/usr/include/libdrm -I/usr/include -Wl,-O1 -Wl,--as-needed 
> -Wl,--as-needed -o .libs/rawshark rawshark-capture-pcap-util-unix.o 
> rawshark-capture-pcap-util.o rawshark-cfile.o rawshark-clopts_common.o 
> rawshark-disabled_protos.o rawshark-packet-range.o rawshark-print.o 
> rawshark-ps.o rawshark-sync_pipe_write.o rawshark-timestats.o 
> rawshark-util.o rawshark-tap-megaco-common.o rawshark-tap-rtp-common.o 
> rawshark-version_info.o rawshark-rawshark.o .libs/rawsharkS.o 
> -Wl,--export-dynamic -pthread -Wl,-rpath -Wl,/usr/lib64 
> -Wl,--export-dynamic  -L/usr/lib -L/usr/local/lib 
> wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so 
> wsutil/.libs/libwsutil.so /usr/lib64/libgmodule-2.0.so -lrt 
> /usr/lib64/libglib-2.0.so -lm -L/usr/lib64 -lpcap 
> /usr/lib64/libgnutls.so -lz -pthread
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_map_name'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_close'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setiv'
> epan/.libs/libwireshark.so: undefined reference to 
> `gcry_cipher_get_algo_keylen'
> epan/.libs/libwireshark.so: undefined reference to 
> `gcry_cipher_get_algo_blklen'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_read'
> epan/.libs/libwireshark.so: undefined reference to `gcry_pk_decrypt'
> epan/.libs/libwireshark.so: undefined reference to `gcry_strsource'
> epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_sprint'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setkey'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_map_name'
> epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_scan'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_setkey'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo_dlen'
> epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_release'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_write'
> epan/.libs/libwireshark.so: undefined reference to `gcry_strerror'
> epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_print'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_open'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_close'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_decrypt'
> epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_build'
> epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_nth_mpi'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_open'
> epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_release'
> collect2: ld returned 1 exit status
> make[2]: *** [dftest] Error 1
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_map_name'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_close'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setiv'
> epan/.libs/libwireshark.so: undefined reference to 
> `gcry_cipher_get_algo_keylen'
> epan/.libs/libwireshark.so: undefined reference to 
> `gcry_cipher_get_algo_blklen'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_read'
> epan/.libs/libwireshark.so: undefined reference to `gcry_pk_decrypt'
> epan/.libs/libwireshark.so: undefined reference to `gcry_strsource'
> epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_sprint'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setkey'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_map_name'
> epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_scan'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_setkey'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo_dlen'
> epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_release'
> epan/.libs/libwireshark.so: undefined reference to `gcry_md_write'
> epan/.libs/libwireshark.so: undefined reference to `gcry_strerror'
> epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_print'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_open'
> epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_close'
> epan/.libs/libwireshark.so: undefined r

Re: [gentoo-user] [OT] NFSv4: 32-bit server versus 64-bit client?

2011-08-04 Thread Todd Goodman
* walt  [110804 17:26]:
> I'm trying to be a good gentoo netizen by nfs-sharing /usr/portage between
> my three local gentoo machines, and failing :(
> 
> After weeks of fiddling, I discovered today that my problems come from
> using a 32-bit machine to serve my two 64-bit NFS clients(!)
> 
> (I'll mention up front that NFSv3 works perfectly -- only NFSv4 is bad.)
> 
> For reasons I don't know, the 64-bit client machines mount the 32-bit
> NFSv4 share with UID/GID 0xffe, which won't let even root write to
> the rw share.
> 
> I googled an old thread mentioning that 0x is decimal 65534, a UID
> traditionally assigned to the user 'nobody'.
> 
> Can anyone else reproduce my problem, or give a hint how to work around
> it?
> 
> (This list is so quiet today I'm wondering if gmane.org is down.)
> 

Does using the no_root_squash export option help on the machine
exporting the filesystem?  (See man exports)

Todd



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-16 Thread Todd Goodman
* Michael Mol  [110815 21:21]:
> On Mon, Aug 15, 2011 at 8:28 PM, Adam Carter  wrote:
> > http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street
> 
> This is related to a question I wanted to poll the list with. How does
> everybody here use Gentoo? For personal use? Production use? For
> server, desktop or embedded roles? What's your most interesting setup
> or use case?
> 
> I had Gentoo on both my desktop and HTPC, but I had to cannibalize the
> HTPC for parts, so now it's just on my primary desktop box.
> 
> -- 
> :wq

I have laptops, desktops, and servers.  The servers are nameservers,
mail servers, web servers, file servers, and SPAM filtering servers.

I also use Gentoo in VMs for network testing at work and have turned my
boss onto Gentoo as well.

Todd



[gentoo-user] Dependency Problem with Bind and Mysql

2011-09-06 Thread Todd Goodman
I've been getting the following problem trying to emerge world for the
past few days:

!!! Problem resolving dependencies for net-dns/bind from @selected
... done!

!!! The ebuild selected to satisfy "net-dns/bind" has unmet
requirements.
- net-dns/bind-9.8.1::gentoo USE="berkdb dlz mysql odbc ssl threads xml
  -caps -doc -geoip -gost -gssapi -idn -ipv6 -ldap -pkcs11 -postgres
-rpz -sdb-ldap (-selinux) -urandom"

  The following REQUIRED_USE flag constraints are unsatisfied:
mysql? ( !threads )

  The above constraints are a subset of the following complete
expression:
postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? (
dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


So it looks like bind-9.8.1 wants mysql with the threads use flag
disabled.  I have added:

>=dev-db/mysql-5.1.58-r1 -threads

to /etc/portage/package.use

However, I don't believe mysql-5.1.58-r1 uses the threads use flag?

Anyone have any ideas (aside from down-reving mysql?)

Thanks,

Todd



Re: [gentoo-user] Dependency Problem with Bind and Mysql

2011-09-07 Thread Todd Goodman
* Paul Hartman  [110906 10:08]:
> On Tue, Sep 6, 2011 at 9:32 AM, Paul Hartman
>  wrote:
> > On Tue, Sep 6, 2011 at 6:41 AM, Todd Goodman  wrote:
> >> I've been getting the following problem trying to emerge world for the
> >> past few days:
> >>
> >> !!! Problem resolving dependencies for net-dns/bind from @selected
> >> ... done!
> >>
> >> !!! The ebuild selected to satisfy "net-dns/bind" has unmet
> >> requirements.
> >> - net-dns/bind-9.8.1::gentoo USE="berkdb dlz mysql odbc ssl threads xml
> >>  -caps -doc -geoip -gost -gssapi -idn -ipv6 -ldap -pkcs11 -postgres
> >> -rpz -sdb-ldap (-selinux) -urandom"
> >>
> >>  The following REQUIRED_USE flag constraints are unsatisfied:
> >>    mysql? ( !threads )
> >>
> >>  The above constraints are a subset of the following complete
> >> expression:
> >>    postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? (
> >> dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl )
> >>
> >> (dependency required by "@selected" [set])
> >> (dependency required by "@world" [argument])
> >>
> >>
> >> So it looks like bind-9.8.1 wants mysql with the threads use flag
> >> disabled.  I have added:
> >>
> >>>=dev-db/mysql-5.1.58-r1 -threads
> >>
> >> to /etc/portage/package.use
> >>
> >> However, I don't believe mysql-5.1.58-r1 uses the threads use flag?
> >>
> >> Anyone have any ideas (aside from down-reving mysql?)
> >
> > I think you need to set bind -threads, not mysql.
> 
> I just tried and setting these USE flags for bind satisfied it:
> 
> net-dns/bind mysql dlz -threads
> 

Thanks everyone for pointing out my dumb mistake in interpreting the
output.  :-)

Todd



Re: [gentoo-user] emake die by compling

2011-09-28 Thread Todd Goodman
* Florian Philipp  [110928 16:05]:
> Am 28.09.2011 21:39, schrieb Alex Sla:
> > I can't just compile anything. Getting all the time: 
> > 
> > * Call stack:
> >  * ebuild.sh, line   56:  Called src_compile
> >  *   environment, line 3450:  Called gnome2_src_compile
> >  *   environment, line 2736:  Called die
> >  * The specific snippet of code:
> >  *   emake || die "compile failure"
> > 
> > don't have any idea
> > 
> > 
> > 
> 
> Usually, the actual error message is a few lines above this one. Please
> post it.
> 
> Want a blind guess? My bet is you updated gcc from 4.4 to 4.5, then
> unmerged 4.4 but forgot to activate the new one using gcc-config.
> 
> Regards,
> Florian Philipp
> 

And to add a bit more to that (as I managed to do just that recently):

First do a:

# gcc-config -l
 [1] i686-pc-linux-gnu-4.5.3 *

if you don't see a '*' next to any of the entries then none is
selected.

To select one do:

gcc-config [CC Profile]

For example,

# gcc-config i686-pc-linux-gnu-4.5.3

Todd



Re: [gentoo-user] Strange GCC behavior

2011-09-29 Thread Todd Goodman
* Nilesh Govindarajan  [110929 13:33]:
> Default function arguments in C are specified like this:
> 
> int func(int a = 10) {} // just a dummy function

No they're not.  C doesn't have default function arguments.

> 
> Now I save that in a file called foo.c
> 
> The above piece of code is valid in C as well as C++

Uh, no it's not.

> 
> Why is this happening? O_o

Because it's not correct C.

Todd



Re: [gentoo-user] Re: Can I send email under linux terminal?

2011-10-26 Thread Todd Goodman
* James  [111026 12:26]:
> Lavender  163.com> writes:
> 
> > So whenever I want to write a email I have to reboot
> > my computer and boot the windows system. I'm thinking that
> > if I can send or receive mails just under terminal, no
> > need web pages or windows. Also at the same time could 
> > I send mails though the mail server what I use right now under
> > terminal?
> 
> A long time ago there was command line syntax called
> "mail". I have not used it in a long time, but I'm sure
> the old unix sources are around, but it may require
> sendmail to be installed. Dunno and my memory is
> not reliable that far back (hell, last week's memories are
> a stretch if you really want the truth)
> 
> 
> Very useful for a variety of uses
> 
> I did find this in portage; it seems useful, but
> i Have never used this package
> 
> Come to think about it, the old mail command line
> stuffage may have been BSDish, but too foggy to
> recall the details..
> 
> http://search.cpan.org/dist/MailTools/
> 
> hth,
> 
> James
> 

There's mail-client/mailx which provides mail and is what you're
thinking of most likely (there were actually a few different
mail/Mail/mailx command line UNIX MTAs.)

But I wouldn't recommend it for general use (I prefer mutt) though I did
use it for such for a number of years in the 80s...

Todd



Re: [gentoo-user] Re: Can I send email under linux terminal?

2011-10-26 Thread Todd Goodman
* Mick  [111026 15:24]:
> On Wednesday 26 Oct 2011 17:51:08 Todd Goodman wrote:
> > * James  [111026 12:26]:
> > > Lavender  163.com> writes:
> > > > So whenever I want to write a email I have to reboot
> > > > my computer and boot the windows system. I'm thinking that
> > > > if I can send or receive mails just under terminal, no
> > > > need web pages or windows. Also at the same time could
> > > > I send mails though the mail server what I use right now under
> > > > terminal?
> > > 
> > > A long time ago there was command line syntax called
> > > "mail". I have not used it in a long time, but I'm sure
> > > the old unix sources are around, but it may require
> > > sendmail to be installed. Dunno and my memory is
> > > not reliable that far back (hell, last week's memories are
> > > a stretch if you really want the truth)
> > > 
> > > 
> > > Very useful for a variety of uses
> > > 
> > > I did find this in portage; it seems useful, but
> > > i Have never used this package
> > > 
> > > Come to think about it, the old mail command line
> > > stuffage may have been BSDish, but too foggy to
> > > recall the details..
> > > 
> > > http://search.cpan.org/dist/MailTools/
> > > 
> > > hth,
> > > 
> > > James
> > 
> > There's mail-client/mailx which provides mail and is what you're
> > thinking of most likely (there were actually a few different
> > mail/Mail/mailx command line UNIX MTAs.)
> > 
> > But I wouldn't recommend it for general use (I prefer mutt) though I did
> > use it for such for a number of years in the 80s...
> 
> I think that mailx is installed as a dependency on a gentoo system (unless it 
> is seriously stripped down?)
> 
> Just run mail in a terminal and it'll tell you if there is any messages 
> waiting for you.  To send (outside your OS) you'll need to install and 
> configure ssmtp, or sendmail, or postfix, or any other MTA in portage.  For 
> more 
> info look at man mailx or man mail.
> 
> -- 
> Regards,
> Mick

Yes, sorry, I meant to type "UNIX MUAs" above.  It is just an MUA and
not an MTA.

Todd



Re: [gentoo-user] apache2 not running (no pid file)

2011-12-13 Thread Todd Goodman
* Grant  [111213 14:07]:
> Has anyone else noticed this sort of behavior from apache-2.2.21-r1:
> 
> # /etc/init.d/apache2 restart
>  * Stopping apache2 ... [ ok ]
>  * Starting apache2 ...
>  * start-stop-daemon: /usr/sbin/apache2 is already running [ ok ]
> # /etc/init.d/apache2 restart
>  * apache2 not running (no pid file)
>  * Starting apache2 ... [ ok ]
> 
> It probably happens about half the time I restart apache2.  Nothing in
> /var/log/apache2/error_log besides:
> 
> [notice] caught SIGTERM, shutting down
> [notice] Apache/2.2.21 (Unix) configured -- resuming normal operations
> 
> - Grant

I've seen that for years.  I always assumed it was because the apache2
stop didn't complete before the apache2 start tried to start when I use
/etc/init.d/apache2 restart.

Instead I do an /etc/init.d/apache2 stop; ps aux | egrep apache until I
see all the threads are gone and then a /etc/init.d/apache2 start

Todd



Re: [gentoo-user] [HEADSUP] New udev-186 breaks pulseaudio

2012-07-05 Thread Todd Goodman
* Neil Bothwick  [120705 11:53]:
> On Thu, 5 Jul 2012 09:40:15 -0500, Paul Hartman wrote:
> 
> > > I backed down to udev-182-r3, which fixed the problem, but I had
> > > to run revdep-rebuild (again) to fix all the other packages that
> > > did build against libudev.so.1 and now had to be rebuilt a second
> > > time against libudev.so.0.  
> > 
> > I ran into the same think. lvm2 also doesn't build against it, which I
> > think could potentially result in an unbootable system in the right
> > situation.
> 
> Sync again, this has been fixed, at least for lvm2 and
> system-config-printer-common, I don't use pulseaudio. 
> 
> https://bugs.gentoo.org/show_bug.cgi?id=424810

There's a new pulseaudio release coming along too:

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

Todd



Re: [gentoo-user] GCC/Build Problems

2012-07-16 Thread Todd Goodman
* Christopher Lemire  [120716 08:08]:
[..]
> Making a simple Hello World and attempting to compile:
> 
> bullshark@beastlinux ~ % cat hello.c
> #include 
> 
> main() {
>   printf("Hello Working GCC\n.");
> }
> bullshark@beastlinux ~ % gcc hello.c -o hello
> /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/as:
> symbol lookup error:
> /usr/lib/binutils/i686-pc-linux-gnu/2.21.1/libopcodes-2.21.1.so:
> undefined symbol: buffer_read_memory
> bullshark@beastlinux ~ %

You might need to run gcc-config.

Try gcc-config -l and make sure one of the selections has an * next to
it.

If not, run gcc-config 
where  is the name you see in the gcc-config -l output (like
i686-pc-linux-gnu-4.5.3, for example)

Todd



Re: [gentoo-user] OT: How to make mutt open files by *EXTENSION*?

2012-07-23 Thread Todd Goodman
* Walter Dnes  [120723 17:48]:
>   My ISP emails invoices+receipts as PDF files.  Thay made a change in
> the "mime type" earlier this year that makes things more difficult...
> 
> Before
> ==
> [-- Attachment #2: blah_blah_blah.pdf --]
> [-- Type: application/pdf, Encoding: base64, Size: 47K --]
> 
> [-- application/pdf is unsupported (use 'v' to view this part) --]
> 
> After
> =
> [-- Attachment #2: blah_blah_blah.pdf --]
> [-- Type: application/octet-stream, Encoding: base64, Size: 79K --]
> 
> [-- application/octet-stream is unsupported (use 'v' to view this part) --]
> 
>   With "Type: application/pdf" I hit "v" and epdfview brought up the
> document.  With "Type: application/octet-stream" I have to save the
> attachment and manually open with epdfview.  Mime-type is useless in
> this situation.  Is there a way to force the file to be opened based on
> extension rather than mime type?
> 
> -- 
> Walter Dnes 

I think you could use something like mutt.octet.filter (There's a perl
version at http://www.davep.org/mutt/mutt.octet.filter.pl) to handle
application/octet-stream mime types.

It uses file to try to determine the proper type and can then use
whatever is in your mailcap to determine what to run.

It should be pretty easy to extend it to match on filename if you really
wanted to.

Todd



Re: [gentoo-user] OT: How to make mutt open files by *EXTENSION*?

2012-07-24 Thread Todd Goodman
* Terry  [120724 00:44]:
> 
> I may be mistaken (away from computer atm) but doesn't mutt use mailcap? I 
> believe I use /etc/mailcap but you could also use per user files, 
> /home/user/.mailcap to adjust your attachment handling. There's lots of 
> guides on the web.
> 
[..]

Hi Terry,

Yes, it uses mailcap (/etc/mailcap or ~/.mailcap.)

His problem is they've started sending his PDF as
application/octet-stream which needs further investigation to determine
what it really is.

Todd



Re: [gentoo-user] hard disk name changes within initramfs

2012-12-06 Thread Todd Goodman
* Helmut Jarausch  [121206 09:27]:
> Hi,
> 
> on one of several machines I have a problem with initramfs.
> 
> The machine has a single SATA drive. When the kernel boots it shows  
> that it is called /dev/sda,
> Now, within the init script of my initramfs it tries to mount /dev/sda2  
> as root but fails.
> Since the initramfs spawns a shell (busybox) I can see the device files  
> for /dev/sda?
> but fdisk /dev/sda fails.
> As it turns out, the harddisk is now named /dev/sdb with /dev/sdb?  
> partition names.
[..]

I can't tell you why it changed but after my device names got messed
around with (after an upgrade) and the next boot mounted /home on /tmp
and an initscript blew away a bunch of home directories before I caught
it I switched to mounting via UUID.  Once you find the UUID to use it's
easy and alleviates lots of problems in the future.

Todd



Re: [gentoo-user] 3.7.1 SATA errors

2012-12-25 Thread Todd Goodman
* Florian Philipp  [121225 07:16]:
> Am 23.12.2012 20:23, schrieb fe...@crowfix.com:
> > 
> > I have since had some time to explore this and find it related to the
> > kernel; 3.6.10 works fine, while 3.7.1 fails.  If I reset during the
> > 3.7.1 boot while it is spewing its error messages, but before the
> > kernel ultimately panics, I can reboot with 3.6.10, but if 3.7.1 goes
> > all the way to the panic, I have to power off and wait a few minutes
> > before a 3.6.10 reboot is succesful.  This is repeatable, but I
> > haven't bothered to see how long the system must be off; "a few
> > minutes" is enough.
> > 
> > There are two error messages during the 3.7.1 boot, repeated for all
> > SATA drives:
> > 
> > ata5.00: qc timeout (cmd 0x2f) ata5.00: failed to set xfermode
> > (err_mask=0x40)
> > 
> 
> The code that prints these messages has not been changed since 2011 so I
> guess it is a driver issue. You never posted which driver you use
> exactly and your kernel config enables all. Therefore I cannot look further.
> 
> The best way to find out what's wrong is to bisect the kernel, i.e.
> finding the exact commit that caused the issue to appear.
> 
> http://wiki.gentoo.org/wiki/Kernel_git-bisect
> 
> Unfortunately, there have been 1545 commits between 3.6 and 3.7. With
> blind bisection you need 39 kernels to find the issue. Maybe `git log`
> can give you a hint which commits might be relevant.
> 
> Regards,
> Florian Philipp
> 

A me too on the problem the original poster is seeing.

I too am seeing this on a server I have.  3.7.0 and 3.7.1 both don't work
but 3.6.10 works fine.

I'm using the sata_mv driver with a SuperMicro (two actually) cards with
Marvell MV88SX6081's.  These chips and their driver have had some issues
in the past.

I also looked for changes in the driver and didn't see any.  Though I
did see some libata changes.

I haven't had time to do a git bisect yet.

Todd




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

2012-12-25 Thread Todd Goodman
* Bruce Hill  [121224 21:17]:
> On Mon, Dec 24, 2012 at 04:54:08PM -0800, Mark Knecht wrote:
> > On Mon, Dec 24, 2012 at 4:29 PM, »Q«  wrote:
> > > On Mon, 24 Dec 2012 17:04:13 -0600
> > > Bruce Hill  wrote:
> > >
> > >> Gentoo had mkinitrd once upon a time, but it's now in attic.
> > >> Somewhere, sometime, for some reason, initramfs (inital ram
> > >> filesystem) became vogue for the Gentoo camp, rather than initrd
> > >> (initial ram disk image), and mkinitrd got retired.
> > >
> > > Is there Gentoo documentation for creating initramfs without using
> > > dracut?  I could only find documentation for doing it *with* dracut,
> > > and that procedure required using genkernel.  Surely Gentoo must have
> > > an initramfs guide for non-genkernel users, but I couldn't find one.
> > >
> > >
> > 
> > I used this one (I think!!!) 6 months or a year ago. It worked first
> > time but it was a bit of work getting there:
> > 
> > http://en.gentoo-wiki.com/wiki/Initramfs
> 
> Same question ... initrd.gz and initramfs are *not* the same thing; and there
> was a package called mkinitrd in Gentoo that was retired to attic some time
> ago, before my exodus from Slackware to Gentoo; therefore, I don't know it's
> history. Most distros still have a mkinitrd script, but not Gentoo. And there
> are lots of resources online which can guide you in making an initrd or
> initramfs. I'm an old guy and don't care to learn too much new unless someone
> very knowledgable in *nix (not just one distro) can give me a good reason for
> doing so. No one has with initramfs to date.

Try reading the kernel Documentation.  (e.g.,
/usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt.)

initramfs is an improvement over initrd.

Todd



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

2012-12-26 Thread Todd Goodman
* Bruce Hill  [121225 18:30]:
> On Tue, Dec 25, 2012 at 11:51:43AM -0500, Todd Goodman wrote:
> > > 
> > > Same question ... initrd.gz and initramfs are *not* the same thing; and 
> > > there
> > > was a package called mkinitrd in Gentoo that was retired to attic some 
> > > time
> > > ago, before my exodus from Slackware to Gentoo; therefore, I don't know 
> > > it's
> > > history. Most distros still have a mkinitrd script, but not Gentoo. And 
> > > there
> > > are lots of resources online which can guide you in making an initrd or
> > > initramfs. I'm an old guy and don't care to learn too much new unless 
> > > someone
> > > very knowledgable in *nix (not just one distro) can give me a good reason 
> > > for
> > > doing so. No one has with initramfs to date.
> > 
> > Try reading the kernel Documentation.  (e.g.,
> > /usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt.)
> > 
> > initramfs is an improvement over initrd.
> > 
> > Todd
> 
> Having read it years ago it still fails to give me a good reason for using it.

It gives plenty of good reasons.

If they aren't good for you then fine.

But if you read it you wouldn't be asking why initrd went away and was
replaced by initramfs.

Todd



Re: [gentoo-user] Re: 3.7.1 SATA errors -- SOLVED

2012-12-27 Thread Todd Goodman
* fe...@crowfix.com  [121227 10:08]:
> On Wed, Dec 26, 2012 at 09:41:54PM -0800, fe...@crowfix.com wrote:
> > 
> > I configured a minimal kernel to test it sooner, and it booted to a
> > prompt.  Now I am compiling with my normal config, including encfs and
> > a lot of other gorp, and will try it in the morning.
> 
> My bloated fully-larded normal config version of the patched 3.7.1
> kernel also works.  dmesg logs match with the usual differences in USB
> assignments and a few messages which changed wording.
> 
> The patch author says the patch is just waiting for the maintainers to
> approve it up the line.  I do not know if that means it will be in 3.7.2.
> 
> Thanks to everyone who helped here, especially with git bisect.

Thank you for doing the git bisect and tracking this down (and Mark for
pointing to the bugzilla.kernel.org bug.)

Todd



Re: [gentoo-user] Re: Ethernet Machination

2013-01-02 Thread Todd Goodman
* james  [130102 16:02]:
[..]
> 
> Well is all works automatically, but udev did not create the
> files I thought it would upon reboot:
> 
> 
> rules.d # ls -alg
> total 12
> drwxr-xr-x 2 root  192 Jan  2 14:37 .
> drwxr-xr-x 4 root  152 Dec  9 23:26 ..
> -rw-r--r-- 1 root 1896 Sep 30 08:13 70-persistent-cd.rules
> -rw-r--r-- 1 root 2652 Aug 20  2010 70-persistent-cd.rules.old
> -rw-r--r-- 1 root  948 Dec  3 03:52 70-persistent-net.rules.31dec2012.old
> 
> After deleting the 70-persistent-net.rule file
> 
> udev does not re-create it. All is now fine with rc-status
> only showing net.eth0 which is set up how I like it
> per /etc/conf.d/net. All services are fine
> 
> 
> Move on, or hand edit the '70-persistent-net.rules' file?
> 
> TIA,
> James

I don't know what version of udev you're running (sorry if I missed it,)
but the udev-186 elog says:

"Upstream has removed the persistent-net and persistent-cd rules
 generator. If you need persistent names for these devices,
 place udev rules for them in /etc/udev/rules.d."

That doesn't explain why you got the 70-persistent-cd.rules re-created
and not 70-persistent-net.rules, but maybe one of the udev releases I
didn't install and that you're running just stopped recreating the
70-persistent-net.rules file but still re-created the
70-persistent-cd.rules file?

I went from udev-182-r3 to udev-186 it looks like.

Personally if it works without the 70-persistent-net.rules file and you
don't plug and unplug Ethernet interfaces (like with USB dongles) then I
wouldn't create one myself.

Regards,

Todd



Re: [gentoo-user] Chromium no longer displays content of TLS certificate

2017-09-08 Thread Todd Goodman
Go to the menu -> More Tools -> Developer Tools, then Security tab and
then View Certificate button

Todd


On 09/08/2017 01:05 PM, Mick wrote:
> Either chromium has stopped displaying the content of the TLS certificate of 
> a 
> web site I happen to visit, or it has made it quite complicated for the user 
> to find it.
>
> Chromium would allow the certificate to be displayed by clicking on the 
> 'Secure' symbol on the left of the address bar.  However, when I click on it 
> now all I see is an acknowledgment this is a secure connection and some site 
> specific settings regarding e.g. javascript, et al.  I cannot find a way to 
> display the certificate.
>
> Would you know where in Chromium the site certificate is now available?  
>
>  Installed versions:  61.0.3163.79(17:04:58 09/08/17)(cups hangouts pic 
> proprietary-codecs pulseaudio suid system-ffmpeg system-icu -component-build -
> custom-cflags -gnome-keyring -kerberos -neon -selinux -system-libvpx 
> -tcmalloc 
> -test -widevine L10N="en-GB -am -ar -bg -bn -ca -cs -da -de -el -es -es-419 -
> et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -
> ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -
> vi -zh-CN -zh-TW")




Re: [gentoo-user] revdep-rebuild finds nothing, while revdep-rebuild.sh wants to rebuild the whole system

2017-10-18 Thread Todd Goodman

On 10/17/2017 10:40 PM, Nikos Chantziaras wrote:

Running the new revdep-rebuild finds nothing:

 $ sudo revdep-rebuild -i -- -a
  * This is the new python coded version
  * Please report any bugs found using it.
  * The original revdep-rebuild script is installed as revdep-rebuild.sh
  * Please file bugs at: https://bugs.gentoo.org/
  * Collecting system binaries and libraries
  * Checking dynamic linking consistency

 Your system is consistent

However, running revdep-rebuild.sh wants to rebuild everything:

  https://pastebin.com/raw/BHq2NU0G

Does someone know what's going on?



I don't know what's going on, but I see the same thing on one of my systems.

Todd



Re: [gentoo-user] [OT] Being Facebook member: How to anon?

2017-10-24 Thread Todd Goodman


On 10/23/2017 10:46 PM, tu...@posteo.de wrote:
>
 Hi Robert,

 oh YEAH!
 Thanks a lot for that quick start!

 I didi it, but...
 #>eix -I docker
 [I] app-emulation/docker
  Available versions:  17.03.2^si (~)17.06.2^si (~)17.09.0^si **^si 
 {apparmor aufs btrfs +container-init +device-mapper hardened overlay 
 pkcs11 seccomp}
  Installed versions:  17.09.0^si(05:48:14 PM 
 10/23/2017)(container-init device-mapper seccomp -apparmor -aufs -btrfs 
 -hardened -overlay -pkcs11)
  Homepage:https://dockerproject.org
  Description: The core functions you need to create Docker 
 images and run Docker containers

 [I] app-emulation/docker-proxy
  Available versions:  0.8.0_p2016 (~)0.8.0_p20170917^t **
  Installed versions:  0.8.0_p20170917^t(05:46:10 PM 10/23/2017)
  Homepage:https://github.com/docker/libnetwork
  Description: Docker container networking

 [I] app-emulation/docker-runc
  Available versions:  1.0.0_rc2_p20170308^t (~)1.0.0_rc3_p20170706^t 
 (~)1.0.0_rc4_p20170917^t {+ambient apparmor hardened +seccomp}
  Installed versions:  1.0.0_rc4_p20170917^t(05:46:07 PM 
 10/23/2017)(ambient seccomp -apparmor -hardened)
  Homepage:http://runc.io
  Description: runc container cli tools (docker fork)


 #>groups
 wheel mail uucp audio cdrom video games cdrw usb users docker wireshark 
 vboxusers vlock realtime
^^

 (as root)
 #>/etc/init.d/docker start
  * WARNING: docker has already been started
 (so it is runnig)

 (as user again)
 #>docker run --name firefox -e DISPLAY=$DISPLAY --device /dev/snd -v 
 /tmp/.X11-unix:/tmp/.X11-unix -v $XAUTHORITY:/tmp/.host_Xauthority:ro -dti 
 openhs/firefox-ubuntu

 docker: Cannot connect to the Docker daemon at 
 unix:///var/run/docker.sock. Is the docker daemon running?.
 See 'docker run --help'.
 [1]10401 exit 125   docker run --name firefox -e DISPLAY=$DISPLAY 
 --device /dev/snd -v  -v  -dti 

 H...seems I missed something...

 Cheers
 Meino




>>> Found this in dmesg
>>>
>>> [ 1587.391861] device-mapper: table: 254:0: thin-pool: unknown target type
>>> [ 1587.391863] device-mapper: ioctl: error adding target to table
>>>
>>> these two lines are added when I try to start /etc/ini.d/docker as root.
>>>
>>> Cheers
>>> Meino
>>>
>>>
>>>
>> I could this problem by defining 
>>
>> CONFIG_DM_THIN_PROVISIONING=y
>>
>> in the kernel, recompile it and the message disappears.
>> BUT:
>> still docker does not start...
>>
>> How can I fix that?
>>
>> Cheers
>> Meino
>>
>>
> Next fix:
> Need to activate the complete cgroup features.
>
> Now I get this error message in /var/log/docker.log
>
> time="2017-10-24T04:42:39.358339658+02:00" level=info msg="Loading 
> containers: start." 
> time="2017-10-24T04:42:39.869600530+02:00" level=error msg="could not get 
> initial namespace: no such file or directory" 
> time="2017-10-24T04:42:39.884438663+02:00" level=error msg="failed to set to 
> initial namespace, readlink /proc/4588/task/4588/ns/net: no such file or 
> directory, initns fd -1: bad file descriptor" 
> time="2017-10-24T04:42:39.885161875+02:00" level=info msg="Default bridge 
> (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip 
> can be used to set a preferred IP address" 
> time="2017-10-24T04:42:39.885339857+02:00" level=error msg="failed to set to 
> initial namespace, readlink /proc/4588/task/4588/ns/net: no such file or 
> directory, initns fd -1: bad file descriptor" 
> Error starting daemon: Error initializing network controller: Error creating 
> default "bridge" network: Failed to program NAT chain: Failed to inject 
> DOCKER in PREROUTING chain: iptables failed: iptables --wait -t nat -A 
> PREROUTING -m addrtype --dst-type LOCAL -j DOCKER: iptables: No 
> chain/target/match by that name.
>
> ...and now I really did not know how to hack further...
>
> Any help is very appreciated...
>
> Cheers
> Meino
>

You might need CONFIG_NF_NAT_IPV4 configured in your kernel to get the
NAT table for iptables (-t nat)

Todd



Re: [gentoo-user] The return of the dreaded "Cannot run C compiled programs"

2018-03-28 Thread Todd Goodman
What does 'gcc-config -l' show?

Todf

⁣Sent from BlueMail ​

On Mar 27, 2018, 5:02 AM, at 5:02 AM, Peter Humphrey  
wrote:
>On Tuesday, 27 March 2018 01:24:09 BST Daniel Frey wrote:
>
>> I ran into this some time ago and one of the updates removed the /lib
>->
>> /lib64 symlink.
>>
>> I simply ran `ln -s /lib64 /lib` and it was fine after that.
>
>Nice idea, Dan, but that isn't it in this case: 
>
># /bin/ls -ld /lib
>lrwxrwxrwx 1 root root 5 Mar 12 00:08 /lib -> lib64
>
>--
>Regards
>Peter


Re: [gentoo-user] alternate mta's

2013-05-05 Thread Todd Goodman
* Tanstaafl  [130504 16:18]:
> On 2013-05-04 3:27 PM, Alan McKinnon  wrote:
> > On 04/05/2013 18:52, Tanstaafl wrote:
> >> Ok, I have msmpt installed and working just fine.
> >>
> >> Now, all of a sudden, emerge -pvuDN world wants to install mailx.
> >>
> >> equery depends mailx says rkhunter is pulling it in via virtual/mailx
> >>
> >> Why isn't this dependency satisfied by the presence of msmtp?
> >>
> >> And more importantly, how can I fix it without installing mailx?
> 
> > Simplest answer:
> >
> > It was never done because nobody did it.
> >
> > Whoever maintains virtual/mailx does so believing they have a decent set
> > of implementations available for you to use. There was never any
> > guarantee there that all possible satisfiers for virtual/mailx would be
> > listed.
> >
> > File a feature request at b.g.o. if you feel msmtp satsifies virtual/mailx.
> 
> Actually, I'm not really concerned about virtual/mails...
> 
> My question is why does it want to install the full program 
> 'net-mail/mailx'? That would mean I had two mta's on my system, which 
> should be a conflict, right? I know if I try to install postfix, it 
> complains about msmtp as a blocker.

mailx is an MUA, not an MTA.  You can have as many MUAs as you like.



  1   2   >