Re: [arch-general] archwiki posfix/razor register razor fails

2016-10-17 Thread David C. Rankin
On 10/18/2016 12:42 AM, David C. Rankin wrote: > $ razor-admin -home=/etc/mail/spamassassin/razor -register > Can't locate Razor2/Client/Agent.pm: lib/Razor2/Client/Agent.pm: Permission > denied at /usr/bin/vendor_perl/razor-admin line 15. > BEGIN failed--compilation aborted at /usr/bin/vendor_p

Re: [arch-general] fluxbox/xscreensaver xterm unresponsive upon screensaver cancel?

2016-10-17 Thread David C. Rankin
On 10/11/2016 01:24 AM, Leonid Isaev wrote: > FWIW, a quick test in a VM doesn't show this behavior. What happens if you run > xscreensaver-command -lock from an xterm? I can lock and unlock after several minutes and all is fine. It's when it has been locked for a day or so with the xterm running

[arch-general] archwiki posfix/razor register razor fails

2016-10-17 Thread David C. Rankin
All, Does https://wiki.archlinux.org/index.php/Postfix#Using_Razor need to be updated? Attempting to register razor fails at: # mkdir /etc/mail/spamassassin/razor # chown spamd:spamd /etc/mail/spamassassin/razor # sudo -u spamd -s $ razor-admin -home=/etc/mail/spamassassin/razor -register C

Re: [arch-general] system crashes when starting network connection

2016-10-17 Thread sivmu
Am 18.10.2016 um 00:53 schrieb Ralf Mardorf: > On Mon, 17 Oct 2016 23:50:14 +0200, sivmu wrote: >> The result of the trigger is a full system crash, showing the current >> screen. > >> I have no idea how to analyse the issue further. > > You didn't mention what WM or DE, what kind of network, w

Re: [arch-general] system crashes when starting network connection

2016-10-17 Thread Ralf Mardorf
On Mon, 17 Oct 2016 23:50:14 +0200, sivmu wrote: >The result of the trigger is a full system crash, showing the current >screen. >I have no idea how to analyse the issue further. You didn't mention what WM or DE, what kind of network, what tool to access the network and what graphics is used. A

[arch-general] system crashes when starting network connection

2016-10-17 Thread sivmu
Hello, recently I have come across a weird problem regarding full system crashes under certain conditions. It seems somewhat random but the trigger always includes starting a network connection after sometime with no network connectivity. The only applications that have triggered the issue unti

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Ralf Mardorf
On Mon, 17 Oct 2016 21:51:20 +0200, Merlin Büge wrote: >Here is it: http://www.halfgaar.net/backing-up-unix https://www.lesbonscomptes.com/pages/extattrs.html

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Ralf Mardorf
Ok, hard links aren't links anymore. [rocketmouse@archlinux ~]$ cd /tmp/ [rocketmouse@archlinux tmp]$ mkdir test [rocketmouse@archlinux tmp]$ echo hello > test/test.txt [rocketmouse@archlinux tmp]$ ln test/test.txt test/hardlink.txt [rocketmouse@archlinux tmp]$ ls -i test/ 2906732 hardlink.txt

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Ralf Mardorf
On Mon, 17 Oct 2016 22:24:39 +0200, Ralf Mardorf wrote: >On Mon, 17 Oct 2016 21:42:03 +0200, Merlin Büge wrote: >>Also cp -pr does not preserve links or xattrs for example. Maybe cp >>-ar would be more appropriate. > >Ok, actually I regularly backup to a tar archive and at least links are >preser

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Ralf Mardorf
On Mon, 17 Oct 2016 21:42:03 +0200, Merlin Büge wrote: >Also cp -pr does not preserve links or xattrs for example. Maybe cp >-ar would be more appropriate. Ok, actually I regularly backup to a tar archive and at least links are preserved. I seemingly missed to use the --xattrs switch, fortunately

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Merlin Büge
Sorry for the spam. > If you are willing to spend some time reading, here is a good article which > mentions some pitfalls regarding backups. Here is it: http://www.halfgaar.net/backing-up-unix Should go to bed now... Regards, mearon Merlin Büge

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Merlin Büge
Typo fix: > -xattrs > -hard-links > -acls Should be of course: --xattrs --hard-links --acls Regards, mearon -- Merlin Büge

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Merlin Büge
On Mon, 17 Oct 2016 21:20:53 +0200 Ralf Mardorf wrote: > Begin forwarded message: > > Date: Mon, 17 Oct 2016 21:12:51 +0200 > From: Ralf Mardorf > To: Arch general > Subject: Re: [arch-general] Full system backup with rsync > > > On Mon, 17 Oct 2016 21:11:23 +0200, Ralf Mardorf wrote: > >I w

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Ralf Mardorf
On Mon, 17 Oct 2016 21:11:23 +0200, Ralf Mardorf wrote: >you could simply > >sudo systemd-nspawn -bqD /mnt/ > >from the existing install and run the commands required for your >bootloader of choice, assuming this grub auto thingy does generate UUID >based entries and your fstab (if you still should

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Ralf Mardorf
Begin forwarded message: Date: Mon, 17 Oct 2016 21:12:51 +0200 From: Ralf Mardorf To: Arch general Subject: Re: [arch-general] Full system backup with rsync On Mon, 17 Oct 2016 21:11:23 +0200, Ralf Mardorf wrote: >I would simply sudo cp -r everything. Oops, sudo cp -pr

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Ralf Mardorf
On Mon, 17 Oct 2016 21:11:23 +0200, Ralf Mardorf wrote: >you could simply > >sudo systemd-nspawn -bqD /mnt/ > >from the existing install and run the commands required for your >bootloader of choice, assuming this grub auto thingy does generate UUID >based entries and your fstab (if you still should

Re: [arch-general] Full system backup with rsync

2016-10-17 Thread Ralf Mardorf
On Mon, 17 Oct 2016 19:29:13 +0100, niya levi via arch-general wrote: >hi everyone > >i am trying to replace my laptop drive with another, > >to clone the laptop drive to a second drive i followed 'Full system >backup with rsync' from the wiki > >1 create a partition table and filesystem on the sec

[arch-general] Full system backup with rsync

2016-10-17 Thread niya levi via arch-general
hi everyone i am trying to replace my laptop drive with another, to clone the laptop drive to a second drive i followed 'Full system backup with rsync' from the wiki 1 create a partition table and filesystem on the second drive 2 mount the drive to /mnt 3 rsync -aAXv --exclude={"/dev/*","/proc