Re: [gentoo-user] alternate mta's

2013-05-05 Thread Alan McKinnon
On 04/05/2013 22:17, Tanstaafl wrote: On 2013-05-04 3:27 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On 04/05/2013 18:52, Tanstaafl wrote: Ok, I have msmpt installed and working just fine. Now, all of a sudden, emerge -pvuDN world wants to install mailx. equery depends mailx says

Re: [gentoo-user] alternate mta's

2013-05-05 Thread Marc Joliet
Am Sat, 04 May 2013 18:15:20 -0400 schrieb Tanstaafl tansta...@libertytrek.org: On 2013-05-04 6:01 PM, Marc Joliet mar...@gmx.de wrote: I have both postfix and mailx. You'll notice that the category of mailx is mail-client and not mail-mta (or net-mail, as you wrote). mail-client/mailx is

SOLVED - Re: [gentoo-user] alternate mta's

2013-05-05 Thread Tanstaafl
On 2013-05-04 7:46 PM, Thanasis thana...@asyr.hopto.org wrote: on 05/05/2013 01:15 AM Tanstaafl wrote the following: Oh... ok, well, now I'm just wondering why it decided to install it all of a sudden... mail-client/mailx : The /bin/mail program, which is used to send mail via shell scripts

Re: [gentoo-user] alternate mta's

2013-05-05 Thread Tanstaafl
On 2013-05-05 5:23 AM, Alan McKinnon alan.mckin...@gmail.com wrote: All you seem to be dealing with is what looks like a incomplete list of providers for virtual/mailx. Portage won't consider msmtp as satisfying that need as the ebuild for virtual/mailx does not list msmtp. Your options: -

[gentoo-user] Recover on SSD

2013-05-05 Thread Randolph Maaßen
Hi, I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel. for some purpose I needed several Partitions so my base system was lying on sda10, on an LVM-PV. Today my Windows refused to start and during recovery its diskpart must have deleted the information about the 10th

Re: [gentoo-user] alternate mta's

2013-05-05 Thread Todd Goodman
* Tanstaafl tansta...@libertytrek.org [130504 16:18]: On 2013-05-04 3:27 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On 04/05/2013 18:52, Tanstaafl wrote: Ok, I have msmpt installed and working just fine. Now, all of a sudden, emerge -pvuDN world wants to install mailx. equery

Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Alan McKinnon
On 05/05/2013 16:44, Randolph Maaßen wrote: Hi, I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel. for some purpose I needed several Partitions so my base system was lying on sda10, on an LVM-PV. Today my Windows refused to start and during recovery its diskpart must

Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Volker Armin Hemmann
Am 05.05.2013 16:44, schrieb Randolph Maaßen: Hi, I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel. for some purpose I needed several Partitions so my base system was lying on sda10, on an LVM-PV. Today my Windows refused to start and during recovery its diskpart must

Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Hinnerk van Bruinehsen
On Sun, May 05, 2013 at 02:44:11PM +, Randolph Maaßen wrote: Hi, I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel. for some purpose I needed several Partitions so my base system was lying on sda10, on an LVM-PV. Today my Windows refused to start and during recovery

[gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Tanstaafl
Ok, another little thing... Is there a simple way to use date/time variables in cronjobs? Or do I need to use a bash script for this? I prefer simple, and just using the variables directly in the cron command would be easier if it works, so figured I'd ask first... I'm trying to schedule a

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Mick
On Sunday 05 May 2013 17:56:33 Tanstaafl wrote: Ok, another little thing... Is there a simple way to use date/time variables in cronjobs? Or do I need to use a bash script for this? I prefer simple, and just using the variables directly in the cron command would be easier if it works, so

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Tanstaafl
On 2013-05-05 1:07 PM, Mick michaelkintz...@gmail.com wrote: On Sunday 05 May 2013 17:56:33 Tanstaafl wrote: Ok, another little thing... Is there a simple way to use date/time variables in cronjobs? Or do I need to use a bash script for this? I prefer simple, and just using the variables

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Alan McKinnon
On 05/05/2013 18:56, Tanstaafl wrote: Ok, another little thing... Is there a simple way to use date/time variables in cronjobs? Or do I need to use a bash script for this? I prefer simple, and just using the variables directly in the cron command would be easier if it works, so figured I'd

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Tanstaafl
Ok, some of those variables were wrong (copy pasted from my first brain-dead attempt)... I now have a rudimentary bash script with contents: #!/bin/bash BACKUP_DIR=/home/user/mypg_backups PGUSER=superuser PGtt=`date '+%H:%M'` PGhr=`date '+%H'` PGdd=`date '+%a'` PGmm=`date '+%b'` PGyy=`date

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Neil Bothwick
On Sun, 05 May 2013 14:07:50 -0400, Tanstaafl wrote: /home/user/mypg_backups/2013/May/Sun/pg_all-13:54.gz: No such file or directory So, it is expanding the variables properly, but apparently won't automatically create the directories? Is there some kind of flag I can add to the command

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Tanstaafl
On 2013-05-05 2:18 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 05 May 2013 14:07:50 -0400, Tanstaafl wrote: /home/user/mypg_backups/2013/May/Sun/pg_all-13:54.gz: No such file or directory So, it is expanding the variables properly, but apparently won't automatically create the

Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Randolph Maaßen
2013/5/5 Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de On Sun, May 05, 2013 at 02:44:11PM +, Randolph Maaßen wrote: Hi, I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel. for some purpose I needed several Partitions so my base system was lying on sda10,

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Todd Goodman
* Tanstaafl tansta...@libertytrek.org [130505 14:32]: On 2013-05-05 2:18 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 05 May 2013 14:07:50 -0400, Tanstaafl wrote: /home/user/mypg_backups/2013/May/Sun/pg_all-13:54.gz: No such file or directory So, it is expanding the variables

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Alan McKinnon
On 05/05/2013 20:31, Tanstaafl wrote: On 2013-05-05 2:18 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 05 May 2013 14:07:50 -0400, Tanstaafl wrote: /home/user/mypg_backups/2013/May/Sun/pg_all-13:54.gz: No such file or directory So, it is expanding the variables properly, but apparently

[gentoo-user] Re: Delays while building Libre Office.

2013-05-05 Thread walt
On 05/02/2013 09:27 AM, Alan Mackenzie wrote: Hi, Gentoo. I've just built libreoffice-3.6.6.2 and it took 2 hours 10 minutes on my 2.6 GHz quad core Athlon 2. It used to take about an hour. Watching the build, it became evident that the first 50 minutes or so was taken up by several

Re: [gentoo-user] Delays while building Libre Office.

2013-05-05 Thread Alan Mackenzie
Hi, Florian. On Sat, May 04, 2013 at 12:12:51PM +0200, Florian Philipp wrote: Am 02.05.2013 18:27, schrieb Alan Mackenzie: Hi, Gentoo. I've just built libreoffice-3.6.6.2 and it took 2 hours 10 minutes on my 2.6 GHz quad core Athlon 2. It used to take about an hour. Watching the

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Neil Bothwick
On Sun, 5 May 2013 16:06:45 -0400, Todd Goodman wrote: mkdir -p $BACKUP_DIR/$PGyy/$PGmm/$PGdd /usr/bin/pg_dumpall -U $PGUSER -o | \ gzip $BACKUP_DIR/$PGyy/$PGmm/$PGdd/pg_all-$PGtt.gz You could have it check first and only do the mkdir if the directory didn't already exist: [[ -d

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Tanstaafl
On 2013-05-05 5:25 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 5 May 2013 16:06:45 -0400, Todd Goodman wrote: mkdir -p $BACKUP_DIR/$PGyy/$PGmm/$PGdd /usr/bin/pg_dumpall -U $PGUSER -o | \ gzip $BACKUP_DIR/$PGyy/$PGmm/$PGdd/pg_all-$PGtt.gz You could have it check first and only

[gentoo-user] conky crashes with JSON output.

2013-05-05 Thread Kevin Thompson
Hello, everyone. I'm experiencing some problems with conky that seems to be Gentoo-specific. All of my friends running other distributions are able to run my configuration file just fine. Here's the output from conky: 7f2af50f5000-7f2af52f4000 ---p 0012 08:02 1469347

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Tanstaafl
Last question... In order to keep only a certain number of backups, what would be the easiest and SAFEST way to delete the older ones? For example, I want to keep 17 hourlies, and 30 nightlies, so I have two cron jobs set up, the hourly, and the nightly. Each backs up to a separate dir.

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Volker Armin Hemmann
Am 06.05.2013 01:21, schrieb Tanstaafl: Last question... In order to keep only a certain number of backups, what would be the easiest and SAFEST way to delete the older ones? For example, I want to keep 17 hourlies, and 30 nightlies, so I have two cron jobs set up, the hourly, and the

Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Randolph Maaßen
2013/5/5 Randolph Maaßen r.maasse...@gmail.com 2013/5/5 Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de On Sun, May 05, 2013 at 02:44:11PM +, Randolph Maaßen wrote: Hi, I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel. for some purpose I needed several

Re: [gentoo-user] Using date/time variables in cronjobs?

2013-05-05 Thread Pandu Poluan
On May 6, 2013 4:57 AM, Tanstaafl tansta...@libertytrek.org wrote: On 2013-05-05 5:25 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 5 May 2013 16:06:45 -0400, Todd Goodman wrote: mkdir -p $BACKUP_DIR/$PGyy/$PGmm/$PGdd /usr/bin/pg_dumpall -U $PGUSER -o | \ gzip

Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Dale
Randolph Maaßen wrote: I'm so damn lucky I dd'ed the SSD onto an external drive and worked at first on the image with qemu. A simple recreation of the partition brought the system back to live on the image. I tried the same on the real machine and Gentoo works again. -- Mit

Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Gregory Shearman
In linux.gentoo.user, Dale wrote: Randolph Maaßen wrote: I'm so damn lucky I dd'ed the SSD onto an external drive and worked at first on the image with qemu. A simple recreation of the partition brought the system back to live on the image. I tried the same on the real machine and Gentoo

Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Dale
Gregory Shearman wrote: In linux.gentoo.user, Dale wrote: Randolph Maaßen wrote: I'm so damn lucky I dd'ed the SSD onto an external drive and worked at first on the image with qemu. A simple recreation of the partition brought the system back to live on the image. I tried the same on the