Re: [gentoo-user] Re: converting from testing to stable SLOWLY

2013-12-22 Thread Neil Bothwick
On Sat, 21 Dec 2013 17:20:12 -0800, walt wrote:

 On 12/20/2013 04:08 PM, Neil Bothwick wrote:
 
  I recently used it to move a machine from testing to stable.
 
 Neil, what do you mean by 'it'?

That's clearer if you don' remove the context.

 PS I know this was posted a year ago but I am only now implementing the
 suggestion.  Sorry for the delay.  

I recently used it to move a machine from testing to stable.

it == the suggestion.
 
 That sentence reminds me of a null-pointer-dereference ;)

Everything you needed to understand it and process it was there, you just
had to look harder, a bit like Perl code :)


-- 
Neil Bothwick

(A)bort, (R)etry, (P)retend this never happened...


signature.asc
Description: PGP signature


[gentoo-user] Mouse problem in QEMU

2013-12-22 Thread Pavel Volkov
I have a problem moving the mouse in a guest QEMU machine.

The pointer is not grabbed by Guest OS (Linux), however it does react to 
pressing right mouse button (popup menu appears).
Keyboard works well.

This is how I launch it:
qemu-kvm \
-cpu host \
-drive file=bluecrimson.raw,if=virtio \
-net nic,model=virtio \
-net user,net=192.168.5.0/24 \
-m 2048M \
-vga std \
-usbdevice mouse \   # also tried without this option
-name bluecrimson (Chakra) \
-boot d \
-cdrom ~/optic/UNIX/chakra-2013.09-fritz-x86_64.iso

The ISO used here is Chakra Linux distro live CD.
On the host I run app-emulation/qemu 1.6.1 in KDE 4.12 environment.

Any ideas how to make the mouse pointer work?



[gentoo-user] syslog-ng configs for separating warnings/errors and different types of traffic

2013-12-22 Thread Tanstaafl

Hi all,

I'm very interested in what are best practices, and what others do as 
far as separating out different types of messages in their logs.


I've always just sent everything to /var/log/messages, and this is not a 
very heavily loaded box so it hasn't been a big problem, but I'm working 
on a new server and would like to do some separation.


I'd still like everything to go to /var/log/messages, but I'd like to 
also send certain types of messages to different logs to simplify 
troubleshooting, etc - ie, I often peruse the logs with:


egrep '(reject|warning|error|fatal|panic):' /var/log/messages

But I'd like to actually feed all of those messages to a separate log, 
for easier tailing.


I'm also open to some additional separation, and like I said, I'm 
interested in what others do with theirs...


Specific config examples welcome!

Thanks

Charles



[gentoo-user] Re: syslog-ng configs for separating warnings/errors and different types of traffic

2013-12-22 Thread James
Tanstaafl tanstaafl at libertytrek.org writes:


 I'm very interested in what are best practices, and what others do as 
 far as separating out different types of messages in their logs.

First list all of your resources you are going to monitor:
webservers? DNS activity/servers?  Security? Specific ports?
Users?  

Networks product a cornicopia of data to collect, monitor, store
and analyze.

 I've always just sent everything to /var/log/messages, and this is not a 
 very heavily loaded box so it hasn't been a big problem, but I'm working 
 on a new server and would like to do some separation.

Ok, if your network is expanding and you've listed what you 
need to do, then look for tools that will help make sense, quickly
of all of that logged data:

reportmagic, analog, awstats, just to nake a few.

 I'd still like everything to go to /var/log/messages, but I'd like to 
 also send certain types of messages to different logs to simplify 
 troubleshooting, etc - ie, I often peruse the logs with:

 egrep '(reject|warning|error|fatal|panic):' /var/log/messages

If you use custom (CLI) or scripts, you'll need to think about
collecting that up and what sort of analysis you want/need to run.


 But I'd like to actually feed all of those messages to a separate log, 
 for easier tailing.

systemd is clouding these issue versus syslog(ng). so whether or not you are
or are planning to use systemd is also a factor you need to incorporate
into you decision. If you are currently using cron, plan on moving to
cronie as it is actively maintained and cron is not.

There are many, many different and valid  approaches to this
issue, so first go out and read about ideas related to what your
need to do (Googling is your friend). Collecting up data, into
a singular file allows you to see what occurs in a chronological
fashion, and is easiest for a small netowrk.

Once you go creating many different log files, you now need to
develop a strategy to priortize what you need to monitor.

Are you reviewing these logs file, by hand?  Dailey, weeking
or real time monitoring?  What is your first priority?
Security? System Admin(resource utilization)?  keeping an ecomerce
server/farm fast and responsive?   Following you hacker budies around
the net? (inside your net?)..  

DEFINE what you need to do first. Then look for tools to ease
the job. Implement, test, refine.. rinse and repeat.

What you are asking, is a life_long quest for most of us, it's never
done, always there and fundamental to running large amounts of
hardware and software, hopefully in a pristine manner.

Oh yea, learn abount managed switches and keeping track of what's
going on inside of your routers, too.

http://sixrevisions.com/tools/10-free-server-network-monitoring-tools-that-kick-ass/

 http://www.jffnms.org/

 Charles

hth,
James






Re: [gentoo-user] syslog-ng configs for separating warnings/errors and different types of traffic

2013-12-22 Thread Michael Orlitzky
On 12/22/2013 03:17 PM, Tanstaafl wrote:
 
 I'd still like everything to go to /var/log/messages, but I'd like to 
 also send certain types of messages to different logs to simplify 
 troubleshooting, etc - ie, I often peruse the logs with:
 
 egrep '(reject|warning|error|fatal|panic):' /var/log/messages
 
 But I'd like to actually feed all of those messages to a separate log, 
 for easier tailing.

For each separate log you want, you'll need a destination/filter pair,
and you'll have to tie them together with a log directive. For example,

  destination warnlog { file(/var/log/warn.log); };
  filter f_warn { level(warn); };
  log { source(src); filter(f_warn); destination(warnlog); };




[gentoo-user] New Gnome Systemd Upgrade Question

2013-12-22 Thread Lee
Hi, I installed Gentoo a long time ago with the desktop/gnome profile set.
Now, I don't use gnome (i use fluxbox). However since I have the use tags,
many gnome libraries were pulled in over time.

Now, since the upgrade to gnome 3.8, Portage updates result in a conflict
because the gnome libs need systemd, which conflicts with udev.

Instead of making the switch to systemd, I decided to change my profile to
plain desktop (no gnome). Since I don't have gnome desktop, it was
relatively simple for the system to update itself.

My only questions are, will cups and hplip function in a 'gnomeless'
system, and are there any other gotchas to be aware of?


Re: [gentoo-user] syslog-ng configs for separating warnings/errors and different types of traffic

2013-12-22 Thread Alan McKinnon
On 22/12/13 22:17, Tanstaafl wrote:
 Hi all,
 
 I'm very interested in what are best practices, and what others do as
 far as separating out different types of messages in their logs.
 
 I've always just sent everything to /var/log/messages, and this is not a
 very heavily loaded box so it hasn't been a big problem, but I'm working
 on a new server and would like to do some separation.
 
 I'd still like everything to go to /var/log/messages, but I'd like to
 also send certain types of messages to different logs to simplify
 troubleshooting, etc - ie, I often peruse the logs with:
 
 egrep '(reject|warning|error|fatal|panic):' /var/log/messages
 
 But I'd like to actually feed all of those messages to a separate log,
 for easier tailing.



syslog-ng comes with extensive documentation and a high-quality sysadmin
manual is available from Balabit's web site.

You need to start there as that spec above is highly bespoke. To do it,
you need to examine the content of the log body using a regex, the usual
way of filtering logs is by the header fields, not the body.

There is no best practice as such wrt logging, All that there is, is
whatever you consider you need to have.


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




Re: [gentoo-user] New Gnome Systemd Upgrade Question

2013-12-22 Thread Alan McKinnon
On 23/12/13 01:56, Lee wrote:
 Hi, I installed Gentoo a long time ago with the desktop/gnome profile
 set. Now, I don't use gnome (i use fluxbox). However since I have the
 use tags, many gnome libraries were pulled in over time.
 
 Now, since the upgrade to gnome 3.8, Portage updates result in a
 conflict because the gnome libs need systemd, which conflicts with udev.
 
 Instead of making the switch to systemd, I decided to change my profile
 to plain desktop (no gnome). Since I don't have gnome desktop, it was
 relatively simple for the system to update itself.
 
 My only questions are, will cups and hplip function in a 'gnomeless'
 system, and are there any other gotchas to be aware of?
 

printing will work regardless of whether you have gnome or not.
cups is what it is, it is not a gnome app.

I don't know of any gotchas with removing gnome (I usually call that a
feature with huge benefits...). All that a profile is, is a bunch of
pre-configured settings. It's a starting point and the contents of your
settings in /etc/portage modifies them. Portage will sort everything out
when you emerge -avuND world and give you what you need according to
your config

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




Re: [gentoo-user] new printer : any thoughts ?

2013-12-22 Thread Frank Steinmetzger
On Wed, Dec 11, 2013 at 02:27:44PM +0100, Daniel Pielmeier wrote:
 2013/12/11 Philip Webb purs...@ca.inter.net
 
  My ancient printer's ink cartridge has finally dried up
   the mobo in my regular computer accepts only USB.
  I don't do much printing, but occasionally need a few pages.
 
  The local store has an HP Deskjet 2510 on sale this week.
 
 Regarding HP printers and hplip, I recommend buying a printer which does
 not require a binary plugin [1]. First they are a source of trouble and
 second the binary plugins are not supported by Gentoo which means there is
 no maintainer for a plugin ebuild [2]. Plugin installation currently is not
 under contol of the package manager and hplip tries to automagically
 download and install the plugin which often fails.

I never came to like Ink-squirters. All the mess with dried up print
heads, planned-obsolescence and ink more expensive than blood.

I am also quite tired of hplip. At some point foo2zjs was masked in
portage (never bothered finding out why), so I had to migrate. Hplip is
just another thing that puts itself into the tray, but needs cups
nonetheless. The download of the printer plugin (or rather, its
installation) fails b/c it needs python 2, but doesn't explicitly state
that. So if you have python 3 as your system version, the python script
fails.

I have a laserjet 1000, bought in 2004, it's even still got the original
cartridge. It may not be fast and has no duplex mode, but it suits my
needs.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The best camouflage is the truth: nobody will believe it anyway!



Re: [gentoo-user] New Gnome Systemd Upgrade Question

2013-12-22 Thread ny6p01
On Mon, Dec 23, 2013 at 02:07:06AM +0200, Alan McKinnon wrote:
 On 23/12/13 01:56, Lee wrote:
  Hi, I installed Gentoo a long time ago with the desktop/gnome profile
  set. Now, I don't use gnome (i use fluxbox). However since I have the
  use tags, many gnome libraries were pulled in over time.
  
  Now, since the upgrade to gnome 3.8, Portage updates result in a
  conflict because the gnome libs need systemd, which conflicts with udev.
  
  Instead of making the switch to systemd, I decided to change my profile
  to plain desktop (no gnome). Since I don't have gnome desktop, it was
  relatively simple for the system to update itself.
  
  My only questions are, will cups and hplip function in a 'gnomeless'
  system, and are there any other gotchas to be aware of?
  
 
 printing will work regardless of whether you have gnome or not.
 cups is what it is, it is not a gnome app.
 
 I don't know of any gotchas with removing gnome (I usually call that a
 feature with huge benefits...). All that a profile is, is a bunch of
 pre-configured settings. It's a starting point and the contents of your
 settings in /etc/portage modifies them. Portage will sort everything out
 when you emerge -avuND world and give you what you need according to
 your config
 

That's a relief! I didn't think the upgrade to systemd was worth the
trouble. 


signature.asc
Description: Digital signature


[gentoo-user] No trace of installed simpleagenda

2013-12-22 Thread Gevisz
I have emerged simpleagenda. Everything went on smoothly,
no errors or warnings appeared. emerge --search simpleagenda
shows that version 0.43 of the package is installed.

However, I cannot find it in any FXCE menus and there is
no simpleagenda command in shell. Moreover, there are no
simpleagenda folder in /usr/share/doc and no man page for it.

Application Finder also does not see it.

Does anybody know how one can start this extremely humble program?



[gentoo-user] out of disk space to compile webkit-gtk

2013-12-22 Thread Joseph

I'm upgrading the system and running out of disk space to compile webkit-gtk

* Checking for at least 18 gigabytes disk space at /var/tmp/portage/net-libs/webkit-gtk-2.0.4/temp ...  
[ !! ]

* There is NOT at least 18 gigabytes disk space at 
/var/tmp/portage/net-libs/webkit-gtk-2.0.4/temp

df -h
Filesystem  Size  Used Avail Use% Mounted on
rootfs   28G   16G   11G  61% /
/dev/root28G   16G   11G  61% /
tmpfs   506M  540K  505M   1% /run
udev 10M 0   10M   0% /dev
shm 506M 0  506M   0% /dev/shm
/dev/hda484G   51G   29G  65% /home

How do I tell the system to use /home partition to use for compiling temp tiles?

--
Joseph