Re: [gentoo-user] app-admin/mcelog daily cronjob?

2014-04-16 Thread Randy Barlow
On Wed, 16 Apr 2014 14:39:16 +0100
Stroller  wrote:
> Taking a look at /etc/cron.daily/ shows only one odd one out:
> 
>   $ sudo ls -lh /etc/cron.daily/
>   total 16K  
>   -rwxr-xr-x 1 root root  180 Feb  4 20:28 logrotate
>   -rwxr-xr-x 1 root root  196 Mar  3 09:48 man-db
>   -rw-r--r-- 1 root root  141 Apr 16 14:09 mcelog  
>   -rwxr-xr-x 1 root root 1.3K Feb  4 23:53 mlocate

I don't think cron will attempt to execute anything in cron.daily that doesn't 
have execute perms, so the error probably isn't coming from mcelog.

-- 
Randy Barlow 


pgpWmMYljOr98.pgp
Description: PGP signature


Re: [gentoo-user] Re: can not mount USB stick as user

2014-02-07 Thread Randy Barlow
On Thu, 06 Feb 2014 14:19:35 -0500, Alan McKinnon  
 wrote:

Dim memory tells me it's somewhere around 2006/7?


What about DIMM memory? Get it? Get it?

OK, I'll go back to my corner now…

--
R



Re: [gentoo-user] xterms --featureRICH --suggestions?

2014-01-28 Thread Randy Barlow
On Sun, Jan 26, 2014 at 04:52:22PM +, James wrote:
> One thing I miss
> is feature rich tabbed terminal session.

I recommend checking out x11-terms/terminator[0]. It can do tabs, and it
can also do grids. It's nice.

[0] http://gnometerminator.blogspot.com/p/introduction.html



Re: [gentoo-user] NAT problem

2014-01-10 Thread Randy Barlow
On Fri, Jan 10, 2014 at 09:55:32PM +0400, the wrote:
> I have a client that connects to my wifi, obtains an address via dhcp
> and ... can't acces almost all of internet sites.
> I was able to ping any web service I could think of, but I was able to
> use only google/youtube. I can do text/ image serches on google and
> can open youtube(but videos aren't loading). On other services wget
> says connection established, but it can't retrieve anything. if I ssh
> to an external server (not my nat server) I can ls, but if I try to ls
> - -alh I receive only a half of the files list and the terminal hangs
> after that.

This kind of thing could happen if two hosts on your network were using
the same IP address. Can you verify whether that might be the case or
not?

-- 
Randy Barlow



[gentoo-user] Another Network Management Utility: netctl

2013-12-19 Thread Randy Barlow
Heyo!

I saw some of the recent threads about NetworkManager and other
alternatives, and I wanted to share about one I tried and have liked so
far: netctl[0]. It is specifically designed for systemd by ArchLinux, so
if you are using a different init system, sorry for the noise in your
inbox :)

It has very nice and easy to use config files that you can generate to
describe your network interfaces and their configs. For example, I have
an internal bridge interface that I configure like this:

Description="br0"
Interface=br0
Connection=bridge
BindsToInterfaces=(enp4s0)
IP=static
IP6=static
Address=('192.168.25.1/24')
Address6=('1234:567:8:9ab::c/64 nodad')
SkipForwardingDelay=yes

Once you've defined your interface files (one config per interface), you
simply type:

# netctl enable 

This ends up generating the appropriate systemd unit files for you and
enabling them. It's so easy and intuitive, so I thought it would be
worth sharing with the other systemd users out there. I have a slightly
"different than normal" network config[1], and I found it to be
difficult to figure out how to do what I wanted with NetworkManager. I'm
confident that it is possible with NM, but it was taking me too long to
learn how to do it, and during my searching I learned about netctl and
it looked easier to me.

Only downside so far is that it is still masked[2], so if you don't like
running unstable packages you'll have to wait.

[0] https://wiki.archlinux.org/index.php/netctl
[1] It's not that complicated, but I've got a tunnelbroker.net virtual
interface, a DHCP'd WAN interface, and a bridge interface with a few
virtual nics and one real nic attached. I never really got it all
working with NM, though I can't remember for sure which pieces were
difficult (probably the tunnel?)
[2] https://packages.gentoo.org/package/net-misc/netctl

-- 
Randy Barlow


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


Re: [gentoo-user] to nest commands

2013-11-26 Thread Randy Barlow
On Tue, 26 Nov 2013 11:52:10 +0100
Hinnerk van Bruinehsen  wrote:
> There are some other options of "nesting" as well. You can use
> backticks "`" or $(...) to run a command "inside" another. An example
> would be emerge `qlist -CI x11-drivers`  (or the equivalent emerge
> $(qlist -CI x11-drivers) ) . This would run "qlist -CI
> x11-drivers" (lists installed packages of the category x11-drivers)
> and use this output for emerge (which will effectively result in
> reinstalling every package from the x11-drivers category).

As I understand it, the $(...) syntax is the preferred way of nesting,
as opposed to backticks. I think this may be due to backticks requiring
some special escaping that the $(...) syntax does not require. I
attempted a brief search for supporting information, but didn't find a
definitive source to back up my claims :)


signature.asc
Description: PGP signature


Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-25 Thread Randy Barlow
On Sun, 24 Nov 2013 15:14:33 +0100
Marc Stürmer  wrote: 
> When working under X11 in a terminal and I type "exit" in the shell,
> the terminal does not close itself anymore.

Hi Marc,

Did you find out what was causing this issue? I've been experiencing it
as well in my Gnome 2 system (gnome-terminal). I haven't put much
effort into figuring out what is happening, but I'm curious now that I
know it has affected someone else as well.



Re: [gentoo-user] HA-Proxy or iptables?

2013-08-29 Thread Randy Barlow
Honestly, I think the best solution is to switch the company to using domain 
names to access these resources. This makes it much easier to silently 
introduce things like load balancers later on if you ever need to scale. It's 
also much easier to communicate to new users how to find this resource. Once 
you migrate to IPv6 it becomes a very long address to tell people as well.

To answer your specific question, I would just do it with iptables if you must 
continue accessing it by IP address. I will point out that the service on the 
new IP address now has doubled its chances of going out of service, because it 
depends on both machines running, even though the first has nothing to do with 
it. Also, doing this with firewall rules isn't very nice from a systems 
management perspective for the future, as it's not very obvious what's going on 
with some server rewriting packets for another one. If someone sees that in two 
years, are they going to know what to do? What if they want to take server 1 
down, and forget that it also disrupts 2? Using DNS is much cleaner for these 
reasons.

Re: [gentoo-user] SSD partitioning and migration

2013-07-22 Thread Randy Barlow

Stroller wrote:

I wouldn't have bothered making this distinction, but I think:

1TB = 1000GB
1Tb = 125GB


There are also TiBs[0]:

1 TiB = 1024 GiB

Similarly, there are MiB, etc.

[0] http://en.wikipedia.org/wiki/Tebibyte

--
R



Re: [gentoo-user] syslog-ng segfaults

2013-07-22 Thread Randy Barlow

Neil Bothwick wrote:

Try app-admin/checkrestart, I generally run this after updating any
daemons or libraries.


This sounds very helpful, thanks for the suggestion Neil!

--
R



Re: [gentoo-user] syslog-ng segfaults

2013-07-19 Thread Randy Barlow

Alexey Mishustin wrote:

So, restarting syslog-ng should be all that's required to fix it - reboot is
>overkill.



As for me, first I updated syslog-ng, then I issued
'/etc/init.d/syslog-ng reload' (by mistake, instead of 'restart'), and
then 'restart' as I should. Then, just when syslog-ng was restarting,
the segfault happened.


I also noted that restarting syslog didn't seem to solve the problem. I 
do think Adam's reasoning makes sense, but there must be something else 
that needed to be restarted as well.


--
R



Re: [gentoo-user] [Solved] syslog-ng segfaults

2013-07-19 Thread Randy Barlow

Dan Johansson wrote:

Question: Is this a "physical" host or is it a virtual host running
under qemu?
Reason for my question ist that recently the CPU-Id presented from quemu
in the guest has changed and if you have CFLAGS="-march=native" then
some newly compiles SW could fail. One way to solve this is to change
the CFLAGS to "-mtune=native" and recompile the affected SW (or world).


Hi Dan!

Out of the three machines that were experiencing this issue, one was 
physical and two were virtual. The one I rebooted that solved the 
problem was virtual. I haven't yet rebooted the other two.


Thanks for the tip, I believe I am using -march=native, so perhaps I 
should address that issue as well. Do you know which version of qemu 
this change was introduced in?


--
R



Re: [gentoo-user] [Solved] syslog-ng segfaults

2013-07-18 Thread Randy Barlow

Randy Barlow wrote:

I'll add in that this seems to be happening to all three of my x86_64
hosts. It does not appear to happen on my x86 host.


I rebooted one of the hosts that was experiencing this issue, and it did 
not return afterwards. This surprises me, as restarting the service did 
not solve the problem. I don't really know what was the cause, but it 
does appear to have gone away. I know that I have not rebooted since I 
upgraded to that particular version, so perhaps there is something odd 
that requires more than just a restart of syslog-ng.


Thanks to Bruce for help!

--
R



Re: [gentoo-user] syslog-ng segfaults

2013-07-18 Thread Randy Barlow
On Thu, 2013-07-18 at 18:41 -0400, Randy Barlow wrote:
> Has anybody else seen anything like that?

I'll add in that this seems to be happening to all three of my x86_64
hosts. It does not appear to happen on my x86 host.

-- 
R




Re: [gentoo-user] syslog-ng segfaults

2013-07-18 Thread Randy Barlow
On Thu, 2013-07-18 at 17:49 -0500, Bruce Hill wrote:
> Try changing the version at the top of the config file to the present version.

It's at 3.4, and I have the gentoo default config. Thanks for the
suggestion!

-- 
R




Re: [gentoo-user] syslog-ng segfaults

2013-07-18 Thread Randy Barlow
On Thu, 2013-07-18 at 18:41 -0400, Randy Barlow wrote:
> I saw that there were a couple of syslog-ng threads recently, but
> neither of them mentioned any segfaulting which I am currently
> experiencing. My log file (dmesg and /var/log/messages) is full of lines
> like this:
> 
> syslog-ng[32015]: segfault at 44d8 ip 7f4f3fa23c83 sp
> 7fffb233b940 error 4 in libsyslog-ng.so.0.0.0 (deleted)[7f4f3f9eb000
> +67000]

I forgot to mention my version:

$ equery list syslog-ng
 * Searching for syslog-ng ...
[IP-] [  ] app-admin/syslog-ng-3.4.2:0

-- 
R




[gentoo-user] syslog-ng segfaults

2013-07-18 Thread Randy Barlow
I saw that there were a couple of syslog-ng threads recently, but
neither of them mentioned any segfaulting which I am currently
experiencing. My log file (dmesg and /var/log/messages) is full of lines
like this:

syslog-ng[32015]: segfault at 44d8 ip 7f4f3fa23c83 sp
7fffb233b940 error 4 in libsyslog-ng.so.0.0.0 (deleted)[7f4f3f9eb000
+67000]

Has anybody else seen anything like that?

-- 
R




Re: [gentoo-user] sendmail: warning: inet_protocols: disabling IPv6

2013-06-18 Thread Randy Barlow

On Tue, 18 Jun 2013 12:39:12 -0400, Joseph  wrote:

I've tried to edit /etc/postfix/main.cf
but it does not contain any statement such as "inet_protocols"

It could be something to do with a new portage :-/


I use inet_protocols = all on my mail system (that way it's dual stack). I  
bet if you add that line, you'll be good to go.


--
R



Re: [gentoo-user] why my system is keeping old kernel around?

2013-04-28 Thread Randy Barlow
On Sun, 2013-04-28 at 18:47 +0200, Alan McKinnon wrote:
> By far the most likely cause is you type
> 
> emerge =gentoo-sources-
> 
> and forget to use the -1 option. It's the same thing that results in
> packages called *lib* in world

Yeah, I knew that doing this would cause what I was talking about, but I
don't recall ever having using a specific version in a kernel emerge
command. I guess it's possible I just don't remember doing it, but it
happens often enough that I don't think this is why.

I'll try to pay attention to the contents of world and see if I can
pinpoint an action that is doing this. Thanks!

-- 
Randy Barlow




Re: [gentoo-user] why my system is keeping old kernel around?

2013-04-28 Thread Randy Barlow
On Sun, 2013-04-28 at 09:29 +0100, Neil Bothwick wrote:
> Do you have them in your world file?

I've noticed a few time before that gentoo-sources occasionally ends up
in my world file with a specific version (rather than just being
unversioned, like most packages in world). This will cause depclean to
leave those versions installed.

I've never determined what I am doing that causes that to get there with
the specific version, but I've noticed it gets in there sometimes. I
just remove it from the file and continue, but perhaps one day I'll
figure out when (and why) it's getting in there in the first place.

-- 
Randy Barlow




Re: [gentoo-user] Removing pulseaudio

2013-04-28 Thread Randy Barlow
On Sun, 2013-04-28 at 11:59 +0200, Alan McKinnon wrote:
> You don't say what your project is, but reading between the lines I
> think it's safe to assume it's a somewhat niche project with specific
> goals that solves a specific problem, right?

This is true (I almost typed True. That's what happens when you code 8
days a week.)

> Such projects come with their dep list as you pointed out and this only
> affects the machines that project runs on. In eight years hanging out on
> this list I don't recall any cases of users complaining about deps of
> projects in such a class.
> 
> What we complain about here is basic low-level software changes that
> affect much more than just their own little universe, and will do it ON
> ALL LINUX MACHINES NOW AND IN THE FUTURE.

Well, this will be the case if nobody forks these projects, or writes
competing projects. As Dale has pointed out, there already is eudev. For
systemd, you have OpenRC as an alternative. For Pulse, you can just use
a different DE. I understand that you don't like the direction that
these projects are going, and I'm not attempting to convince you to like
or use them. I'm just trying to point out that there are viable
alternatives.

Perhaps you are concerned that Gentoo will require these technologies?
That might happen, I don't know one way or the other. If it does,
there's always the possibility of forking Gentoo itself (there are
already a handful of Gentoo derivatives.)

> That is a whole different kettle of fish entirely and is interpreted
> very differently from what your project does, this is the point where
> the analogies break down. Regardless of how similar two things may
> appear on technical merit, the reaction of users is always the deciding
> factor.

Fair enough.

> udev rules changed network names for all recently updated Linux machines
> everywhere.
> Separate /usr caused changes to many machines not using an initrd, and
> will continue to do that for all time.
> systemd changes how sysadmins start and shutdown their machines, and how
> that works for every service on the host whether the sysadmin likes it
> or not.
> PA makes deep changes to how the machines handles sound, and the user
> for the most part never agreed to have those changes. The user agreed to
> use Gnome and the change came in from left field unexpected.

Yeah, I fully understand why you don't like these. I don't fully like
them either, to be honest. I too experienced some inconveniences during
my upgrades, particularly around udev. However, in my case, I'm willing
to accept it. For you, there are alternatives.

> With your project, the user knows upfront they will need MongoDB, they
> make an informed decision about this before ever emerging your code at
> all. So your analogy doesn't really hold true. A much better analogy
> would be if your project used MySQL and one day you required them to
> upgrade to Oracle (and not the free one either...). Plus, you don't
> really give them a choice - you also say that all support for all
> currently released versions will end in 6-12 months. You are giving the
> *apparency* of choice, whilst creating the *reality* of no (or very
> little) choice. Does this not look to you a lot like lock-in?

Yeah, I think I understand more where you are coming from. And I do see
how my project is different. My project is unlikely to be installed by
default on all the major Linux distributions, so there's no worry that
we will be bringing MongoDB to be on each distribution.

I just want people to focus on the fact that there is still choice. You
are not alone in your dislike for these technologies, and for you there
are options. Yeah, maybe you will be using a technology that is only
used by a minority, but we're all used to that on this list, right? :)

-- 
Randy Barlow




Re: [gentoo-user] Removing pulseaudio

2013-04-27 Thread Randy Barlow
On Sat, 2013-04-27 at 15:13 -0500, Dale wrote:
> I dealt with udev too.  I switched to something that doesn't force me to
> chose having /usr on / or having a init thingy.  Since I switched, I can
> have /usr on its own partition and not have a init thingy.  Having
> options worked very well.  Not having a option would not have ended as
> well for me and others.

Yeah, this is the great thing about Open Source!

> For me, I just didn't like the way udev was going so I, and others,
> complained a lot and when someone came up with a better plan, I switched
> as I'm sure others did too.  If people that use Gnome don't like
> pulseaudio, they should have a option to use something else.  If they
> don't have that option, then in my opinion it is perfectly acceptable
> for a person to say they don't like it.  If everyone just goes along and
> doesn't say anything, then people that can make a option won't know one
> is needed to begin with.

I think it's fine to not like something and to say so. However, there is
a line between respectfully requesting features, and complaining about
something that someone is giving you for free (hence my gift horse
reference). I don't intend this last sentence to read harshly, or
intended as a personal attack against anyone. I'm just sharing how the
mood of some posts on this thread feels to someone who is an Open Source
developer.

The word "force" is not appropriate to be used in the context of Open
Source software. We all have the freedom to choose any number of
alternatives to Gnome or udev (including already existing forks and
derivatives). Force more often involves men with guns (or Darth Vader).

The project that I work on does not "force" you to use MongoDB. However,
if you wish you make use of my project in the way it was intended to be
used without modifications, you will need to use MongoDB. It's a hard
dependency. Nobody is forcing you to use my project, and there are
alternatives you can choose from. You also have the freedom to git clone
us, and change it to use SQLite, or MariaDB, or PostgreSQL, or anything
else you like (however, if you use LDAP as a database, I know someone
who might hunt you down!) By the nature of us giving you the code with
an Open Source license (GPL), it's freedom for you, not force.

> I shortened the above but since you mentioned using windoze instead of
> Linux, that is not a option here.  I'll donate money/time or whatever I
> can to Linux but I will NOT pay for a OS that is even half as crappy as
> windoze.  I have never bought anything M$ and have no plans to ever do
> it either.  It just is not a option for me.  I have family/friends that
> use windoze and that is about all I can stand.  Actually, I switched my
> brother about a year ago.  I switched him to Kubuntu but it still beats
> the stuffins out of windoze. 

I think you may be thinking of someone else. I don't recall having ever
mentioned The Evil OS®. I too have been using Linux exclusively for a
fairly long while :)

-- 
Randy Barlow




Re: [gentoo-user] Removing pulseaudio

2013-04-27 Thread Randy Barlow
I've been a little surprised at some of the posts in this thread. As
some others have pointed out, I do not believe it is fair to state that
anyone is forcing you to use any particular software (such as
PulseAudio, or udev), as it is your choice to use Linux or not in the
first place. Why do these same people not complain about being "forced"
to use the Linux kernel? After all, it would certainly be tricky to
install Gentoo on metal, and not use the Linux kernel.

As an open source developer and as an open source consumer (and of
course I consume far more open source efforts than I contribute), I
think it is important to keep in mind that we are benefiting from the
generosity of others. I think the idiom, "Don't look a gift horse in the
mouth" is probably appropriate to this discussion.

Another important point that has been said by others that I think is
worth highlighting is that there are many ways to go without using
PulseAudio if you really want ALSA. Gnome happens to depend on it, but
that's the choice of Gnome developers and not us.

I happen to work on an open source server product that requires the use
of MongoDB. There are many community users who complain about that, as
they would rather us use the DB of their preference (PostgreSQL is a
common request). I don't disagree that it would be cool if my project
could use either DB and let the users go with their own choice, but it's
not a priority for us due to the long list of other features and bugs
that we need to deal with. It's so much simpler for us to only support
one database, and so it allows us to deliver a lot of other cool
features instead. I think that is a reasonable decision on our part, and
some of our community members disagree and that's fine. I don't think we
or they feel any animosity about it. It would significantly increase our
QE and development costs if we were to support other DBs. I think Gnome
and PA can be thought of in a similar light.

I will divulge that I happen to like Gnome and PulseAudio, and so
consider me biased. I did find the /usr thing with udev to be kind of
inconvenient since I did happen to have a separate /usr, but I dealt
with it and am grateful to have a free udev that I can use.

Note that I'm not saying you need to like or use these technologies - I
just ask that you realize that there are pretty good reasons for Gnome
to simplify their dependency list, and that you do still have great
freedom in your software choices. There are many great alternatives to
Gnome. Open Source software is incredible, and I think it's exciting to
think about all the many choices it has brought us so far. Any one of us
could fork any OSS project we wanted at any time and tweak it for what
we want and share with the world. That is really good.

-- 
Randy Barlow




Re: [gentoo-user] How reliable is ext3?

2013-04-23 Thread Randy Barlow
On Tue, 2013-04-23 at 14:40 -0400, Walter Dnes wrote:
>   I recently got a new Dell "desktop PC" at home, and ran Windows for a
> while to make sure nothing is broken.  Now I'm getting ready to
> partition and reformat for a Gentoo install.  My understanding is that
> BTRFS and EXT4 are still a bit "bleeding edge".  I've used ReiserFS3 for
> years with no problems, but I keep hearing horror stories about it.
> This will be my biggest main hard drive yet (1 terabyte), so I'm
> considering EXT3 for the main partition.  Comments?

I think btrfs is definitely still considered "experimental", but ext4 is
considered stable by the kernel team, I believe. I've been using ext4 on
many systems for a few years, and it's been fine. It has the advantage
of having extents over ext3, as well as a few other performance
improvements.

-- 
Randy Barlow




Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Randy Barlow
On Sun, 2013-04-21 at 12:56 -0400, Tanstaafl wrote:
> Yes I can't take snapshots with ESXi, but everything I've read says
> that 
> for these to be consistent, they need to be done when the VM is
> shutdown.
> 
> Also, they take a LONG time, whereas an LVM snapshot happens almost 
> immediately.

This reveals a significant advantage to using LVM, if you wish to use
snapshots as the target for backups. I personally prefer this, as I
mentioned in another e-mail in this thread, due to getting a "crash
consistent" view of the disk since it will not change while the backup
is in progress. The fact that LVM snapshots happen instantly is an
advantage, and also that you can perform the snapshots while the system
is running.

-- 
Randy Barlow




Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Randy Barlow
On Sun, 2013-04-21 at 15:04 -0400, Tanstaafl wrote:
> ???
> 
> This doesn't make sense to me.
> 
> Unless you're talking about using LVM on the HOST.

Ah, apologies, I think I had misunderstood. Given that you are using
ESXi, I should have thought that LVM on the host wouldn't be possible.
Are you set on using ESXi? If not, I think there are some compelling
advantages to some of the open source solutions. If so, you are correct
that my suggestion about performance advantages wouldn't apply to you.

> I'm not. I didn't specify this in this particular post, but I'm using 
> vmWare ESXi, and installing a gentoo VM to run on it.
> 
> So, I'm asking about using the LVM2 installation manual from Gentoo
> and 
> using LVM2 for just my gentoo VM...
> 
> So, in this case, is it still recommended/fully supported/safe?

In this case, I think you may lose some of the LVM advantages. Assuming
that a volume resize in ESXi is pretty easy, you won't need the guest to
use LVM to take advantage of it.

Here's one though, and I'm not sure the answer: can you easily mount an
ESXi snapshot somewhere, and make a real backup from it? I use LVM to
snapshot my FS, mount that snapshot somewhere, and then I have my backup
software back that up instead of the live system. This has the advantage
of allowing the backup software to have a consistent view of the disk as
it does its work, and gives you sort of a "crash consistent" backup. If
you can still do that with ESXi, that's about the only other advantage.

As to whether its supported, I'm not an expert of ESXi (so don't count
me as an expert), but as far as I know, there should be nothing stopping
you from using LVM in the guests. LVM just works with block devices, and
the ESXi disks should work like block devices, so everything should be
fine. Again, I've never used VMWare very extensively, so this isn't
coming from experience.

-- 
Randy Barlow




Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Randy Barlow
On Sun, 2013-04-21 at 12:32 -0400, Randy Barlow wrote:
> LVM gives a lot of
> flexibility in managing virtual machines, so I'd highly recommend it.

I should mention one specific advantage to using LVM over file-based
images: I believe you will find that LVM performs better. This is due to
avoiding the duplicated filesystem overhead that would occur in the
file-based image approach. If the guest wants to fsync(), for example,
both filesystems need to be involved (the guest's, and the host's). With
LVM, you still have the host processing the LVM bits of that process,
but at least the host's filesystem doesn't need to be involved.

Of course, giving the guest it's own raw block device (a disk, or a
partition) would also have this advantage, so here I'm mostly just
comparing LVM to the "easy" file-backed disk image approach.

-- 
Randy Barlow




Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Randy Barlow
On Sun, 2013-04-21 at 12:15 -0400, Tanstaafl wrote:
> But I've found lots of opinions that using LVM in a virtualized 
> environment can lead to data corruption, and if this is true, I'd rather 
> not risk it...
> 
> So, LVM or not?

This is surprising to me, because at my former employer we used LVM for
all of our virtual machines in Xen. It performed quite well, and we
never experienced any data loss due to that setup. LVM gives a lot of
flexibility in managing virtual machines, so I'd highly recommend it.

I believe LVM devices can be passed to KVM guests as well, though I have
never personally tried that.

-- 
Randy Barlow




Re: [gentoo-user] dev-libs/folks-0.4.3 fails to emerge

2013-04-08 Thread Randy Barlow
On Sun, 2013-04-07 at 21:49 -0500, Andrew Hoffman wrote:

> I have been able to resolve many issues by re-emerging mesa and
> manualy listing the packages RR wants to emerge but i have now just
> Folks left failing to emerge.

I reported a bug about folks just last week:

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

-- 
Randy Barlow




Re: [gentoo-user] Re: Eth0 interface not found - udev that little slut!!!!!

2013-04-06 Thread Randy Barlow
On Sat, 6 Apr 2013 22:35:22 -0400
Nick Khamis  wrote:
> As for /sbin/ip. I have no such command.

I'd recommend installing and becoming familiar with the iproute2
package. I personally find the tools it delivers to be more intuitive
than the older tools, and I *think* they are considered to obsolote some
tools, such as ifconfig.

-- 
Randy Barlow



Re: [gentoo-user] Mouse Pad & X11

2013-04-06 Thread Randy Barlow
On Sat, 2013-04-06 at 19:49 +0200, meino.cra...@gmx.de wrote:
> For scrolling one has to move ONE finger on the right edge of the
> pad.
> 
> And it scrolls!
> 
> BUT unfortunately the scrollevents ALWAYS reach the taskbar and I am
> warped through my desktops regardless of the focus a certain windows
> has.
> 
> This even happens, when the cursor and the focus is on the window
> of xev, with which I tried to catch the even.
> 
> How can I "channelize" the events to the focussed window?

This is very unexpected behavior. I'd be very surprised if the hardware
is capable of causing this behavior, unless it is somehow sending a set
of keyboard shortcuts that correspond to switching desktops.

I'd bet that if you are having that problem, a normal mouse's
scrollwheel would cause the exact same problem. Do you have a normal USB
mouse that you can try that with?

If the problem happens with a USB mouse as well, I'd guess that
something is configured strangely in your desktop environment's
settings. If the USB mouse behaves normally, I guess something must be
really weird about that touchpad, but I'm not sure what it would be.

-- 
R




Re: [gentoo-user] Mouse Pad & X11

2013-04-06 Thread Randy Barlow
On Sat, 2013-04-06 at 18:48 +0200, meino.cra...@gmx.de wrote:
> "One touch scrolling" and "2 fingers tap = scroll" is a
> contradiction, isn't it?

Haha, yeah it is confusing sounding. Perhaps one touch scrolling means
you can scroll by using a single finger on the right side of the pad? A
lot of trackpads work that way, or can be configured to work that way.

> Is there anything I have to configure (xorg.conf?) additionally?

I remember there being some kind of "z axis" setting, or something
perhaps a little along those lines in xorg.conf. To be honest, it's been
years since I last did anything with an xorg.conf since the modern Xorg
is much better at automatically configuring itself, so I'm afraid I
can't help you much in that department.

One way that might be easy but depends on your desktop environment, is
to check if there is an easy to use setting provided by your DE that can
configure two finger scrolling. For example, I'm currently using Gnome
3.6 in Fedora (yeah, not Gentoo, but I'm on my work computer :) ) and I
have a "Two finger scroll" checkbox in the "Mouse & Touchpad" section of
the System Settings program. There's also a checkbox for "Tap to click".
I use Gnome 2 stable on my home Gentoo computer, and I *think* it may
have something similar, but I'm not there to verify (and it's a desktop
computer with no trackpad so I've never used that feature there.)

I used to use KDE in Gentoo at my previous job, and I believe it had
something similar in its settings but I don't have any current KDE
installs to check it with.

If you aren't using either of those, perhaps your DE provides something
like that too. If not, perhaps someone else on here will chime in :)

> Thank you very much for any help in advance!

No problem, and apologies that it's not super complete. I'm more of a
backend kind of dude, so my familiarity with DE stuff is mostly from a
user's perspective (i.e., GUI configuration).

-- 
Randy Barlow




Re: [gentoo-user] Mouse Pad & X11

2013-04-06 Thread Randy Barlow
On Sat, 2013-04-06 at 08:32 +0200, meino.cra...@gmx.de wrote:
> How can I activate/use the additional functionality as reported by the
> log file?

I'm not familiar with that device, but I do have a suggestion: does it
respond to multitouch gestures? For example, with my trackpad on my
T530, I can scroll by swiping up and down with two fingers. Does that
work?

-- 
R




Re: [gentoo-user] hwclock: command not found

2013-02-25 Thread Randy Barlow

On Mon, 25 Feb 2013, Joseph wrote:
I'm updating clock via bash script. When I run it from a command line, it 
works just fine but when I try to run it via crontab I get:


/home/thelma/business/programs/time_date_setting_script.sh: line 3: hwclock: 
command not found


Could it be that cron doesn't have this command on its PATH? Might be
best to put the full path to hwclock instead of just "hwclock".

--
R



Re: [gentoo-user] Re: systemd-197-r1 starts gdm-3.6.2 [now gnome3]

2013-02-12 Thread Randy Barlow
Thanks for the reply! I agree that it is complicated, and that the direction of 
Gnome is mysterious. I've been using it at work, and I've enjoyed some things 
about it. Some other choices are puzzling. I'm interested to stick around to 
see where it will go.

Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2

2013-02-12 Thread Randy Barlow

On Wed, 30 Jan 2013, Canek Peláez Valdés wrote:

GNOME 3.6 is not masked in Gentoo, just keyworded.


Apologies for the slight thread hijack, but I've been curious if anyone
knows the current state of Gnome 3 in Gentoo? I'm currently on Gnome 2,
and I'm one of those weirdos who kind of likes Gnome 3 (it's not without
its faults). I also prefer to stick with stable when I can, but I've
been curious on how things are going with stabilization of Gnome 3. It's
kind of difficult to find information about this using Google, so I
thought I'd ask if any of you knew. Thanks!

--
R

Re: [gentoo-user] OT: networking and libvirt

2013-01-28 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/20/2013 12:37 AM, William Kenworthy wrote:
> So what is usually recommended and works for this scenario?

I personally use a bridged interface that allows my VMs to be on the
"physical" network. That works out pretty well. In my use case, it's
the same subnet as the host, but it should be possible to use VLANs to
accomplish having them on a separate subnet.

- -- 
R
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEG/RgACgkQw3vjPfF7QfWmqwCdEQz22hjJ2YTTvyofkODVWZIz
9iYAn3UNnhUdnFsPq7fWkvWT1Asc+wJx
=X00q
-END PGP SIGNATURE-



Re: [gentoo-user] OT: Fighting bit rot

2013-01-08 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/08/2013 02:27 AM, Florian Philipp wrote:
> As I said above, the point is that I need to detect the error as
> long as I still have a valid backup. Professional archive solutions
> do this on their own but I'm looking for something suitable for
> desktop usage.

I wouldn't recommend using it for real data yet, but I do believe that
btrfs will be a good way to get what you want in the future if you use
their RAID-like feature. That filesystem is still experimental, but it
is very cool and I am excited about it.

- -- 
R
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDstgsACgkQw3vjPfF7QfWH7wCfcGyy2J1rP9cNQSiPwl66PJDG
bKkAn3j8DMiORrwZ3MrFhebw5en6GA0q
=n9/9
-END PGP SIGNATURE-



Re: [gentoo-user] Any UPS recommendations?

2013-01-08 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'd actually like to hop on this thread and submit a related question,
that by some small chance might be relevant to the OP as well.

I have a power factor correcting power supply, and I have read a lot
of conflicting information about whether or not I need a sinusoidal
UPS for it. Sinusoidal UPS's cost considerably more than a square wave
UPS, and so I'd love to hear what people know about this on this
mailing list before dropping the cash on one.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDstD4ACgkQw3vjPfF7QfW8WQCgh2DFmy8hP9pWdcrBiaMorOkT
SWEAniBEmjlrmWVlxuGY1YuTvIVhq4jz
=w1c5
-END PGP SIGNATURE-



Re: [gentoo-user] Anyone succeeded with kmail2?

2013-01-06 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/06/2013 09:10 PM, Peter Humphrey wrote:
> I've got Thunderbird to connect to my ISP and fetch new messages,
> but I now have another, large problem. It won't import my 25,000 or
> so messages from kmail, nor even its filters. I do not wish to lose
> all that history, so can anyone suggest another e-mail client that
> can reliably import messages and filters from kmail?

That seems like it will likely be tricky. I don't know a lot about
kmail, but I've got two ideas that might work:

1) Depending on what kmail can do, you might be able to set up a
maildir or mbox folder with kmail, and have kmail transfer all that
mail into it. I believe Thunderbird can ready both mbox and maildir,
so that might be a nice solution if kmail can do that.

2) Another idea I thought of that might be heavy handed, but might
also work would be to set up an IMAP server of your own. Then you can
connect kmail to that IMAP server, transfer all your mail to the
server, then connect Thunderbird to it and import it. It's certainly
not a simple idea, but it should work. Cyrus is the IMAP server that I
use, but there are others, and perhaps some that are simpler to configure.

Hope this helps!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDqNmcACgkQw3vjPfF7QfVuMgCggFCMdmW4IIOzMPZeMzrw/eX9
wPoAoJoNP8Nbg+tCI3C28os4aYYA/uSv
=VHZe
-END PGP SIGNATURE-



Re: [gentoo-user] 4 machines - no /dev/cdrom or /dev/dvd anymore

2013-01-05 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/05/2013 02:53 PM, Mark Knecht wrote:
> I think I touched on this a couple of weeks ago but never had time
> to dig in. At that time I thought this problem was only on one
> machine but now I see it's on every machine I've looked at this
> morning. Not a single machine has /dev/cdrom anymore, nor /dev/dvd
> or any of the other incantations that have existed forever.
> 
> First, this is udev doing (or not doing) this, correct?
> 
> As shown below hwinfo see the cdrom drive, and there are long
> existing udev rules that appear to want to create the devices.
> These rules have worked in the past but don't now.
> 
> Are others running Gentoo stable, and in this case udev-171-r9,
> seeing this problem?
> 
> Anyone recognize what's wrong with the udev rules below, or does
> udev no longer generate these devices at all? I understand that
> the 70-persistent-net.rules stuff has been 'removed'. Is this true
> for CDs also or have I botched something up on all these machines?
> 
> Thanks in advance and please ask me to post anything else
> required. I've gone through the latest Gentoo install docs and
> don't see that I'm doing anything other than what they tell me to
> do but with udev in such a state of flux I've obviously missed
> something.

I don't know what the deal with all of this is, but I also noticed
this recently. One thing I did find was that I could find my disks in
/dev/disk, for example Star Wars:

$ ls /dev/disk/by-label/
A_NEW_HOPE

$ equery l udev
 * Searching for udev ...
[IP-] [  ] sys-fs/udev-171-r9:0
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDojxcACgkQw3vjPfF7QfXNxgCff/2kWz4NcPLabU1VSTiKgte7
9jAAnAk5E4htxjm+au/QjOVYGJ6jayIw
=7745
-END PGP SIGNATURE-



Re: [gentoo-user] Anyone succeeded with kmail2?

2013-01-03 Thread Randy Barlow
On 01/03/2013 12:09 PM, Peter Humphrey wrote:
> Does anyone recommend a mail client that doesn't rely too heavily on the
> mouse? I much prefer to navigate, reply etc with the keyboard. I've
> seen Evolution recommended; is that OK?

Thunderbird is my favorite mail client. You can do a lot with the KB.
For example, go to next read mail is just 'n' for next. CTRL-R for
reply. It's not bad to learn the shortcuts. Plus it has a lot of great
features and extensions.

For CLI clients, I sometimes use Mutt. It's a little bit of a pain to
configure for IMAP, but once you get it going it's pretty cool.

-- 
R



Re: [gentoo-user] emerge sets syntax (@world vs. world)

2012-12-12 Thread Randy Barlow

Alan McKinnon wrote:

The portage man page has unfortunately also used the word "set" for a
different reason. Portage has always had a concept of "world" (not
@world) and "system" (not @system) which were really "just a bunch of
stuff that happens to pop out of portage because it's hard-coded that
way".


This discussion is surprising to me, because I've been using @world in 
my updates for a little while, but I don't have 2.2:


$ equery list portage
 * Searching for portage ...
[IP-] [  ] sys-apps/portage-2.1.11.31:0

I performed a diff on the output of emerge -pvDuN world and @world, and 
they were the same.


I even got an error about some required use flags when I ran emerge with 
"world" that referenced @world:


The following USE changes are necessary to proceed:
#required by app-emulation/virt-manager-0.9.4[spice], required by 
@selected, required by @world (argument)


--
R



Re: [gentoo-user] Localmount starts before LVM

2012-12-11 Thread Randy Barlow

Alan McKinnon wrote:

On Tue, 11 Dec 2012 18:28:37 +0530
Nilesh Govindrajan  wrote:

Exactly the reason why I wanted RAID0 and LVM in combination: more
IOPS. ZFS looks very interesting, how stable is it?


On Linux, not at all (it doesn't exist there except using fuse)

On FreeBSD, rock solid.
On Solaris, rock solid.

It almost seems to be everything btrfs is not...


The details why this is the case are something I can never remember 
straight in my head, but I recall that it's due to licensing that ZFS 
cannot be included in the Linux kernel directly. I think it might be 
because the ZFS license doesn't have the Copyleft clause that the GPL 
requires?


It's sad, because ZFS is really pretty great. I think btrfs will be 
pretty great too once it is stabilized, so I look forward to that.


Also, I had seen some kernel patches that you can apply yourself to get 
ZFS in Linux without FUSE a year or two back. I never tried them, and 
can't attest to how stable or unstable they might be, but you could look 
into that as well.


--
R



Re: [gentoo-user] ssmtp alternatives: msmtp vs. dma

2012-12-05 Thread Randy Barlow

Grant wrote:

msmtp --passwordeval 'gpg -d mypwfile.gpg'


Be careful with passing your password as a command line argument, 
because it will put your password into the output of ps. This would 
allow any user on the system to read your password.


--
R



Re: [gentoo-user] thunderbird (~17.0) good idea?

2012-12-03 Thread Randy Barlow

James wrote:

Anyone tryied thunderbird (~17.0) ?


I'm still on Thunderbird 10 with my Gentoo system, but I do occasionally 
use Thunderbird 17 in Fedora at work. It works just fine, but take into 
consideration that I haven't tried that version in Gentoo specifically.


--
R



Re: [gentoo-user] How to set-up "shutdown-only" user?

2012-12-03 Thread Randy Barlow

Randy Barlow wrote:

Could you create a simple webapp that requires authentication and has a
big Shutdown button? Something like that would be fairly easy to make
with Django, or something simpler like Pylons.


Alternatively, you could write your own shell that only has the shutdown 
command and make that their login shell…


--
R



Re: [gentoo-user] How to set-up "shutdown-only" user?

2012-12-03 Thread Randy Barlow

Jarry wrote:

I'm facing this problem: I *have to* allow one non-root user
to shutdown my server remotely (ssh). I know I could create
account for him and add his login into /etc/shutdown.allow but
I do not want to grant him full shell access.

I thought about adding "/sbin/shutdown -a h now" as his shell
into /etc/passwd so that right after he authenticates himself,
shutdown is called. But I'm not sure something like this is
possible (shutdown must be probably called from shel)...

Or is there maybe some other way how to create very restricted
account where user could not do anything else but call shutdown?


Could you create a simple webapp that requires authentication and has a 
big Shutdown button? Something like that would be fairly easy to make 
with Django, or something simpler like Pylons.


--
R



Re: [gentoo-user] Google Chrome leftovers

2012-11-29 Thread Randy Barlow
On Thu, 29 Nov 2012 20:06:26 -0500, Mark Knecht   
wrote:

As my interest (at this time, today only) is text message, does the
Google Voice service accept text messages like a cell phone would or
is it purely a voice service like a land line?


It accepts them like a cell phone, and there is a web interface as well as  
an Android app to use it.


--
R



Re: [gentoo-user] Google Chrome leftovers

2012-11-29 Thread Randy Barlow
On Thu, 29 Nov 2012 16:12:16 -0500, Mark Knecht   
wrote:

Also, is anyone successfully using GoogleTalk in Chrome on Gentoo?


Yeah, it works for me:

$ equery list google-chrome google-talkplugin
 * Searching for google-chrome ...
[IP-] [  ] www-client/google-chrome-22.0.1229.94_p161065:stable

 * Searching for google-talkplugin ...
[I--] [??] www-plugins/google-talkplugin-2.1.7.0:0

Strangely, I noticed that I've got those weird ??'s on the  
google-talkplugin package, which I guess means that I'm using a version  
that has been removed from Portage. I see that 3.7.1.0 and 3.9.1.0 are  
available in /usr/portage/www-plugins/google-talkplugin/, so perhaps I  
should upgrade to one of those. Are they not working for you?


--
R



Re: [gentoo-user] Share /home with Gentoo and Ubuntu

2012-11-27 Thread Randy Barlow
On Tue, 27 Nov 2012 13:01:28 -0500, Michael Orlitzky  
 wrote:

You can work around it fairly easily, though. Just mount all of your
version-independent stuff separately, under ~/Documents or whatever. Or
never go back to Ubuntu =)


This is good advice. Another potential solution is to use symlinks to map  
the OS-dependent files to the right places.


Or you could make /home/username be OS dependent, with another OS  
independent volume mounted somewhere, perhaps /home/os_independent. Then  
you could make symlinks inside /home/username/Music to  
/home/os_independent/Music and what not. This might be a pain, but it  
would bypass that problem.


--
R



Re: [gentoo-user] Update After A Year

2008-01-10 Thread Randy Barlow
Stroller wrote:
> Ooops! Pressed send too hastily!
> 
> I assumed that there'd be an update available to shadow which would fix
> this, but looking closer at the output of `grep -l -ie pwdb -ie radius
> -ie timestamp -ie console /etc/pam.d/*` it seems that the line containg
> `pam_console.so` is commented out on my system:
> 
>   # If you want to enable pam_console, uncomment the following line
>   # and read carefully README.pam_console in /usr/share/doc/pam*
>   #sessionoptionalpam_console.so
> 
> So the question arises, did you uncomment it?
> Or is your sys-apps/shadow just older than mine?
> What does `grep -l -ie pwdb -ie radius -ie timestamp -ie console
> /etc/pam.d/* actually say on your machine?

I will also participate on this thread hijack (but Hal, don't hijack
anymore.  It makes your mom angry!)  I would actually check more than
just /etc/pam.d/* if you don't find it there because it's possible for
mail servers or web servers to use these things the old way too!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] CUPS problem

2008-01-08 Thread Randy Barlow
Alan E. Davis wrote:
> When attempting to boot to that kernel, or other gentoo kernels I have
> compiled around (I do not use initrd/genkernel), almost every time
> since the initial boot (that went ok), the machine locks up during
> boot.  It might take three or four attempts, but the machine locks up
> somewhere during the process.  After cupsd has been started, somewhere
> around where syslog-ng is started, or hal, the machine locks.  The
> next boot it stops ate approximately the same place, or perhaps
> further along.  Finally, usually three or four boots later, it boots
> and no further problems are experienced.

Have you run a memory test?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] CUPS problem

2008-01-06 Thread Randy Barlow
Dale wrote:
> On my system hpijs was a blocker if I recall correctly.  I read
> somewhere that hpijs was no longer being maintained and that hplip was
> the "new thing" to use.  Not sure why tho.
> 
> Also may be worth noting that hplip used to be a service that was
> started as well.  /etc/init.d/hplip start used to work.  The latest
> update got rid of the service and I guess it just runs when it is needed.

I should clarify my question a bit more.  I don't have the hpijs package
installed.  I do have hplip.  Yet when I try to select the driver for my
printer, hpijs is the only option of the two.  I know that hplip
includes hpijs, but I was looking for a driver called hplip and didn't
see it...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] CUPS problem

2008-01-06 Thread Randy Barlow
Dale wrote:
> They recently changed it over to hplip.  Is that installed on your system?

Sorry to steal the thread a bit, but should hplip show up as an option
for the driver to your printer?  Because I still see hpijs as the
printer driver even though I have the hplip package.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] {OT} wengophone-like or skype-like SIP service?

2008-01-04 Thread Randy Barlow
Grant wrote:
> Apparently I'm out of luck as far as using skype or wengophone on a
> hardened profile.  Is there are kind of a similar service available
> that would work on a hardened amd64 system?  I understand that I can
> use a client like sjphone and connect it to any sip service, but I
> like seeing my prepaid funds disappear little by little instead of
> being billed at the end of the month.  If there is no other app like
> that, can anyone recommend a sip service?

I make free calls, incoming and outgoing, by a clever setup using
grandcentral, asterisk, gizmo, and a Linksys ATA.  Basically, I get and
make calls with grandcentral, which forwards the calls to gizmo, which I
set to forward to my sip setup on asterisk, which is in my house with
the ata for phonenicitude.  You could try that ;)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Firefox update results in Yahoo request for newer version

2008-01-03 Thread Randy Barlow
Mark Knecht wrote:
> Logically so far I do think it's a Gentoo problem. If it was specific
> to some Yahoo server that my house is pointed at it would have been at
> least consistent on my wife's & son's machines, or so I think.

I already posted this, but I am using the same version of Firefox (and
also in Gnome, though I doubt that matters) and don't see this problem.
 Are you using firefox-bin instead of building it?  Any funny settings
in about:config?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Firefox update results in Yahoo request for newer version

2008-01-03 Thread Randy Barlow
Mark Knecht wrote:
>On my wife's 32-bit Gentoo machine we did a large Gnome update
> today which ended up doing Firefox-2.0.0.11 at the same time. On her
> machine I happen to use Yahoo as my home page and now I see a very
> boring home page with Yahoo giving me this message:
> 
> Why miss out?
> To see all the new Yahoo! home page has to offer, please upgrade to a
> more recent browser.

I use Firefox on a 32-bit system (built from source, not binary) and I
do not see this problem!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Best route forward?

2008-01-02 Thread Randy Barlow
BRM wrote:
> I installed KDE yesterday via "emerge kde -vuD", and just remembered
> today about "kde-meta", which installs a lot more. In running "emerge
> kde-meta -vuD", I get 250 new packages, and 245 blocks, with 1 upgrade.
> What is the _best_ path forward? Should I just stick with my current
> build of kde? Or is there an easy way to remove all the blocks and then
> push in kde-meta? Is it worth it?

If you want to do the meta, you can unmerge kde, and then do an emerge
--depclean.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dis-functional error from emerge -vuDN

2008-01-02 Thread Randy Barlow
[EMAIL PROTECTED] wrote:
> It never really says where the code it presents is to be found but I'm
> guessing it would be the files under /etc/security
> all those files are commented out except  namespace.init that has this
> line uncommented:
>exit 0
> Maybe something needs to be uncommented in one of them.

/etc/security isn't the only place to look.  I use PAM on my mail server
and IMAP server, and I had to change some files in there that used the
old way.  Do you have a mail server that uses PAM?  Do you have a web
server that uses PAM?  Any other services?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge failing on ebuild [econf failed]

2007-12-27 Thread Randy Barlow
[EMAIL PROTECTED] wrote:
> I've pared down my system to a minimal state.
> 
> emerge --depclean returns no actions needed, but I think it may have
> gotten a litte too exuberant.
> 
> revdep-rebuild wants to rebuild python but the emerge fails here:
> 
>>>> Source unpacked.   
>>>>
>>>> Compiling source in 
>>>> /var/tmp/portage/dev-lang/python-2.5.1-r4/work/Python-2.5.1 .
> ..
> 
>  *   econf failed 
> 
> [...]
>  * The ebuild environment file is located at 
> '/var/tmp/portage/dev-lang/python-2.5.1-
> r4/temp/environment'. 
> 
>  *
>     
> 
> [...]

What's in this "[...]"?  The error message that matters the most is
likely to be in there...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Any glaring use flags here

2007-12-25 Thread Randy Barlow
[EMAIL PROTECTED] wrote:
> not sure what -X really does.

-X tells it not to include support for X11 for all packages that have
that as an option.  This should be used for most server/console only
type systems...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Randy Barlow
Matthew R. Lee wrote:
> Question 1: Should I keep the swap partition the same size or increase it?

If you are increasing the amount of RAM, and you currently do fine on
512 MB of swap, you should be OK.  That said, if you are getting a ton
more space, what is 1 GB to dedicate to swap just in case?

> Question 2: (This is the main one!) The MBR?  As the new disk is a direct 
> replacement for the old one, with the same partitions etc, do I need to 
> change anything in my grub.conf?  or should it just work without 
> modification?

If you use cp you will need to run grub-install, or run setup from
within grub, again.  Make sure you use the correct flags on cp to
maintain permissions/owners/other attributes on the files that you are
copying.  Another option that may be simpler and will definitely be
faster is using dd to copy.  You will probably need to use
grub-install/setup if you do dd as well, unless you dd if=/dev/sda
of=/dev/sdb (or am I wrong about this?)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-24 Thread Randy Barlow
Michael George wrote:
> Couldn't establish a connection to :9202: IO::Socket::INET: Bad hostname 
> ':9202'

I'm not sure why the kernel would make this difference, but it looks
like something is trying to connect to "No Host:9202".  Do you have your
hostname properly configured?  And in /etc/hosts do you have your
127.0.0.1 entry?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: {OT} Ditch webmail?

2007-12-20 Thread Randy Barlow
Grant wrote:
> I used mutt for a long time but when I tried squirrelmail my
> productivity when up 5 fold.  I'm thinking switching to a desktop app
> would be even better.  Plus no PHP on my server.

I like Thunderbird.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Persistent revdep-rebuild issues: sun-jdk-1.4.2.16

2007-12-19 Thread Randy Barlow
Dale wrote:
> I'll give that
> -gcj a try tho.  Can I just disable it on gcc or does it have to be
> global?  Also, what is it anyway?

I would disable it globally for now.  gcj is an open source
implementation of Java, but last I read about it (maybe like 3/4 a year
ago) it wasn't very complete yet.  I would just use Sun for now...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] brlcad users here?--RESOLVED

2007-12-19 Thread Randy Barlow
maxim wexler wrote:
> Just to clarify: What does a 'pre-compiled binary' do?
> There wasn't even an executable that I could see.

A precompiled library is just one that has already been built for you
from the source code.  So, somewhere in there should have been an
executable...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Got myself in a bind unmerging portage

2007-12-17 Thread Randy Barlow
[EMAIL PROTECTED] wrote:
> --- ACCESS VIOLATION SUMMARY 
> ---
> LOG FILE = "/var/log/sandbox/sandbox-26803.log"
> 
> open_rd:   /root/.bash_history
> open_rd:   /root/.bash_history
> 
>  END of emerge output ===
> 
> What is this about?  The log cited contains only the lines shown and
> no other logs are present there

Does dmesg show any fs errors?  I assume that open_rd means "open read
(only)", but just in case, does mount show that the fs that /root is on
is mounted rw?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread Randy Barlow
[EMAIL PROTECTED] wrote:
> What are my choices here... is the only one to use the livecd and
> emerge portage from there?  Or is there such a thing as a sources
> package of portage arranged for a stand alone compile job.

Portage is written in Python, so no compiling is necessary.  It kind of
makes me chuckle a bit that emerge -vC portage doesn't at least warn you
that this will make a mess of your system (Are you sure?)  Hmm, perhaps
you need to perform the part of the install stage where you install
portage again.  I'm not sure what effects this will have with your
already installed packages though.  Probably first thing you should do
is backup your system just in case any further damage occurs.  Of
course, a fresh install in an option, but that would be a pain...
Anyone else want to chime in on how well it would work to just install
portage as per the install guide on a system that already has packages
on it?  Would the new version of portage still be aware of the current
world, or would that wipe the world file/other currently installed
package data?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
Matan Peled wrote:
> I see you haven't read the portage source-code.  It isn't so elegant...
> And I'm saying this as someone who likes python and thinks it is
> generally a Good Idea.

No, I definitely have not, but I have done some Python coding in my
days.  I was referring to the language, not the use of the language by
Portage :)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
Hemmann, Volker Armin wrote:
> one reason pro phyton and contra c and c++ has always been: segfaults.
> 
> And with c++ comes another one: abi changes.
> 
> Just think about this horror: gcc/libstdc++ update and your package manager 
> stops working

Well segfaults generally indicate bugs in your code - so hopefully you
would be a good coder and ensure that you manage memory correctly.  Abi
changes suck big time, I agree on that point, and also the updates -
hadn't thought of that one :)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
David Relson wrote:
> IMHO, python is a very nice object oriented language and C++ is no
> better (unless you need particular features of the language).  I
> suspect C++ runs somewhat faster, but that's not the issue here.  As I
> understand, portage needs to deal with lots of special cases and
> exceptions to the general rules for updating package.  Special cases
> and exceptions always lead to complications and messy code.  Switching
> languages doesn't help a situation like this.

C++ is most certainly going to yield faster programs since it is a
machine compiled language and python is interpreted.  But that's not the
idea behind portage.  It's all about using the right tools for the job.
 I do all my research code in C++ because I need good memory management
and I need speed.  But python is far easier to code in, doesn't need to
be compiled, and is pretty dang elegant.  It's also pretty platform
independent, which is also nice.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Rules

2007-12-15 Thread Randy Barlow
Neil Bothwick wrote:
>>> Maybe his/her laptop doesn't stand the
>>> thermal output of its CPU when emerging or maybe he/she's the
>>> administrator of a large company's network, trying to move every
>>> computer system to Gentoo.  

>> Check out distccd!

> How does that help? Either every machine on the network spends time
> compiling when it should be earning its keep, or they all pass all the
> load to a compiler system that has to recompile the same code over and
> over for each computer on the network. Using that computer to build
> binary packages that the others can install is so much more efficient.

It does help in the case that Florian mentioned, also quoted at the top,
about the laptop...  I agree that if you are going to build the same
thing for every computer it makes sense to do it just once.  I was
thinking more about the laptop...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerging mythtv? permission denied...

2007-12-15 Thread Randy Barlow
Alexander Puchmayr wrote:
> http://svn.mythtv.org/svn/branches/release-0-20-fixes/mythtv
> svn: Can't open file '.svn/lock': Permission denied

Speaking out of ignorance here, but I wonder if .svn/lock is a file on
your local machine, or if it's on the svn server?  I know nothing about
svn, other than it also does what cvs does :)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: [Fwd: Re: Gentoo Rules]

2007-12-15 Thread Randy Barlow
Etaoin Shrdlu wrote:
> (btw, do gentoo initscripts 
> support starting multiple instances of a daemon, perhaps under different 
> users and using different parameters? I'd not bet on it, but I may be 
> wrong. If it's not supported, waiting for baselayout to support this may 
> take a long time, so it would be better to release the easier suid 
> version in the meanwhile.)

It's not too hard to start a separate instance of apache.  You just copy
/etc/init.d/apache2 to, say, /etc/init.d/backuppcApache2.  Likewise copy
the /etc/conf.d scripts, and change in the backuppc one the reference to
the httpd.conf to, say, /etc/BackupPC/httpd.conf.  Then, in that .conf
file, make sure that you change the things to be suitable for BackupPC
(in particular, get rid of the lines that include *.conf's from certain
directories because these will cause apache to try and use the same PID!
 Make sure you specify a new PID file, among a few other related things)
 I really don't think the ebuild should let you use the same instance of
apache that /etc/init.d/apache2 starts, because this would be a security
risk.  For example, I use BackupPC to back up three machines, in their
entirety.  That means that backuppc has the rights to change any files
on those three machines.  I've also got a webserver running, open to the
internet, on my backuppc machine.  If people on the internet can access
backuppc, they can pretty much access all three of those other machines.
 But if I run on port 8080, and have that port blocked by a firewall,
this is no longer a concern.

The other option is to install password protection by default, but then
you have to have competent users who can change the httpd passwords.  I
suppose you could write this as an instruction at the end of the ebuild.
 But, are htaccess passwords sent in plaintext?  If so, that's also a
major security risk.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: DMZ on an vmware gentoo guest running on winXP host

2007-12-15 Thread Randy Barlow
[EMAIL PROTECTED] wrote:
> I mean if
> you connect it to any machine in the diagram or elsewhere wouldn't you
> be exposing that machine to the unfiltered internet?

I think that's the idea here - to see the difference between the two
sides of the router.  As far as getting that data safely in a virtual
machine running on windows - I'd say having windows involved at all here
is a risk.  But you could definitely do it...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: [Fwd: Re: Gentoo Rules]

2007-12-15 Thread Randy Barlow
Etaoin Shrdlu wrote:
> Ah ok, I just thought it would be easier, to get things going and catch 
> up with upstream, to release an ebuild that only supports the suid mode 
> of operation, and then, taking the necessary time, improve it in future 
> releases, rather than supporting all the features right from the 
> beginning.
> 
> But of course this is just my personal opinion.

Yeah, that's the kinds of differences of opinion that are in the bug
report, which is part of what makes this a more difficult ebuild to
write.  Things like libraries are really easy because it's just a
configure make make install, but here you have a lot of configuration
files and differences of opinion.  I was thinking that a USE variable
could be in order here, to support suid and a separate apache instance.
 Perhaps the variable could be suid?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: [Fwd: Re: Gentoo Rules]

2007-12-15 Thread Randy Barlow
Etaoin Shrdlu wrote:
> (Apologies if this has already been mentioned)
> Another (maybe less intrusive, although slightly less efficient) option 
> is to install the BackupPC_Admin CGI as setuid so that it runs as user 
> backuppc (this is how I run BackupPC-2.1.2-r1). This does not require a 
> different instance of apache, nor it requires to use mod_perl. It does, 
> however, require USE=perlsuid, but this is already supported by gentoo.

Yes, I am aware of that.  The BackupPC ebuild should support either way,
as there is a speedup of about 15x (according to the BackupPC author)
when running the webserver as user backuppc.  There should be a USE
variable controlling this.  Also, it is wise to not put backuppc on the
same instance of apache so that it can run on a non-standard port.  The
ebuild by default would not install any password control to backuppc,
and so the web interface would be open.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Rules

2007-12-15 Thread Randy Barlow
Florian Philipp wrote:
> Maybe his/her laptop doesn't stand the
> thermal output of its CPU when emerging or maybe he/she's the
> administrator of a large company's network, trying to move every
> computer system to Gentoo.

Check out distccd!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: [Fwd: Re: Gentoo Rules]

2007-12-15 Thread Randy Barlow
Hans de Graaff wrote:
> A possible solution would be for you (or someone) to become a proxy 
> maintainer, meaning that you'd get the bug reports and provide new 
> ebuilds, and a developer (most likely someone from the backup herd) would 
> review it and put it in the tree.

Hi Hans, thanks for the reply!  Being a student, I will soon have some
time to help out, so this might be a good thing for me to do.  How does
one become a proxy maintainer?  Should I just write [EMAIL PROTECTED]

One of the challenging things about the BackupPC ebuild is that the
program needs to be configured to work with its own instance of apache
(run as user backuppc), and I think none of the ebuild contributors are
all too sure of the standard "Gentoo" way of doing this.  I'd be happy
to try and make an ebuild that is a good compromise of the ideas listed
in the bug.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [Fwd: Re: [gentoo-user] Gentoo Rules]

2007-12-14 Thread Randy Barlow
7v5w7go9ub0o wrote:
> My concerns with this, other than my abilities, are:

> 1. Showing proper respect to the guy who pioneered the effort to date,
> and who may simply be out of town. (This disrespect would be alleviated
> if there was an official policy encouraging "volunteer ebuilds".)

It's not disrespectful, IMO, to do something that you don't see getting
done.  Especially since it's less work for another guy.  I wouldn't
worry about that point.

> 2. He won't be there to proofread my work anyway, so therefor my ebuild
> would still not get into the disribution. (This could be alleviated if
> there was a  "designated backup" for each package - someone who could
> either temporarily fill, or accept a "volunteer ebuild", and move it
> forward.

This can happen.  I've submitted ebuilds for backuppc-3.0.0, and so have
many other people.  In fact, the bug for it has several ebuilds that
have been submitted but haven't made it into the official tree.  I think
that particular bug report might not be getting attention from the right
people or something.  That doesn't mean it isn't worth doing though,
because people can still use the ebuild from the bug report.  Ideally, a
dev would see that, check it out for correctness, and add it to ~arch.

Does anybody know how to call attention to a bug report that doesn't
seem to have any devs paying attention to it?  I think BackupPC is a
fine product, and would like to see it in the tree for others to use.
I'm using my own ebuild successfully, as are many of the fine folks who
have contributed on that bug report.  I'd just like my and others'
efforts to be something that benefits more of the Gentoo community :)

> 3. If a volunteer ebuild isn't proofread, it could contain a bug. (you
> don't know me.)

I don't think an ebuild would make it into the tree without being
checked by a dev, and that's not what I am suggesting.  I'm suggesting
taking the burden of writing ebuilds off of the devs' shoulders so they
can spend more of their time checking.  Ebuilds for the majority of
packages are pretty simple anyways, especially packages that just need a
./configure && make && make install, so getting a bad bug in the ebuild
itself isn't going to be that hard to avoid.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Rules

2007-12-14 Thread Randy Barlow
Grant wrote:
> Let me in on that.  What can I do too?

Find bugs on b.g.o. and help out!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [Fwd: Re: [gentoo-user] Gentoo Rules]

2007-12-14 Thread Randy Barlow
7v5w7go9ub0o wrote:
> OTOH, the good news is that a newbie like me can install an outdated
> package (e.g. Vidalia); resolve dependencies; uninstall the portage
> version; download and compile the current version from the developer.

If you know how to do those things, learning how to make the ebuild that
does it isn't that much more to do.  Then, instead of just filing the
bug report, you can submit an ebuild as a suggested fix with it and help
out.  Linux works best when the users take part in it!

P.S.  A good place to start in writing an e-build for a new version of a
package is to use the ebuild for the old version ;)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: OT:hardware sniffer equipment

2007-12-14 Thread Randy Barlow
James wrote:
> Have you set one up to sniff and remotely display the result on a workstaion
> before?

No, I definitely haven't done anything like that.  Mine is just a
router/WAP/firewall/QoS thing with some fun port forwarding rules.
Funny that it's default firmware doesn't let you forward outside port
8080 to an inside 80.  I know that the level of mathematical prowess
necessary for such a packet transformation is exceedingly amazing,
but...  OpenWRT is cool :)

What I think you could do in OpenWRT is perhaps to set up an IPTables
Rule that sends all packets through one of it's 5 ports on the back, and
then you could plug a machine in there to log/process it.  This is not
something I have done, it's just a suggestion for you to ponder.  It may
or may not be possible, I don't know...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: OT:hardware sniffer equipment

2007-12-14 Thread Randy Barlow
James wrote:
> COST is the key factor. Why pay somebody for something, when you can get
> equivalient functionality for very few dollars. A flat hub is all
> I need (want).. With a flat hub and a portable, you can mix in 
> any amount of target software and do many things with a flat but
> and a linux device.
> 
> I'd consider an embedded (linux) board with a few ports, if they
> are or can be setup as a flat hub.

This seems like something that you should be able to do with OpenWRT and
a Linksys WRT54Gl...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] gaming kernel

2007-12-13 Thread Randy Barlow
Philip Webb wrote:
> I don't play games, but I've long had my desktop box using HZ_1000
> & it has always been very responsive (now Intel Core 2 Duo, 2.6.23-r3).
> That's certainly the first thing to try.

I use 100 Hz on an old P3 desktop/server.  It's not a high traffic
server, but it does my web/email/taking over the world.  The desktop
environment can be pretty sluggish at times, but I keep it at 100 just
for efficiency.  Would I be best off to up the interrupt rate, or would
that hurt my serverness on my aging system?  The desktop sluggishness is
livable, but I wouldn't want any tcp connections to time out from not
being serviced (how long is a typical timeout anyhow?)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cups problem

2007-12-07 Thread Randy Barlow
Roger Mason wrote:
> I have tried both the ipp and lpd devices to no
> avail.

Just FYI, IPP is the Internet Printing Protocol and it is used to print
to a device on another machine, so that's why it didn't work for you here :)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: lxr and Mysql problem

2007-12-07 Thread Randy Barlow
Chuanwen Wu wrote:
> So, no one ever used lxr?
> Or maybe you can recommend other tools that can be used to view the
> souce(usually the kernel source) to me?

I'm not at all familiar with lxr, but most text editors can do syntax
highlighting when you view source code.  I like vim from the console, or
kdevelop for GUI.  Is it just a text editor you are looking for?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] services not starting since move to amd64

2007-12-06 Thread Randy Barlow
Stefan G. Weichinger wrote:
> looks fine but doesn't start at next boot. Or more exactly: It seems to
> get started, but doesn't run then.

Does this only happen at boot, or does it also happen if you manually
call /etc/init.d/sshd start?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New kernel broken nvidia-drivers

2007-12-06 Thread Randy Barlow
Ian Lee wrote:
> according to the nvidia site version 71.86.01 is the lastest TNT2
> drivers have tried these they are in the portage tree

Thanks for the heads up!  I had from a while ago blocked versions newer
than 1.0.7185 because it used to be that they wouldn't work with my
card.  Apparently they have a new version scheme than they used to use,
but you are right, 71.86.01 works.  Now we just have to solve Mick's
problem!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New kernel broken nvidia-drivers

2007-12-06 Thread Randy Barlow
Mick wrote:
> Read your error again.  It tells you to run make oldconfig to fix it.  
> However, if you check my earlier message posted today about "Make errors with 
> new kernel..." you'll see that I have not been able to emerge any drivers 
> with the new kernel.  I suspect a bug.

If you pay attention to that part, it is an echo statement, and it is
not echoed, thus not the solution to the problem.  The files that it
tests for do exist in /usr/src/linux/include (and I always run make
oldconfig when building a new kernel).  I just saw your thread though,
and it does seem pretty similar.  I wonder if it's a problem with the
new kernel, or if the way to configure the things that the drivers need
has changed.  Anybody else have a clue?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] New kernel broken nvidia-drivers

2007-12-06 Thread Randy Barlow
I updated from 2.6.22-gentoo-r9 to 2.6.23-gentoo-r3, and now
nvidia-drivers-1.0-7185 won't build.  I use the older drivers because I
have a Riva TNT2.  When I change the /usr/src/linux link to the old
kernel source, the package builds just fine, so I'm thinking that
something is broken with my new config.  I attached the build log.  It
complains about some things not being defined, like nv_pte_t_cache.  Is
this a kernel config problem?  I didn't find it in bugs.gentoo, but
google found a few others having the same issue with some other versions
of nvidia-drivers.

-- 
Randy Barlow
http://electronsweatshop.com
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found kernel object directory:
 * /lib/modules/2.6.23-gentoo-r3/build
 * Found sources for kernel version:
 * 2.6.23-gentoo-r3
 * Checking for MTRR support ...
  [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-7185-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 
1.0-7185
 * Applying NVIDIA_glx-defines.patch ...
  [ ok ]
 * Applying NVIDIA_glx-glheader.patch ...
  [ ok ]
 * Converting Makefile.kbuild to use M= instead of SUBDIRS= ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in 
>>> /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv
>>>  ...
 * Preparing nvidia module

NVIDIA: calling KBUILD...
make CC=i686-pc-linux-gnu-gcc KBUILD_OUTPUT=/lib/modules/2.6.23-gentoo-r3/build 
KBUILD_VERBOSE=1 -C /usr/src/linux 
M=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv
 modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule.
make -C /lib/modules/2.6.23-gentoo-r3/build \
KBUILD_SRC=/usr/src/linux-2.6.23-gentoo-r3 \

KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv"
 -f /usr/src/linux-2.6.23-gentoo-r3/Makefile modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
echo;   \
echo "  ERROR: Kernel configuration is invalid.";   \
echo " include/linux/autoconf.h or include/config/auto.conf are 
missing.";  \
echo " Run 'make oldconfig && make prepare' on kernel src to 
fix it.";  \
echo;   \
/bin/false)
mkdir -p 
/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/.tmp_versions
rm -f 
/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/.tmp_versions/*
make -f /usr/src/linux-2.6.23-gentoo-r3/scripts/Makefile.build 
obj=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv
echo \#define NV_COMPILER \"`i686-pc-linux-gnu-gcc -v 2>&1 | tail -n 1`\" > 
/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv_compiler.h
  i686-pc-linux-gnu-gcc 
-Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/.nv.o.d
  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERNEL__ 
-Iinclude -Iinclude2 -I/usr/src/linux-2.6.23-gentoo-r3/include -include 
include/linux/autoconf.h  
-I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv
 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-float 
-mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 
-mtune=pentium3 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 
-I/usr/src/linux-2.6.23-gentoo-r3/include/asm-i386/mach-default 
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector 
-Wdeclaration-after-statement -Wno-pointer-sign  
-I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv
 -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts 
-Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual 
-Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE 
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DM

Re: [gentoo-user] Re: Router/Firewall strangeness

2007-12-05 Thread Randy Barlow
Grant wrote:
> If I wasn't hacked, this kind of strange behavior would have to be a
> hardware or filesystem problem right?  What are the best ways to check
> for that?  Just fsck?

You can also boot the gentoo live CD into the memory test.  At the
beginning when it prompts you for which kernel, you type memtest86, I think.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Router/Firewall strangeness

2007-12-05 Thread Randy Barlow
Grant wrote:
> I'm on the box now and it's quite non-functional.  ctrl+alt+del prints
> "INIT: cannot execute "/sbin/shutdown".  I'm going to do a hard reset
> and we'll see what happens.

That's very strange.  Memory test?  Can you read the logs when it comes
back up?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Weatherbug for linux

2007-10-15 Thread Randy Barlow
Albert Hopkins wrote:
> On Mon, 2007-10-15 at 14:28 -0500, Anthony E. Caudel wrote:
>> Weather has just released a beta app for linux.

> This is pretty funny.

What is also funny is that it has the word "bug" in it's name.  Run!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Emerging java with gcj

2007-10-14 Thread Randy Barlow
Florian Philipp wrote:
> I've noticed that the gcj use flag is not enabled by default and
> therefore all java code is compiled to byte code instead of native
> binaries, am I correct?

gcj can compile java code directly to machine code, and I'm pretty sure
that the Sun compiler just compiles to byte code.  I have no experience
with gcj though, so I can't answer your second question...

> I wonder how I can change that. Just re-emerge gcc with USE="gcj" and
> all packages containing java code? Is it even a good idea?


-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa problem

2007-10-09 Thread Randy Barlow
Chuanwen Wu wrote:
> I also tried to emerge alsa-driver and didn't use the driver in the
> kernel,but the result was all the same.

I don't know the module name for the HD, but did you add it to
/etc/modules.autoload.d/kernel-2.6 and/or modprobe it first?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] apache: Directory index forbidden by Options directive

2007-10-08 Thread Randy Barlow
Arnau Bria wrote:
> You're right, I needed index.php... but now php does not work!!!

I actually just did this upgrade as well, and also found php not to work
 (and revdep-rebuild didn't catch it).  Re-emerge php and look in
/etc/apache2/modules.d for the mod_php file.  If you've got that and
you've reinstalled php should work again!

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types

2007-10-08 Thread Randy Barlow
Tim wrote:
> Change the TypesConfig directive in Apache2 to the location of your
> mime.types file (in this case, /etc/mime.types).

So I ended up just clobbering my configs and starting over with the
default ones because lots of things were being "weird".  Now I just have
to figure out how to do a few things the new way (I think I had been
keeping the same LONG httpd.conf for a long time and this time it didn't
work anymore...).

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types

2007-10-07 Thread Randy Barlow
Randy Barlow wrote:
> I see a package called mime-types, but it seems to install
> /etc/mime.types and not /etc/apache2/mime.types...  Help?

I found a temporary solution by symlinking /etc/apache2/mime.types to
/etc/mime.types, but that doesn't seem like the correct way to go...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



  1   2   3   >