Re: [gentoo-user] Re: udev (viable) alternatives ?

2014-11-17 Thread Tom H
On Thu, Nov 13, 2014 at 12:08 PM, Walter Dnes waltd...@waltdnes.org wrote:
 On Tue, Nov 11, 2014 at 07:18:30AM -0500, Rich Freeman wrote

 Can you find one example of any situation where the linux kernel has
 ever required any specific implementation of anything in userspace as
 a matter of policy in its 23 year history? I'm sure you could find
 some examples of cases where there just happened to be one de-facto
 implementation of something, but even that might be tough with all the
 diversity in the linux world.

 It might not be an official official requirement, but if the upstream
 gets rolled into systemd, then we depend on the goodwill of systemd
 devs not to go and break anybody else's userspace implementation.
 Lennart and goodwill do not belong in the same sentence. How's
 systemd-shim working out for Debian?

Do you have any reason to think that it isn't working out?

The systemd-shim and cgmanager developers have to play catch up but
I'm using both on Debian and Ubuntu and they're OK.



Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore

2014-11-17 Thread Tom H
On Mon, Nov 17, 2014 at 12:54 AM, Walter Dnes waltd...@waltdnes.org wrote:
 On Sat, Nov 15, 2014 at 04:11:56PM -0500, Rich Freeman wrote

 USE=systemd simply means to enable support for systemd, not that it is
 running. Generally stuff like this should be a matter of
 configuration, not build options.

 Otherwise your life as a Gentoo user would be a living nightmare when
 you look at how many profile use flags there are.

 There are already some situations where 2 programs cannot co-exist,
 e.g. 2 MTAs. This may be a similar situation in principle. A system
 daemon may operate differently under openrc than systemd. When I run

 emerge -pv syslog-ng

 I see that a systemd USE flag exists, but not an openrc USE flag.
 I think that's the root of the problem. The default is to support
 openrc. When the ebuild sees sees the systemd, it assumes you're not
 running openrc. Maybe the solution for syslog-ng is to add an openrc
 USE flag. Build in support for whichever flag is set. When
 experimenting, people might want to set both openrc and systemd USE
 flags for syslog-ng. If systemd users have to set the systemd flag
 for some ebuilds, I have no objection to setting the openrc USE flag
 in make.conf.

Is the systemd USE flag an actual syslog-ng compilation option or it
is a flag to generate systemd units when syslog-ng is installed?

If it's the latter, an openrc flag would be a no-op, unless someone
wants the option to set -openrc and not have a runscript installed.



Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore

2014-11-17 Thread Neil Bothwick
On Mon, 17 Nov 2014 05:32:14 -0500, Tom H wrote:

 Is the systemd USE flag an actual syslog-ng compilation option or it
 is a flag to generate systemd units when syslog-ng is installed?

Both.


-- 
Neil Bothwick

Quantum leap: (adj.) literally, to move by the smallest amount
theoretically possible. In advertising, to move by the largest leap
imaginable (in the mind of the advertiser). There is no contradiction.


pgpbVBK7DDuS3.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] apcupsd to recycle power

2014-11-17 Thread Thanasis

on 11/17/2014 03:06 AM thegeezer wrote the following:
snip


the only way forward that i see would be to get a small device a la
raspberry pi, and have that run apcupsd on it.  you can then have that
device run wake on lan if it detects the power is good, and trigger
remote shutdown when not.



Thanks.
I am going to try and do some more tests though ...




[gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
Hi.

I was going to install gentoo on my laptop and since I needed an easy WPA2
wireless connection I used system rescue cd for installation.
After finishing the installation when I booted gentoo the ifconfig -a
didnt show my wireless interface. I thought that I have not included the
driver, so I used the genkernel to compile another kernel but the problem
is not gone.

have I missed something?

thanks


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 17/11/14 14:42, behrouz khosravi wrote:
 Hi.
 
 I was going to install gentoo on my laptop and since I needed an
 easy WPA2 wireless connection I used system rescue cd for
 installation. After finishing the installation when I booted gentoo
 the ifconfig -a didnt show my wireless interface. I thought that
 I have not included the driver, so I used the genkernel to compile
 another kernel but the problem is not gone.
 
 have I missed something?
 
 thanks

Hm, does wireless device require firmware? Have you installed firmware
properly?


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJUaekHAAoJEK64IL1uI2haivUIAJN6zsbPkxfvErtate/YV0AI
KCNv+BJlcQWE9QbM5puHkK03B8sQb5NMWBlThW+vt6TpACMkwe8mWfUadALZIt9e
0RrjsSlsLjncsSX0lbxHPGyIgMgwqQF+6T0tWl6Y6gbryXzBJHfKl0+zGEgX/VNZ
wcxEDL5gitAQjQe3qqYCM9AgJA26bup5Cy6Ijaf6QhmD9NB50QTBPO7zodY46hbh
cOZiA52lwPDk9nLYOFWPFlqlBJhS5MwF2Q7CRhItSa6wAOJAUffR97m9qgWUMFhr
pOjUHVNJHIRFWz8n0ZrQ2tNUnjXtWt2qYd8UMMgTt7aGGcb8wZtTUzuaqZpb1vQ=
=HjmP
-END PGP SIGNATURE-



Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore

2014-11-17 Thread Rich Freeman
On Mon, Nov 17, 2014 at 5:44 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 17 Nov 2014 05:32:14 -0500, Tom H wrote:

 Is the systemd USE flag an actual syslog-ng compilation option or it
 is a flag to generate systemd units when syslog-ng is installed?

 Both.


Please read the ebuild before giving answers like this.  The unit file
is installed regardless of flag setting (which is the standard
policy).  There is a compile-time option which this also toggles, and
it also changes the logrotate script (which probably isn't ideal).

I don't know offhand what toggling the compile-time option does.  It
seems that it does more than simply enable systemd support, though
there might be run-time options to control that and if so those should
be added to the openrc init.d script.

Looking at the syslog-ng admin guide, consider changing your log
source from system() (which autodetects the source) to something like:

unix-dgram(/dev/log);

file(/proc/kmsg program-override(kernel) flags(kernel));

That appears to be what system() does when not running systemd.  If
this works then I think upstream might accept a bug report on this -
the autodetection code isn't actually detecting whether systemd is
running, but whether it was enabled/installed/etc.

--
Rich



Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore

2014-11-17 Thread Neil Bothwick
On Mon, 17 Nov 2014 07:59:57 -0500, Rich Freeman wrote:

  Is the systemd USE flag an actual syslog-ng compilation option or
  it is a flag to generate systemd units when syslog-ng is installed?  
 
  Both.
   
 
 Please read the ebuild before giving answers like this.  The unit file
 is installed regardless of flag setting (which is the standard
 policy).  There is a compile-time option which this also toggles, and
 it also changes the logrotate script (which probably isn't ideal).

I did, it's just that my memory isn't what it used to be. I know about
the compile time option and the logrotate script, see my previous post on
it, but for some reason thought that the unit file was also optional.


-- 
Neil Bothwick

Head: (n.) the part of a disk drive which detects sectors and decides
which of the two possible values to return: 'lose a turn' or 'bankrupt.'


pgpG3sINFRTBC.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi


 Hm, does wireless device require firmware? Have you installed firmware
 properly?


I dont think so. I have installed gentoo on it before and back then I just
used the genkernel and it was working.


Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore

2014-11-17 Thread Helmut Jarausch
On 11/13/2014 05:41:27 PM, Helmut Jarausch wrote:
 Hi,
 
 after upgrading from syslog-ng-3.5.6  to syslog-ng-3.6.1 my system 
 has
 
 stopped logging, i.e. I only get the messages
 Nov 12 21:04:10 numa syslog-ng[1392]: syslog-ng shutting down; 
 version='3.6.1'
 Nov 13 14:52:20 numa syslog-ng[1392]: syslog-ng starting up; 
 version='3.6.1'
 
 Has anybody observed the same problem, and how to fix it?
 

As noted earlier, I'm still using openrc but I have systemd installed, 
as well.

Meanwhile, I have re-installed syslog-ng-3.6.1   WITHOUT the systemd 
use flag. Now, it works just fine.

Should I make a bug report on this?

Many thanks to all who have helped,
Helmut



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com wrote:



 Hm, does wireless device require firmware? Have you installed firmware
 properly?


 I dont think so. I have installed gentoo on it before and back then I just
 used the genkernel and it was working.

What's the output of 'lspci -k'?



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 7:32 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:

 On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
 
 
 
  Hm, does wireless device require firmware? Have you installed firmware
  properly?
 
 
  I dont think so. I have installed gentoo on it before and back then I
just
  used the genkernel and it was working.

 What's the output of 'lspci -k'?


It shows the device which is a atheros ar9285
But doesnt show any kernel driver in use for it.
So that is because the driver is  not compiled?


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com wrote:

 On Nov 17, 2014 7:32 PM, Alexander Kapshuk alexander.kaps...@gmail.com
 wrote:

 On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
 
 
  Hm, does wireless device require firmware? Have you installed firmware
  properly?
 
 
  I dont think so. I have installed gentoo on it before and back then I
  just
  used the genkernel and it was working.

 What's the output of 'lspci -k'?


 It shows the device which is a atheros ar9285
 But doesnt show any kernel driver in use for it.
 So that is because the driver is  not compiled?

I dare say the kernel driver may not have been compiled into the
kernel, or compiled as a kernel module.
What's the output of 'cd /usr/src/linux  grep -i ath .config'?



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 7:16 PM, Alexander Kapshuk
alexander.kaps...@gmail.com wrote:
 On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com 
 wrote:

 On Nov 17, 2014 7:32 PM, Alexander Kapshuk alexander.kaps...@gmail.com
 wrote:

 On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
 
 
  Hm, does wireless device require firmware? Have you installed firmware
  properly?
 
 
  I dont think so. I have installed gentoo on it before and back then I
  just
  used the genkernel and it was working.

 What's the output of 'lspci -k'?


 It shows the device which is a atheros ar9285
 But doesnt show any kernel driver in use for it.
 So that is because the driver is  not compiled?

 I dare say the kernel driver may not have been compiled into the
 kernel, or compiled as a kernel module.
 What's the output of 'cd /usr/src/linux  grep -i ath .config'?

The driver that supports your wireless card is ath9k by the looks of it.
You want to make sure CONFIG_ATH9K is either set to Y, or M in your
.config file.



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:

 On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
 
  On Nov 17, 2014 7:32 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com
  wrote:
 
  On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi 
bz.khosr...@gmail.com
  wrote:
  
  
  
   Hm, does wireless device require firmware? Have you installed
firmware
   properly?
  
  
   I dont think so. I have installed gentoo on it before and back then I
   just
   used the genkernel and it was working.
 
  What's the output of 'lspci -k'?
 
 
  It shows the device which is a atheros ar9285
  But doesnt show any kernel driver in use for it.
  So that is because the driver is  not compiled?

 I dare say the kernel driver may not have been compiled into the
 kernel, or compiled as a kernel module.
 What's the output of 'cd /usr/src/linux  grep -i ath .config'?


Well I looked and the relevant module was not compiled.
I have changed the config so I cant answer your question unfortunately !
I hope new kernel will fix it.
But I have used the previous config in kernel about 2 month ago. I cant
believe I have not used the wireless that time!


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 7:36 PM, behrouz khosravi bz.khosr...@gmail.com wrote:

 On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
 wrote:

 On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
  On Nov 17, 2014 7:32 PM, Alexander Kapshuk
  alexander.kaps...@gmail.com
  wrote:
 
  On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi
  bz.khosr...@gmail.com
  wrote:
  
  
  
   Hm, does wireless device require firmware? Have you installed
   firmware
   properly?
  
  
   I dont think so. I have installed gentoo on it before and back then I
   just
   used the genkernel and it was working.
 
  What's the output of 'lspci -k'?
 
 
  It shows the device which is a atheros ar9285
  But doesnt show any kernel driver in use for it.
  So that is because the driver is  not compiled?

 I dare say the kernel driver may not have been compiled into the
 kernel, or compiled as a kernel module.
 What's the output of 'cd /usr/src/linux  grep -i ath .config'?


 Well I looked and the relevant module was not compiled.
 I have changed the config so I cant answer your question unfortunately !
 I hope new kernel will fix it.
 But I have used the previous config in kernel about 2 month ago. I cant
 believe I have not used the wireless that time!

Do let us know how you go with the module built into the kernel.



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Nov 17, 2014 9:06 PM, behrouz khosravi bz.khosr...@gmail.com wrote:


 On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:
 
  On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi bz.khosr...@gmail.com
wrote:
  
   On Nov 17, 2014 7:32 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com
   wrote:
  
   On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi 
bz.khosr...@gmail.com
   wrote:
   
   
   
Hm, does wireless device require firmware? Have you installed
firmware
properly?
   
   
I dont think so. I have installed gentoo on it before and back
then I
just
used the genkernel and it was working.
  
   What's the output of 'lspci -k'?
  
  
   It shows the device which is a atheros ar9285
   But doesnt show any kernel driver in use for it.
   So that is because the driver is  not compiled?
 
  I dare say the kernel driver may not have been compiled into the
  kernel, or compiled as a kernel module.
  What's the output of 'cd /usr/src/linux  grep -i ath .config'?
 

 Well I looked and the relevant module was not compiled.
 I have changed the config so I cant answer your question unfortunately !
 I hope new kernel will fix it.
 But I have used the previous config in kernel about 2 month ago. I cant
believe I have not used the wireless that time!

Well thank you very much.
The new kernel works.
Good day


Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread Alexander Kapshuk
On Mon, Nov 17, 2014 at 7:55 PM, behrouz khosravi bz.khosr...@gmail.com wrote:

 On Nov 17, 2014 9:06 PM, behrouz khosravi bz.khosr...@gmail.com wrote:


 On Nov 17, 2014 8:46 PM, Alexander Kapshuk alexander.kaps...@gmail.com
 wrote:
 
  On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi
  bz.khosr...@gmail.com wrote:
  
   On Nov 17, 2014 7:32 PM, Alexander Kapshuk
   alexander.kaps...@gmail.com
   wrote:
  
   On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi
   bz.khosr...@gmail.com
   wrote:
   
   
   
Hm, does wireless device require firmware? Have you installed
firmware
properly?
   
   
I dont think so. I have installed gentoo on it before and back then
I
just
used the genkernel and it was working.
  
   What's the output of 'lspci -k'?
  
  
   It shows the device which is a atheros ar9285
   But doesnt show any kernel driver in use for it.
   So that is because the driver is  not compiled?
 
  I dare say the kernel driver may not have been compiled into the
  kernel, or compiled as a kernel module.
  What's the output of 'cd /usr/src/linux  grep -i ath .config'?
 

 Well I looked and the relevant module was not compiled.
 I have changed the config so I cant answer your question unfortunately !
 I hope new kernel will fix it.
 But I have used the previous config in kernel about 2 month ago. I cant
 believe I have not used the wireless that time!

 Well thank you very much.
 The new kernel works.
 Good day

Good to hear.

Thanks for letting us know.



Re: [gentoo-user] Re: qt5

2014-11-17 Thread Michael Vetter

 Jauhien knows what he is doing. If he is waiting on the QT5 bug to
 be resolved, then that is where it is sitting. Surely you should open
 up a bgo ticket on QTcreator?
I am not sure there is any bug.
I thought it's only about configuration. My main reason for writing the
initial mail was to get better understanding on what is going on.

Actually I still haven't gotten that :-/

Anybody could tell me what's going on and answer my initial questions?

Michael



Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore

2014-11-17 Thread Rich Freeman
On Mon, Nov 17, 2014 at 10:51 AM, Helmut Jarausch
jarau...@igpm.rwth-aachen.de wrote:

 Should I make a bug report on this?


See my post.  I suggest testing the different input source options to
understand what the actual problem is.

I suspect this is an upstream bug in the implementation of system(),
but I can't say for sure without testing.

--
Rich



[gentoo-user] Re: qt5

2014-11-17 Thread James
Michael Vetter michael.vetter at uni-konstanz.de writes:


  Jauhien knows what he is doing. If he is waiting on the QT5 bug to
  be resolved, then that is where it is sitting. Surely you should open
  up a bgo ticket on QTcreator?

 Anybody could tell me what's going on and answer my initial questions?

Bug 454132  on BGO.

hth,
James




Re: [gentoo-user] kexec

2014-11-17 Thread thegeezer
On 17/11/14 03:25, wraeth wrote:
 Would I be correct in guessing that this is dependant on
 sys-apps/kexec-tools being installed and CONFIG_KEXEC being enabled in
 the kernel? 
correct.
 And, with CONFIG_KEXEC, is that required for the old kernel, new
 kernel or both? 
just the one you are kexec'ing from. the new one could be a buntu kernel
with completely different root=
 Also, how would one go about manually using kexec while still
 adhearing to a clean shutdown (going down through init, rather than
 just reset into the new kernel)? 
don't know in systemd but in openrc it would be stop all running services.
umount everything except root
remount root with option readonly
kexec -e
 hope this has been interesting!
 It has, and having read this I'm going to try and play around with it in
 the next couple of days.
please do let us know how you get on :)



Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-17 Thread Michael Mair-Keimberger
On Sun, Nov 16, 2014 at 12:21:37PM +1100, wraeth wrote:
 On Fri, Nov 14, 2014 at 07:43:18PM +0100, Michael Mair-Keimberger wrote:
  Basically my changes in my grub config were already correct, however I
  completely forgot, that, since I wrote my own init script, arg's like
  root and init simply weren't used by my script...
  If you look at my script, I only check the cmdline for lvm, so
  setting init or root haven't any effect at all :D
 
 Glad you got this part of it sorted! I know how both relieving and
 frustrating it can be to find such a simple thing as the solution - it
 took me two weeks to realise I was calling 'mpc' and not 'mpd' in my
 startup script, explaining why MPD was never running... :-/
 

Thanks!
Yeah, it can be really frustration, but it's worth the relieving feeling
when you found the bug :)

  Regarding dracut: Even though I got it to work, it also just bootet
  openrc and not systemd. Don't know why and I didn't digged further after
  it worked with my own script.
 
 You could try inspecting dmesg to try and determine why it isn't loading
 your chosen init. It could be something as simple as a typo, or if the
 filesystem (if you have /usr on a separate partition) isn't available at
 the time it's trying to launch init.

Pretty sure! However, honestly I didn't look further into dracut for now
(maybe another day - if I want to know how they work with lvm). BTW,
with `dracut --print-cmdline` it prints you an example grub entry for
your system, however it's doesn't set init and I think (otherwise I
guess it would have work here) as long as you didn't already boot into 
systemd it wouldn't use it too...

 
  Regarding LVM:
  As mentioned systemd can't mount my lvm partitions from fstab. Those lvm
  partitions should be mounted by UUID, but it seems like systemd can't
  find them, even though there are available afterwards (under
  /dev/vg0/...).
 
 I've found dracut initrd's can be a little finicky with LVM volumes.
 With that in mind, here's the kernel cmdline for one of my systems wich
 uses LUKS-LVM-EXT4 for it's root partition. Note that it has explicit
 arguments for *all* LV's and not just root.
 
   BOOT_IMAGE=/vmlinuz-3.17.1-gentoo-r1 root=/dev/mapper/vg1-root ro
   rd.luks.uuid=luks-3f93b8aa-cf8b-4312-85d6-d45cffa59780
   rd.lvm.lv=vg1/swap rd.lvm.lv=vg1/root resume=/dev/mapper/vg1-swap
   rootflags=rw,noatime,data=ordered rootfstype=ext4 quiet
 
Thanks for sharing.
From dracut's manual (man dracut.cmdline), rd.lvm.lv only activates
given logical volumes, which should be the same like `vgchange -a y`
(however i didn't look what exactly dracut does here).
Since I'm already doing `vgchange -a y` in my init script, these logical
volumes should be available for systemd.
I've also checked for systemd's lvm service (lvm2-lvmetad.service) to
make sure it's enabled and starts on boot, but it didn't changed
anything.

However, for now I just read-only mount these lv's directly via my init
script and remount them write-able via /etc/local.d/*.start
script's (glad to see systemd can make use of these scripts :) )

  If I comment them out in /etc/fstab (they are not important) systemd
  boots just fine. I've also set use_lvmetad = 1 in /etc/lvm/lvm.conf as
  mentioned at the systemd wiki.
 
 This is a dracut-ism, in that if a static filesystem (as denoted by it's
 presence in /etc/fstab) is unmountable, it will assume there are
 problems and will drop to recovery. The idea of recovery is to identify
 your root partition with a symlink to the device node, after which you
 *should* be able to continue.
 
   ln -s /dev/root_device /dev/root
 
 See [1] for more. That being said, it may continue to drop to recovery -
 I've found the dracut recovery console to be a little temperamental with
 things like that...
 
 [1]: http://fedoraproject.org/wiki/How_to_debug_Dracut_problems

Hmm, not sure about that. I think you misunderstood me ;)
I wasn't drop into dracut's (or in this case in my initramfs) rescue
shell (if you meant that). I was drop into systemd maintaince mode,
which means after it couldn't mount these other lv's it stops all
services, keep / read only and ask for the root password. Done that I
was still able to remount / and all other partitions...
It seems like fstab's static filesystem are mandatory for systemd ;)
 
 Cheers;
 -- 
 wraeth wra...@wraeth.id.au
 GnuPG Key: B2D9F759

-- 
greetings
Michael Mair-Keimberger


signature.asc
Description: Digital signature


[gentoo-user] question about binhost's

2014-11-17 Thread Michael Mair-Keimberger
Hi list,

I was setting up an binhost recently and i couldn't found any
information how to keep old builds.
Usually, for example a newer version of tcpdump gets build, the old
build will be deleted. Only different slots were keeped. However, I 
want to keep these old builds but I haven't found an option for that. 

Is it even possible to keep these? If not, anyone know why? if it's not
possible there must be a reason and i couldn't think of anyone...

-- 
greetings
Michael Mair-Keimberger


signature.asc
Description: Digital signature


Re: [gentoo-user] question about binhost's

2014-11-17 Thread Alan McKinnon
On 17/11/2014 23:01, Michael Mair-Keimberger wrote:
 Hi list,
 
 I was setting up an binhost recently and i couldn't found any
 information how to keep old builds.
 Usually, for example a newer version of tcpdump gets build, the old
 build will be deleted. Only different slots were keeped. However, I 
 want to keep these old builds but I haven't found an option for that. 
 
 Is it even possible to keep these? If not, anyone know why? if it's not
 possible there must be a reason and i couldn't think of anyone...
 

short answer:
emerge -b

long answer:
read man emerge. All of it. Gotchas await.

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




[gentoo-user] Inconsistency in portage automake package versioning

2014-11-17 Thread Gevisz
In today's system update I was advised to update sys-devel/automake
from version 1.11.6 to version 1.11.6-r1. However, just after the
update the system reported that sys-devel/automake has version 1.13.4.

Is it only me who think that something is wrong here?

The commands and their output is given below. 

# emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U  ] sys-devel/automake-1.11.6-r1 [1.11.6]

Would you like to merge these packages? [Yes/No] y
...
 Installing (1 of 1) sys-devel/automake-1.11.6-r1
 Auto-cleaning packages...

 No outdated packages were found on your system.

 * Regenerating GNU info directory index...
 * Processed 148 info files.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.


# emerge --search automake
Searching...
[ Results for search key : automake ]
[ Applications found : 2 ]

*  sys-devel/automake
  Latest version available: 1.13.4
  Latest version installed: 1.13.4
  Size of files: 1,415 kB
  Homepage:  http://www.gnu.org/software/automake/
  Description:   Used to generate Makefile.in from Makefile.am
  License:   GPL-2

*  sys-devel/automake-wrapper
  Latest version available: 9
  Latest version installed: 9
  Size of files: 0 kB
  Homepage:  http://www.gentoo.org/
  Description:   wrapper for automake to manage multiple automake versions
  License:   GPL-2



Re: [gentoo-user] question about binhost's

2014-11-17 Thread thegeezer
On 17/11/14 21:01, Michael Mair-Keimberger wrote:
 Hi list,

 I was setting up an binhost recently and i couldn't found any
 information how to keep old builds.
 Usually, for example a newer version of tcpdump gets build, the old
 build will be deleted. Only different slots were keeped. However, I 
 want to keep these old builds but I haven't found an option for that. 

 Is it even possible to keep these? If not, anyone know why? if it's not
 possible there must be a reason and i couldn't think of anyone...


um, these _are_ kept until you run
# eclean packages
unless i'm missing something ? 

so you can still emerge -K old-apps/package

for an example, in my /usr/portage/packages/app-shells on my laptop i have
# ls -lah
total 6.8M
drwx--  2 root root 4.0K Oct 14 21:02 .
drwx-- 76 root root 4.0K Nov 17 10:51 ..
-rw---  1 root root 1.2M Sep  5 10:43 bash-4.2_p45.tbz2
-rw-r--r--  1 root root 1.2M Sep 26 20:52 bash-4.2_p48-r1.tbz2
-rw-r--r--  1 root root 1.2M Oct  1 14:33 bash-4.2_p50.tbz2
-rw-r--r--  1 root root 1.2M Oct  2 22:22 bash-4.2_p51.tbz2
-rw-r--r--  1 root root 1.2M Oct  6 10:09 bash-4.2_p52.tbz2
-rw-r--r--  1 root root 1.2M Oct  9 23:50 bash-4.2_p53.tbz2
-rw-r--r--  1 root root 8.4K Oct 14 21:02 push-1.6.tbz2




Re: [gentoo-user] question about binhost's

2014-11-17 Thread Michael Mair-Keimberger
On Mon, Nov 17, 2014 at 11:27:08PM +0200, Alan McKinnon wrote:
 On 17/11/2014 23:01, Michael Mair-Keimberger wrote:
  Hi list,
  
  I was setting up an binhost recently and i couldn't found any
  information how to keep old builds.
  Usually, for example a newer version of tcpdump gets build, the old
  build will be deleted. Only different slots were keeped. However, I 
  want to keep these old builds but I haven't found an option for that. 
  
  Is it even possible to keep these? If not, anyone know why? if it's not
  possible there must be a reason and i couldn't think of anyone...
  
 
 short answer:
 emerge -b
 
 long answer:
 read man emerge. All of it. Gotchas await.

Well, the man page doesn't describe why it can't keep old builds...
(don't know what you referring too)

I do know `emerge -b` creates binary packages, but i orginally asked for
a way to keep older versions of binary packages.

Example:

emerge -b =net-analyzer/tcpdump-4.5.1-r1 
 - binary package for tcpdump-4.5.1-r1 gets created
emerge -b =net-analyzer/tcpdump-4.6.2
 - binary package for tcpdump-4.6.2 gets created AND tcpdump-4.5.1-r1
   gets deleted

However, I want to keep tcpdump-4.5.1-r1 if possible.

Is there a way? Simply emerge -b isn't sufficiency.

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

-- 
greetings
Michael Mair-Keimberger


signature.asc
Description: Digital signature


Re: [gentoo-user] question about binhost's

2014-11-17 Thread Alan McKinnon
On 17/11/2014 23:32, thegeezer wrote:
 On 17/11/14 21:01, Michael Mair-Keimberger wrote:
 Hi list,

 I was setting up an binhost recently and i couldn't found any
 information how to keep old builds.
 Usually, for example a newer version of tcpdump gets build, the old
 build will be deleted. Only different slots were keeped. However, I 
 want to keep these old builds but I haven't found an option for that. 

 Is it even possible to keep these? If not, anyone know why? if it's not
 possible there must be a reason and i couldn't think of anyone...

 
 um, these _are_ kept until you run
 # eclean packages
 unless i'm missing something ? 


No, you're not missing something. The OP seems to be non-English-first-
language and the question is poorly worded to a native speaker.

He's saying that emerge overwrites the previous installed version when
it rebuilds a package and he wants to keep it. The solution to that is
binpkgs.

You are talking about what happens to binpkg you already have, he is
asking how to get binpkgs in the first place




 
 so you can still emerge -K old-apps/package
 
 for an example, in my /usr/portage/packages/app-shells on my laptop i have
 # ls -lah
 total 6.8M
 drwx--  2 root root 4.0K Oct 14 21:02 .
 drwx-- 76 root root 4.0K Nov 17 10:51 ..
 -rw---  1 root root 1.2M Sep  5 10:43 bash-4.2_p45.tbz2
 -rw-r--r--  1 root root 1.2M Sep 26 20:52 bash-4.2_p48-r1.tbz2
 -rw-r--r--  1 root root 1.2M Oct  1 14:33 bash-4.2_p50.tbz2
 -rw-r--r--  1 root root 1.2M Oct  2 22:22 bash-4.2_p51.tbz2
 -rw-r--r--  1 root root 1.2M Oct  6 10:09 bash-4.2_p52.tbz2
 -rw-r--r--  1 root root 1.2M Oct  9 23:50 bash-4.2_p53.tbz2
 -rw-r--r--  1 root root 8.4K Oct 14 21:02 push-1.6.tbz2
 
 
 
 


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




Re: [gentoo-user] Inconsistency in portage automake package versioning

2014-11-17 Thread Michael Orlitzky
On 11/17/2014 04:29 PM, Gevisz wrote:
 In today's system update I was advised to update sys-devel/automake
 from version 1.11.6 to version 1.11.6-r1. However, just after the
 update the system reported that sys-devel/automake has version 1.13.4.
 
 Is it only me who think that something is wrong here?

You have both installed, 1.13.4 is just the latest. Give eix a try, it
will make your life better. In this case equery also works:

  $ equery l automake
   * Searching for automake ...
  [IP-] [  ] sys-devel/automake-1.11.6-r1:1.11
  [IP-] [  ] sys-devel/automake-1.13.4:1.13




Re: [gentoo-user] Inconsistency in portage automake package versioning

2014-11-17 Thread Alan McKinnon
On 17/11/2014 23:29, Gevisz wrote:
 In today's system update I was advised to update sys-devel/automake
 from version 1.11.6 to version 1.11.6-r1. However, just after the
 update the system reported that sys-devel/automake has version 1.13.4.
 
 Is it only me who think that something is wrong here?
 
 The commands and their output is given below. 
 
 # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild U  ] sys-devel/automake-1.11.6-r1 [1.11.6]
 
 Would you like to merge these packages? [Yes/No] y
 ...
 Installing (1 of 1) sys-devel/automake-1.11.6-r1
 Auto-cleaning packages...
 
 No outdated packages were found on your system.
 
  * Regenerating GNU info directory index...
  * Processed 148 info files.
  * After world updates, it is important to remove obsolete packages with
  * emerge --depclean. Refer to `man emerge` for more information.
 
 
 # emerge --search automake

...


Nothing wrong there. automake is SLOTted.

emerge upgraded one of your installed SLOTs, and that slot is not the
highest version number you have.

p.s. make life easier for yourself when searching the tree. Install eix
and stop using emerge --search. eix runs out a gazillion times faster :-)


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




Re: [gentoo-user] question about binhost's

2014-11-17 Thread Michael Mair-Keimberger
On Mon, Nov 17, 2014 at 09:32:45PM +, thegeezer wrote:
 On 17/11/14 21:01, Michael Mair-Keimberger wrote:
  Hi list,
 
  I was setting up an binhost recently and i couldn't found any
  information how to keep old builds.
  Usually, for example a newer version of tcpdump gets build, the old
  build will be deleted. Only different slots were keeped. However, I 
  want to keep these old builds but I haven't found an option for that. 
 
  Is it even possible to keep these? If not, anyone know why? if it's not
  possible there must be a reason and i couldn't think of anyone...
 
 
 um, these _are_ kept until you run
 # eclean packages
 unless i'm missing something ? 
 
 so you can still emerge -K old-apps/package
 
 for an example, in my /usr/portage/packages/app-shells on my laptop i have
 # ls -lah
 total 6.8M
 drwx--  2 root root 4.0K Oct 14 21:02 .
 drwx-- 76 root root 4.0K Nov 17 10:51 ..
 -rw---  1 root root 1.2M Sep  5 10:43 bash-4.2_p45.tbz2
 -rw-r--r--  1 root root 1.2M Sep 26 20:52 bash-4.2_p48-r1.tbz2
 -rw-r--r--  1 root root 1.2M Oct  1 14:33 bash-4.2_p50.tbz2
 -rw-r--r--  1 root root 1.2M Oct  2 22:22 bash-4.2_p51.tbz2
 -rw-r--r--  1 root root 1.2M Oct  6 10:09 bash-4.2_p52.tbz2
 -rw-r--r--  1 root root 1.2M Oct  9 23:50 bash-4.2_p53.tbz2
 -rw-r--r--  1 root root 8.4K Oct 14 21:02 push-1.6.tbz2
 
 

Hmm, that's interesting.
I just checked another binhost and they clearly were kept. I don't
know why it doesn't work with mine but it's definitely a problem with my system.

Gonna check what's configured wrong.

Anyway, thanks for the hint.

-- 
greetings
Michael Mair-Keimberger


signature.asc
Description: Digital signature


Re: [gentoo-user] question about binhost's

2014-11-17 Thread Alan McKinnon
On 17/11/2014 23:46, Michael Mair-Keimberger wrote:
 On Mon, Nov 17, 2014 at 11:27:08PM +0200, Alan McKinnon wrote:
 On 17/11/2014 23:01, Michael Mair-Keimberger wrote:
 Hi list,

 I was setting up an binhost recently and i couldn't found any
 information how to keep old builds.
 Usually, for example a newer version of tcpdump gets build, the old
 build will be deleted. Only different slots were keeped. However, I 
 want to keep these old builds but I haven't found an option for that. 

 Is it even possible to keep these? If not, anyone know why? if it's not
 possible there must be a reason and i couldn't think of anyone...


 short answer:
 emerge -b

 long answer:
 read man emerge. All of it. Gotchas await.
 
 Well, the man page doesn't describe why it can't keep old builds...
 (don't know what you referring too)
 
 I do know `emerge -b` creates binary packages, but i orginally asked for
 a way to keep older versions of binary packages.



You can't because emerge does not work that way[1].

If you want to keep the contents of an installed package:

a. use binpkgs to create an archive of the package at the time it is
built (not at the time is is about to be replaced)

b. Manually run quickpkg on packages you are interested in before
emerging them



[1] Unless Zac added this feature since the last time I read the man
pages. Won't be the first time a new feature sneaked in without a user
noticing :-)



 
 Example:
 
 emerge -b =net-analyzer/tcpdump-4.5.1-r1 
  - binary package for tcpdump-4.5.1-r1 gets created
 emerge -b =net-analyzer/tcpdump-4.6.2
  - binary package for tcpdump-4.6.2 gets created AND tcpdump-4.5.1-r1
gets deleted
 
 However, I want to keep tcpdump-4.5.1-r1 if possible.
 
 Is there a way? Simply emerge -b isn't sufficiency.
 

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


 


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




Re: [gentoo-user] question about binhost's

2014-11-17 Thread Matti Nykyri
 On Nov 17, 2014, at 23:46, Alan McKinnon alan.mckin...@gmail.com wrote:
 
 On 17/11/2014 23:32, thegeezer wrote:
 On 17/11/14 21:01, Michael Mair-Keimberger wrote:
 Hi list,
 
 I was setting up an binhost recently and i couldn't found any
 information how to keep old builds.
 Usually, for example a newer version of tcpdump gets build, the old
 build will be deleted. Only different slots were keeped. However, I 
 want to keep these old builds but I haven't found an option for that. 
 
 Is it even possible to keep these? If not, anyone know why? if it's not
 possible there must be a reason and i couldn't think of anyone...
 
 um, these _are_ kept until you run
 # eclean packages
 unless i'm missing something ?
 
 
 No, you're not missing something. The OP seems to be non-English-first-
 language and the question is poorly worded to a native speaker.
 
 He's saying that emerge overwrites the previous installed version when
 it rebuilds a package and he wants to keep it. The solution to that is
 binpkgs.
 
 You are talking about what happens to binpkg you already have, he is
 asking how to get binpkgs in the first place

You also have a tool called 'quickpkg'. With that you can make binpkgs out of 
packages already installed on your system without recompiling. This might be a 
good tool for you if you have not made them in the first place.

 
 so you can still emerge -K old-apps/package
 
 for an example, in my /usr/portage/packages/app-shells on my laptop i have
 # ls -lah
 total 6.8M
 drwx--  2 root root 4.0K Oct 14 21:02 .
 drwx-- 76 root root 4.0K Nov 17 10:51 ..
 -rw---  1 root root 1.2M Sep  5 10:43 bash-4.2_p45.tbz2
 -rw-r--r--  1 root root 1.2M Sep 26 20:52 bash-4.2_p48-r1.tbz2
 -rw-r--r--  1 root root 1.2M Oct  1 14:33 bash-4.2_p50.tbz2
 -rw-r--r--  1 root root 1.2M Oct  2 22:22 bash-4.2_p51.tbz2
 -rw-r--r--  1 root root 1.2M Oct  6 10:09 bash-4.2_p52.tbz2
 -rw-r--r--  1 root root 1.2M Oct  9 23:50 bash-4.2_p53.tbz2
 -rw-r--r--  1 root root 8.4K Oct 14 21:02 push-1.6.tbz2

-- 
-Matti


Re: [gentoo-user] question about binhost's

2014-11-17 Thread Neil Bothwick
On Mon, 17 Nov 2014 22:55:05 +0100, Michael Mair-Keimberger wrote:

 Hmm, that's interesting.
 I just checked another binhost and they clearly were kept. I don't
 know why it doesn't work with mine but it's definitely a problem with
 my system.

They should be kept, it defeats one of the main reasons for using -b if
the old package is deleted - the ability to quickly roll back if a
package update causes problems. Are you running eclean from a cron job or
a portage env script?


-- 
Neil Bothwick

I typed Format SER: and accidentally killed a telephone operator!


pgpwhv9SDaRDI.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Inconsistency in portage automake package versioning

2014-11-17 Thread Gevisz
On Mon, 17 Nov 2014 16:46:48 -0500 Michael Orlitzky m...@gentoo.org wrote:

 On 11/17/2014 04:29 PM, Gevisz wrote:
  In today's system update I was advised to update sys-devel/automake
  from version 1.11.6 to version 1.11.6-r1. However, just after the
  update the system reported that sys-devel/automake has version 1.13.4.
  
  Is it only me who think that something is wrong here?
 
 You have both installed, 1.13.4 is just the latest. Give eix a try, it
 will make your life better. In this case equery also works:
 
   $ equery l automake
* Searching for automake ...
   [IP-] [  ] sys-devel/automake-1.11.6-r1:1.11
   [IP-] [  ] sys-devel/automake-1.13.4:1.13

Thank you for explanation.

Tried but could not find out which packages need automake-1.11.6.




Re: [gentoo-user] Inconsistency in portage automake package versioning

2014-11-17 Thread Gevisz
On Mon, 17 Nov 2014 23:49:18 +0200 Alan McKinnon alan.mckin...@gmail.com 
wrote:

 On 17/11/2014 23:29, Gevisz wrote:
  In today's system update I was advised to update sys-devel/automake
  from version 1.11.6 to version 1.11.6-r1. However, just after the
  update the system reported that sys-devel/automake has version 1.13.4.
  
  Is it only me who think that something is wrong here?
  
  The commands and their output is given below. 
  
  # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild U  ] sys-devel/automake-1.11.6-r1 [1.11.6]
  
  Would you like to merge these packages? [Yes/No] y
  ...
  Installing (1 of 1) sys-devel/automake-1.11.6-r1
  Auto-cleaning packages...
  
  No outdated packages were found on your system.
  
   * Regenerating GNU info directory index...
   * Processed 148 info files.
   * After world updates, it is important to remove obsolete packages with
   * emerge --depclean. Refer to `man emerge` for more information.
  
  
  # emerge --search automake
 
 ...
 
 
 Nothing wrong there. automake is SLOTted.
 
 emerge upgraded one of your installed SLOTs, and that slot is not the
 highest version number you have.

Thank you for explanation.

 p.s. make life easier for yourself when searching the tree. Install eix
 and stop using emerge --search. eix runs out a gazillion times faster :-)

As fas as I remember, I have eix installed but used only once. :)

Have to re-read its documentation first. 




Re: [gentoo-user] Inconsistency in portage automake package versioning

2014-11-17 Thread Neil Bothwick
On Tue, 18 Nov 2014 00:55:09 +0200, Gevisz wrote:

  You have both installed, 1.13.4 is just the latest. Give eix a try, it
  will make your life better. In this case equery also works:
  
$ equery l automake
 * Searching for automake ...
[IP-] [  ]
  sys-devel/automake-1.11.6-r1sys-devel/automake-1.11.6-r1:1.11 [IP-]
  [  ] sys-devel/automake-1.13.4:1.13  
 
 Thank you for explanation.
 
 Tried but could not find out which packages need automake-1.11.6.
 
emerge -cpv =sys-devel/automake-1.11.6-r1


-- 
Neil Bothwick

WinErr 011: Window open - Do not look outside


-- 
Neil Bothwick

Unsolicited advice is the junk mail of life


pgpK757Fk91qP.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: Inconsistency in portage automake package versioning

2014-11-17 Thread James
Gevisz gevisz at gmail.com writes:


  p.s. make life easier for yourself when searching the tree. Install eix
  and stop using emerge --search. eix runs out a gazillion times faster 

 As fas as I remember, I have eix installed but used only once. :)
 Have to re-read its documentation first. 

Best thing to remember about 'eix' is to run 'eix-update', periodically.


hth,
James






Re: [gentoo-user] Re: Inconsistency in portage automake package versioning

2014-11-17 Thread wraeth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 18/11/14 14:13, James wrote:
 Gevisz gevisz at gmail.com writes:
 
 
 p.s. make life easier for yourself when searching the tree. 
 Install eix and stop using emerge --search. eix runs out a 
 gazillion times faster
 
 As fas as I remember, I have eix installed but used only once. :)
 Have to re-read its documentation first.
 
 Best thing to remember about 'eix' is to run 'eix-update', 
 periodically.

eix actually has a sync wrapper that can handle this for you
automagically [1].

`eix-sync` will run:

layman -S # sync all layman overlays (see note)
emerge --sync # sync portage and all portage-managed overlays
eix-update # update the eix cache
eix-diff # show diff between last and current eix cache

(though the eix-diff can be --quiet'd). If using eix as your normal
search utility, I would suggest using `eix-sync` as your normal sync
method.

With regard to eix-sync updating layman overlays, you need to:

echo *  /etc/eix-sync.conf

to enable it.

[1]: http://wiki.gentoo.org/wiki/Eix

Cheers.
- -- 
wraeth wra...@wraeth.id.au
GnuPG Key: B2D9F759
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlRqvIcACgkQXcRKerLZ91lweAD5AR317CBb2d8WZsdyRB73FPFC
5fsRWHhWe2n9oUbd+HIA/1yWDIQvDQ9JeN2CQnss5Se9TPZkLW3KlfuvzPt62vKe
=w3dc
-END PGP SIGNATURE-



Re: [gentoo-user] Inconsistency in portage automake package versioning

2014-11-17 Thread gevisz
2014-11-18 2:04 GMT+02:00 Neil Bothwick n...@digimed.co.uk:
 On Tue, 18 Nov 2014 00:55:09 +0200, Gevisz wrote:

  You have both installed, 1.13.4 is just the latest. Give eix a try, it
  will make your life better. In this case equery also works:
 
$ equery l automake
 * Searching for automake ...
[IP-] [  ]
  sys-devel/automake-1.11.6-r1sys-devel/automake-1.11.6-r1:1.11 [IP-]
  [  ] sys-devel/automake-1.13.4:1.13

 Thank you for explanation.

 Tried but could not find out which packages need automake-1.11.6.

 emerge -cpv =sys-devel/automake-1.11.6-r1

Thank you.

So, automake-1.11.6 is needed for media-libs/gegl, which
in its turn is needed for media-gfx/gimp.



Re: [gentoo-user] question about binhost's

2014-11-17 Thread Mick
On Monday 17 Nov 2014 22:14:47 Neil Bothwick wrote:
 On Mon, 17 Nov 2014 22:55:05 +0100, Michael Mair-Keimberger wrote:
  Hmm, that's interesting.
  I just checked another binhost and they clearly were kept. I don't
  know why it doesn't work with mine but it's definitely a problem with
  my system.
 
 They should be kept, it defeats one of the main reasons for using -b if
 the old package is deleted - the ability to quickly roll back if a
 package update causes problems. Are you running eclean from a cron job or
 a portage env script?

Interestingly, how do you remove an binary package using portage when you no 
longer need it?  Using 'rm -i package' manually?
-- 
Regards,
Mick


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


Re: [gentoo-user] apcupsd to recycle power

2014-11-17 Thread J. Roeleveld
On Friday, November 14, 2014 08:53:13 PM Thanasis wrote:
 I have an APC SC620I, which in case of power failure, it successfully
 initiates a shutdown to the connected (via SMART cable) PC, but if the
 mains power returns, the UPS does not recycle the power to the PC, and
 consequently the PC stays off.

Not all UPSs have functionality to cycle the power outputs when the power 
returns.
And some that do require a specific command to be sent to it to enable this, 
which might need some closed-source client that only works on MS Windows.

A few years ago there was a message on the nut website asking for a boycot of 
APC because they changed the protocol and refuse to provide info on it, 
forcing people to use the APC bloatware. (Requiring Java just to talk to a 
UPS?)

--
Joost



Re: [gentoo-user] wireless interface problem in new installation

2014-11-17 Thread behrouz khosravi
On Mon, Nov 17, 2014 at 9:27 PM, Alexander Kapshuk 
alexander.kaps...@gmail.com wrote:

 On Mon, Nov 17, 2014 at 7:55 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
  On Nov 17, 2014 9:06 PM, behrouz khosravi bz.khosr...@gmail.com
 wrote:
 
 
  On Nov 17, 2014 8:46 PM, Alexander Kapshuk 
 alexander.kaps...@gmail.com
  wrote:
  
   On Mon, Nov 17, 2014 at 6:58 PM, behrouz khosravi
   bz.khosr...@gmail.com wrote:
   
On Nov 17, 2014 7:32 PM, Alexander Kapshuk
alexander.kaps...@gmail.com
wrote:
   
On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi
bz.khosr...@gmail.com
wrote:



 Hm, does wireless device require firmware? Have you installed
 firmware
 properly?


 I dont think so. I have installed gentoo on it before and back
 then
 I
 just
 used the genkernel and it was working.
   
What's the output of 'lspci -k'?
   
   
It shows the device which is a atheros ar9285
But doesnt show any kernel driver in use for it.
So that is because the driver is  not compiled?
  
   I dare say the kernel driver may not have been compiled into the
   kernel, or compiled as a kernel module.
   What's the output of 'cd /usr/src/linux  grep -i ath .config'?
  
 
  Well I looked and the relevant module was not compiled.
  I have changed the config so I cant answer your question unfortunately !
  I hope new kernel will fix it.
  But I have used the previous config in kernel about 2 month ago. I cant
  believe I have not used the wireless that time!
 
  Well thank you very much.
  The new kernel works.
  Good day

 Good to hear.

 Thanks for letting us know.


Thanks for your help!


Re: [gentoo-user] question about binhost's

2014-11-17 Thread wraeth
On Tue, Nov 18, 2014 at 06:45:51AM +, Mick wrote:
 Interestingly, how do you remove an binary package using portage when you no 
 longer need it?  Using 'rm -i package' manually?

The `eclean` utility from app-portage/gentoolkit can do this for you (as
well as maintaining your distfiles directory).

There's nothing overly special about it, though, so if you feel the need
you can just `rm` files (though eclean is better).

-- 
wraeth wra...@wraeth.id.au
GnuPG Key: B2D9F759


signature.asc
Description: Digital signature