Re: [arch-general] tmp files no longer removed

2012-06-22 Thread Lukáš Jirkovský
On 22 June 2012 01:42, Tom Gundersen t...@jklm.no wrote:
 The tmpfiles.d fragment is documented in the tmpfiles.d(5)[0] and the
 tmpfiles utility is documented in systemd-tmpfiles(8)[1].


So there actually is man page for the systemd-tmpfiles. It is missing
from the systemd-tools, instead it is in systemd package. I'll create
a bug report for that later.

If it had been there, I wouldn't have asked this question at all, as
everything necessary is mentioned in the manpage.

Lukas


[arch-general] Complete mess after having attempted to install Nvidia drivers

2012-06-22 Thread m a
Hello,

I was trying to remove the proprietary drivers for my nvidia, to install
the open source ones.
I read in the wiki that I also had to remove the /etc/X11/xorg.conf, but
only found an /etc/X11/xorg.conf.d, so I removed that one.
I don't know if this is the reason why I can no longer use either the
keyboard or the mouse when reaching the login screen.
Let me add that I forgot to also remove the intel video drivers that I used
before, don't know if this could have anything to do with what I'm facing
now though.

The question is, what did I do wrong and how can I fix this?
I tried adding either 3 or 1 to the grub kernel line, but I still can't
reach the command line.


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers

2012-06-22 Thread Don deJuan

On 06/22/2012 12:58 AM, m a wrote:

Hello,

I was trying to remove the proprietary drivers for my nvidia, to install
the open source ones.
I read in the wiki that I also had to remove the /etc/X11/xorg.conf, but
only found an /etc/X11/xorg.conf.d, so I removed that one.
I don't know if this is the reason why I can no longer use either the
keyboard or the mouse when reaching the login screen.
Let me add that I forgot to also remove the intel video drivers that I used
before, don't know if this could have anything to do with what I'm facing
now though.

The question is, what did I do wrong and how can I fix this?
I tried adding either 3 or 1 to the grub kernel line, but I still can't
reach the command line.



Do not know of a quick fix off the top of my head but yes deleting the 
entire folder xorg.conf.d deletes other needed files. I would maybe try 
booting a LiveCD chroot in and copy the files over you deleted then reboot.


Why would you blindly delete an entire folder?

HTH



Re: [arch-general] Complete mess after having attempted to install Nvidia drivers

2012-06-22 Thread Łukasz Redynk

Hi,

1)
I don't know if this is the reason why I can no longer use either the
keyboard or the mouse when reaching the login screen.

Yes, it is. Xorg not only handles grapfic, but also input devices and in 
xorg.conf.d there's needed conf files.


You could try to reinstall xorg-server:
# pacman -S xorg-server

This should put xorg.conf.d back to your filesystem.

2)
You mentioned intel graphics driver, is there any possibilty that you 
have Intel + Nvidia Optimus?


---
Pozdrawiam
Łukasz Redynk


W dniu 22.06.2012 10:02, Don deJuan pisze:

On 06/22/2012 12:58 AM, m a wrote:

Hello,

I was trying to remove the proprietary drivers for my nvidia, to install
the open source ones.
I read in the wiki that I also had to remove the /etc/X11/xorg.conf, but
only found an /etc/X11/xorg.conf.d, so I removed that one.
I don't know if this is the reason why I can no longer use either the
keyboard or the mouse when reaching the login screen.
Let me add that I forgot to also remove the intel video drivers that I
used
before, don't know if this could have anything to do with what I'm facing
now though.

The question is, what did I do wrong and how can I fix this?
I tried adding either 3 or 1 to the grub kernel line, but I still can't
reach the command line.



Do not know of a quick fix off the top of my head but yes deleting the
entire folder xorg.conf.d deletes other needed files. I would maybe try
booting a LiveCD chroot in and copy the files over you deleted then reboot.

Why would you blindly delete an entire folder?

HTH





Re: [arch-general] [aur-general]pipe log msg on conky window

2012-06-22 Thread mike cloaked
On Thu, Jun 21, 2012 at 8:53 PM, Arno Gaboury arnaud.gabo...@gmail.com wrote:
 Dear all,

 as I was configuring a conky window on my desktop, I decided to add some
 precisions and tips for configuring the *.conkyrc* file in the Arch WIKI.

 Reading any /var/log file needs to be root, thus making difficult to run any
 home config file with read access to log files. My turnaround is to
 *$chown root:log /var/log* then *$usermod -aG log username*.
 Security wise, I do not know if this can bring serious potential breach in
 the system. If yes, please tell me as I will NOT let this turnaround in the
 WIKI.
 What would be a safer solution to read the log files in my conky window?

How about using sudo without password required?  It is possible to
configure it to allow specific commands - maybe the user can have sudo
access to read the relevant log files?
-- 
mike c


Re: [arch-general] [aur-general]pipe log msg on conky window

2012-06-22 Thread Kazó Csaba
2012/6/21 Arno Gaboury arnaud.gabo...@gmail.com:
 Dear all,

 as I was configuring a conky window on my desktop, I decided to add some
 precisions and tips for configuring the *.conkyrc* file in the Arch WIKI.

 Reading any /var/log file needs to be root, thus making difficult to run any
 home config file with read access to log files. My turnaround is to
 *$chown root:log /var/log* then *$usermod -aG log username*.
 Security wise, I do not know if this can bring serious potential breach in
 the system. If yes, please tell me as I will NOT let this turnaround in the
 WIKI.
 What would be a safer solution to read the log files in my conky window?

 Regards.

 **


Hello,

The default syslog-ng configuration is set up so that users in the
group 'log' can read the files:

# /etc/syslog-ng/syslog-ng.conf
options {
  ...
  perm(0640);
  group(log);
};

If you're using something else, then you could try to configure it to
do the same.

I think that security-wise using a group for this is the perfect
approach because you can control who exactly can access the logs.


Csaba


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers

2012-06-22 Thread Nelson Marambio
AFAIK there are several video drivers installed as dependency when you install 
the xorg package, e.g. xfree-video-ati, xfree-video-intel etc. that are not 
related to the real hardware configuration but do not cause a conflict 
otherwise.

So there the Intel driver might have been being installed unconsciously.


 Original-Nachricht 
 Datum: Fri, 22 Jun 2012 10:15:22 +0200
 Von: Łukasz Redynk lukas.red...@gmail.com
 An: arch-general@archlinux.org
 Betreff: *** GMX Spamverdacht *** Re: [arch-general] Complete mess after 
 having attempted to install Nvidia drivers

 Hi,
 
 1)
 I don't know if this is the reason why I can no longer use either the
 keyboard or the mouse when reaching the login screen.
 
 Yes, it is. Xorg not only handles grapfic, but also input devices and in 
 xorg.conf.d there's needed conf files.
 
 You could try to reinstall xorg-server:
 # pacman -S xorg-server
 
 This should put xorg.conf.d back to your filesystem.
 
 2)
 You mentioned intel graphics driver, is there any possibilty that you 
 have Intel + Nvidia Optimus?
 
 ---
 Pozdrawiam
 Łukasz Redynk
 
 
 W dniu 22.06.2012 10:02, Don deJuan pisze:
  On 06/22/2012 12:58 AM, m a wrote:
  Hello,
 
  I was trying to remove the proprietary drivers for my nvidia, to
 install
  the open source ones.
  I read in the wiki that I also had to remove the /etc/X11/xorg.conf,
 but
  only found an /etc/X11/xorg.conf.d, so I removed that one.
  I don't know if this is the reason why I can no longer use either the
  keyboard or the mouse when reaching the login screen.
  Let me add that I forgot to also remove the intel video drivers that I
  used
  before, don't know if this could have anything to do with what I'm
 facing
  now though.
 
  The question is, what did I do wrong and how can I fix this?
  I tried adding either 3 or 1 to the grub kernel line, but I still can't
  reach the command line.
 
 
  Do not know of a quick fix off the top of my head but yes deleting the
  entire folder xorg.conf.d deletes other needed files. I would maybe try
  booting a LiveCD chroot in and copy the files over you deleted then
 reboot.
 
  Why would you blindly delete an entire folder?
 
  HTH
 
 


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏

2012-06-22 Thread m a
 Do not know of a quick fix off the top of my head but yes deleting the
 entire folder xorg.conf.d deletes other needed files. I would maybe try
 booting a LiveCD chroot in and copy the files over you deleted then reboot.

 Why would you blindly delete an entire folder?

 HTH

Cause I'm an idiot, obviously.
I have booted from a LiveCD and mounted the root directory.
I don't know where these files are to copy them from, though.

Can you please tell me?


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏

2012-06-22 Thread m a
 You could try to reinstall xorg-server:
 # pacman -S xorg-server

How am I going to do this?
In normal boot, I can't use my keyboard and, when booting from a
LiveCD, I can't install anything on the system.



 You mentioned intel graphics driver, is there any possibilty that you
 have Intel + Nvidia Optimus?

No, I just recently bought the graphic card. I used the onboard one up
to that point.


Re: [arch-general] tmp files no longer removed

2012-06-22 Thread Kevin Chadwick
 I'm really not sure what you are asking here, so bear with me...
 
 The tmpfiles.d fragment is documented in the tmpfiles.d(5)[0] and the
 tmpfiles utility is documented in systemd-tmpfiles(8)[1].
 
 Both in systemd and initscripts we call /usr/bin/systemd-tmpfiles
 --clean to clean up old files.
 
 If you want to add your own custom stuff instead then in initscripts
 you'd make a hook (as before) and in systemd you'd add a .service file
 [2].

Fair enough and Thanks.

I'll likely find out more about systemd malleability in due course some
time anyway. I just don't use the system with it very often.



 Why not do something good every day and install BOINC.



Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏

2012-06-22 Thread A Rojas
m a wrote:

 You could try to reinstall xorg-server:
 # pacman -S xorg-server
 
 How am I going to do this?
 In normal boot, I can't use my keyboard and, when booting from a
 LiveCD, I can't install anything on the system.
 

Boot from the LiveCD and chroot to your system



Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏

2012-06-22 Thread nelsonmarambio

 Original-Nachricht 
 Datum: Fri, 22 Jun 2012 06:05:06 -0400
 Von: m a mantona...@gmail.com
 An: arch-general@archlinux.org
 Betreff: Re: [arch-general]   Complete mess after having attempted to install 
 Nvidia drivers‏

  You could try to reinstall xorg-server:
  # pacman -S xorg-server
 
 How am I going to do this?
 In normal boot, I can't use my keyboard and, when booting from a
 LiveCD, I can't install anything on the system.
 

You can boot from the LiveCD and switching to your local system as active 
instance. The magic word in the wiki is chroot:

https://wiki.archlinux.org/index.php/Chroot

As one of the advantages you can fix your system even if it is not able to boot 
itself anymore.

HTH
Nelson


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏‏

2012-06-22 Thread m a
 Boot from the LiveCD and chroot to your system

I have already done that (having followed the relevant Archbang wiki)
but, once I attempt to install anything, I get this:
error: GPGME error: Bad file descriptor
error: xorg-server: missing required signature
error: failed to commit transaction (invalid or corrupted package (PGP
signature))
Errors occurred, no packages were upgraded.


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏

2012-06-22 Thread nelsonmarambio
Hm ... but is this not just a second possibility ?

 Original-Nachricht 
 Datum: Fri, 22 Jun 2012 13:13:38 +0300
 Von: Jesse Juhani Jaara jesse.ja...@gmail.com
 An: General Discussion about Arch Linux arch-general@archlinux.org
 Betreff: Re: [arch-general] Complete mess after having attempted to install 
 Nvidia drivers‏

 pe, 2012-06-22 kello 06:05 -0400, m a kirjoitti:
   You could try to reinstall xorg-server:
   # pacman -S xorg-server
  
  How am I going to do this?
  In normal boot, I can't use my keyboard and, when booting from a
  LiveCD, I can't install anything on the system.
 No you don't boot into LiveCD like someone said before thingking at all,
 this is Arch after all, we all have working text console and are not
 dependan't on X to be able to work. Just boot into text mode by adding 3
 at the end of the kernel boot line, if you used the inittab method, but
 if you have used the DAEMONS=( gdm/kdm/xdm/... ) method you 1st
 need to boot into single user mode by adding 's' instead of 3. Then in
 the single user mode remount the / filesystem rw and edit rc.conf to not
 start the loginmanager. Then you change into init mode 3 and there just
 login like regularry and install xorg-server package 'pacman -S
 xorg-server'


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏‏

2012-06-22 Thread Kevin Chadwick
  Boot from the LiveCD and chroot to your system  
 
 I have already done that (having followed the relevant Archbang wiki)
 but, once I attempt to install anything, I get this:
 error: GPGME error: Bad file descriptor
 error: xorg-server: missing required signature
 error: failed to commit transaction (invalid or corrupted package (PGP
 signature))
 Errors occurred, no packages were upgraded.

I've changed pacman.conf to Sigcheck=never before but that was for my
own built and signed package anyway so of course that may add risk in
your case. You'd likely need to include more in your chroot or you could
check the sigs manually. They are on the mirrors with .sig
after them. I guess the wiki needs updating?

You could likely just disable X starting and then run pacman once booted
into the console. If the cds not available next time you can add
break=y to the kernel commandline.



 Why not do something good every day and install BOINC.



Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏

2012-06-22 Thread Norbert Zeh
nelsonmaram...@gmx.de [2012.06.22 1217 +0200]:
 Hm ... but is this not just a second possibility ?
 
  Original-Nachricht 
  Datum: Fri, 22 Jun 2012 13:13:38 +0300
  Von: Jesse Juhani Jaara jesse.ja...@gmail.com
  An: General Discussion about Arch Linux arch-general@archlinux.org
  Betreff: Re: [arch-general] Complete mess after having attempted to install 
  Nvidia drivers‏
 
  pe, 2012-06-22 kello 06:05 -0400, m a kirjoitti:
You could try to reinstall xorg-server:
# pacman -S xorg-server
   
   How am I going to do this?
   In normal boot, I can't use my keyboard and, when booting from a
   LiveCD, I can't install anything on the system.
  No you don't boot into LiveCD like someone said before thingking at all,
  this is Arch after all, we all have working text console and are not
  dependan't on X to be able to work. Just boot into text mode by adding 3
  at the end of the kernel boot line, if you used the inittab method, but
  if you have used the DAEMONS=( gdm/kdm/xdm/... ) method you 1st
  need to boot into single user mode by adding 's' instead of 3. Then in
  the single user mode remount the / filesystem rw and edit rc.conf to not
  start the loginmanager. Then you change into init mode 3 and there just
  login like regularry and install xorg-server package 'pacman -S
  xorg-server'


I would think that it's rather the other way around.  Why would I have to go to
the trouble of putting in a CD, boot, chroot, ... if I can simply boot the
system itself and take advantage of its built-in recovery mechanisms (like text
consoles, single-user mode, etc.)

I think the measures you have to take to fix your system depend on how messed up
it is.  If you can get a text console from a normal boot (e.g., if only the X
server is messed up as in this case), fix things there.  If you can't but you
can boot into single-user mode, do that.  If your system is messed up enough
that it doesn't even boot any more, then a LiveCD may be called for.

Cheers,
Norbert


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers‏‏

2012-06-22 Thread m a
Ok, I got my keyboard and mouse back!
I suppose it wasn't really wise of me to follow the instructions given on
the Archbang wiki, everything worked perfectly with the Arch wiki on
chroot.
I wrote down the alternative method suggested here though, I'm sure I'll
find it useful some time soon.
Anyway, thank you all very much.


Now, I was getting an insanely flickering screen with the nouveau drivers,
so decided to switch back to the proprietary ones.
The problem that I'm facing now is that I get an error message saying No
screens found.
Is there anything I can about this? I looked around but didn't find a
solution.


Re: [arch-general] Complete mess after having attempted to install Nvidia drivers

2012-06-22 Thread Ray Kohler
On Fri, Jun 22, 2012 at 3:58 AM, m a mantona...@gmail.com wrote:
 Hello,

 I was trying to remove the proprietary drivers for my nvidia, to install
 the open source ones.
 I read in the wiki that I also had to remove the /etc/X11/xorg.conf, but
 only found an /etc/X11/xorg.conf.d, so I removed that one.
 I don't know if this is the reason why I can no longer use either the
 keyboard or the mouse when reaching the login screen.
 Let me add that I forgot to also remove the intel video drivers that I used
 before, don't know if this could have anything to do with what I'm facing
 now though.

 The question is, what did I do wrong and how can I fix this?
 I tried adding either 3 or 1 to the grub kernel line, but I still can't
 reach the command line.

You should do pacman -Qqk as root to have pacman tell you about
files packages installed but are missing. That will tell you which
packages to reinstall to get the deleted files back.


[arch-general] Help with gnupg saving password for given time

2012-06-22 Thread Randy

Hello all,

I'm running KmyMoney and saving the file with GPG encryption. In order 
to open this file I need to enter my password in the pin entry window 
that comes up. This all works fine.


The issue that I'm having is that in the past (previous installation of 
Arch and Aptosid) I was able to close KmyMoney and open it back up 
within a certain amount of time without having to re-enter the password. 
After this time expired, I had to re-enter the password.


This no longer seems to work for me. I have to enter my password every 
time I open KmyMoney. According to my notes that I have on this, what I 
need to do is to create a file in .gnupg called gpg-agent.conf with the 
following entries:


pinentry-program /usr/bin/pinentry
no-grab
default-cache-ttl 3600

And enter use-agent in the file .gnupg/gpg.conf.

I'm using Openbox as my windows manager in case it matters.

Could someone offer any suggestions on why this no longer works? My 
guess is that I'm missing something.


Thanks,

Randy


Re: [arch-general] Help with gnupg saving password for given time

2012-06-22 Thread Kevin Chadwick
 I have to enter my password every 
 time I open KmyMoney

First check if gpg-agent is running

/bin/ps -aux | /usr/bin/grep gpg

sighup will make it forget a password which any program may send and how
long it remembers is configurable.



 Why not do something good every day and install BOINC.



Re: [arch-general] Help with gnupg saving password for given time

2012-06-22 Thread Randy

On 06/22/2012 02:09 PM, Kevin Chadwick wrote:

I have to enter my password every
time I open KmyMoney

First check if gpg-agent is running

/bin/ps -aux | /usr/bin/grep gpg

sighup will make it forget a password which any program may send and how
long it remembers is configurable.



  Why not do something good every day and install BOINC.




It appears to be, I get the following:


 /usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file 
/home/gumper/.gpginfo




[arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Chris Jones
I am a long-time debian user.

Is there an Archlinux live environment available anywhere so I can take
a look round without installing AL to my hard drive..?

I created a grub menu entry for ‘archlinux-2011.08.19-core-dual.iso’ and
booted successfully.. but afaict.. it only lets me run the installer.

I must be missing something..

CJ

-- 
ALL YOUR BASE ARE BELONG TO US!


Re: [arch-general] Help with gnupg saving password for given time

2012-06-22 Thread Kevin Chadwick
 On 06/22/2012 02:09 PM, Kevin Chadwick wrote:
  I have to enter my password every
  time I open KmyMoney
  First check if gpg-agent is running
 
  /bin/ps -aux | /usr/bin/grep gpg
 
  sighup will make it forget a password which any program may send and how
  long it remembers is configurable.
 
  
 
Why not do something good every day and install BOINC.
  
 
 
 It appears to be, I get the following:
 
 
   /usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file 
 /home/gumper/.gpginfo
 

Do you have gpg in your environment and /tmp.

/usr/bin/env | /usr/bin/grep -i gpg



 Why not do something good every day and install BOINC.



Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Alexandre Ferrando
On 22 June 2012 20:34, Chris Jones cjns1...@gmail.com wrote:
 I am a long-time debian user.

 Is there an Archlinux live environment available anywhere so I can take
 a look round without installing AL to my hard drive..?

 I created a grub menu entry for ‘archlinux-2011.08.19-core-dual.iso’ and
 booted successfully.. but afaict.. it only lets me run the installer.

 I must be missing something..

 CJ

You're not missing a thing, archlinux doesn't have that kind of
liveCDs, just the installer. At least officially. Can't remember right
now any live-cd aside from archbang ( but that is the livecd of an
arch based distro, not just arch IIRC)

PS: If you're looking into installing arch, don't use a core
installation, or at least grab the lattest. It is better to use a
netinstall.


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Jesse Juhani Jaara
pe, 2012-06-22 kello 14:34 -0400, Chris Jones kirjoitti:
 I created a grub menu entry for ‘archlinux-2011.08.19-core-dual.iso’ and
 booted successfully.. but afaict.. it only lets me run the installer.

What do you mean it only lets you run the installer? Our isos are full
livecds. Once you boot the cd you have a fullfledget readonly arch
system, altought you can install stuff to ram, but due to the fact that
the current isos are so old and Arch is rolling release you would most
likely have to install everysingle package as update before being able
to install something new.

Just login as root and start bagging in sed and awk clauses to the
console ^_^ should work.




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


Re: [arch-general] Help with gnupg saving password for given time

2012-06-22 Thread Randy

On 06/22/2012 02:32 PM, Kevin Chadwick wrote:

On 06/22/2012 02:09 PM, Kevin Chadwick wrote:

I have to enter my password every
time I open KmyMoney

First check if gpg-agent is running

/bin/ps -aux | /usr/bin/grep gpg

sighup will make it forget a password which any program may send and how
long it remembers is configurable.



   Why not do something good every day and install BOINC.



It appears to be, I get the following:


   /usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file
/home/gumper/.gpginfo


Do you have gpg in your environment and /tmp.

/usr/bin/env | /usr/bin/grep -i gpg



  Why not do something good every day and install BOINC.



I get nothing with this command.





Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Rashif Ray Rahman
On 23 June 2012 02:34, Chris Jones cjns1...@gmail.com wrote:
 I am a long-time debian user.

 Is there an Archlinux live environment available anywhere so I can take
 a look round without installing AL to my hard drive..?

You are already in a live environment. It is console-based and
provides only a minimal set of tools. You can write an essay with nano
or vi, or build software, or rescue a dead Linux system, or retrieve
data from a dead windows one.

 I created a grub menu entry for ‘archlinux-2011.08.19-core-dual.iso’ and
 booted successfully.. but afaict.. it only lets me run the installer.

 I must be missing something..

 CJ

 --
 ALL YOUR BASE ARE BELONG TO US!



-- 
GPG/PGP ID: C0711BF1


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Martti Kühne
On Fri, Jun 22, 2012 at 02:34:06PM -0400, Chris Jones wrote:
 I am a long-time debian user.
 
 Is there an Archlinux live environment available anywhere so I can take
 a look round without installing AL to my hard drive..?
 
 I created a grub menu entry for ‘archlinux-2011.08.19-core-dual.iso’ and
 booted successfully.. but afaict.. it only lets me run the installer.
 
 I must be missing something..
 
 CJ
 
 -- 
 ALL YOUR BASE ARE BELONG TO US!

The installer doesn't need to be run.
It's not made clear enough, but you can just press ctrl-c and enjoy.

cheers!
mar77i


Re: [arch-general] Help with gnupg saving password for given time

2012-06-22 Thread Randy

On 06/22/2012 02:32 PM, Kevin Chadwick wrote:

On 06/22/2012 02:09 PM, Kevin Chadwick wrote:

I have to enter my password every
time I open KmyMoney

First check if gpg-agent is running

/bin/ps -aux | /usr/bin/grep gpg

sighup will make it forget a password which any program may send and how
long it remembers is configurable.



   Why not do something good every day and install BOINC.



It appears to be, I get the following:


   /usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file
/home/gumper/.gpginfo


Do you have gpg in your environment and /tmp.

/usr/bin/env | /usr/bin/grep -i gpg



  Why not do something good every day and install BOINC.




 Sorry but I didn't answer your question completely.

gpg shows up in /tmp. I have two folders there that start with gpg.






Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Paul Gideon Dann
On Friday 22 Jun 2012 21:43:06 Jesse Juhani Jaara wrote:
 Just login as root and start bagging in sed and awk clauses to the
 console ^_^ should work.

Also, I'd highly suggest rolling out VirtualBox and playing with an 
installation.  This will 1) mean you won't bork your existing system, and 2) 
allow you to go through the install at your own pace.  The first time can take 
a while, since you won't be used to the way things need to be configured.

Paul


[arch-general] glib: #error Only glib.h can be included directly. (howto report packages)

2012-06-22 Thread David C. Rankin
Guys,

  We have run into several new build failures with trinity related to a glib
header inclusion change in the last update or two. The trinity package are a
relatively simple fix changing the header inclusions from '#include
glib/whatever.h' to '#include glib.h'.

  However, some of the build failures experienced are not trinity build
failures, but do to other OS packages. Example, koffice fails with:

In file included from /usr/include/wv2/olestream.h:26:0,
 from graphicshandler.cpp:23:
/usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error Only glib.h can
be included directly.

  My question is this When I run across these, do you want me to open a bug,
just drop a note to the maintainer, or drop a note to the list?

  Fixes are easy enough, but before I start rebuilding everything from ABS, I
want to make sure this info gets to the right place.

  What say the devs?


-- 
David C. Rankin, J.D.,P.E.



Re: [arch-general] glib: #error Only glib.h can be included directly. (howto report packages)

2012-06-22 Thread rafael ff1
2012/6/22 David C. Rankin drankina...@suddenlinkmail.com:
 Guys,

  We have run into several new build failures with trinity related to a glib
 header inclusion change in the last update or two. The trinity package are a
 relatively simple fix changing the header inclusions from '#include
 glib/whatever.h' to '#include glib.h'.

  However, some of the build failures experienced are not trinity build
 failures, but do to other OS packages. Example, koffice fails with:

 In file included from /usr/include/wv2/olestream.h:26:0,
                 from graphicshandler.cpp:23:
 /usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error Only glib.h can
 be included directly.

  My question is this When I run across these, do you want me to open a bug,
 just drop a note to the maintainer, or drop a note to the list?

  Fixes are easy enough, but before I start rebuilding everything from ABS, I
 want to make sure this info gets to the right place.

  What say the devs?


 --
 David C. Rankin, J.D.,P.E.


Similar to https://bugs.archlinux.org/task/29643 ?

Rafael


Re: [arch-general] glib: #error Only glib.h can be included directly. (howto report packages)

2012-06-22 Thread Laurent Carlier
Le vendredi 22 juin 2012 14:49:26 David C. Rankin a écrit :
 Guys,

   We have run into several new build failures with trinity related to a glib
 header inclusion change in the last update or two. The trinity package are
 a relatively simple fix changing the header inclusions from '#include
 glib/whatever.h' to '#include glib.h'.

   However, some of the build failures experienced are not trinity build
 failures, but do to other OS packages. Example, koffice fails with:

 In file included from /usr/include/wv2/olestream.h:26:0,
  from graphicshandler.cpp:23:
 /usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error Only glib.h
 can be included directly.

   My question is this When I run across these, do you want me to open a
 bug, just drop a note to the maintainer, or drop a note to the list?

   Fixes are easy enough, but before I start rebuilding everything from ABS,
 I want to make sure this info gets to the right place.

   What say the devs?

It's an upstream bug.

++


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


Re: [arch-general] Help with gnupg saving password for given time

2012-06-22 Thread Kevin Chadwick
 
 I get nothing with this command.

Your programs will likely ignore the agent and use gpg directly
using the password once without an environment variable.

You should have the GPG_AGENT_INFO environment variable already setup as
the third box in this link does. You can fix it quite easily but why
it's not there already I'm not sure and is the real issue.

http://www.gnupg.org/documentation/manuals/gnupg/Invoking-GPG_002dAGENT.html

I presume you switched to openbox from something else which set this
up automatically.

--


 Why not do something good every day and install BOINC.



Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Mauro Santos
On 22-06-2012 19:34, Chris Jones wrote:
 I am a long-time debian user.
 
 Is there an Archlinux live environment available anywhere so I can take
 a look round without installing AL to my hard drive..?
 
 I created a grub menu entry for ‘archlinux-2011.08.19-core-dual.iso’ and
 booted successfully.. but afaict.. it only lets me run the installer.
 
 I must be missing something..
 
 CJ
 

You could try archboot[1]. tpowa has been doing a great job at providing
unofficial up-to-date install/live images. They provide the same as the
official install images (but up-to-date :p) so don't expect any fancy guis.

[1] https://bbs.archlinux.org/viewtopic.php?id=143541

-- 
Mauro Santos




Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/22/12 15:10, Mauro Santos wrote:
 
 You could try archboot[1]. tpowa has been doing a great job at
 providing unofficial up-to-date install/live images. They provide
 the same as the official install images (but up-to-date :p) so
 don't expect any fancy guis.
 
 [1] https://bbs.archlinux.org/viewtopic.php?id=143541
 
There is also Bridge Linux, which seems in my experience to mostly do
things quite nicely. Once you've installed, it's Arch Linux.

- -- 
David Benfell
benf...@parts-unknown.org


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

iQIcBAEBAgAGBQJP5PfaAAoJELT202JKF+xpnCgP/j462DrBDbhCqQmw+nIamAgc
ZsIAX1kEVI/sAh03bhFafYjcgOwImUQW4TaEReg47QeXsEeg2HP9KW0uxsm5lGXB
BqS3WrMtAWD0qEuI5UQ8Q89ENVXNNM9ry4B8X+3UYHIJ6E00x02HKSVu1JTqcujS
dOjwJuAeJvFPsrduJr8KGTyE7ZFAazWs5hjAR10pmlsSimUZqb1Vcv7hQeKjaFS2
jsi47otVtHSZvKiWZoA1Qd7ci+Esk7bD3ckH/M5AlxSzi9X7mSDOXA6IPtYHBQiL
3oO8vzwj6FoO8dJq+RfJ/pGwAU7MsXZg610BTkvS3fYr9Lrj7MjkB1cvuye5y9H5
d4UoUh2i0WHVe7dL8Z3vPzHToEpIb3fEvbbXFXu9Lvz5SgnIP505uN88soRxjNCU
F+hBnsQ6ErHpcMIEglHpkTQFXwYXp7dCSt20nwGNL3eA5F9nCpw/jqipHIK3Wmav
4039M/zMM611AALlSSDKD0I9KlGgreXYAHwTPZOjH0GOeVpoDxqjAbSte+lvPPNk
EsRLqnrYYsbcmh0BUPXQNTP/hYG7mNqi/UwdX7y4SZG8LHnZjoJv2jWj0vBeXPUo
AgWIsYj72qvBUg7uVK/pPCDPfCEstc7cuiCLtX4IknhlC92VQo8LbGAONjx0mNkS
/tjcjETK0pFEphMyxnYa
=1+yt
-END PGP SIGNATURE-


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread C Anthony Risinger
On Jun 22, 2012 5:55 PM, David Benfell benf...@parts-unknown.org wrote:
 On 06/22/12 15:10, Mauro Santos wrote:
 
  You could try archboot[1]. tpowa has been doing a great job at
  providing unofficial up-to-date install/live images. They provide
  the same as the official install images (but up-to-date :p) so
  don't expect any fancy guis.
 
  [1] https://bbs.archlinux.org/viewtopic.php?id=143541
 
 There is also Bridge Linux, which seems in my experience to mostly do
 things quite nicely. Once you've installed, it's Arch Linux.

Or yet-another-option -- my personal favorite thanks to unusual levels of
utility and awesome -- you can dynamic netboot Arch from a 1/2 MiB PXE
image:

http://releng.archlinux.org/pxeboot/

... as linked on the Downloads page.  This will let you select a recent
image to boot on-the-fly, providing you have a decent inet link.

-- 

C Anthony


[arch-general] Campaign against Secure Boot

2012-06-22 Thread Manolo Martínez
Is Arch going to sign [this 
petition](http://www.fsf.org/campaigns/secure-boot-vs-restricted-boot/statement)?
 I, for one humble user, would like it (us, whatever) to.

Manolo

-- 


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Chris Jones
On Fri, Jun 22, 2012 at 02:38:48PM EDT, Alexandre Ferrando wrote:
 On 22 June 2012 20:34, Chris Jones cjns1...@gmail.com wrote:

  I am a long-time debian user.

[..]

 You're not missing a thing, archlinux doesn't have that kind of
 liveCDs, just the installer. At least officially. Can't remember right
 now any live-cd aside from archbang ( but that is the livecd of an
 arch based distro, not just arch IIRC)
 
 PS: If you're looking into installing arch, don't use a core
 installation, or at least grab the lattest. It is better to use
 a netinstall.

One additional problem is that I only have network access via a WiFi
connection at this point, and to make things a little more complicated,
I need to install some non-free firmware to get it to work.

I did manage to boot to a framebuffer console  a bash prompt, but then
I was pretty much stuck anyway: Didn't have a network connection, so
that I couldn't even download additional packages w/o running the
install.

In any case, it's pretty obvious that I misunderstood the wiki and
thought that the iso could run without having to install Archlinux to my
hard drive.. so that I could take a look at a standard/demo environment
and form an opinion. That's why I chose to download the core flavor of
the iso, rather than the net install.. reasoning that bigger is better
and that it was more likely to provide some kind of full-fledged demo
environment.

What I did not realize is that until you actually install Archlinux,
booting the .iso only causes the packages that are required to run the
install to be extracted.. everything else is still tucked away in the
/i686/arch/ directory. At that stage, I couldn't as much as start
a barebones X server + an XTerm and verify that the ‘nouveau’ driver
that ships with the .iso does not result in a black screen.. or that
I am able to bring up a wlan network connection.. etc.

I guess I should have made it clear in my original post that I want to:

- make sure Archlinux will run on my hardware with minimal headaches
- check out pacman.. see how it compares with debian's apt.

In any event, case closed. 

Thanks much for your comments.. not to forget the other gentlemen who
kindly took the trouble to reply.

CJ

-- 
HOW ARE YOU GENTLEMEN?


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Chris Jones
On Fri, Jun 22, 2012 at 03:30:13PM EDT, Paul Gideon Dann wrote:

[..]

 Also, I'd highly suggest rolling out VirtualBox and playing with an 
 installation.  This will 1) mean you won't bork your existing system, 

I never bork my existing system(s).. ;-)

CJ

-- 
Focus follow mouse users will burn in hell!!!


Re: [arch-general] Help with gnupg saving password for given time

2012-06-22 Thread Randy

On 06/22/2012 04:22 PM, Kevin Chadwick wrote:
  

I get nothing with this command.

Your programs will likely ignore the agent and use gpg directly
using the password once without an environment variable.

You should have the GPG_AGENT_INFO environment variable already setup as
the third box in this link does. You can fix it quite easily but why
it's not there already I'm not sure and is the real issue.

http://www.gnupg.org/documentation/manuals/gnupg/Invoking-GPG_002dAGENT.html

I presume you switched to openbox from something else which set this
up automatically.

--


  Why not do something good every day and install BOINC.






Ok, everything is working as it should now. I originally had the 
following in my Openbox autostart file:


/envfile=${HOME}/.gpginfo
if test -f ${envfile}  kill -0 $(cut -d: -f 2 ${envfile} | head -n 1) 
2/dev/null; then

   eval $(cat ${envfile})
else
  eval `/usr/bin/gpg-agent --daemon --enable-ssh-support 
--write-env-file ${envfile}`

fi
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
export SSH_AGENT_PID

/Apparently this isn't the correct way to do it? It would create the 
.gpginfo file ok, but I'm assuming that the export command wasn't 
working correctly. Any ideas why?


I looked at the link that you gave but I wasn't sure where to place the 
command to start the gpg-agent. I figured if I placed it in my Openbox 
autostart file, then there was the possibility of starting the agent 
more than once if logging out and back in. I tried putting it in 
.xsession but it didn't start from there because I use Slim and I 
believe that Slim doesn't call xsession. Maybe putting it in .xinitrc 
would work.


What I ended up doing was per the Arch wiki. Creating the file 
/etc/profile.d/gpg-agent.sh with the following:


/#!/bin/sh

envfile=${HOME}/.gnupg/gpg-agent.env
if test -f $envfile  kill -0 $(grep GPG_AGENT_INFO $envfile | cut 
-d: -f 2) 2/dev/null; then

eval $(cat $envfile)
else
eval $(gpg-agent --daemon --write-env-file $envfile)
fi
export GPG_AGENT_INFO  # the env file does not contain the export statement/

This did the trick for me.

Oh and you are correct, I switched from XFCE to Openbox.

Thanks for the help!

Randy




/


/


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/22/12 20:48, Chris Jones wrote

 
 I never bork my existing system(s).. ;-)
 
nag
s/never/have not yet/
/nag

- -- 
David Benfell
benf...@parts-unknown.org


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

iQIcBAEBAgAGBQJP5UGFAAoJELT202JKF+xphq4P/1BelZBVAmLiaXCGc115GEfG
ojZBzDbjw5Rzm/bk4t81i4SSycppwhm/6SdeDhhtlh/+/STvOyqvAhdzCOW3Fmbk
qi+DDRD18pfNkPleaQIjRIY7ykbEyEgrhx4fI1Z9pMmvH7iMuXRKDN+dGd7tEd2Z
LqMFHclEfYo0NH4VZE7Uqa6W3OBhbAKU3TyVz5VuThbt4NI0chgvrpdpaQ1MY68s
EydILusgbnzsBPMk5OiFOiJBQRRXCS/9zb7drl3UDadzse2x4cwXxafArb9qJjFn
0PUD90luNHoWyRo8urp1DSOH8+DOiU7PzyPw2VhQBsdGQZ/TUJ0Htza2ZGjuVvTm
xJ2x0wMTCfdQpZjGUue2uPmoqZ0pXx05cfdDHwi+DWQgoTRNhUjeqGsy39hCf+JP
beIExbNVTJCcR0m5y1YYnP3o+f8V44ZaC47d3pVN2CPqNO9v9Wus4qXCnxGzPeaD
oLpRS3nzprOdpGFoOy8H0YedzSACsxmO+t1gKqUd5TkahE8ZKA/GK23UZrvGrx6n
bdOharF2l5TF+AFjW1CrzqsX6d4uMYn5irRuNvShh7ec3W7Gi6uGwx0BXJnkRi5E
ntYLU2Ls0M71V58ZRpyu8Tm9sCjTcKmXUX6IQXjkxgMh2P+aQTfSxyPqbMPDeKtD
I3piV7UglxMdNLomVRmA
=ewo0
-END PGP SIGNATURE-


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Chris Jones
On Fri, Jun 22, 2012 at 06:55:22PM EDT, David Benfell wrote:

  You could try archboot[1]. tpowa has been doing a great job at
  providing unofficial up-to-date install/live images. They provide
  the same as the official install images (but up-to-date :p) so don't
  expect any fancy guis.

  [1] https://bbs.archlinux.org/viewtopic.php?id=143541

 There is also Bridge Linux, which seems in my experience to mostly do
 things quite nicely. Once you've installed, it's Arch Linux.

Downloading.. thanks..

CJ

-- 
HOW ARE YOU GENTLEMEN?


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Chris Jones
On Fri, Jun 22, 2012 at 07:16:17PM EDT, C Anthony Risinger wrote:

[..]

 Or yet-another-option -- my personal favorite thanks to unusual levels
 of utility and awesome -- you can dynamic netboot Arch from a 1/2
 MiB PXE image:
 
 http://releng.archlinux.org/pxeboot/
 
 ... as linked on the Downloads page.  This will let you select
 a recent image to boot on-the-fly, providing you have a decent inet
 link.

Not at this point.. afaik.. :-(

CJ

-- 
ALL YOUR BASE ARE BELONG TO US!


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Chris Jones
On Sat, Jun 23, 2012 at 12:09:41AM EDT, David Benfell wrote:

 On 06/22/12 20:48, Chris Jones wrote
 
  
  I never bork my existing system(s).. ;-)
  
 nag
 s/never/have not yet/
 /nag

hehe.. 

Actually, I once did end up with an unbootable system on a couple of
occasions.. one time it was caused by some crappy little program called
os-prober that actually _believes_ whatever it finds in grub
directories that may have been obsolete for years and many partitions
have come and gone.. Now I only use it once to gen' a template.. and
remove it from the system thereafter... 

On the other occasion, something in the BIOS must have decided that my
first drive all of a sudden was my second drive and vice-versa.

As the grub gurus told me.. ah.. but you should use UUID's.. trouble is
I do.. 

Obviously, I've borked systems more than once.. and a good thing too..
that's the only way you get to learn anything..

CJ

-- 
Hi! My name is bobby...


Re: [arch-general] Booting archlinux .iso to take a look

2012-06-22 Thread Chris Jones
On Sat, Jun 23, 2012 at 12:10:05AM EDT, Chris Jones wrote:

[..]

 Downloading.. thanks..

Duplicated the grub entry for the Arch iso:

| menuentry bridge-gnome-2012.5-x86_64.iso {
| set isofile=/iso/bridge-gnome-2012.5-x86_64.iso
| loopback loop (hd0,7)$isofile
| linux (loop)/arch/boot/x86_64/vmlinuz archisolabel=ARCH_201108 
img_dev=/dev/sdb7 img_loop=$isofile earlymodules=loop
| initrd (loop)/arch/boot/x86_64/archiso.img
| }

Won't boot.. gives me the usual ‘wait for 30 seconds’ and never gets to
load the kernel.. or can't find the initrd.. Different file names
I assume.. 

Need to check the contents of the iso.. tomorrow..

CJ

-- 
Focus follow mouse users will burn in hell!!!