Re: [gentoo-user] broadcom-sta and the 3.6.x kernel

2012-12-04 Thread Dustin C. Hatch

On 12/3/2012 19:22, Allan Gottlieb wrote:

I believe several on this list use -sta and know many are running 3.6.x.
What do you do?  I should add that at present running 3.5.x is not a
hardship for me.

I have broadcom-sta working on my notebook with kernel-3.6, using the 
patches in #437898. For convenience, you can find them all in my overlay 
(layman -a dustin).


I am actually having better luck with kernel-3.6 than I did with 3.5 
because of several problems in the wl driver with regard to cfg80211. 
Notably, in 3.5 with cfg80211, dmesg was filled with cannot get rssi 
messages, several per minute. That's gone now and wpa_supplicant 
correctly reports receive signal strength.


--
♫Dustin



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-12-04 Thread Peter Weilbacher

On 2012-11-30 18:47, Mick wrote:

On Friday 30 Nov 2012 09:01:35 Peter Weilbacher wrote:

I have the same problem and this solution sucks. :-(
Before this update I had such a nice console setup with framebuffer
splash, a nice small font, and a Gentoo decoration around it. Really
sad to see that go.


KMS should provide framebuffer now, so have you set KMS and firmware
correctly?


I just didn't realize that this is the case, so maybe my setup is 
wrong.

I'll study the documentation again.

Cheers,
   Peter.



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-12-04 Thread Jacques Montier
2012/12/4 Peter Weilbacher newss...@weilbacher.org

 On 2012-11-30 18:47, Mick wrote:

 On Friday 30 Nov 2012 09:01:35 Peter Weilbacher wrote:

 I have the same problem and this solution sucks. :-(
 Before this update I had such a nice console setup with framebuffer
 splash, a nice small font, and a Gentoo decoration around it. Really
 sad to see that go.


 KMS should provide framebuffer now, so have you set KMS and firmware
 correctly?


 I just didn't realize that this is the case, so maybe my setup is wrong.
 I'll study the documentation again.

 Cheers,
Peter.



Don't forget to disable all the drivers in Support for frame buffer
devices of your kernel configuration.

Regards,

--
Jacques


Re: [gentoo-user] broadcom-sta and the 3.6.x kernel

2012-12-04 Thread Florian Philipp
Am 04.12.2012 09:13, schrieb Dustin C. Hatch:
 On 12/3/2012 19:22, Allan Gottlieb wrote:
 I believe several on this list use -sta and know many are running 3.6.x.
 What do you do?  I should add that at present running 3.5.x is not a
 hardship for me.

 I have broadcom-sta working on my notebook with kernel-3.6, using the
 patches in #437898. For convenience, you can find them all in my overlay
 (layman -a dustin).
 
 I am actually having better luck with kernel-3.6 than I did with 3.5
 because of several problems in the wl driver with regard to cfg80211.
 Notably, in 3.5 with cfg80211, dmesg was filled with cannot get rssi
 messages, several per minute. That's gone now and wpa_supplicant
 correctly reports receive signal strength.
 

Do you actually need broadcom-sta anymore? With the recent kernel
updates more chips work with the in-kernel driver (brcmsmac). But the
config option is well hidden (you need to enable BCMA to even see it).

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] broadcom-sta and the 3.6.x kernel

2012-12-04 Thread Dustin C. Hatch

On 12/4/2012 06:11, Florian Philipp wrote:


Do you actually need broadcom-sta anymore? With the recent kernel
updates more chips work with the in-kernel driver (brcmsmac). But the
config option is well hidden (you need to enable BCMA to even see it).

Yes, I initially tried the b43 driver, which worked, but consistently 
dropped about 5-15% of packets, making it mostly unusable. I also tried 
bcrmsmac and bcrmfmac, and neither of them supported my card (432b). 
Unfortunately, I can't get a different card, either, because I my 
notebook has a whitelist of supported devices in the BIOS, and it 
won't even boot with a mini-pci-e card installed that isn't in that 
list. Thanks, HP :(


Regards,

--
♫Dustin



[gentoo-user] OT: first water cooled system

2012-12-04 Thread James
Hello,

My first water cooled AMD (FX8350) system build,
my first Gigabyte mobo, so I have questions.

Equipment

Cooler: Thermaltake  Water 2.0 Performer
Chasis: Thermaltake Level 10 GTS V03000
Mobo: Gigabyte GA-990FXA-UD3
CPU: AMD FX8350

Ok, so the chasis came with a rear fan that
is the same size as the (2) fans supplied 
in the water cooler package. Can I just
use the original fan and one of the new fans?

Sequence of Construction:

Mount mobo in chasis first. Install CPU
into mobo. Mount radiator and second fan
to the original rear chassis fan.
Then use the supplier grease on the cooler
to mate the pump to the cpu (bracket
details followed).   Other steps or
order of installation tips?

I did purchase a syringe of fancy
thermal grease (Arctic Silver 5).
Should I wipe the pump clean and use
this grease instead of what the kit
shipped with?


OS Installation.

OK so now I'd have the system completed.
Since cooling is critical, I guess I first
power up go into the bios and setup the specs 
(4.0 GHZ with no over-clocking for now) and monitor 
the temperature to ensure the pump/cooler are
working?

Just being cautious as to not end up with burnt toast;
so any and all words of advise are welcome.


tentatively,
James





Re: [gentoo-user] OT: first water cooled system

2012-12-04 Thread Volker Armin Hemmann
Am Dienstag, 4. Dezember 2012, 17:58:49 schrieb James:
 Hello,
 
 My first water cooled AMD (FX8350) system build,
 my first Gigabyte mobo, so I have questions.
 
 Equipment
 
 Cooler: Thermaltake  Water 2.0 Performer
 Chasis: Thermaltake Level 10 GTS V03000
 Mobo: Gigabyte GA-990FXA-UD3
 CPU: AMD FX8350
 
 Ok, so the chasis came with a rear fan that
 is the same size as the (2) fans supplied
 in the water cooler package. Can I just
 use the original fan and one of the new fans?

yes. The fans in the package usually suck.

 
 Sequence of Construction:
 
 Mount mobo in chasis first. Install CPU
 into mobo. Mount radiator and second fan
 to the original rear chassis fan.
 Then use the supplier grease on the cooler
 to mate the pump to the cpu (bracket
 details followed).   Other steps or
 order of installation tips?

are you going to blow the air in or out?

 
 I did purchase a syringe of fancy
 thermal grease (Arctic Silver 5).
 Should I wipe the pump clean and use
 this grease instead of what the kit
 shipped with?
 

you know - deep down, it does not matter.

 
 OS Installation.
 
 OK so now I'd have the system completed.
 Since cooling is critical, I guess I first
 power up go into the bios and setup the specs
 (4.0 GHZ with no over-clocking for now) and monitor
 the temperature to ensure the pump/cooler are
 working?
 
 Just being cautious as to not end up with burnt toast;
 so any and all words of advise are welcome.
 

hint: have the pump always run at full power but use fancontrol to control the 
fans - a lot of these pumps become pretty loud when they slow down. 

Also, set fancontrol to start the fan at something like 40°C with 65°C max - 
and most of the time the fans won't even spin, reducing the noise even more. 
40, 60, 70°C won't hurt your CPU at all. 

-- 
#163933



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-12-04 Thread Peter Weilbacher

On 2012-12-04 11:05, Jacques Montier wrote:

2012/12/4 Peter Weilbacher newss...@weilbacher.org


On 2012-11-30 18:47, Mick wrote:

KMS should provide framebuffer now, so have you set KMS and 
firmware

correctly?


I just didn't realize that this is the case, so maybe my setup is 
wrong.

I'll study the documentation again.


Don't forget to disable all the drivers in Support for frame buffer
devices of your kernel configuration.


Right, I did that now, and have the framebuffer splash back. X also 
starts

but the whole system locks hard once gdm tries to paint the login area.
Unfortunately, after rebooting the log doesn't give me any useful 
output.

I have to fiddle around with the setup a bit to see what's wrong, maybe
something's still missing.

Cheers,
   Peter.



[gentoo-user] Re: OT: first water cooled system

2012-12-04 Thread James
Volker Armin Hemmann volkerarmin at googlemail.com writes:


 are you going to blow the air in or out?

Out the rear. So the 2 fans sandwich the
radiator and aim outward?

Also, the cpu/cooler backing supplied by Gigabyte
fits well with the top bracket supplied by
the cooler kit, so I'm using that in lieu
of the cheap plastic back supplied with
the cooler (OK?)


 hint: have the pump always run at full power but use fancontrol 
 to control the 
 fans - a lot of these pumps become pretty loud when they slow down. 

 Also, set fancontrol to start the fan at something like 40°C with 65°C max - 
 and most of the time the fans won't even spin, reducing the noise even more. 
 40, 60, 70°C won't hurt your CPU at all. 

The mobo has (4) fan terminals :(1) 3 wire (sysfan2)
(3) four wire sysfan1, CPUfan, pwrfan.
This is a dual bios system.

Do both fans that sandwich the radiator run
at the same setting? The kit came with a Y so both can connected to
the same 4 pin (Y) connector. The chassis fan has a 3 pin
connector, but the slots do fit in the (Y) harness
correctly. The (Y) is wired for all 4 pins. So 
will there be a separate BIOS setting (control) for the rear
fan, different than the fan to the inside of the
radiator?  If so, what settings do I set each fan to?


It seems I have plenty of fan power/control terminals,
but the mobo install book gives no guidance as to which, where
The chassis has a large fan (sysfan1 ?) for the drives, as well as the rear
chassis fan(sysfan2 ?).


Once I get Gentoo installed, what's the best software to monitor
this cooler rig and set alarms? Auto shutoff if it overheats?
(I run the system when I'm not around quite a bit)...
I'd really like to know if one fan fails the other one is
still working so guidance is appreciated, or just some 
discussion on how all of this should work.
I'm presuming all of this is in the BIOS? 


James








Re: [gentoo-user] Re: OT: first water cooled system

2012-12-04 Thread Volker Armin Hemmann
Am Dienstag, 4. Dezember 2012, 19:55:30 schrieb James:
 Volker Armin Hemmann volkerarmin at googlemail.com writes:
  are you going to blow the air in or out?
 
 Out the rear. So the 2 fans sandwich the
 radiator and aim outward?
 
 Also, the cpu/cooler backing supplied by Gigabyte
 fits well with the top bracket supplied by
 the cooler kit, so I'm using that in lieu
 of the cheap plastic back supplied with
 the cooler (OK?)
 

don't know - my cooler had a steel backplate and some screw-in mechanism... 
(not a boxed water cooler).

  hint: have the pump always run at full power but use fancontrol
  to control the
  fans - a lot of these pumps become pretty loud when they slow down.
  
  Also, set fancontrol to start the fan at something like 40°C with 65°C max
  - and most of the time the fans won't even spin, reducing the noise even
  more. 40, 60, 70°C won't hurt your CPU at all.
 
 The mobo has (4) fan terminals :(1) 3 wire (sysfan2)
 (3) four wire sysfan1, CPUfan, pwrfan.
 This is a dual bios system.

so connect the pump to the 3 wire, the others to the four pwm connectors.

 
 Do both fans that sandwich the radiator run
 at the same setting? The kit came with a Y so both can connected to
 the same 4 pin (Y) connector. The chassis fan has a 3 pin
 connector, but the slots do fit in the (Y) harness
 correctly. The (Y) is wired for all 4 pins. So
 will there be a separate BIOS setting (control) for the rear
 fan, different than the fan to the inside of the
 radiator?  If so, what settings do I set each fan to?
 

really, get pwm (for pin) fans and connect them to the four pin connectors.

 
 It seems I have plenty of fan power/control terminals,
 but the mobo install book gives no guidance as to which, where
 The chassis has a large fan (sysfan1 ?) for the drives, as well as the rear
 chassis fan(sysfan2 ?).
 
doesn't matter at all. Because you won't use the bios to drive the dans.

 
 Once I get Gentoo installed, what's the best software to monitor
 this cooler rig and set alarms? Auto shutoff if it overheats?
 (I run the system when I'm not around quite a bit)...
 I'd really like to know if one fan fails the other one is
 still working so guidance is appreciated, or just some
 discussion on how all of this should work.
 I'm presuming all of this is in the BIOS?

sensors, pwmconfig, fancontrol. No need to get the bios involved (except maybe 
shutdown at 95°C)




[gentoo-user] Cannot compile polkit-0.107-r1 or polkit-0.108 on one computer

2012-12-04 Thread Wolfgang Liebich

Hi,
I've run into a really strange problem during an upgrade from KDE 4.8 to KDE 
4.9.
This upgrade includes an upgrade in polkit from version 0.104 to 0.107-r1.

The problem with the latter release is that I cannot emerge polkit for release=0.107-r1 (did not tes it with plain 0.107), because I get a 
linker error:



polkitbackendjsauthority.c: In function 'set_property_strv':
polkitbackendjsauthority.c:640:17: warning: comparison between signed and 
unsigned integer expressions
polkitbackendjsauthority.c: In function 'js_polkit_spawn':
polkitbackendjsauthority.c:1352:3: warning: implicit declaration of function 
'WIFEXITED'
polkitbackendjsauthority.c:1352:3: warning: nested extern declaration of 
'WIFEXITED'
polkitbackendjsauthority.c:1352:3: warning: implicit declaration of function 
'WEXITSTATUS'
polkitbackendjsauthority.c:1352:3: warning: nested extern declaration of 
'WEXITSTATUS'
polkitbackendjsauthority.c:1362:7: warning: implicit declaration of function 
'WIFSIGNALED'
polkitbackendjsauthority.c:1362:7: warning: nested extern declaration of 
'WIFSIGNALED'
polkitbackendjsauthority.c:1366:35: warning: implicit declaration of function 
'WTERMSIG'
polkitbackendjsauthority.c:1366:35: warning: nested extern declaration of 
'WTERMSIG'
  CC libpolkit_backend_1_la-polkitbackendactionpool.lo
  CC libpolkit_backend_1_la-polkitbackendconfigsource.lo
  CC libpolkit_backend_1_la-polkitbackendactionlookup.lo
  CC libpolkit_backend_1_la-polkitbackendsessionmonitor.lo
  CCLD   libpolkit-backend-1.la
  CC polkitd-polkitd.o
  CCLD   polkitd
./.libs/libpolkit-backend-1.a(libpolkit_backend_1_la-polkitbackendjsauthority.o):
 In function `js_polkit_spawn':
polkitbackendjsauthority.c:(.text+0x318f): undefined reference to `WIFEXITED'
polkitbackendjsauthority.c:(.text+0x31b1): undefined reference to `WIFEXITED'
polkitbackendjsauthority.c:(.text+0x31c4): undefined reference to `WEXITSTATUS'
polkitbackendjsauthority.c:(.text+0x3237): undefined reference to `WEXITSTATUS'
polkitbackendjsauthority.c:(.text+0x326f): undefined reference to `WIFSIGNALED'
polkitbackendjsauthority.c:(.text+0x3282): undefined reference to `WTERMSIG'
polkitbackendjsauthority.c:(.text+0x3292): undefined reference to `WTERMSIG'
collect2: ld returned 1 exit status
make[4]: *** [polkitd] Error 1
make[4]: Leaving directory 
`/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src/polkitbackend'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src/polkitbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107'
make: *** [all] Error 2
 * ERROR: sys-auth/polkit-0.107-r1 failed (compile phase):
 *   emake failed


OK - so somehow the definitions inside stdlib.h or sys/wait.h do not make 
it to polkitbackendjsauthority.c.

What is going on here?

- Weirded out in vienna
-- Wolfgang Liebihc



Re: [gentoo-user] xorg, mtrack on a macbook air

2012-12-04 Thread Bill Kenworthy
On Tue, 2012-12-04 at 14:08 +0800, Bill Kenworthy wrote:
 On Tue, 2012-12-04 at 13:59 +0800, Bill Kenworthy wrote:
  Hi, I have a mouse issue with the trackpad on a late 2012 macbook air.
  
  In X I am seeing multiple mouse clicks similar to two drivers for the
  same event. i.e., mtrack is set to 3 zones for the pad but a right click
  shows (in xev) mouse button 3 down, then 1 down, then 1 up and finally 3
  up which destroys most right click actions :(
  
  Oddly, button 1 clicks are ok (only one set, not repeated)
  
  Is it possible to find out where the button 1 clicks are coming from? -
  evdev just says which button is clicked, not where it came from.
  
  BillK
  
 
 Whoops, slight mistake ... s/evdev/xev/ :)
 
 BillK

ok, no reply so it seems no-one else knows either.

I think there are a number of others running gentoo on a macbook, so how
are you handling the trackpad in X (LXDE)?

BillK






[gentoo-user] System maintenance procedure?

2012-12-04 Thread Grant
My unattended daily system maintenance procedure is like this:

layman -S
emerge --sync
emerge -pvDuN world
emerge -pv --depclean
eclean -p distfiles
eclean -p packages

And then attended like this:

emerge -DuN world
revdep-rebuild
etc-update
elogv
emerge --depclean
eclean distfiles
eclean packages

Am I missing any good stuff?

- Grant


Re: [gentoo-user] broadcom-sta and the 3.6.x kernel

2012-12-04 Thread 2sb7vwu

 The broadcom-sta package works fine for me with several kernels up to
 3.5.x.  But with 3.6.x it fails.  This seems to be a known problem, gentoo
 bug https://bugs.gentoo.org/show_bug.cgi?id=437898
 
 437898 contains some patches and various comments, but I am surprised
 that the current ebuild does not work with the current kernel since at
 least 10 october.
 
 I believe several on this list use -sta and know many are running 3.6.x.
 What do you do?  I should add that at present running 3.5.x is not a
 hardship for me.
 thanks,
 allan

Hi!
I'm running 3.5.4 on my netbook. Had that problem after emerging 
networkmanager-0.9.6.4. Downgrading to 0.9.4.0-r6 solved it.



Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread nybblenybbleb...@gmail.com

Why with the pretend option? Checking to see if it's needed?

Connected by DROID on Verizon Wireless

-Original message-
From: Grant emailgr...@gmail.com
To: Gentoo mailing list gentoo-user@lists.gentoo.org
Sent: Wed, Dec 5, 2012 00:34:37 GMT+00:00
Subject: [gentoo-user] System maintenance procedure?

My unattended daily system maintenance procedure is like this:

layman -S
emerge --sync
emerge -pvDuN world
emerge -pv --depclean
eclean -p distfiles
eclean -p packages

And then attended like this:

emerge -DuN world
revdep-rebuild
etc-update
elogv
emerge --depclean
eclean distfiles
eclean packages

Am I missing any good stuff?

- Grant



Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Dale
Grant wrote:
 My unattended daily system maintenance procedure is like this:

 layman -S
 emerge --sync
 emerge -pvDuN world
 emerge -pv --depclean
 eclean -p distfiles
 eclean -p packages

 And then attended like this:

 emerge -DuN world
 revdep-rebuild
 etc-update
 elogv
 emerge --depclean
 eclean distfiles
 eclean packages

 Am I missing any good stuff?

 - Grant


I would use the -a option unless the output of the first part is being
emailed to you or something. 

Other than using -a instead of -p, I don't see anything missing.  Just
check the USE flags before letting it update.  They get changed
sometimes and it could cause issues.  Sometimes the change is for the
good so always look into it first. 

You *may* want to look into dispatch-conf too.  It does the same as
etc-update but it keeps records in case a updated config file borks your
system.  Just a thought. 

Dale

:-)  :-) 

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




Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Neil Bothwick
Grant emailgr...@gmail.com wrote:

 My unattended daily system maintenance procedure is like this:
 
 layman -S
 emerge --sync
 emerge -pvDuN world
 emerge -pv --depclean
 eclean -p distfiles
 eclean -p packages
 
 And then attended like this:
 
 emerge -DuN world
 revdep-rebuild
 etc-update
 elogv
 emerge --depclean
 eclean distfiles
 eclean packages
 
 Am I missing any good stuff?
 
 - Grant

The first depclean is redundant, you haven't updated anything so it won't show 
anything useful. I only run depclean and revdep-rebuild weekly,I don't see a 
need to routinely do it more often, especially on slower systems. I do run 
eix-update and eix-update-remote after my daily sync.I run eix-test-obsolete 
from the weekly cron script.

Frequent cleaning of packages is not a good idea IMO, I like to keep the old 
veraions around for at least a few days, in case something unpleasant shows up 
and I want to roll back.

I also have portage mail elog messages to me, so I don't bother with elogv.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Pandu Poluan
On Dec 5, 2012 7:34 AM, Grant emailgr...@gmail.com wrote:

 My unattended daily system maintenance procedure is like this:

 layman -S
 emerge --sync
 emerge -pvDuN world
 emerge -pv --depclean
 eclean -p distfiles
 eclean -p packages

 And then attended like this:

 emerge -DuN world
 revdep-rebuild
 etc-update
 elogv
 emerge --depclean
 eclean distfiles
 eclean packages

 Am I missing any good stuff?

 - Grant

There's an incantation that makes emerge download the source files but
don't actually emerge them, yet. Will save a lot of time during attended
sessions if your Internet connection is kind of not fast.

Can someone help me refresh my mind?

Rgds,
--


Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Allan Gottlieb
On Tue, Dec 04 2012, Pandu Poluan wrote:

 On Dec 5, 2012 7:34 AM, Grant emailgr...@gmail.com wrote:

 My unattended daily system maintenance procedure is like this:

 layman -S
 emerge --sync
 emerge -pvDuN world
 emerge -pv --depclean
 eclean -p distfiles
 eclean -p packages

 And then attended like this:

 emerge -DuN world
 revdep-rebuild
 etc-update
 elogv
 emerge --depclean
 eclean distfiles
 eclean packages

 Am I missing any good stuff?

 - Grant

 There's an incantation that makes emerge download the source files but
 don't actually emerge them, yet. Will save a lot of time during attended
 sessions if your Internet connection is kind of not fast.

 Can someone help me refresh my mind?

 Rgds,
 --

--fetchonly -f   (can also see -F --fetch-all-uri)

allan



Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Dale
Pandu Poluan wrote:


 There's an incantation that makes emerge download the source files but
 don't actually emerge them, yet. Will save a lot of time during
 attended sessions if your Internet connection is kind of not fast.

 Can someone help me refresh my mind?

 Rgds,


That would be the -f option.  Short for fetch. 

Dale

:-)  :-) 

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




Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Grant
  My unattended daily system maintenance procedure is like this:
 
  layman -S
  emerge --sync
  emerge -pvDuN world
  emerge -pv --depclean
  eclean -p distfiles
  eclean -p packages
 
  And then attended like this:
 
  emerge -DuN world
  revdep-rebuild
  etc-update
  elogv
  emerge --depclean
  eclean distfiles
  eclean packages
 
  Am I missing any good stuff?
 
  - Grant


 I would use the -a option unless the output of the first part is being
 emailed to you or something.

Exactly, it's being emailed to me and I should have said so.

 Other than using -a instead of -p, I don't see anything missing.  Just
 check the USE flags before letting it update.  They get changed
 sometimes and it could cause issues.  Sometimes the change is for the
 good so always look into it first.

 You *may* want to look into dispatch-conf too.  It does the same as
 etc-update but it keeps records in case a updated config file borks your
 system.  Just a thought.

I will do that.  dispatch-conf sounds like a good thing.

- Grant


Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Grant
 My unattended daily system maintenance procedure is like this:

 layman -S
 emerge --sync
 emerge -pvDuN world
 emerge -pv --depclean
 eclean -p distfiles
 eclean -p packages

 And then attended like this:

 emerge -DuN world
 revdep-rebuild
 etc-update
 elogv
 emerge --depclean
 eclean distfiles
 eclean packages

 Am I missing any good stuff?

 - Grant


 The first depclean is redundant, you haven't updated anything so it won't
show anything useful. I only run depclean and revdep-rebuild weekly,I don't
see a need to routinely do it more often, especially on slower systems. I
do run eix-update and eix-update-remote after my daily sync.I run
eix-test-obsolete from the weekly cron script.

I should have said that I'm emailed the results of the first set of
commands so the first depclean is there to let me know what would be
removed after yesterday's update.

eix-test-obsolete sounds nice.  New addition!

 Frequent cleaning of packages is not a good idea IMO, I like to keep the
old veraions around for at least a few days, in case something unpleasant
shows up and I want to roll back.

I think you're right about that.  Can I configure eclean to wait a certain
number of days since a package was removed before cleaning it?  Even if I
only run it once per week, it could remove a package that was updated
yesterday that I find out I need tomorrow.

- Grant


Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Dale
Grant wrote:

 I think you're right about that.  Can I configure eclean to wait a
 certain number of days since a package was removed before cleaning it?
  Even if I only run it once per week, it could remove a package that
 was updated yesterday that I find out I need tomorrow.

 - Grant


-t, --time-limit=timedon't delete files modified since time
time is an amount of time: 1y is one year, 2w is two weeks, etc.
Units are: y (years), m (months), w (weeks), d (days) and h (hours).

I found that in man eclean.

Dale

:-)  :-) 

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




Re: [gentoo-user] System maintenance procedure?

2012-12-04 Thread Grant
  I think you're right about that.  Can I configure eclean to wait a
  certain number of days since a package was removed before cleaning it?
   Even if I only run it once per week, it could remove a package that
  was updated yesterday that I find out I need tomorrow.
 
  - Grant


 -t, --time-limit=timedon't delete files modified since time
 time is an amount of time: 1y is one year, 2w is two weeks, etc.
 Units are: y (years), m (months), w (weeks), d (days) and h (hours).

Thanks Dale.

 I found that in man eclean.

I'm sorry, I didn't consider a parameter like that for some reason.

Should it be alright to depclean every day?  As long as I use --time-limit
with 'eclean packages', I should be able to reinstall anything that
depclean removes even if it's pruned from Portage.

- Grant


[gentoo-user] openconnect and network manager

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

any ideas would be appreciated.

-Kevin B


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

2012-12-04 Thread Grant
I was setting up ssmtp but I realized it isn't being maintained and there
are a couple of alternatives called msmtp and dma.  Can anyone recommend
one of these over the other?

I don't like how ssmtp stores the mail password in clear text in its config
file.  It looks like msmtp can pull the password from gpg:

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

I don't have much experience with gpg.  Does this mean I can store the mail
password encrypted on each of my systems so it can be used in an automated
fashion to get mail onto my mail server?  Do I need to start gpg-agent and
enter a gpg keyring password whenever I reboot each of the systems?

Is this the best way to get email alerts from my various systems to my
email address?

- Grant


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

2012-12-04 Thread Michael Orlitzky
On 12/05/2012 12:28 AM, Grant wrote:
 I was setting up ssmtp but I realized it isn't being maintained and
 there are a couple of alternatives called msmtp and dma.  Can anyone
 recommend one of these over the other?
 
 I don't like how ssmtp stores the mail password in clear text in its
 config file.  It looks like msmtp can pull the password from gpg:
 
 msmtp --passwordeval 'gpg -d mypwfile.gpg'
 
 I don't have much experience with gpg.  Does this mean I can store the
 mail password encrypted on each of my systems so it can be used in an
 automated fashion to get mail onto my mail server?  Do I need to start
 gpg-agent and enter a gpg keyring password whenever I reboot each of the
 systems?
 
 Is this the best way to get email alerts from my various systems to my
 email address?
 

I switched to msmtp when nbsmtp was treecleaned. The switch was
uneventful; it just works, which is high praise.

You can't encrypt your password unless you're going to be physically
present to decrypt it (with some other password). If your machine is
physically secure, you can just make the msmtp config file read-only to
yourself. If someone can log in as you, they can get your password
anyway. There's only a risk if e.g. you're not root, or someone else can
get root (access to grub) or walk off with the hard drive.

If you're worried about either of those scenarios, set up a separate
account for your email alerts.



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

2012-12-04 Thread Grant
  I was setting up ssmtp but I realized it isn't being maintained and
  there are a couple of alternatives called msmtp and dma.  Can anyone
  recommend one of these over the other?
 
  I don't like how ssmtp stores the mail password in clear text in its
  config file.  It looks like msmtp can pull the password from gpg:
 
  msmtp --passwordeval 'gpg -d mypwfile.gpg'
 
  I don't have much experience with gpg.  Does this mean I can store the
  mail password encrypted on each of my systems so it can be used in an
  automated fashion to get mail onto my mail server?  Do I need to start
  gpg-agent and enter a gpg keyring password whenever I reboot each of the
  systems?
 
  Is this the best way to get email alerts from my various systems to my
  email address?
 

 I switched to msmtp when nbsmtp was treecleaned. The switch was
 uneventful; it just works, which is high praise.

 You can't encrypt your password unless you're going to be physically
 present to decrypt it (with some other password). If your machine is
 physically secure, you can just make the msmtp config file read-only to
 yourself. If someone can log in as you, they can get your password
 anyway. There's only a risk if e.g. you're not root, or someone else can
 get root (access to grub) or walk off with the hard drive.

 If you're worried about either of those scenarios, set up a separate
 account for your email alerts.

I like the separate account idea.  Any tips on locking it down?  Maybe that
account on the mail server should somehow only be allowed to deliver to a
single email address (mine)?  Would it need a shell account?  Certainly not
allowed in sshd_config.

- Grant


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

2012-12-04 Thread Eray Aslan
On 12/5/12 7:28 AM, Grant wrote:
 I was setting up ssmtp but I realized it isn't being maintained and
 there are a couple of alternatives called msmtp and dma.  Can anyone
 recommend one of these over the other?

msmtp and nullmailer are good choices as light weight MTAs.  I hope to
change the default mta from ssmtp to one of them in semi-near future
(probably nullmailer now that it has TLS/SSL support).

-- 
Eray Aslan e...@gentoo.org