Re: [arch-general] Upgraded kmod, but --ignored linux & glibc, modules still in /lib - can I reboot safely?

2012-07-14 Thread Ike Devolder
Op zondag 15 juli 2012 00:35:58 schreef David C. Rankin: > Tom, All, > > I see the glibc /lib move is out of testing. I updated with --ignore > linux,glibc and received an install warning from kmod stating: > > ==> Kernel modules are now only read from /usr/lib/modules... > > My modules are

[arch-general] Upgraded kmod, but --ignored linux & glibc, modules still in /lib - can I reboot safely?

2012-07-14 Thread David C. Rankin
Tom, All, I see the glibc /lib move is out of testing. I updated with --ignore linux,glibc and received an install warning from kmod stating: ==> Kernel modules are now only read from /usr/lib/modules... My modules are still shown in /lib. Does this mean I cannot reboot safely and expect it

Re: [arch-general] /lib to /usr/lib : custom kernel

2012-07-14 Thread Tom Gundersen
On Sat, Jul 14, 2012 at 11:18 PM, set wrote: > I updated one machine following instructions on archlinux.org and the process > was flawless. That machine was running the Arch kernel. > > I dare not do it on another machine running a custom kernel. Will a system > update break the setup because /li

Re: [arch-general] problems with wifi b43 (broadcom)

2012-07-14 Thread Leonidas Spyropoulos
On Sat, Jul 14, 2012 at 10:14 PM, Jesse Juhani Jaara wrote: > la, 2012-07-14 kello 21:54 +0100, Leonidas Spyropoulos kirjoitti: >> I can't seem to be able to get an IP. I am including the logs as well. >> >> I tried disabling the ipv6 with no luck (so I revert it). >> I tried with a usb wifi card

Re: [arch-general] must be root to ping?

2012-07-14 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/12 11:02, Mantas Mikulėnas wrote: > getfattr -d -m "-" ping I've already run setcap, but graton% getfattr -d -m "-" $(which ping) getfattr: Removing leading '/' from absolute path names # file: usr/bin/ping security.capability=0sAQAAAgAg

Re: [arch-general] must be root to ping?

2012-07-14 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/12 09:35, Mauro Santos wrote: > dumpe2fs -h That yields: graton% sudo dumpe2fs -h /dev/sda3 dumpe2fs 1.42.4 (12-June-2012) Filesystem volume name: Last mounted on: / Filesystem UUID: a7f84383-2cc2-4d70-adb5-3bf909a3f99b

Re: [arch-general] must be root to ping?

2012-07-14 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/12 09:00, Mauro Santos wrote: > On 14-07-2012 16:23, Jesse Juhani Jaara wrote: >> la, 2012-07-14 kello 18:22 +0300, Mantas Mikulėnas kirjoitti: >>> Which filesystem is your /usr using? Not all file systems >>> support storing capabilities... t

Re: [arch-general] must be root to ping?

2012-07-14 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/12 09:05, Thomas Bächler wrote: > Am 14.07.2012 17:47, schrieb Thomas Bächler: >> Am 14.07.2012 17:23, schrieb Jesse Juhani Jaara: >>> la, 2012-07-14 kello 18:22 +0300, Mantas Mikulėnas kirjoitti: Which filesystem is your /usr using? Not

Re: [arch-general] must be root to ping?

2012-07-14 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/12 08:22, Mantas Mikulėnas wrote: > On Sat, Jul 14, 2012 at 6:13 PM, Jesse Juhani Jaara > wrote: >> Running "sudo setcap cap_net_raw+ep /usr/bin/ping" manually >> results in the same (Operation not supported) error. > > Which filesystem is

Re: [arch-general] must be root to ping?

2012-07-14 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/12 08:06, Thomas Bächler wrote: > setcap cap_net_raw=ep /usr/bin/ping I have no idea how I broke it either, but this definitely fixed it. Thanks! - -- David Benfell benf...@parts-unknown.org -BEGIN PGP SIGNATURE- Version: GnuPG v2

[arch-general] /lib to /usr/lib : custom kernel

2012-07-14 Thread set
Hello, I updated one machine following instructions on archlinux.org and the process was flawless. That machine was running the Arch kernel. I dare not do it on another machine running a custom kernel. Will a system update break the setup because /lib/modules contains a kernel not managed by p

Re: [arch-general] problems with wifi b43 (broadcom)

2012-07-14 Thread Jesse Juhani Jaara
la, 2012-07-14 kello 21:54 +0100, Leonidas Spyropoulos kirjoitti: > I can't seem to be able to get an IP. I am including the logs as well. > > I tried disabling the ipv6 with no luck (so I revert it). > I tried with a usb wifi card and it's working fine. > > Any suggestions? How did you try to ge

Re: [arch-general] Download wiki arch!

2012-07-14 Thread Omar Basit
Thank you Don and Scott for your help, I'll try these ideas.. On Sat, Jul 14, 2012 at 11:56 PM, Don deJuan wrote: > On 07/14/2012 01:51 PM, Omar Basit wrote: > >> Hello, >> >> I've begun to use arch instead of Ubuntu, >> and it seems great, >> especially the (wiki.archlinux.org); >> but it is on

Re: [arch-general] Download wiki arch!

2012-07-14 Thread Don deJuan
On 07/14/2012 01:51 PM, Omar Basit wrote: Hello, I've begun to use arch instead of Ubuntu, and it seems great, especially the (wiki.archlinux.org); but it is only available online, and I am in need of an offline source with such rich information, I did some googling, but all I get is how to down

Re: [arch-general] Download wiki arch!

2012-07-14 Thread Scott Lawrence
With wget. Something like wget -r -np http://wiki.archlinux.org/ It'll be rather little messy, and you'd probably be better off in the long term trying to coax an existing wikipedia download tool (wikipediafs is nice) into using wiki.archlinux.org. On Sat, 14 Jul 2012, Omar Basit wrote:

[arch-general] problems with wifi b43 (broadcom)

2012-07-14 Thread Leonidas Spyropoulos
Hey all, I am setting up an archlinux on my laptop (Dell Latitude E4300) with Broadcom Wifi: 0c:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01) I had to load the firmware for the driver so I did from the AUR: https://aur.archlinux.org/packages.

[arch-general] Download wiki arch!

2012-07-14 Thread Omar Basit
Hello, I've begun to use arch instead of Ubuntu, and it seems great, especially the (wiki.archlinux.org); but it is only available online, and I am in need of an offline source with such rich information, I did some googling, but all I get is how to download Wikipedia, or using of websucker.. So,

Re: [arch-general] must be root to ping?

2012-07-14 Thread Mauro Santos
On 14-07-2012 19:02, Mantas Mikulėnas wrote: > On Sat, Jul 14, 2012 at 7:35 PM, Mauro Santos > wrote: >> I'm not sure if mounting with nouser_xattr might have some influence. > > Unlikely. As you noted below, the capabilities are stored in > security.* namespace, while `user_xattr` only affects t

Re: [arch-general] Failed to compile Emacs

2012-07-14 Thread Leonid Isaev
On Sun, 15 Jul 2012 02:21:47 +0700 Diep Pham Van wrote: > > Hello every one, > I've tried to compile emacs and fail. > > You can view the `makepkg -s` ouput here[1]. > I think the important part here: > > ./stdio.h:1030:1: error: ‘gets’ undeclared here (not in a function) > In file included f

[arch-general] Failed to compile Emacs

2012-07-14 Thread Diep Pham Van
Hello every one, I've tried to compile emacs and fail. You can view the `makepkg -s` ouput here[1]. I think the important part here: ./stdio.h:1030:1: error: ‘gets’ undeclared here (not in a function) In file included from md5.h:24:0, from md5.c:25: ./stdio.h:1030:1: error: ‘ge

Re: [arch-general] [SOLVED/WORKAROUND] BUG? Re: rpcgen - cannot find any C preprocessor?

2012-07-14 Thread David C. Rankin
On 07/14/2012 07:32 AM, Jan Steffens wrote: > Allan already knows about it and is talking to upstream. > > For now, use the -Y parameter to rpcgen. Thanks Tom, Jan, I always like asking on the list first before opening a bug report. Been yelled at many times because it was upstream and not an

Re: [arch-general] must be root to ping?

2012-07-14 Thread Mantas Mikulėnas
On Sat, Jul 14, 2012 at 7:35 PM, Mauro Santos wrote: > I'm not sure if mounting with nouser_xattr might have some influence. Unlikely. As you noted below, the capabilities are stored in security.* namespace, while `user_xattr` only affects the user.* namespace. > One funny thing is that 'man cap

Re: [arch-general] must be root to ping?

2012-07-14 Thread Thomas Bächler
Am 14.07.2012 18:58, schrieb Jesse Juhani Jaara: > I enabled the Security labels on the kernel and it working fine now. The > kernel config's help message isin't very clear, as starts by refering to > SeLinux and other security modules (AppAmor,TOMOYo...) Yes, that message was written before Linux

Re: [arch-general] must be root to ping?

2012-07-14 Thread Jesse Juhani Jaara
la, 2012-07-14 kello 18:38 +0200, Thomas Bächler kirjoitti: > > Actually yesm and a higly stipped down one.. > > Taking a look ot the kernl config it seems I have disabbled 'Security > > labels' on ext4 module. COuld this be the reason? > I think so, yes. I enabled the Security labels on the kerne

Re: [arch-general] must be root to ping?

2012-07-14 Thread Thomas Bächler
Am 14.07.2012 18:26, schrieb Jesse Juhani Jaara: > la, 2012-07-14 kello 18:05 +0200, Thomas Bächler kirjoitti: >> Custom kernel maybe? > > Actually yesm and a higly stipped down one.. > Taking a look ot the kernl config it seems I have disabbled 'Security > labels' on ext4 module. COuld this be th

Re: [arch-general] must be root to ping?

2012-07-14 Thread Mauro Santos
On 14-07-2012 17:03, Jesse Juhani Jaara wrote: > la, 2012-07-14 kello 17:00 +0100, Mauro Santos kirjoitti: >> Is the partition mounted with nosuid? > Nope. > > Jumped the gun too fast, after reading a bit of the man pages I'd say extended attributes might be to blame. The output of 'dumpe2fs -h

Re: [arch-general] must be root to ping?

2012-07-14 Thread Jesse Juhani Jaara
la, 2012-07-14 kello 18:05 +0200, Thomas Bächler kirjoitti: > Custom kernel maybe? Actually yesm and a higly stipped down one.. Taking a look ot the kernl config it seems I have disabbled 'Security labels' on ext4 module. COuld this be the reason? signature.asc Description: This is a digitally s

Re: [arch-general] must be root to ping?

2012-07-14 Thread Thomas Bächler
Am 14.07.2012 17:47, schrieb Thomas Bächler: > Am 14.07.2012 17:23, schrieb Jesse Juhani Jaara: >> la, 2012-07-14 kello 18:22 +0300, Mantas Mikulėnas kirjoitti: >>> Which filesystem is your /usr using? Not all file systems support >>> storing capabilities... though the error might be caused by some

Re: [arch-general] must be root to ping?

2012-07-14 Thread Jesse Juhani Jaara
la, 2012-07-14 kello 17:00 +0100, Mauro Santos kirjoitti: > Is the partition mounted with nosuid? Nope. signature.asc Description: This is a digitally signed message part

Re: [arch-general] must be root to ping?

2012-07-14 Thread Mauro Santos
On 14-07-2012 16:23, Jesse Juhani Jaara wrote: > la, 2012-07-14 kello 18:22 +0300, Mantas Mikulėnas kirjoitti: >> Which filesystem is your /usr using? Not all file systems support >> storing capabilities... though the error might be caused by something >> else, too. > > Ext4 > Is the partition m

Re: [arch-general] must be root to ping?

2012-07-14 Thread Thomas Bächler
Am 14.07.2012 17:23, schrieb Jesse Juhani Jaara: > la, 2012-07-14 kello 18:22 +0300, Mantas Mikulėnas kirjoitti: >> Which filesystem is your /usr using? Not all file systems support >> storing capabilities... though the error might be caused by something >> else, too. > > Ext4 This is getting wei

Re: [arch-general] must be root to ping?

2012-07-14 Thread Jayesh Badwaik
Ping requires/uses setuid. Probably, the new update was not compiled properly. On 14-Jul-2012 8:27 PM, "David Benfell" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hey all, > > Did I miss something? I now have to use sudo in order to ping: > > graton% ping 10.1.0.1 > ping: icmp op

Re: [arch-general] must be root to ping?

2012-07-14 Thread Jesse Juhani Jaara
la, 2012-07-14 kello 18:22 +0300, Mantas Mikulėnas kirjoitti: > Which filesystem is your /usr using? Not all file systems support > storing capabilities... though the error might be caused by something > else, too. Ext4 signature.asc Description: This is a digitally signed message part

Re: [arch-general] must be root to ping?

2012-07-14 Thread Mantas Mikulėnas
On Sat, Jul 14, 2012 at 6:13 PM, Jesse Juhani Jaara wrote: > Running "sudo setcap cap_net_raw+ep /usr/bin/ping" manually results in > the same (Operation not supported) error. Which filesystem is your /usr using? Not all file systems support storing capabilities... though the error might be cause

Re: [arch-general] must be root to ping?

2012-07-14 Thread Jesse Juhani Jaara
la, 2012-07-14 kello 18:07 +0300, Mantas Mikulėnas kirjoitti: > `/usr/bin/ping` and `ping6` must be either setuid-root (chmod u+s) or > have the CAP_NET_RAW capability (setcap cap_net_raw+ep). The Arch > `iputils` package normally runs `setcap` in its post-install > script[2]. I just updated my sy

Re: [arch-general] must be root to ping?

2012-07-14 Thread Mantas Mikulėnas
On Sat, Jul 14, 2012 at 5:45 PM, David Benfell wrote: > Did I miss something? I now have to use sudo in order to ping: > > graton% ping 10.1.0.1 > ping: icmp open socket: Operation not permitted Crafting ICMP packets requires root privileges, yes. (I vaguely remember Linux adding a separate socke

Re: [arch-general] must be root to ping?

2012-07-14 Thread Thomas Bächler
Am 14.07.2012 16:45, schrieb David Benfell: > Hey all, > > Did I miss something? I now have to use sudo in order to ping: No idea how you broke this, but this should fix it: setcap cap_net_raw=ep /usr/bin/ping signature.asc Description: OpenPGP digital signature

[arch-general] must be root to ping?

2012-07-14 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, Did I miss something? I now have to use sudo in order to ping: graton% ping 10.1.0.1 ping: icmp open socket: Operation not permitted graton% sudo ping 10.1.0.1 PING 10.1.0.1 (10.1.0.1) 56(84) bytes of data. 64 bytes from 10.1.0.1: icmp_req=1

Re: [arch-general] [SOLVED/WORKAROUND] BUG? Re: rpcgen - cannot find any C preprocessor?

2012-07-14 Thread Jan Steffens
On Sat, Jul 14, 2012 at 2:17 PM, Tom Gundersen wrote: > Hi David, > > On Sat, Jul 14, 2012 at 8:01 AM, David C. Rankin > wrote: >> Devs, > > I should point out that most devs are not subscribed to this ML. > >> There is either a bug in Arch's packaging of glibc/rpcgen or it is >> upstream. >>

Re: [arch-general] [SOLVED/WORKAROUND] BUG? Re: rpcgen - cannot find any C preprocessor?

2012-07-14 Thread Tom Gundersen
Hi David, On Sat, Jul 14, 2012 at 8:01 AM, David C. Rankin wrote: > Devs, I should point out that most devs are not subscribed to this ML. > There is either a bug in Arch's packaging of glibc/rpcgen or it is upstream. > rpcgen was removed from glibc a while back and then was put back in when