Re: [gentoo-user] --depclean and sys-devel/gcc

2018-08-09 Thread Michael Orlitzky
On 08/09/2018 10:49 PM, allan gottlieb wrote:
> I run a stable system so am surprised to see that eix reports
> I have gcc version ~7.3.0-r3 installed.  (gcc-config -l reports
> that stable x86_64-pc-linux-gnu-6.4.0 is the active compiler)
> 
> More surprising is that
>emerge --depclean --pretend sys-devel/gcc
> wants to remove everything *except* the testing/nonstable 7.3.0-r3
> 

gcc-7.3.0-r3 is stable, you probably updated your ::gentoo repository
without updating eix. Run eix-update and check again.



Re: [gentoo-user] Backup questions

2018-08-09 Thread Bill Kenworthy
On 10/08/18 10:46, Dale wrote:
> Wols Lists wrote:
>> On 08/08/18 04:43, Dale wrote:
>>> Howdy,
>>>
>>> I just bought two external drive enclosures.  One is sort of a spare but
>>> 

>>> It has power.  I'm not sure where I'd put a fridge, even a tiny one.  I
>>> wish it was twice as big as it is.  Of course, I'd fill that up in no
>>> time too.  Isn't that the way it works?  ROFL 
>>>
>>> I'm getting interesting ideas tho.  Pondering that backup software
>>> option too.  It has its pluses.  ;-)
>>>
>>> Thanks.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>>>

I would think the cost of setting it up and running a fridge would add
up to hard drive cost over a couple of years anyway (at least for what
we pay in Western Australia :)  In a humid environment you would need to
be very careful of condensation, and a sealed system will still need a
way to transfer the heat as if the cooling fails, it will cook itself
very fast

I have the fans set to spin up faster at 35c and above.  Without the
fans they sit around 45c on a typical day and use.  I have found that in
an enclosure its just as important to have good conduction of heat
(disks mounted to the metal frame) and clear the heated air out of the
enclosure as flowing air over the disks.

Here it gets to 40c+ (>100F) and sometimes humid (not far from the
ocean).  Cooling is fans only, and I have 4 WD Green, 2 WD red and two
seagates (all 2G, in 2x btrfs raid 10) and a few intel and samsung SSD's
(for bcache and system disks) that run ~16 hrs a day with no failures
for the last few years (~10).


Sometimes its better to play the odds.

BillK





[gentoo-user] --depclean and sys-devel/gcc

2018-08-09 Thread allan gottlieb
I run a stable system so am surprised to see that eix reports
I have gcc version ~7.3.0-r3 installed.  (gcc-config -l reports
that stable x86_64-pc-linux-gnu-6.4.0 is the active compiler)

More surprising is that
   emerge --depclean --pretend sys-devel/gcc
wants to remove everything *except* the testing/nonstable 7.3.0-r3

grep -r gcc /etc/portage
has no hits.

@system and several installed packages require gcc but all would be
satisfied by stable 6.4.0-r1 my active compiler

# emerge --depclean --verbose --pretend sys-devel/gcc

Calculating dependencies... done!
  sys-devel/gcc-7.3.0-r3 pulled in by:
@system requires sys-devel/gcc
dev-java/icedtea-bin-3.6.0 requires >=sys-devel/gcc-5.4.0
net-libs/webkit-gtk-2.20.4 requires >=sys-devel/gcc-4.9
sys-devel/llvm-4.0.1-r1 requires >=sys-devel/gcc-3.0
sys-devel/llvm-5.0.2 requires >=sys-devel/gcc-3.0
sys-devel/llvm-6.0.1 requires >=sys-devel/gcc-3.0
sys-libs/glibc-2.26-r7 requires >=sys-devel/gcc-4.9

>>> These are the packages that would be unmerged:

 sys-devel/gcc
selected: 4.9.3 4.9.4 5.4.0-r3 6.4.0-r1 
   protected: none 
 omitted: 7.3.0-r3 

Am I supposed to
   emerge --unmerge =sys-devel/gcc-7.3.0-r3
?

thanks in advance,
allan

PS I moved some months ago to the 17.0 profile and did the
make --emptytree @world




Re: [gentoo-user] Backup questions

2018-08-09 Thread Dale
Wols Lists wrote:
> On 08/08/18 04:43, Dale wrote:
>> Howdy,
>>
>> I just bought two external drive enclosures.  One is sort of a spare but
>> I do plan to do some backups on it, mostly pictures from my camera.  In
>> one of the enclosures I put a single 6TB drive that I found on ebay.  It
>> has about 7,000 hours on it so it should have some life left yet and it
>> passed the smartctl tests.  It is USB but it transfers fast.  Now to
>> some questions.  I use rsync.  Command looks something like rsync -auv
>> /source/ /destination/.  If I backup the config files in my home
>> directory, should I also include the --delete option?  If after a
>> upgrade for example a config file is deleted, because it is no longer
>> needed, or renamed, should the old file be removed or is there a reason
>> to keep them on the backups?  Adding the --delete option isn't a problem
>> command wise BUT I wonder if it can cause a problem at some point. 
>> Thoughts on that.  I plan to use the --delete option for videos since if
>> I deleted one, it is likely broken or something.  Biggest question is
>> about config files.
>>
> May I suggest using btrfs for your backup drive? One MAJOR caveat - DO
> NOT let the drive fill up - a combination of snapshots and drive-full
> has been known (quite often) to trash the file system. But provided you
> make sure it doesn't go above about 80% you should be fine.
>
> You can add an option to rsync such that it will back up "in place". In
> other words, if only 1K is changed in a 1M file, it will overwrite that
> 1K. So when you back up, the procedure is to take a snapshot, then run
> rsync with both "in place" and "delete".
>
> This will give you the space economy of incremental backups, combined
> with the utility of full backups - each snapshot is a full backup as of
> that date, but each new snapshot only increases disk usage by the
> changes since the last. And you reclaim space by deleting old snapshots.
>

I did think about btrfs.  I've read a lot of threads on here about
people using it and it seems to have come a long ways and be pretty
stable.  Right now, I've got a lot going on and really don't have the
time to sit down and read up on it and how it works or what all it can
do.  In all honesty, if my system were to crash later when I don't have
so much going on, I'd like to move to btrfs for as much as possible of
my system.  I suspect /boot would still have to be ext2 or something
because of grub. 


>> On the second enclosure I currently have a 160GB drive.  It's big enough
>> for my camera pictures.  I would like to backup up my pics to it and
>> then put the drive somewhere besides in the house.  I have a couple
>> external buildings that would be safe as far as rain etc but they are
>> not cooled, even tho it gets close to 100F and humid, real humid, here. 
>> My question is this.  Is it safe to store a drive in that sort of
>> environment?  I could see the building getting close to outside temps
>> during the day.  I do put a heater in it to prevent freezing during the
>> winter.  I usually set the heat to 40F.  I'm hoping someone has some
>> real world experience on storing in this sort of environment and not
>> just a text book theory.  One reason I want to put them elsewhere, house
>> fire.  Even a huge power strike could cause problems if plugged in.  We
>> do get lightening strikes here.  Maybe not as many as some but our fair
>> share.  The 6TB and 3TB drive may join this one as well.
>>
> A drive that's shut down will take more mistreatment than one that is
> running. So no worries on that score. Plus heat causes far less problems
> than people think, although yes it's best avoided.
>
> Do your outbuildings have power? Do you have a fridge (or possibly
> freezer) out there, or could you find an excuse for one - a wine-store
> maybe :-) What you really want is some form of insulation that will
> prevent rapid fluctuations in temperature, and sticking your drives (in
> sealed bags) in a wine fridge would probably be near ideal. I had a
> cellar for my wine, and daily fluctuations were near nil even though
> there was a maybe 20C variation between summer and winter. That's what
> you want to aim for. Or maybe if you can dig a mini-cellar in one of
> your outbuildings :-)
>
> Cheers,
> Wol
>

I've read the labels in the past.  They can handle more when not powered
up so you are right there.  I was just curious if someone had real world
experience with such conditions.  The past several days it has been
pretty hot and humid here.  If I think about it, I'll try to go to the
building and take some temps and check the humidity.  I think I have a
humidity meter out there, it's with the temp meter I think.  I know in
the past I've seen it be over 90F in there.  For what is usually stored
in there, I don't worry about heat as much as I do cold.  Some things in
there can't freeze.  The drives are what makes me consider the heat.

I do have some foam coolers I could put them in.  I 

Re: [gentoo-user] Backup questions

2018-08-09 Thread Dale
Bill Kenworthy wrote:
> On 08/08/18 11:43, Dale wrote:
>> Howdy,
>>
>> Long story short that leads up to my questions, I paid off some debt. 
>>
> Hi Dale,
>
>     what you are talking about is not a real backup but a single copy of
> your data that may or may not be complete (the delete option you
> mention) at a single point in time - not quite as useful as a proper
> versioned backup.  Whatever your choice, also look at the restore
> procedure - very important.
>
>
> Have a look at Dirvish or borgbackup (both in portage) for what they can
> do.  Having a space efficient store at regular points of time is a
> lifesaver at times. To restore from dirvish its a copy from the selected
> tree.  With borg its either restore with a command, or mount it and copy
> the data out of the mount.
>
> http://dirvish.org/
>
> https://www.borgbackup.org/
>
> I moved from dirvish to borg 12 months ago and they are both excellent.
>
> BillK
>

It's a backup to me.  I may not be using backup software but if I lose
the original file, I have another copy that I can back up from.  Given
that I have two drives that can currently hold the files I don't want to
lose for sure, I have two backup copies.  Whether it is called a backup
or called a copy doesn't matter.  All that matters is that if my drive
should fail, my computer blows up, my house burns down or any number of
other possibilities, I can restore the files if needed.  Whether it is a
technical backup or a copy ends the same way.  Maybe calling it a copy
is better.  :-)  Maybe I'm to old school. lol 

I will look into those software options tho.  Right now I have the rsync
commands to backup a few directories in a script.  It's not fancy but
basically one copies my camera pics, one copies my videos and the last
one copies my email directory.  In all honesty, if I have those three
things, everything else can be reinstalled or be reconfigured.  I'm not
trying or even planning to copy/backup the OS itself.  If something
happened and I had to rebuild or redo my system, I'd do a fresh install
anyway.  Having the config files would be nice but only IF it wouldn't
cause more problems than it solves.  That was the reason for my question
about using --delete on config files.  I tend to backup/copy the files
in /etc until I reboot then I start a new set.  That way if I run into a
problem, I can either use the old file in whole or take parts of it
until I get whatever working again.  I haven't ran into that problem in
a really long time tho.  I can't recall the last time I do to be
honest.  It's been years, many years.  I'm not sure on the config files
in my home directory tho.  I know KDE does some weird things during some
major upgrades. 

As for restore, easy, rsync the files back over.  Even if the
permissions are messed up, I can fix that easy enough.  Other than that,
I'm not sure what other problem I could run into.  The biggest thing,
having a copy I can use if I lose the originals.  Also, with them being
plain copies, I can take the drive to a friend or family member and plug
the drive in to get to the videos, documents etc.  No special software
really needed.  Heck, for the videos, I could watch them straight from
the USB drive. 

Now to go check into those backup programs.  Borg.  Sounds Star Trekish
to me, or was that Star Wars.  ROFL 

Thanks much for the info. 

Dale

:-)  :-) 



Re: [gentoo-user] need files for older ebuild

2018-08-09 Thread John Covici
On Thu, 09 Aug 2018 18:02:40 -0400,
Jack wrote:
> 
> On 08/09/2018 04:57 AM, John Covici wrote:
> > Hi.  I need to compile gnome-control-center-3.24.3 as 24.4 will not
> > compile (filed a bug, but no response).  I have saved the old ebuild,
> > but it needs something in the files subdirectory and I don't have it
> > and it was deleted some time ago.  I am using git and I wonder if its
> > somehow obtainable from there or from some other location.  I need
> > this to resolve preserved-lib problem.
> > 
> > Thanks in advance for any suggestions.
> Since you are using git, you should just be able to checkout the
> commit prior to the one which removed the needed file(s).  "git
> log" should give you enough in formation to identify the target
> commit - find the commit which removed the file, then select the
> next older one, which is the next one in the log.
> 

This is what I was thinking, but I thought there might something on
the web which had this kind of stuff.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] need files for older ebuild

2018-08-09 Thread Jack

On 08/09/2018 04:57 AM, John Covici wrote:

Hi.  I need to compile gnome-control-center-3.24.3 as 24.4 will not
compile (filed a bug, but no response).  I have saved the old ebuild,
but it needs something in the files subdirectory and I don't have it
and it was deleted some time ago.  I am using git and I wonder if its
somehow obtainable from there or from some other location.  I need
this to resolve preserved-lib problem.

Thanks in advance for any suggestions.
Since you are using git, you should just be able to checkout the commit 
prior to the one which removed the needed file(s).  "git log" should 
give you enough in formation to identify the target commit - find the 
commit which removed the file, then select the next older one, which is 
the next one in the log.




Re: [gentoo-user] The memory gremlin

2018-08-09 Thread Bill Kenworthy
On 10/08/18 02:00, Mick wrote:
> On Thursday, 9 August 2018 17:32:33 BST Alan Grimes wrote:
>> [resend, list was down...]
>>
>> I've been meditating on the memory gremlin on my system...
>>
>> The ram is Corsair, 3000mhz. (never had any problem with their sticks in
>> any system ever.)
>>
>> Motherboard is an early release mini-ATX B350 board from Asus...
>>
>> Chip is a R7 1800X
>>
>> The pattern is: all cells test good on memcheck but occasionally there
>> is a bit error somewhere. I think it is a signaling issue between the
>> ram module and the memory interface in the cpu.
>>
>> After meditating on it, I don't think there's anything I can do about it
>> given the STUPID settings the BIOS goes to... The problem with the BIOS
>> is that it considers only what the RAM tells it, it does not take into
>> account that the CPU is rated at 2667mhz... Well there's the answer,
>> this is AMD's first product with DDR4 support, and it's not super
>> awesome so simply acknowledging the limitation there, and setting the
>> memory interface to 2666 (which is what the BIOS offers), it won't be
>> super fast but it damn well should work. =|
> Keep an eye on MoBo firmware updates, Asus are usually OK in providing 
> updates 
> to stabilise their chipsets, as long as the bugs are fixable in software.
>
> Also, if the BIOS offers DRAM timing settings increase the latency a notch 
> and 
> see if that helps.
>
If you can locate it to a location range, you can use a kernel argument
to exclude that area of memory.  The hard part is to map the range.  Had
one system running that way for years.

BillK





Re: [gentoo-user] The memory gremlin

2018-08-09 Thread Mick
On Thursday, 9 August 2018 17:32:33 BST Alan Grimes wrote:
> [resend, list was down...]
> 
> I've been meditating on the memory gremlin on my system...
> 
> The ram is Corsair, 3000mhz. (never had any problem with their sticks in
> any system ever.)
> 
> Motherboard is an early release mini-ATX B350 board from Asus...
> 
> Chip is a R7 1800X
> 
> The pattern is: all cells test good on memcheck but occasionally there
> is a bit error somewhere. I think it is a signaling issue between the
> ram module and the memory interface in the cpu.
> 
> After meditating on it, I don't think there's anything I can do about it
> given the STUPID settings the BIOS goes to... The problem with the BIOS
> is that it considers only what the RAM tells it, it does not take into
> account that the CPU is rated at 2667mhz... Well there's the answer,
> this is AMD's first product with DDR4 support, and it's not super
> awesome so simply acknowledging the limitation there, and setting the
> memory interface to 2666 (which is what the BIOS offers), it won't be
> super fast but it damn well should work. =|

Keep an eye on MoBo firmware updates, Asus are usually OK in providing updates 
to stabilise their chipsets, as long as the bugs are fixable in software.

Also, if the BIOS offers DRAM timing settings increase the latency a notch and 
see if that helps.

-- 
Regards,
Mick

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


Re: [gentoo-user] emerge completly a package but dont install it?

2018-08-09 Thread Rich Freeman
On Thu, Aug 9, 2018 at 1:28 PM  wrote:
>
> On 08/09 09:48, Mateusz Lenik wrote:
> > Turns out emerge has this nice flag (excerpt from emerge(1) manpage):
> >
> > --buildpkgonly, -B
> >   Creates binary packages for all ebuilds processed without
> > actually merging the packages.  This comes with the caveat that all
> > build-time dependencies must already be emerged on the system.
> >
>
> thanks a lot for the info...I hadn't thought it would be THAT easy! :)

I stole this script from somebody else on one of the lists.  Stick it
in your crontab after a sync and you'll find your daily updates go a
lot faster:

https://github.com/rich0/rich0-gentoo-scripts/blob/master/buildupdates

Obviously set the flags at the start of the script to suit your taste.

It basically uses this flag to build binary packages of anything it
can (can only do one level of deps obviously).  When you look at your
packages to update, and see chromium in there, and it takes 30 seconds
to install because it was built overnight, you'll thank whoever wrote
it...

-- 
Rich



Re: [gentoo-user] emerge completly a package but dont install it?

2018-08-09 Thread tuxic
On 08/09 09:48, Mateusz Lenik wrote:
> Turns out emerge has this nice flag (excerpt from emerge(1) manpage):
> 
> --buildpkgonly, -B
>   Creates binary packages for all ebuilds processed without
> actually merging the packages.  This comes with the caveat that all
> build-time dependencies must already be emerged on the system.
> 
> Best,
> mlen
> 
> On Thu, Aug 9, 2018 at 9:29 AM Andreas Fink  wrote:
> 
> > On Wed, 8 Aug 2018 19:12:37 +0200
> > tu...@posteo.de wrote:
> >
> > > Hi,
> > >
> > > is it possible to go through process of installing a not-installed
> > > package from source to executable ... without actually install the
> > > package - so the system as such is not touched?
> > >
> > > Cheers
> > > Meino
> > >
> > >
> > >
> >
> > You can use ebuild for that. The commands to build without merging
> > would be
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild install
> >
> > This will download, unpack, build, and install the package into your
> > temporary portage build directory (usually /var/tmp/portage). It will
> > not resolve any dependencies though, this has to be done beforehand.
> >
> > The temporary install directory is called "image" in the temporary
> > directory.
> >
> > You can also go through the whole process step by step,
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild unpack
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild compile
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild install
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild qmerge
> > ebuild /usr/portage/my-package/my-ebuild-file.ebuild clean
> >
> > the qmerge command will install it into your system, so this is the
> > step, that you do not want to execute ;)
> >
> > Cheers
> > Andreas
> >
> >

Hi,

thanks a lot for the info...I hadn't thought it would be THAT easy! :)

Cheers!
Meino




Re: [gentoo-user] Backup questions

2018-08-09 Thread Wols Lists
On 08/08/18 04:43, Dale wrote:
> Howdy,
> 

> 
> I just bought two external drive enclosures.  One is sort of a spare but
> I do plan to do some backups on it, mostly pictures from my camera.  In
> one of the enclosures I put a single 6TB drive that I found on ebay.  It
> has about 7,000 hours on it so it should have some life left yet and it
> passed the smartctl tests.  It is USB but it transfers fast.  Now to
> some questions.  I use rsync.  Command looks something like rsync -auv
> /source/ /destination/.  If I backup the config files in my home
> directory, should I also include the --delete option?  If after a
> upgrade for example a config file is deleted, because it is no longer
> needed, or renamed, should the old file be removed or is there a reason
> to keep them on the backups?  Adding the --delete option isn't a problem
> command wise BUT I wonder if it can cause a problem at some point. 
> Thoughts on that.  I plan to use the --delete option for videos since if
> I deleted one, it is likely broken or something.  Biggest question is
> about config files.
> 
May I suggest using btrfs for your backup drive? One MAJOR caveat - DO
NOT let the drive fill up - a combination of snapshots and drive-full
has been known (quite often) to trash the file system. But provided you
make sure it doesn't go above about 80% you should be fine.

You can add an option to rsync such that it will back up "in place". In
other words, if only 1K is changed in a 1M file, it will overwrite that
1K. So when you back up, the procedure is to take a snapshot, then run
rsync with both "in place" and "delete".

This will give you the space economy of incremental backups, combined
with the utility of full backups - each snapshot is a full backup as of
that date, but each new snapshot only increases disk usage by the
changes since the last. And you reclaim space by deleting old snapshots.

> On the second enclosure I currently have a 160GB drive.  It's big enough
> for my camera pictures.  I would like to backup up my pics to it and
> then put the drive somewhere besides in the house.  I have a couple
> external buildings that would be safe as far as rain etc but they are
> not cooled, even tho it gets close to 100F and humid, real humid, here. 
> My question is this.  Is it safe to store a drive in that sort of
> environment?  I could see the building getting close to outside temps
> during the day.  I do put a heater in it to prevent freezing during the
> winter.  I usually set the heat to 40F.  I'm hoping someone has some
> real world experience on storing in this sort of environment and not
> just a text book theory.  One reason I want to put them elsewhere, house
> fire.  Even a huge power strike could cause problems if plugged in.  We
> do get lightening strikes here.  Maybe not as many as some but our fair
> share.  The 6TB and 3TB drive may join this one as well.
> 
A drive that's shut down will take more mistreatment than one that is
running. So no worries on that score. Plus heat causes far less problems
than people think, although yes it's best avoided.

Do your outbuildings have power? Do you have a fridge (or possibly
freezer) out there, or could you find an excuse for one - a wine-store
maybe :-) What you really want is some form of insulation that will
prevent rapid fluctuations in temperature, and sticking your drives (in
sealed bags) in a wine fridge would probably be near ideal. I had a
cellar for my wine, and daily fluctuations were near nil even though
there was a maybe 20C variation between summer and winter. That's what
you want to aim for. Or maybe if you can dig a mini-cellar in one of
your outbuildings :-)

Cheers,
Wol




[gentoo-user] The memory gremlin

2018-08-09 Thread Alan Grimes
[resend, list was down...]

I've been meditating on the memory gremlin on my system...

The ram is Corsair, 3000mhz. (never had any problem with their sticks in
any system ever.)

Motherboard is an early release mini-ATX B350 board from Asus...

Chip is a R7 1800X

The pattern is: all cells test good on memcheck but occasionally there
is a bit error somewhere. I think it is a signaling issue between the
ram module and the memory interface in the cpu.

After meditating on it, I don't think there's anything I can do about it
given the STUPID settings the BIOS goes to... The problem with the BIOS
is that it considers only what the RAM tells it, it does not take into
account that the CPU is rated at 2667mhz... Well there's the answer,
this is AMD's first product with DDR4 support, and it's not super
awesome so simply acknowledging the limitation there, and setting the
memory interface to 2666 (which is what the BIOS offers), it won't be
super fast but it damn well should work. =|

-- 
Please report bounces from this address to a...@numentics.com

Powers are not rights.




Re: [gentoo-user] Backup questions

2018-08-09 Thread Mick
On Thursday, 9 August 2018 09:18:43 BST Bill Kenworthy wrote:
> On 08/08/18 11:43, Dale wrote:
> > Howdy,
> > 
> > Long story short that leads up to my questions, I paid off some debt. 
> 
> Hi Dale,
> 
> what you are talking about is not a real backup but a single copy of
> your data that may or may not be complete (the delete option you
> mention) at a single point in time - not quite as useful as a proper
> versioned backup.  Whatever your choice, also look at the restore
> procedure - very important.

Well, a static mirror is a full backup at that point in time.  If the backed 
up data changes little over time, it is a valid backup, which can prove its 
worth if/when the original drive dies, or files are deleted accidentally on 
the original.

On the points Dale raised:

The --delete option will remove from the destination any files which no longer 
exist on the source.  So if you delete photo-1 on the source and then run 
rsync, photo-1 *will* be deleted from the full back up, to mirror what is 
currently available on the source directory.

Here is where incremental/differential backup strategies can be of use, in 
case some time in the relatively near future you change your mind and wish you 
never had deleted that old photo-1.  The same may apply to user config files, 
if you stop using an application, manually clean/delete its config files from 
your home and rsync --delete thereafter.  If in the near future you review 
your position and decide you wanted that application after all and the 2 weeks 
you had spent configuring it would be of use again, with the --delete option 
your config files will be gone from the backup.  So, use --delete judiciously.

rsync can on its own provide you with incremental and differential backups, 
using hard links to the full backup directory, so as to avoid duplication and 
minimise storage space usage.  This means that incremental backups take only a 
fraction of the space and additional disks or enclosures may be redundant.  
Take a look at the --backup, --backup-dir, and --link-dest, options.

As others have posted there are a number of applications which use rsync as a 
back end and have scripted with config files its options.  There's also quite 
a number of bash scripts on the interwebs offering a starting point if you 
prefer to hack your own.

With regards to heat and humidity I suggest you take a look at the 
manufacturer's specifications, both for the enclosure and for the drives.  
Invariably environmental thresholds are printed on labels on the devices 
themselves, or you could google using the part numbers off them.

HTH.
-- 
Regards,
Mick

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


Re: [gentoo-user] libmysqlclient.so segfault

2018-08-09 Thread Daniel Frey
On 08/09/18 01:26, John Covici wrote:
> 
> I had to re-emerge dev-perl/DBD-mysql and things now work again.  I am
> using mysql, so I hope this works for you.
> 

Thanks, this fixed it.

Dan



Re: [gentoo-user] Thunderbird 60

2018-08-09 Thread james
On 08/09/18 07:37, Adam Carter wrote:
> Anyone early tested Thunderbird-60?
> 
> 
> Yes, the mozilla overlay has it. Works.


Is this the access you refer to?


https://gitweb.gentoo.org/proj/mozilla.git



Re: [gentoo-user] Thunderbird 60

2018-08-09 Thread Adam Carter
>
> Anyone early tested Thunderbird-60?
>

Yes, the mozilla overlay has it. Works.


[gentoo-user] need files for older ebuild

2018-08-09 Thread John Covici
Hi.  I need to compile gnome-control-center-3.24.3 as 24.4 will not
compile (filed a bug, but no response).  I have saved the old ebuild,
but it needs something in the files subdirectory and I don't have it
and it was deleted some time ago.  I am using git and I wonder if its
somehow obtainable from there or from some other location.  I need
this to resolve preserved-lib problem.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Backup questions

2018-08-09 Thread zless
În ziua de joi, 9 august 2018, la 11:37:38 EEST, Neil Bothwick a scris:
> I agree with all of this and I would also add Duplicity as a possible
> candidate, although not quite as simple to use as BorgBackup (I haven't
> tried Dirvish) I usually end up putting a wrapper script around such tasks
> anyway.

I've been using Duplicity in production for a few years.
I find its features quite better than borgbackup.

However, it has one very annoying design problem: the local cache.
In my case, doing daily backups for two years for ~200GB of data
requires a growing and growing local cache. It's 50GB as of now.

You delete the cache and it comes back when doing the next 
incremental backup.





Re: [gentoo-user] Backup questions

2018-08-09 Thread Neil Bothwick
On Thu, 9 Aug 2018 16:18:43 +0800, Bill Kenworthy wrote:

> Have a look at Dirvish or borgbackup (both in portage) for what they can
> do.  Having a space efficient store at regular points of time is a
> lifesaver at times. To restore from dirvish its a copy from the selected
> tree.  With borg its either restore with a command, or mount it and copy
> the data out of the mount.

I agree with all of this and I would also add Duplicity as a possible
candidate, although not quite as simple to use as BorgBackup (I haven't
tried Dirvish) I usually end up putting a wrapper script around such tasks
anyway.

If you have your offsite backups in another building, how will you get
the backups there? If they are networked, great, but if it relies on you
physically moving hard drives between locations, it won't be done when
you need it. Cloud storage is cheap these days and most backup programs
have an option to store encrypted data on an external service. I'm
currently using a combination of Duplicity and Hubic for this.


-- 
Neil Bothwick

 How do i find the model of my card?
 your nick is misleading, seriously


pgpNsg4q9cWQ3.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] libmysqlclient.so segfault

2018-08-09 Thread John Covici
On Wed, 08 Aug 2018 11:16:55 -0400,
Daniel Frey wrote:
> 
> Well, after updating a while ago I noticed a new package being pulled in
> by mariadb - dev-db/mysql-connector-c.
> 
> Ever since this update where it was pulled in (August 1) the mythtv
> backup script written in perl fails (mythconverg_backup.pl).
> 
> It is segfaulting, and I get an email indicating so. All dmesg reports is:
> 
> [29233.819979] mythconverg_bac[4703]: segfault at d26bb8ca58 ip
> 7f433dbc7319 sp 7ffd3ca8b160 error 4 in
> libmysqlclient.so.18.4.0[7f433db89000+34a000]
> [45297.590200] mythconverg_bac[10051]: segfault at f185283a68 ip
> 7f749f50c319 sp 7fff71cf09e0 error 4 in
> libmysqlclient.so.18.4.0[7f749f4ce000+34a000]
> [45818.780364] mythconverg_bac[10094]: segfault at 762032bf28 ip
> 7f7c3f9f0319 sp 7ffe32dfa190 error 4 in
> libmysqlclient.so.18.4.0[7f7c3f9b2000+34a000]
> 
> I've done some poking around and rebuilt this package to no avail. Has
> anyone else using this found a solution?

I had to re-emerge dev-perl/DBD-mysql and things now work again.  I am
using mysql, so I hope this works for you.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Backup questions

2018-08-09 Thread Bill Kenworthy
On 08/08/18 11:43, Dale wrote:
> Howdy,
>
> Long story short that leads up to my questions, I paid off some debt. 
>
Hi Dale,

    what you are talking about is not a real backup but a single copy of
your data that may or may not be complete (the delete option you
mention) at a single point in time - not quite as useful as a proper
versioned backup.  Whatever your choice, also look at the restore
procedure - very important.


Have a look at Dirvish or borgbackup (both in portage) for what they can
do.  Having a space efficient store at regular points of time is a
lifesaver at times. To restore from dirvish its a copy from the selected
tree.  With borg its either restore with a command, or mount it and copy
the data out of the mount.

http://dirvish.org/

https://www.borgbackup.org/

I moved from dirvish to borg 12 months ago and they are both excellent.

BillK





Re: [gentoo-user] emerge completly a package but dont install it?

2018-08-09 Thread Mateusz Lenik
Turns out emerge has this nice flag (excerpt from emerge(1) manpage):

--buildpkgonly, -B
  Creates binary packages for all ebuilds processed without
actually merging the packages.  This comes with the caveat that all
build-time dependencies must already be emerged on the system.

Best,
mlen

On Thu, Aug 9, 2018 at 9:29 AM Andreas Fink  wrote:

> On Wed, 8 Aug 2018 19:12:37 +0200
> tu...@posteo.de wrote:
>
> > Hi,
> >
> > is it possible to go through process of installing a not-installed
> > package from source to executable ... without actually install the
> > package - so the system as such is not touched?
> >
> > Cheers
> > Meino
> >
> >
> >
>
> You can use ebuild for that. The commands to build without merging
> would be
> ebuild /usr/portage/my-package/my-ebuild-file.ebuild install
>
> This will download, unpack, build, and install the package into your
> temporary portage build directory (usually /var/tmp/portage). It will
> not resolve any dependencies though, this has to be done beforehand.
>
> The temporary install directory is called "image" in the temporary
> directory.
>
> You can also go through the whole process step by step,
> ebuild /usr/portage/my-package/my-ebuild-file.ebuild unpack
> ebuild /usr/portage/my-package/my-ebuild-file.ebuild compile
> ebuild /usr/portage/my-package/my-ebuild-file.ebuild install
> ebuild /usr/portage/my-package/my-ebuild-file.ebuild qmerge
> ebuild /usr/portage/my-package/my-ebuild-file.ebuild clean
>
> the qmerge command will install it into your system, so this is the
> step, that you do not want to execute ;)
>
> Cheers
> Andreas
>
>


[gentoo-user] Backup questions

2018-08-09 Thread Dale
Howdy,

Long story short that leads up to my questions, I paid off some debt. 
Finally I'm getting around to doing some things I been wanting to do. 
One of them, backups.  I bought a hard drive enclosure that has a fan to
keep things cool.  Figured I would get a decent one that hopefully will
keep my drives working.  My relevant setup. 

I started with a 3TB hard drive for my /home directory, one partition,
years ago.  I stuck LVM on it so that I could add to or move things
around a bit with some ease.  Once that was starting to fill up, I
bought a second 3TB drive and added it to the LVM volume.  So, in
effect, I have a 6TB drive with 3.6TB of data on it at the moment.  The
biggest user of that space is videos. 

I just bought two external drive enclosures.  One is sort of a spare but
I do plan to do some backups on it, mostly pictures from my camera.  In
one of the enclosures I put a single 6TB drive that I found on ebay.  It
has about 7,000 hours on it so it should have some life left yet and it
passed the smartctl tests.  It is USB but it transfers fast.  Now to
some questions.  I use rsync.  Command looks something like rsync -auv
/source/ /destination/.  If I backup the config files in my home
directory, should I also include the --delete option?  If after a
upgrade for example a config file is deleted, because it is no longer
needed, or renamed, should the old file be removed or is there a reason
to keep them on the backups?  Adding the --delete option isn't a problem
command wise BUT I wonder if it can cause a problem at some point. 
Thoughts on that.  I plan to use the --delete option for videos since if
I deleted one, it is likely broken or something.  Biggest question is
about config files.

On the second enclosure I currently have a 160GB drive.  It's big enough
for my camera pictures.  I would like to backup up my pics to it and
then put the drive somewhere besides in the house.  I have a couple
external buildings that would be safe as far as rain etc but they are
not cooled, even tho it gets close to 100F and humid, real humid, here. 
My question is this.  Is it safe to store a drive in that sort of
environment?  I could see the building getting close to outside temps
during the day.  I do put a heater in it to prevent freezing during the
winter.  I usually set the heat to 40F.  I'm hoping someone has some
real world experience on storing in this sort of environment and not
just a text book theory.  One reason I want to put them elsewhere, house
fire.  Even a huge power strike could cause problems if plugged in.  We
do get lightening strikes here.  Maybe not as many as some but our fair
share.  The 6TB and 3TB drive may join this one as well.

I have a 3TB drive on the way, got a good deal on it.  I plan to remove
the 160GB and put the 3TB drive in the enclosure when it gets here. 
Later, I will get another enclosure for the 160GB drive.  In the end, I
will have 6TB, 3TB and a 160GB external drive.  Main backups on the 6TB,
possible second backup on 3TB of some important files and camera pics on
the 160GB. 

Anyone have some real world experience on these sorts of questions? 

Thanks.

Dale

:-)  :-) 



[gentoo-user] libmysqlclient.so segfault

2018-08-09 Thread Daniel Frey
Well, after updating a while ago I noticed a new package being pulled in
by mariadb - dev-db/mysql-connector-c.

Ever since this update where it was pulled in (August 1) the mythtv
backup script written in perl fails (mythconverg_backup.pl).

It is segfaulting, and I get an email indicating so. All dmesg reports is:

[29233.819979] mythconverg_bac[4703]: segfault at d26bb8ca58 ip
7f433dbc7319 sp 7ffd3ca8b160 error 4 in
libmysqlclient.so.18.4.0[7f433db89000+34a000]
[45297.590200] mythconverg_bac[10051]: segfault at f185283a68 ip
7f749f50c319 sp 7fff71cf09e0 error 4 in
libmysqlclient.so.18.4.0[7f749f4ce000+34a000]
[45818.780364] mythconverg_bac[10094]: segfault at 762032bf28 ip
7f7c3f9f0319 sp 7ffe32dfa190 error 4 in
libmysqlclient.so.18.4.0[7f7c3f9b2000+34a000]

I've done some poking around and rebuilt this package to no avail. Has
anyone else using this found a solution?

Dan



Re: [gentoo-user] emerge completly a package but dont install it?

2018-08-09 Thread Andreas Fink
On Wed, 8 Aug 2018 19:12:37 +0200
tu...@posteo.de wrote:

> Hi,
> 
> is it possible to go through process of installing a not-installed
> package from source to executable ... without actually install the
> package - so the system as such is not touched?
> 
> Cheers
> Meino
> 
> 
> 

You can use ebuild for that. The commands to build without merging
would be
ebuild /usr/portage/my-package/my-ebuild-file.ebuild install

This will download, unpack, build, and install the package into your
temporary portage build directory (usually /var/tmp/portage). It will
not resolve any dependencies though, this has to be done beforehand.

The temporary install directory is called "image" in the temporary
directory.

You can also go through the whole process step by step,
ebuild /usr/portage/my-package/my-ebuild-file.ebuild unpack
ebuild /usr/portage/my-package/my-ebuild-file.ebuild compile
ebuild /usr/portage/my-package/my-ebuild-file.ebuild install
ebuild /usr/portage/my-package/my-ebuild-file.ebuild qmerge
ebuild /usr/portage/my-package/my-ebuild-file.ebuild clean

the qmerge command will install it into your system, so this is the
step, that you do not want to execute ;)

Cheers
Andreas



[gentoo-user] emerge completly a package but dont install it?

2018-08-09 Thread tuxic
Hi,

is it possible to go through process of installing a not-installed
package from source to executable ... without actually install the
package - so the system as such is not touched?

Cheers
Meino