[arch-general] [signoff] mdadm-3.1.3-1

2010-08-06 Thread Tobias Powalowski
This is a bugfix/stability release over 3.1.2

Significant changes are:
   - 
  mapfile now lives in a fixed location which default to
   
/dev/.mdadm/map but can be changed at compile time.  This
location is
choses and most distros provide it during early
boot and preserve it
through.  As long a /dev exists and is
writable, /dev/.mdadm will be
created.
Other files file communication with mdmon live here too.
This
fixes a bug reported by Debian and Gentoo users where
udev would spin in
early-boot.
   -IMSM and DDF metadata will not be recognised on
partitions
as they should only be used on whole-disks.
   -   
Various overflows causes by 2G drives have been addressed.
   -A
subarray of an IMSM contain can now be killed with
--kill-subarray. 
Also subarrays can be renamed with
--update-subarray
   --If (or
--incremental --fail) can be used  from udev to
fail and remove from
all arrays a device which has been
unplugged from the system.  i.e.
hot-unplug-support.
   -"mdadm /dev/mdX --re-add missing" will look for
any device
that looks like it should be a member of /dev/mdX but
isn't
and will automatically --re-add it
   -Now compile with -Wextra
to get extra warnings.
   -Lots of minor bug fixes, documentation
improvements, etcc


Please signoff both arches,
greetings
tpowa
-- 
Tobias
Powalowski
Archlinux Developer & Package Maintainer
(tpowa)
http://www.archlinux.org
tp...@archlinux.org



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


Re: [arch-general] script to reformat 'pacman -Ss' output into 2 readable columns (prevents blindness)

2010-08-06 Thread David C. Rankin

On 08/06/2010 03:34 PM, f...@kokkinizita.net wrote:

On Fri, Aug 06, 2010 at 05:11:27PM +0100, ni...@greenlemur.com wrote:


On Thu, Aug 05, 2010 at 10:51:45PM -0500, David C. Rankin wrote:


http://www.3111skyline.com/dl/Archlinux/scripts/srch2list.sh


I'm new to Arch and to the list but wanted to say thanks for posting
this up. I've found pacman a great tool for getting what I need
installed, but browsing and looking around it was tricky - this script
is really useful for that.


Nice. But why not read from stdin if no file is given, e.g.

pacman -Ss ttf | srch2list.sh



Actually I'm working on just passing the script the search term and calling 
pacman from within the script. The problem with piping the output into the 
script is it messed up my terminal size calcs (stty doesn't like the script 
taking input from stdin) and one of the primary goals I had for the script was 
for it to dynamically size the output based on (1) the longest filename returned 
(to set column 1 width) and (2) to size the description column using the 
remainder of the terminal width leaving the 1 char margin. So keeping the 
ability to grab the terminal size from stty was key.


I'm working to learn the "why's" of stty seeing things as a file and not a tty 
when piping input from stdin, but I'm not there yet. I'll update the input 
routine for the script so it will be flexible enough to take a search term, a 
saved search file and/or have it prompt for the search term  or filename using 
zenity or stdin. That will get the script to where I want it to be. But knowing 
my schedule (and distractions from 3 kids) I thought I would go ahead and post 
the reformatting part so some use could be made of it until I have an hour or 
two to work out the final input.


--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Shouldn't pacman restart dovecot after update?

2010-08-06 Thread Guus Snijders

On 04-08-10 06:51, Attila wrote:

At Dienstag, 3. August 2010 22:35 Heiko Baums wrote:


[...]

Before i saw this feature with the warning in zypper i would say here
yes too but now i found this very useful because in the case of gui
apps or the gui itself it is not even clear for me what for libs been
used. I'm running opensuse on my laptop too and i'm often suprised
after an update what for litte apps use what for libs.

But no question, it would more say it is nice if it is there but not
a thing what is absolutely necessary or that it is unacceptable that
we users do this by ourselves.


Well, you certainly do have a point; finding out which apps are using 
the updated libraries etc would be nice.
After thinking about it for a moment, it seems one solution would be 
very simple. Just run "lsof | grep -i DEL".
I'm pretty sure that this could be much optimized, but i hope the idea 
is clear.


System administration is all about taking responsibility, IMHO.

When it gets too hard for some users, they could always consider rebooting.

HTH, HAND


mvg,
   Guus


Re: [arch-general] script to reformat 'pacman -Ss' output into 2 readable columns (prevents blindness)

2010-08-06 Thread David C. Rankin

On 08/06/2010 04:40 PM, David C. Rankin wrote:

On 08/06/2010 12:33 AM, Dave Reisner wrote:

Hi.

Let's see what we can do about cutting back a little on the verbosity,
and upping the utility...



Dave,

Thanks. It will take me a bit to decipher it, but I'm all for cutting down on
typing and upping the benefit received :p

I have a question. I was trying to figure the script out by passing in one of my
pacman -Ss save files as follows, but I keep getting an error:

16:36 alchemy:~/scr/arch> cat dev/font.pms | sh srchreisner.sh
srchreisner.sh: line 20: syntax error near unexpected token `<'
srchreisner.sh: line 20: ` IFS=$'\n' read -r -d'\0' -a blockdesc < <(fmt
-w$WIDTH <<< "${desc[i]}")'

Where in the black-magic or in my operation of it lies the problem?



Never mind, calling the script with sh was the issue (duh...)

--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] script to reformat 'pacman -Ss' output into 2 readable columns (prevents blindness)

2010-08-06 Thread David C. Rankin

On 08/06/2010 12:33 AM, Dave Reisner wrote:

Hi.

Let's see what we can do about cutting back a little on the verbosity,
and upping the utility...



Dave,

	Thanks. It will take me a bit to decipher it, but I'm all for cutting down on 
typing and upping the benefit received :p


I have a question. I was trying to figure the script out by passing in one of my 
pacman -Ss save files as follows, but I keep getting an error:


16:36 alchemy:~/scr/arch> cat dev/font.pms | sh srchreisner.sh
srchreisner.sh: line 20: syntax error near unexpected token `<'
srchreisner.sh: line 20: `  IFS=$'\n' read -r -d'\0' -a blockdesc < <(fmt 
-w$WIDTH <<< "${desc[i]}")'


Where in the black-magic or in my operation of it lies the problem?

--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] script to reformat 'pacman -Ss' output into 2 readable columns (prevents blindness)

2010-08-06 Thread fons
On Fri, Aug 06, 2010 at 05:11:27PM +0100, ni...@greenlemur.com wrote:

> On Thu, Aug 05, 2010 at 10:51:45PM -0500, David C. Rankin wrote:
>
> >http://www.3111skyline.com/dl/Archlinux/scripts/srch2list.sh
> 
> I'm new to Arch and to the list but wanted to say thanks for posting
> this up. I've found pacman a great tool for getting what I need
> installed, but browsing and looking around it was tricky - this script
> is really useful for that.

Nice. But why not read from stdin if no file is given, e.g.

   pacman -Ss ttf | srch2list.sh

-- 
FA

There are three of them, and Alleline.



Re: [arch-general] [arch-dev-public] [signoff] kernel 2.6.35-2

2010-08-06 Thread Smith Dhumbumroong

 On 08/07/2010 01:05 AM, Tobias Powalowski wrote:

Hi guys,
please signoff 2.6.35 series for both arches
and give feedback if
real issues arise.

Upstream
changes:
http://kernelnewbies.org/LinuxChanges

greetings
tpowa


I have been using kernel26 package version 2.6.35-2 for about a day now. 
No problem so far.


x86_64 user with Nvidia graphic card here.


Re: [arch-general] User list missing in gdm

2010-08-06 Thread Ionuț Bîru

On 08/06/2010 10:45 PM, Jan Steffens wrote:

Apparently GDM screws up and never displays the userlist if ck-history
takes too long to return.



The sad thing is this issue if fixed in consolekit and gdm git master 
but we have to cherry pick a lot of commits for gdm and i don't want to. 
Because of that i chose to include a logrotate file in consolekit


--
Ionuț


Re: [arch-general] script to reformat 'pacman -Ss' output into 2 readable columns (prevents blindness)

2010-08-06 Thread David C. Rankin

On 08/06/2010 12:09 AM, Jason Reardon wrote:

"if which zenity&>
/dev/null...", the former doesn't redirect error output.


Thanks -> updated.

--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] User list missing in gdm

2010-08-06 Thread Jan Steffens
Apparently GDM screws up and never displays the userlist if ck-history
takes too long to return.

On Fri, Aug 6, 2010 at 9:39 PM, Guillermo Leira  wrote:
>> -Mensaje original-
>> De: arch-general-boun...@archlinux.org [mailto:arch-general-
>> boun...@archlinux.org] En nombre de Jan Steffens
>> Enviado el: viernes, 06 de agosto de 2010 10:21
>> Para: General Discussion about Arch Linux
>> Asunto: Re: [arch-general] User list missing in gdm
>>
>> On Fri, Aug 6, 2010 at 8:15 AM, Guillermo Leira  wrote:
>> > I'm sorry, my english is not as good as it should...
>> >
>> > I see the greeting screen of GDM, but where it should be the user list,
>> > there is not anything. Only the computer name.
>> >
>> > I'll check that files this afternoon, when I'm back at home.
>> >
>> > Thanks
>>
>> Try deleting the logfile /var/log/ConsoleKit/history
>>
>> Does that make the problem disappear?
>
> It worked!!!
>
> But... do you know why? :-)
>
>
>


Re: [arch-general] User list missing in gdm

2010-08-06 Thread Guillermo Leira
> -Mensaje original-
> De: arch-general-boun...@archlinux.org [mailto:arch-general-
> boun...@archlinux.org] En nombre de Jan Steffens
> Enviado el: viernes, 06 de agosto de 2010 10:21
> Para: General Discussion about Arch Linux
> Asunto: Re: [arch-general] User list missing in gdm
> 
> On Fri, Aug 6, 2010 at 8:15 AM, Guillermo Leira  wrote:
> > I'm sorry, my english is not as good as it should...
> >
> > I see the greeting screen of GDM, but where it should be the user list,
> > there is not anything. Only the computer name.
> >
> > I'll check that files this afternoon, when I'm back at home.
> >
> > Thanks
> 
> Try deleting the logfile /var/log/ConsoleKit/history
> 
> Does that make the problem disappear?

It worked!!!

But... do you know why? :-)




Re: [arch-general] [signoff] kernel 2.6.35-2

2010-08-06 Thread Tobias Powalowski
Am Freitag 06 August 2010 schrieb Sander Jansen:
> On Fri, Aug 6, 2010 at
1:05 PM, Tobias Powalowski  wrote:
> > Hi guys,
> > please
signoff 2.6.35 series for both arches
> > and give feedback if
> > real
issues arise.
> > 
> > Upstream
> > changes:
> >
http://kernelnewbies.org/LinuxChanges
> > 
> > greetings
> > tpowa
> > --
>
> Tobias
> > Powalowski
> > Archlinux Developer & Package Maintainer
> >
(tpowa)
> > http://www.archlinux.org
> > tp...@archlinux.org
> 
> It would
be nice if lirc would be put in Testing as well whenever a
> new kernel is
put into testing.
> 
> Thanks,
> 
> Sander
already done an our ago, your
mirror is not synced yet.

-- 
Tobias Powalowski
Archlinux Developer &
Package Maintainer (tpowa)
http://www.archlinux.org
tp...@archlinux.org


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


Re: [arch-general] [signoff] kernel 2.6.35-2

2010-08-06 Thread Ionuț Bîru

On 08/06/2010 10:33 PM, Sander Jansen wrote:

On Fri, Aug 6, 2010 at 1:05 PM, Tobias Powalowski  wrote:

Hi guys,
please signoff 2.6.35 series for both arches
and give feedback if
real issues arise.

Upstream
changes:
http://kernelnewbies.org/LinuxChanges

greetings
tpowa
--
Tobias
Powalowski
Archlinux Developer&  Package Maintainer
(tpowa)
http://www.archlinux.org
tp...@archlinux.org




It would be nice if lirc would be put in Testing as well whenever a
new kernel is put into testing.



its already on testing.


--
Ionuț


Re: [arch-general] [signoff] kernel 2.6.35-2

2010-08-06 Thread Sander Jansen
On Fri, Aug 6, 2010 at 1:05 PM, Tobias Powalowski  wrote:
> Hi guys,
> please signoff 2.6.35 series for both arches
> and give feedback if
> real issues arise.
>
> Upstream
> changes:
> http://kernelnewbies.org/LinuxChanges
>
> greetings
> tpowa
> --
> Tobias
> Powalowski
> Archlinux Developer & Package Maintainer
> (tpowa)
> http://www.archlinux.org
> tp...@archlinux.org
>
>

It would be nice if lirc would be put in Testing as well whenever a
new kernel is put into testing.

Thanks,

Sander


Re: [arch-general] [arch-dev-public] [signoff] kernel 2.6.35-2

2010-08-06 Thread Damjan Georgievski
> Hi guys,
> please signoff 2.6.35 series for both arches
> and give feedback if
> real issues arise.
>
> Upstream
> changes:
> http://kernelnewbies.org/LinuxChanges

Just installed it on my AMD64 Desktop, and seems to work fine for now
My cpu is Athlon 5050e, the chipset is AMD RS780+SB700 with an onboard
HD3200 - I run it with the free radeon driver and I haven't seen any
regressions for now.

I run KDE with opengl effects if it matters.

I also run some KVM guests (32bit) they work still.

Anything special to look for?

-- 
damjan


Re: [arch-general] script to reformat 'pacman -Ss' output into 2 readable columns (prevents blindness)

2010-08-06 Thread Simon Stoakley

On 06/08/10 06:33, Dave Reisner wrote:


Hi.

Let's see what we can do about cutting back a little on the verbosity,
and upping the utility...

-

#!/bin/bash

pkg=()
desc=()
count=-1
WIDTH=${WIDTH:-50}

while read line; do
   if [[ $line =~ ^(testing|core|extra|community|community-testing)/* ]]; then
 (( count++ ))
 pkg[count]="$line"
 continue
   fi

   desc[count]+="$line"
done

i=0
while (( i<= count )); do
   IFS=$'\n' read -r -d'\0' -a blockdesc<  <(fmt -w$WIDTH<<<  "${desc[i]}")

   paste -d' '<(printf "%-49s" "${pkg[i]}")<(echo "${blockdesc[0]}")

   for line in "${blockde...@]:1}"; do
 printf "%-50s%s\n" "" "$line"
   done

   (( ++i ))
   [[ $1 == -d ]]&&  echo
done

-

It takes STDIN, and accepts a -d option to add a space after each
package. Descriptions have a default width of 50 characters (meaning a
total width of 100 characters). You can alter this by specifying WIDTH
as an environment var, e.g.

$ pacman -Ss | WIDTH=30 ./foofilter -d

Personally I think pacman-color is a better solution that mangling the
output like this, but to each their own.

d




---
Thanks for this one, I've messed around with it a little and it's a 
handy little function for searching.


[arch-general] [signoff] kernel 2.6.35-2

2010-08-06 Thread Tobias Powalowski
Hi guys,
please signoff 2.6.35 series for both arches
and give feedback if
real issues arise.

Upstream
changes:
http://kernelnewbies.org/LinuxChanges

greetings
tpowa
-- 
Tobias
Powalowski
Archlinux Developer & Package Maintainer
(tpowa)
http://www.archlinux.org
tp...@archlinux.org



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


Re: [arch-general] script to reformat 'pacman -Ss' output into 2 readable columns (prevents blindness)

2010-08-06 Thread nigel

On Thu, Aug 05, 2010 at 10:51:45PM -0500, David C. Rankin wrote:

Guys,

I developed a script to help me read the output of pacman -Ss in 2 
nicely
formatted columns. The output of 'pacman -Ss srchterm' drives me nuts trying to
read down the package names and descriptions with all the tab indented and
wrapped text -- so I fixed it. Download the script here:

http://www.3111skyline.com/dl/Archlinux/scripts/srch2list.sh



Hi,

I'm new to Arch and to the list but wanted to say thanks for posting
this up. I've found pacman a great tool for getting what I need
installed, but browsing and looking around it was tricky - this script
is really useful for that.

Thanks,
Nigel


Re: [arch-general] [OT] sight-saver colours

2010-08-06 Thread Mario Figueiredo

On 06-08-2010 12:27, Jan Steffens wrote:

On Fri, Aug 6, 2010 at 1:10 PM, F. Gr.  wrote:
   

Hi,
in your opinion, what is the best combination of text and background
colour so as not to tire our eyes? I think we spend many hours in
front of a monitor.

I've been using the following one:
text   ->  #00
background ->  #F6F6FF (in the past also #F8F4FF, #EDE9E3, and others)
 

Always depends on the monitor. You could reduce the backlight
brightness instead of making the background gray.
   


Precisely. I prefer to adjust the monitor. Assuming of course the 
monitor have good brightness adjustment controls.
If I find they tend to blur more then they reduce brightness, then 
there's indeed no other option than set the term foreground color.


Re: [arch-general] [OT] sight-saver colours

2010-08-06 Thread David Rosenstrauch

On 08/06/2010 07:10 AM, F. Gr. wrote:

Hi,
in your opinion, what is the best combination of text and background
colour so as not to tire our eyes? I think we spend many hours in
front of a monitor.

I've been using the following one:
text   ->  #00
background ->  #F6F6FF (in the past also #F8F4FF, #EDE9E3, and others)


I find that lighter-colored (but not blindingly bright) text on a very 
dark background is easiest on the eyes.


e.g.
text:   #C3C3C3 (light gray)
background: #00 (black) or #1b (midnight blue)

http://www.darose.net/DaroseDesktop2009-11.png

HTH,

DR


Re: [arch-general] [OT] sight-saver colours

2010-08-06 Thread Lukas Grässlin
Hi,

I use light gray (rgb:be/be/be) on dark gray (rgb:1c/1c/1c).

See also my .Xcolors (is sourced in .Xdefaults)

http://github.com/lukasg/dotfiles/blob/master/xorg/Xcolors))

On Fri, Aug 06, 2010 at 01:10:14PM +0200, F. Gr. wrote:
> Hi,
> in your opinion, what is the best combination of text and background
> colour so as not to tire our eyes? I think we spend many hours in
> front of a monitor.
> 
> I've been using the following one:
> text   -> #00
> background -> #F6F6FF (in the past also #F8F4FF, #EDE9E3, and others)
> 

-- 
Lukas Grässlin

Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany

p: +49 (0) 89-990 157-23

Collax - Flexible IT.

Geschäftsführer: Bernd Bönte, Boris Nalbach
Amtsgericht München, HRB 173695
USt-ID: DE270819312


Re: [arch-general] [OT] sight-saver colours

2010-08-06 Thread Jan Steffens
On Fri, Aug 6, 2010 at 1:10 PM, F. Gr.  wrote:
> Hi,
> in your opinion, what is the best combination of text and background
> colour so as not to tire our eyes? I think we spend many hours in
> front of a monitor.
>
> I've been using the following one:
> text       -> #00
> background -> #F6F6FF (in the past also #F8F4FF, #EDE9E3, and others)

Always depends on the monitor. You could reduce the backlight
brightness instead of making the background gray.


[arch-general] [OT] sight-saver colours

2010-08-06 Thread F. Gr.
Hi,
in your opinion, what is the best combination of text and background
colour so as not to tire our eyes? I think we spend many hours in
front of a monitor.

I've been using the following one:
text   -> #00
background -> #F6F6FF (in the past also #F8F4FF, #EDE9E3, and others)




Re: [arch-general] User list missing in gdm

2010-08-06 Thread Jan Steffens
On Fri, Aug 6, 2010 at 8:15 AM, Guillermo Leira  wrote:
> I'm sorry, my english is not as good as it should...
>
> I see the greeting screen of GDM, but where it should be the user list,
> there is not anything. Only the computer name.
>
> I'll check that files this afternoon, when I'm back at home.
>
> Thanks

Try deleting the logfile /var/log/ConsoleKit/history

Does that make the problem disappear?


Re: [arch-general] User list missing in gdm

2010-08-06 Thread Christoffer Hirth
to., 05.08.2010 kl. 20.06 +0200, skrev Guillermo Leira:
> Hello!
> 
> Some weeks ago, the gdm user list disappeared. I have been trying everything 
> that I have found, but no luck.
> 
> If I reboot the computer several times, it finishes working, or if I issue a 
> /etc/rc.d/gdm restart. But this is my wife's computer, and I would like it to 
> work as it should...
> 
> I have another six computers, and I don't know how many virtual machines, and 
> this is happening also in a virtual machine.
> 
> Any ideas?
> 
> Best Regards
> 
> Guillermo Leira


I think you have encountered this problem:
https://bbs.archlinux.org/viewtopic.php?id=100329
http://bugs.archlinux.org/task/20152



Christoffer