Re: [arch-general] /var/log/btmp empty

2012-02-23 Thread gt
On Thu, Feb 23, 2012 at 12:11:06PM -0600, Leonid Isaev wrote: > I think FTMP_FILE is obsolete. Logging of failed login attempts is handled by > pam. Try running faillog(8)... Also I am not sure if /var/log/btmp has to be > kept at all. Thanks, i didn't know about faillog. Unfortunately, it doesn't

Re: [arch-general] /var/run should not be contained in the package file list.

2012-02-23 Thread Tom Gundersen
On Thu, Feb 23, 2012 at 11:40 PM, Damjan wrote: > g: >>  * /var/run is a symlink (created on boot) to /run. This should be >> changed in the future so the symlink is shipped with the filesystem >> package, but we have not figured out the transtion yet. > > How would that work with systemd where /r

Re: [arch-general] /var/run should not be contained in the package file list.

2012-02-23 Thread Damjan
> Currently we have the following: > * /var/run is a symlink (created on boot) to /run. This should be > changed in the future so the symlink is shipped with the filesystem > package, but we have not figured out the transtion yet. How would that work with systemd where /run is bind mounted on /va

Re: [arch-general] Source control on /etc

2012-02-23 Thread Don deJuan
On 02/23/2012 08:43 AM, Dennis Börm wrote: On 02/23/2012 05:36 PM, Taylor Hedberg wrote: Alfredo Palhares, Thu 2012-02-23 @ 17:24:01+0100: Excerpts from Matthew Monaco's message of Thu Feb 23 17:08:46 +0100 2012: What about permissions and ownership? These are pretty important for /etc. What

Re: [arch-general] Source control on /etc

2012-02-23 Thread Don deJuan
On 02/23/2012 08:56 AM, Alfredo Palhares wrote: Excerpts from Taylor Hedberg's message of Thu Feb 23 17:36:00 +0100 2012: But that's problematic for files in /etc, many of which require specific ownership or mode bits set/unset. You don't want your VCS to elide the fact that /etc/shadow should o

Re: [arch-general] /var/log/btmp empty

2012-02-23 Thread Leonid Isaev
On Tue, 21 Feb 2012 21:54:42 +0530 gt wrote: > Hello folks > > My failed login attempts aren't being recorded, and lastb shows no > output. > > The permissions are correct: > > -rw--- 1 root root 0 Nov 15 06:39 /var/log/btmp > > Reading a previous message on the mailing list, i tried sett

Re: [arch-general] Scripting assistance

2012-02-23 Thread pete
On Thu, 23 Feb 2012 07:42:09 -0500 Genes MailLists wrote: > On 02/23/2012 03:25 AM, Jesse Juhani Jaara wrote: > > Something like > > > > if `ip link show eth0 | grep -q 'state UP'`; then > > you mount command hete > > fi > > > > in /etc/rc.local maybe > > You could also use 'arp' to check

Re: [arch-general] Source control on /etc

2012-02-23 Thread Alfredo Palhares
Excerpts from Taylor Hedberg's message of Thu Feb 23 17:36:00 +0100 2012: > But that's problematic for files in /etc, many of which require specific > ownership or mode bits set/unset. You don't want your VCS to elide the > fact that /etc/shadow should only be readable by root, for instance. > > I

Re: [arch-general] Source control on /etc

2012-02-23 Thread Dennis Börm
On 02/23/2012 05:36 PM, Taylor Hedberg wrote: > Alfredo Palhares, Thu 2012-02-23 @ 17:24:01+0100: >> Excerpts from Matthew Monaco's message of Thu Feb 23 17:08:46 +0100 >> 2012: >>> What about permissions and ownership? These are pretty important for >>> /etc. >> What about those ? Git doesn't care

Re: [arch-general] Source control on /etc

2012-02-23 Thread Taylor Hedberg
Alfredo Palhares, Thu 2012-02-23 @ 17:24:01+0100: > Excerpts from Matthew Monaco's message of Thu Feb 23 17:08:46 +0100 > 2012: > > What about permissions and ownership? These are pretty important for > > /etc. > What about those ? Git doesn't care about permissions, the only > permissions that git

Re: [arch-general] Source control on /etc

2012-02-23 Thread Alfredo Palhares
Excerpts from Matthew Monaco's message of Thu Feb 23 17:08:46 +0100 2012: > What about permissions and ownership? These are pretty important for /etc. What about those ? Git doesn't care about permissions, the only permissions that git stores is the executable bit. -- Regards, Alfredo Palhares

Re: [arch-general] Source control on /etc

2012-02-23 Thread Matthew Monaco
On 02/23/2012 12:48 AM, Alfredo Palhares wrote: > Hello Don, > > Excerpts from Don deJuan's message of Thu Feb 23 07:35:52 +0100 2012: >> What is considered the Arch way to have version control over the configs >> in /etc? I would like to be able to see at least a few changes back in >> my conf

Re: [arch-general] Scripting assistance

2012-02-23 Thread Tim Stella
On 02/23/12 at 10:04am, Alfredo Palhares wrote: > Hello Pete, > > > When i am at home i would like the laptop to mount my NAS drive on > > boot always connect via ETH cable never wiFi but out if i connect > > via cable or wirless do not try to mount NAS drive , My thoughts > > Would it be pos

Re: [arch-general] Scripting assistance

2012-02-23 Thread Genes MailLists
On 02/23/2012 03:25 AM, Jesse Juhani Jaara wrote: > Something like > > if `ip link show eth0 | grep -q 'state UP'`; then > you mount command hete > fi > > in /etc/rc.local maybe You could also use 'arp' to check for your NAS mac address on the interface before issuing the mount command. g

Re: [arch-general] tab completion is mucking up prompt spacing - started a week or so ago - any ideas?

2012-02-23 Thread Martti Kühne
On Wed, Feb 22, 2012 at 06:09:24PM -0600, David C. Rankin wrote: > Lately on some tab completions using ~/, I've noticed that the > tab-completion > automatically fills in /home/david for ~/ and on other operations it does not. > It seems in some cases that tab completion tries to automatically

Re: [arch-general] Source control on /etc

2012-02-23 Thread Alfredo Palhares
Excerpts from solsTiCe d'Hiver's message of Thu Feb 23 11:55:11 +0100 2012: > "git config core.worktree /etc" is not really needed in your setup True. > I would like to suggest to use alias instead of env var. This way you > can work easily on multiple git repo in the same shell > > for example >

Re: [arch-general] Source control on /etc

2012-02-23 Thread solsTiCe d'Hiver
Le jeudi 23 février 2012 à 08:48 +0100, Alfredo Palhares a écrit : > Hello Don, > You create a bare repo: > $ mkdir etc.git > $ git init --bare > Now lets congigure it to chek the files elsewhere: > $ git config core.worktree /etc > And export these vars to you current session > $ export GIT_DIR

Re: [arch-general] Ways to power on broadcom bcm4311 wireless adaptor without booting into windows

2012-02-23 Thread mercator
Hi Vladimir, In fact I've tried 'lspci -vnn | grep 14e4' before, and this is the output, JUST one row: 10:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02) If I just type 'lspci' I will not find anything related to wireless c

Re: [arch-general] Scripting assistance

2012-02-23 Thread Alfredo Palhares
Hello Pete, > When i am at home i would like the laptop to mount my NAS drive on > boot always connect via ETH cable never wiFi but out if i connect > via cable or wirless do not try to mount NAS drive , My thoughts > Would it be possible to script it so that it checks for an specific MAC > a

Re: [arch-general] Scripting assistance

2012-02-23 Thread Jesse Juhani Jaara
Something like if `ip link show eth0 | grep -q 'state UP'`; then you mount command hete fi in /etc/rc.local maybe signature.asc Description: This is a digitally signed message part.

[arch-general] Scripting assistance

2012-02-23 Thread pete
Hi .. Some i would like to do with the laptop when at home but not out and about When i am at home i would like the laptop to mount my NAS drive on boot always connect via ETH cable never wiFi but out if i connect via cable or wirless do not try to mount NAS drive , My thoughts Would it be

Re: [arch-general] apache 2.4

2012-02-23 Thread Jelle van der Waa
On Wed, Feb 22, 2012 at 10:02 PM, Genes MailLists wrote: > > Hi > Does anyone know what the plans might be for apache 2.4 in testing? > > Thanks! > > gene > When it's ready -- Jelle van der Waa

Re: [arch-general] Source control on /etc

2012-02-23 Thread Don deJuan
On 02/22/2012 11:48 PM, Alfredo Palhares wrote: Hello Don, Excerpts from Don deJuan's message of Thu Feb 23 07:35:52 +0100 2012: What is considered the Arch way to have version control over the configs in /etc? I would like to be able to see at least a few changes back in my config history at t

Re: [arch-general] Ways to power on broadcom bcm4311 wireless adaptor without booting into windows

2012-02-23 Thread Vladimir Lomov
Hello, ** mercator [2012-02-22 23:35:26 +0800]: > Hi guys, > After switching from Linux Mint to Archlinux, my wireless card refused to > show up in lspci. It DOES worked fine under Linux Mint, but Below is > my output of 'lspci -vnn |grep Broadcom' : > 10:00.0 Ethernet controller: Broadcom