Re: [gentoo-user] Simple replacement for "getmail"?

2020-07-22 Thread Stroller


> On 22 Jul 2020, at 12:01, Matthias Hanft  wrote:
> 
> I don't know "getmail", but "fetchmail" runs here since 10 years
> without any problems.  Just put a line like

+1



[gentoo-user] To do list or bug tracker? Project management?

2020-07-20 Thread Stroller
Hello,

Does anyone have any recommendations for a task management app, please?

I bought a boat a year ago, and can't keep a track of all the work that needs 
doing and the things that need fixing.

I took a look at To Do apps for my Mac a while back but they all seemed to 
focus more on the formatting of the list (what font to use and what kind of 
bullet points), rather than the actual tasks. 

I'd like something that tracks dependencies - that I need to order this part 
before I can complete that task, to divide jobs that can be completed now from 
those that need something else doing first.

A big tracker is the application I'm most familiar with that handles this kind 
of stuff, but it seems a lot to install for a single person - I guess a 
complete SQL database and web-server would be amongst the dependencies.

I'd appreciate any thoughts,

Stroller.




Re: [gentoo-user] chrony-3.3 hangs at boot

2018-11-02 Thread Stroller


> On 3 Sep 2018, at 19:10, Holger Hoffstätte  
> wrote:
> 
> On Mon, 03 Sep 2018 17:48:53 +0100, Mick wrote:
> 
>> I just noticed today chronyd hangs during boot for a minute and a half.  The 
>> logs do not reveal anything amiss.  I suspect it waits for a network 
>> connection, which is not yet up when chronyd launches.
>> … 
> 
> Yes and yes; countless people have been hit by this, I was probably the first
> to notice/debug it. It happens due to changes in Linux' random number
> generator, which is now slowly making it into older kernels as well.

Perhaps I'm experiencing this because I'm using a Linode VM - it seems to hang 
indefinitely, not just for 90 seconds - but it looks a bit like the devs have 
passed the report upstream and left the affected versions in the tree to bite 
stable users.

Stroller.



Re: [gentoo-user] [OT] Kinda "try ... catch" in a shell script...how

2018-03-10 Thread Stroller

> On 10 Mar 2018, at 08:26, tu...@posteo.de wrote:
> ...
> 
> As soon the file is not found, the script ends with an 'Not found'
> error, which '-f' is exactly for, because the expanding comes before
> the '-f'...
> 
> So I need something else or a try-catch-thingy to make that work...but
> how?
> 
> Or do I miss the forest for the trees here... ;)

I don't get that at all with this snippet:

  $ cat test.sh
  #!/bin/bash
  if [ -f foo* ] ; then
  echo "foo exists"
  fi
  $ 

This makes me suspect you've got `#!bash -x` (or -e?) as your first line, or 
something.

When you encounter a problem you don't understand, create the most minimal 
program you can to reproduce the problem. If you can't reproduce it, add to it 
one step at a time until it becomes what you're trying to do.

Stroller




Re: [gentoo-user] Bouncing Messages

2018-03-04 Thread Stroller

> On 3 Mar 2018, at 19:00, Grant Taylor <gtay...@gentoo.tnetconsulting.net> 
> wrote:
> 
> * I do not consider messages from me re-sent by mailing lists to be messages 
> that I send.  I say this because my email infrastructure does NOT connect to 
> any of the mailing list subscribers receiving email infrastructure.  IMHO the 
> mailing list is sending a /new/ message to those recipients.  Said message 
> just happens to be strongly based on a message that I sent.

Yet the above had a from: address at the tnetconsulting.net domain.

Moaning to me won't change how the mailing list software works.

Stroller.




Re: [gentoo-user] Bouncing Messages

2018-03-03 Thread Stroller

> On 2 Mar 2018, at 22:51, Grant Taylor <gtay...@gentoo.tnetconsulting.net> 
> wrote:
> 
> On 03/02/2018 09:36 AM, Ian Zimmerman wrote:
>> These are all from Grant Taylor.  They are DKIM-signed, and, not 
>> surprisingly given the list header and footer munging, signature 
>> verification fails (on my mail server).
> 
> Correct.  DKIM verification is failing and my DMARC policy is configured to 
> REJECT messages that fail DKIM or SPF tests.

My recollection is that I read this isn't that beneficial - that a policy of ~ 
is adequate.

Stroller.




Re: [gentoo-user] Enable SSH Logging with Sysklogd

2018-03-03 Thread Stroller

> On 3 Mar 2018, at 01:44, Lucas Ramage <ramage.luca...@gmail.com> wrote:
> 
> Hello,
> 
> I have sshd running and I have sysklogd installed, but I do not see any logs 
> for attempted or successful connections.

Is this IP public facing?

`sudo grep ssh /var/log/messages | wc -l` returns about 3300 on my system, this 
with fail2ban installed and 1500+ IPs currently blacklisted.

Stroller.




Re: [gentoo-user] media-sound/podracer doesn't name downloaded podcasts

2018-02-25 Thread Stroller

> On 25 Feb 2018, at 21:00, David Haller <gen...@dhaller.de> wrote:
> … 
>> I would have assumed the podcast feed (RSS or whatever?) would
>> contain both the link to the episode, with a filename like this, and
>> also a human readable name, such as "Episode #566 - The Zoo Economy".
> 
> $ youtube-dl --download-archive .yt-dl-archive -f mpeg 
> 'https://www.npr.org/rss/podcast.php?id=510289'
> [generic] podcast: Requesting header
> WARNING: Falling back on generic information extractor.
> [generic] podcast: Downloading webpage
> [generic] podcast: Extracting information
> [download] Downloading playlist: Planet Money
> [generic] playlist Planet Money: Collected 300 video ids (downloading 300 of 
> them)
> [download] Downloading video 1 of 300
> [generic] 20180223_pmoney_pmpod826: Requesting header
> [redirect] Following redirect to 
> https://16543.mc.tritondigital.com:443/NPR_510289/media-session/9309ea03-306a-49b4-82ac-28f16c6b5fa5/anon.npr-mp3/npr/pmoney/2018/02/20180223_pmoney_pmpod826.mp3?orgId=1=1227=510289=588345420=podcast=588345420=pod=510289
> [generic] 20180223_pmoney_pmpod826: Requesting header
> [download] Destination: 
> 826_-_The_Vodka_Proof__20180225__20180223_pmoney_pmpod826.mp3
> [download]  21.1% of 18.96MiB at  2.28MiB/s ETA 00:06^C
> ERROR: Interrupted by user
> $ 
> 
> The --download-archive .yt-dl-archive records the already-downloaded
> media (their source (npr) and ids) in the file .yt-dl-archive in the
> current directory (adjust path to your liking…)

That's miles better, thanks.

> And 'https://www.npr.org/rss/podcast.php?id=510289' is the url you get
> if you subscribe to the podcast.

Where did you find this, please? On NPR's site? I seem to be finding loads of 
different URLs for it on there.

Stroller.




Re: [gentoo-user] media-sound/podracer doesn't name downloaded podcasts

2018-02-25 Thread Stroller

> On 25 Feb 2018, at 13:51, Jack <ostrof...@users.sourceforge.net> wrote:
> … 
> If the web site has a page listing all the shows, with links to the files, 
> you might be able to save that file, and then edit/parse/?? it to match the 
> show name to the file name.

Yes, I figure so, but that rather undermines using a podcast program.

If I have to parse the webpage, I might as well pull out both the show titles 
and URLs and wget / rename them myself.

Stroller.




Re: [gentoo-user] media-sound/podracer doesn't name downloaded podcasts

2018-02-25 Thread Stroller

> On 25 Feb 2018, at 14:40, David M. Fellows <fell...@unb.ca> wrote:
>> 
>> However the files are named by ID, which is meaningless to humans:
>> 
>> $ ls podcasts/2018-02-24/ | head 20150424_blog_pmoney.mp3
>> 20150429_blog_pmoney.mp3 20150501_blog_pmoney.mp3
>> 20150506_blog_pmoney.mp3 20150508_blog_pmoney.mp3
>> 20150513_blog_pmoney.mp3 20150516_blog_pmoney.mp3
>> 20150522_blog_pmoney2.mp3 20150522_blog_pmoney.mp3
>> 20150527_blog_pmoney.mp3 $
> 
> Those look like dates to me. Probably the date the program was first aired.

Yeah, they're the filenames of the files on NPR's website.

https://www.npr.org/sections/money/

If you go to the page for any of the individual episodes and then hover over 
the "download" link you'll see them to have this kind of naming convention (it 
may have changed slightly since 2015, though).

I would have assumed the podcast feed (RSS or whatever?) would contain both the 
link to the episode, with a filename like this, and also a human readable name, 
such as "Episode #566 - The Zoo Economy".

I expected the podcast downloader app to rename the episodes human-readably, so 
I'm wondering if I've got a bad URL for the feed, if the feed is broken or the 
app.

Stroller.




[gentoo-user] media-sound/podracer doesn't name downloaded podcasts

2018-02-25 Thread Stroller
Hello,

As per my thread a month ago [1], I've now installed Podracer and gave it a 
spin last night.

I started by trying to download NPR's Planet Money podcast:  
https://www.npr.org/sections/money/

I tried 3 different URLs that I found on that page, none of them worked:

• https://www.npr.org/feeds/127413729/feed.json
• https://www.npr.org/podcasts/510289/planet-money/
• https://www.npr.org/rss/rss.php?id=127413729 

The podcast is also listed in iTunes, I found: 
https://itunes.apple.com/us/podcast/planet-money/id290783428

Using that URL in my .podracer/subscriptions, Podracer downloaded 300 mp3 
files, I assume every Podcast in the show's archive.

However the files are named by ID, which is meaningless to humans:

$ ls podcasts/2018-02-24/ | head
20150424_blog_pmoney.mp3
20150429_blog_pmoney.mp3
20150501_blog_pmoney.mp3
20150506_blog_pmoney.mp3
20150508_blog_pmoney.mp3
20150513_blog_pmoney.mp3
20150516_blog_pmoney.mp3
20150522_blog_pmoney2.mp3
20150522_blog_pmoney.mp3
20150527_blog_pmoney.mp3
$ 

If anyone has any suggestions, I'd be grateful. I'll perhaps try Flexget later 
today if I haven't thought of anything else.

Stroller.




[1] 
https://archives.gentoo.org/gentoo-user/message/bcd7c0ae62e60a0583f10ae3daf7f0e4




Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-19 Thread Stroller

> On 18 Feb 2018, at 11:38, Stroller <strol...@stellar.eclipse.co.uk> wrote:
>> 
>> With the tool 'detox' those filenames could be fixed.
>> 
>> But detox changes the time stamp of the files, which 
>> filenames are altered (not all files, which are examined).
>> 
>> Is there a way to either get detox not to alter the time stamp 
> 
> …
> It should be trivial to patch detox to do this itself.


BTW: `ebuild /usr/portage/app-misc/detox/detox-1.2.0-r3.ebuild unpack`

The function parse_file in file.c seems to be what does the work.

Use the utime systemcall? https://linux.die.net/man/2/utime

Stroller.




Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-19 Thread Stroller

> On 18 Feb 2018, at 17:47, Floyd Anderson <f...@31c0.net> wrote:
>> 
>> $ cat t.sh
>> #!/bin/bash
>> TMPF=$(mktemp "/tmp/detox_wrapper.$$.")
>> for f in "$@"; do
>>   touch -r "$f" "$TMPF"
>>   detox "$f"
>>   touch -r "$TMPF" "$f"
>> done
>> rm -f "$TMPF"
> 
> If I’m not totally wrong, the second `touch` cannot work because the file 
> that "$f" holds is renamed now. That’s what I mean earlier with iterating a 
> list or adapt Stroller’s suggestion.

How careless of me.

A solution is to use `detox -v` and capture the output.

   $ touch '1234[]'
   $ ls '1234[]'
   1234[]
   $ detox -v 1234*
   Scanning: 1234[]
   1234[] -> 1234-
   $

A bit untidy. Really, detox should be patched to check the date and apply it to 
the new file.

Stroller.




Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread Stroller

> On 18 Feb 2018, at 08:21, tu...@posteo.de wrote:
> 
> when downloading files from non-UNIX sites, they often contain
> "poisonoys" characters like '#', ' ', ''' or that alike.
> 
> With the tool 'detox' those filenames could be fixed.
> 
> But detox changes the time stamp of the files, which 
> filenames are altered (not all files, which are examined).
> 
> Is there a way to either get detox not to alter the time stamp 

I think:

  tmpfile=/tmp/foo-$RANDOM
  touch -r "$file" "$tmpfile"
  detox "$file" 
  touch -r "$tmpfile "$file"
  rm "$tmpfile"

It should be trivial to patch detox to do this itself.

Stroller





Re: [gentoo-user] Downloading podcasts via the command line?

2018-01-28 Thread Stroller

> On 27 Jan 2018, at 14:10, Neil Bothwick <n...@stfw.net> wrote:
> 
> I use Airsonic for this now but fkr several years before that I used flexget. 
> Flexget's config file is a little tricky at first but it makes up for that 
> with plenty of options. 

Are there ebuilds for either of these? I can't find them in Portage?

The current version of Podracer, Rich's suggestion, is 10 years old!

Stroller.




[gentoo-user] Downloading podcasts via the command line?

2018-01-27 Thread Stroller
Can anyone recommend a command line podcast downloader, please?

Ideally I want to run it in a cronjob, saving .mp3 files which can be uploaded 
to my Google Drive (using net-misc/drive).

My priority is NPR's Planet Money podcasts - I think they're available via RSS, 
as are BBC Radio 4's Money Box.

Links:
• https://www.npr.org/sections/money/
• http://www.bbc.co.uk/programmes/b006qjnv/episodes/downloads

I've also been recommended Money to the Masses which is available by Libsyn, 
whatever that is - it seems to have download and RSS options.

Thanks in advance for any recommendations,

Stroller.




Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-03 Thread Stroller

> On 3 Jan 2018, at 23:41, Neil Bothwick <n...@digimed.co.uk> wrote:
> 
> On Wed, 3 Jan 2018 22:07:22 +, Stroller wrote:
> 
>>> If you do want to use versions, I'd recommend using ~ rather than = to
>>> pick up patch-level updates.  
>> 
>> What do you mean by this exactly, please?
> 
> If you have =foo-1.0 matches only foo-1.0, if a patched version is
> released as foo-1.0-r1, you won't get it. With ~foo-1.0 you will.
> 
> Neither will match foo-1.1

I would have guessed "~" means "approximate", but this is what I don't want.

If I want to recompile my kernel I'll choose the latest version and download 
the full sources.

Stroller.




Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-03 Thread Stroller

> On 3 Jan 2018, at 22:47, Alan McKinnon <alan.mckin...@gmail.com> wrote:
> 
>>>> 
>>>> What do you mean by this exactly, please?
>>> 
>>> =4.9.34 selects that exact version and only that specific version
>>> ~4.9.34 select that version and also 4.9.34-r1. There might need to be a
>>> * on the end of ~4.9.34, I don;t quite recall. Answer in portage's man pages
>> 
>> I thought it was something like that, but searched `man portage` for "~" 
>> more than one way, and didn't find reference to this. Am I blind?
> 
> man 5 ebuild
> 
> Section "Extended Atom Prefixes", it is near the top, probably first
> page on most screen sizes.
> 
> The location is very non-obvious, I only know of it because I refr to it
> often once I found it

The ability to block atoms looks interesting, although I can't think when I'd 
use it.

Stroller.




Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-03 Thread Stroller

> On 3 Jan 2018, at 22:11, Alan McKinnon <alan.mckin...@gmail.com> wrote:
> 
>>>> 
>>>> $ grep -e source /var/lib/portage/world
>>>> sys-kernel/gentoo-sources:4.9.34
>>> ...
>> 
>> I guess this risks that emerge will try to install 4.9.34-r1 during a future 
>> update, but I don't believe I've ever experienced that.
> 
> Only if the highest-versioned emerged sources are <4.9.34-r1

Yes, in the quoted example above I grepped my world file for sources and 4.9.34 
is currently installed. 

>> 
>>> If you do want to use versions, I'd recommend using ~ rather than = to
>>> pick up patch-level updates.
>> 
>> What do you mean by this exactly, please?
> 
> =4.9.34 selects that exact version and only that specific version
> ~4.9.34 select that version and also 4.9.34-r1. There might need to be a
> * on the end of ~4.9.34, I don;t quite recall. Answer in portage's man pages

I thought it was something like that, but searched `man portage` for "~" more 
than one way, and didn't find reference to this. Am I blind?

Stroller.




Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-03 Thread Stroller

> On 3 Jan 2018, at 21:53, Neil Bothwick <n...@digimed.co.uk> wrote:
>> 
>> It installs exactly that version, and that exact version is recorded in
>> the world file.
>> 
>> $ grep -e source /var/lib/portage/world
>> sys-kernel/gentoo-sources:4.9.34
> 
> That's not a version, it's a slot. Whilst kernels are currently slotted
> with the version number, nothing else is and there is no guarantee that
> this will also hold for kernels.

Fair enough, but there's nothing else I need to treat this way.

I guess this risks that emerge will try to install 4.9.34-r1 during a future 
update, but I don't believe I've ever experienced that.

> If you do want to use versions, I'd recommend using ~ rather than = to
> pick up patch-level updates.

What do you mean by this exactly, please?

Stroller.




Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-03 Thread Stroller

> On 3 Jan 2018, at 21:55, Wols Lists <antli...@youngman.org.uk> wrote:
>  
> What would be nice, would be if "emerge --depclean" had the smarts to
> recognise that /usr/src/linux pointed to the current active kernel, and
> didn't wipe that when it cleaned out everything else :-) That way, at
> most you could have the current and latest kernel sources available
> pretty easily.

You've jogged a long-hibernating memory - the accidental removal of the current 
sources tree in an accident like this may be the exact reason why I refuse to 
allow kernel versions to be actively emerged.

Stroller.




Re: [gentoo-user] Plasma device notifier shows wrong free space on USB disks

2018-01-03 Thread Stroller

> On 3 Jan 2018, at 17:24, Flavio Cappelli <flavio.cappe...@ymail.com> wrote:
> … 
> 
> I tried with three different USB drives and the behavior is the same:
> 
> ᅵ- 4GB flash drive on USB2 interface, vfat formatted, 3.3GB free
> ᅵ- 128GB flash drive on USB3 interface, exfat formatted, 107GB free
> ᅵ- 500GB external HDD on USB2 interface, ext4 formatted, 468GB free
> 
> The device notifier always shows 1.2GB of free space and I cannot copy
> big files with dolphin to the USB disk.

I bet it's to do with the FAT / VFAT formatting.

If you don't get any more helpful replies here, I would take this directly to 
the KDE lists.

Stroller


Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-03 Thread Stroller

> On 3 Jan 2018, at 21:31, Wols Lists <antli...@youngman.org.uk> wrote:
> 
> And heaven help you if you think emerging a specific version of
> gentoo-sources will update the kernel you're running. Because Linux
> certainly won't.

Heaven help me?

Could you possibly clarify, please?

Stroller.




Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-03 Thread Stroller

> On 2 Jan 2018, at 19:47, Wols Lists <antli...@youngman.org.uk> wrote:
> 
> You should also check the CVEs every time there's a new kernel!

Who the heck's got time for that? Really?

I have a life, mate. And that means I have better things to do with my time.

Translation of what you just said: you should buy a Mac, because Linux is so 
much work you have to check security bulletins all the time.

> What this completely misses, is that gentoo-sources merely DOWNLOADS THE
> LATEST KERNEL SOURCE. So updating gentoo-sources every time does nothing
> to change the kernel you are running.

I don't know why you think I missed that.

If you `emerge gentoo-sources` then updates of them will appear every time you 
--pretend update world until you allow them to be emerged, hence my use of the 
word "nagged".

If you want to install them, that's your prerogative, but just allowing them to 
be automatically emerged fills up your system with unwanted uncompressed kernel 
sources, consuming huge amounts of space.

20GB should be ample space for an operating system IMO, but between /usr/src 
and /usr/portage it's pretty easy to consume a quarter of that.

I'm happy to do things your way if you're contributing to my hosting bill, but 
from the sounds of it this is about the way YOU choose to administer YOUR 
systems, and that you think I should be deferential to that.

Do you not think, in my nearly 20 years of using *nix systems and reading *nix 
related mailing lists, I've never heard someone advocate these kind of security 
principles before?

These kind of arguments are theoretical. In the real world, there are millions 
of people still running Windows XP and now-obsolete versions of Android on 
their phones. A kernel that's a few months old is hardly likely to hurt me.

Stroller.
D






Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-03 Thread Stroller

> On 2 Jan 2018, at 20:20, Kai Krakow <hurikha...@gmail.com> wrote:
> 
> 
>> Now `emerge -n =sys-kernel/gentoo-sources-4.14.8-r1` - "This option can
>> be used to update the world file without  rebuilding the packages."
> 
> I don't think this is how it works. While technically correct, the 
> outcome is different to what you're trying to achieve.
> 
> 
>> This pins your kernel version at 4.14.8-r1 and you can update when, in
>> future, you decide it's time to update your kernel, without being nagged
>> about it every time a new version is release or you emerge world.
> 
> The equal sign doesn't pin versions, at least not that I remember. 
> Package are pinned by slot in the world file. Coincidence may be that the 
> version you selected happens to be exclusively the only slot, too.

It installs exactly that version, and that exact version is recorded in the 
world file.

$ grep -e source /var/lib/portage/world
sys-kernel/gentoo-sources:4.9.34
$ 

> It's adequate to update your software when a security hole was fixed - on 
> the point. Not two or three months later...
> 
> It gives a false impression of safety if you recommend such things.

We could spend every day updating our systems - IDK about you, but I have 
better things to do.

If the kernel devs cared to announce when they were patching exploits then we 
could take each one under consideration individually. But the kernel devs are 
secretive about kernel exploits, because they know there are literally millions 
of systems out there on the internet with kernels months and years old.

You're right about the attack vectors, which is why I prioritise the apps and 
servers I run - an attacker has to get past those before it can exploit those. 
I updated OpenSSH and openssl the day I leaned of the HeartBleed attack for 
example.

Meanwhile, I've seen security vulnerabilities go unfixed for literally weeks in 
the bug tracker, so I don't see the significance of a vulnerability an attacker 
is unlikely to be able to reach. The sites I visit do not make me fear my 
kernel being attacked via the browser.

This thread is not for arguing about security, which is an old discussion and 
which has been done to death. Everyone has their own opinions, and I'm not 
going to add any more.

This thread is about how to fix OP's problem, and that's what I addressed. If 
you install kernels by specific version, as I suggest, then you're free to 
update them manually as often as you wish.

Stroller.




Re: [gentoo-user] old kernels are installed during the upgrade

2018-01-02 Thread Stroller

> On 2 Jan 2018, at 11:54, Kruglov Sergey <kr_se...@hotmail.com> wrote:
> 
> Now I have  gentoo-sources-4.14.8-r1 installed.
> After  "emerge --ask --update --deep --with-bdeps=y --newuse @world" command 
> emerge installs old kernel in NS (after first update 4.12.12, after second 
> update 4.9.49-r1).
> How can I fix it?
> There is sys-kernel/gentoo-sources in my world set.

Remove sys-kernel/gentoo-sources from your world file - I believe you can do 
this using the emerge command, but am unsure of the right syntax; you can just 
edit /var/lib/portage/world and delete the appropriate line.D

Now `emerge -n =sys-kernel/gentoo-sources-4.14.8-r1` - "This option can be used 
to update the world file without  rebuilding the packages."

This pins your kernel version at 4.14.8-r1 and you can update when, in future, 
you decide it's time to update your kernel, without being nagged about it every 
time a new version is release or you emerge world.

For this reason it's always best to emerge kernels with an equals sign, pinning 
them at some specific version, IMO.

This suggestion may provoke responses that the kernel is important and you 
should update it to ensure you get security updates - look at the attack 
vectors, you're probably sitting behind a NAT router, with very few ports 
exposed to the internet.

It's adequate to update your kernel every 3 months.

Stroller.




Re: [gentoo-user] How to harden a system

2017-12-25 Thread Stroller

> On 25 Dec 2017, at 15:33, Frank Steinmetzger <war...@gmx.de> wrote:
> 
> On Mon, Dec 25, 2017 at 12:56:44AM -0600, R0b0t1 wrote:
>> On Mon, Dec 25, 2017 at 12:55 AM, R0b0t1 <r03...@gmail.com> wrote:
>>> On Sun, Dec 24, 2017 at 1:44 PM, taii...@gmx.com <taii...@gmx.com> wrote:
>>>> It is truly disturbing to think that someone with an ME exploit could hack
>>>> 80% of the computers on the planet.
>>>> 
>>> 
>>> And sometimes I wonder
>> 
>> if it's already been done.
> 
> Was it really necessary to send 12 Megs of pictures to hundreds of
> subscribers for the information content of a few dozen bytes? Even picture
> "apps" on phones are able to resize images.

I assumed this was a fat-fingered mistake. How are the pics relevant to the 
thread?

Stroller.




Re: [gentoo-user] [OT] Being Facebook member: How to anon?

2017-10-23 Thread Stroller

> On 22 Oct 2017, at 22:27, tu...@posteo.de wrote:
> 
> Does "dedicated browser" means "Firefox -NewInstance -P Facebookprofle" or 
> does it mean "another browser than the installed firefox" ?

I've been using private browsing mode, seems ok.

I do the same when I log into Google's services, either that or flush all 
Google & YouTube cookies immediately afterwards.

Stroller.




Re: [gentoo-user] [OT] Being Facebook member: How to anon?

2017-10-23 Thread Stroller

> On 22 Oct 2017, at 16:50, tu...@posteo.de wrote:
> 
> for its invasive nature and its data gathering I really dont like
> facebook. 
> 
> And now it seems that I cant with out it:
> There is a HUGE user group for the Creality CR-10 3D printer there
> and veryone and everything is referencing it.
> 
> My question is:
> Are there ways (and which ones) to become member of facebook
> just to read and write to this user grout (like a mailinglist)
> and keep the impact on privacy an personal fingerprinting as
> small as ever possible?

I joined Facebook for the first time this week, for similar reasons as, and 
with similar reservations to, you.

When people upload a photo of you, it performs facial recognition and they can 
"tag" you as being in the photo. You don't have to upload a photo of yourself 
(I'm thinking of trying one in sunglasses) and in the privacy settings you're 
also able to forbid people from tagging you.

There are quite granular settings to allow anyone but friends to see or post on 
your timeline - I was quite impressed by how much privacy appears to be 
available to users. I suspect this allows you more privacy from you family and 
colleagues than it does from Facebook, though.

Stroller.




Re: [gentoo-user] Borg 1.1 is out, when can we expect it in the repos?

2017-10-08 Thread Stroller

> On 8 Oct 2017, at 17:48, Viktar Patotski <xp.vit@gmail.com> wrote:
> 
> The proper to get it done is to submit an upgrade request to 
> https://bugs.gentoo.org/ <https://bugs.gentoo.org/> . And then even probably 
> provide ebuild for maintainers to pick it up.

Someone's done it now: https://bugs.gentoo.org/633814

Stroller.



Re: [gentoo-user] Linode discontinuing Xen, migrating to KVM

2017-10-06 Thread Stroller

> On 6 Oct 2017, at 15:31, Tanstaafl <tansta...@libertytrek.org> wrote:
> 
>>> Second, do you have rc_sys defined, or are you using auto-detect (is it
>>> just commented out)?
>> 
>> Just commented out.
> 
> This is the one I'm worried about - how to change it back if it totally
> breaks the ability to even boot.

Detach the drive from the VM, and attach it as /dev/sd[cdefgh] on another VM?

See: Linodes »  » Edit Configuration Profile » Block Device 
Assignment

Also in the dropdowns there is an option for "Recovery -Finnix (iso)".

Stroller.




Re: [gentoo-user] Linode discontinuing Xen, migrating to KVM

2017-10-05 Thread Stroller

> On 5 Oct 2017, at 23:01, Tanstaafl <tansta...@libertytrek.org> wrote:
> 
> Thanks very much to all who replied, two last questions for those who
> are using Linode…

I've only been using Linode a couple of weeks, and I know nothing about Xen vs 
KVM.

I just installed Linode's Gentoo image file in a new VM, and started using it, 
so the below are the defaults.

> First - are you using 'Auto Configure Networking' (is it enabled or
> disabled in your Linode options)?

Enabled.

/etc/resolv.conf and /etc/conf.d/net both say "This file is automatically 
generated on each boot with your Linode's current network configuration."

I'm not sure I'd dare change it, to be honest.

> Second, do you have rc_sys defined, or are you using auto-detect (is it
> just commented out)?

Just commented out.

Stroller.





Re: [gentoo-user] iputils - caps and filecaps USE flags?

2017-10-03 Thread Stroller

> On 3 Oct 2017, at 20:17, Simon Thelen <gentoo-u...@c-14.de> wrote:
> 
> It is almost always better to enable both of these where possible since
> it helps decrease the attack surface for the programs in question.

Thanks, I'll do that.

Stroller.




[gentoo-user] iputils - caps and filecaps USE flags?

2017-10-03 Thread Stroller
Hello,

On my Linode VM in /etc/portage/package.use I have:

  net-misc/iputils -caps -filecaps

I have no recollection of setting these flags, but `genlop -iputils ` gives an 
installation date 2 days after I signed up with Linode, which tends to suggest 
I installed the package. Or perhaps it was part of the original Linode Gentoo 
disk image, and I only updated iputils?

The USE flag descriptions are meaningless to me and so I have no idea why I 
might have set these flags, were it me who did so:

  caps - Use Linux capabilities library to control privilege
  filecaps - Use Linux file capabilities to control privilege rather than 
set*id (this is orthogonal to USE=caps which uses capabilities at runtime e.g. 
lib cap)

Can anyone possibly explain in simple terms what these USE flags do, and help 
identify what's best for me?

Thanks in advance for any suggestions,

Stroller.




Re: [gentoo-user] Linode discontinuing Xen, migrating to KVM

2017-10-02 Thread Stroller

> On 2 Oct 2017, at 18:30, Tanstaafl <tansta...@libertytrek.org> wrote:
> 
> One thing I do seem to recall is there was somewhere that I had to
> define Xen as the virtualization environment being used, but I can't
> remember where I did that. Was that in the kernel config? If so, their
> tool should (hopefully) handle that change.

See last lines:

~ $ grep -B 25 -ie xen -ie kvm /etc/rc.conf
# This is mainly used for saying which services do NOT provide net.
#rc_net_tap0_provide="!net"

# This is the subsystem type.
# It is used to match against keywords set by the keyword call in the
# depend function of service scripts.
#
# It should be set to the value representing the environment this file is
# PRESENTLY in, not the virtualization the environment is capable of.
# If it is commented out, automatic detection will be used.
#
# The list below shows all possible settings as well as the host
# operating systems where they can be used and autodetected.
#
# ""   - nothing special
# "docker" - Docker container manager (Linux)
# "jail"   - Jail (DragonflyBSD or FreeBSD)
# "lxc"- Linux Containers
# "openvz" - Linux OpenVZ
# "prefix" - Prefix
# "rkt"- CoreOS container management system (Linux)
# "subhurd"- Hurd subhurds (to be checked)
# "systemd-nspawn" - Container created by systemd-nspawn (Linux)
# "uml"- Usermode Linux
# "vserver"- Linux vserver
# "xen0"   - Xen0 Domain (Linux and NetBSD)
# "xenU"   - XenU Domain (Linux and NetBSD)
~ $

This on a Linode host, BTW. They haven't told me I need to do anything, so I 
hope I'm ok.

HTH,

Stroller.




Re: [gentoo-user] Change Readline mode for all users?

2017-09-20 Thread Stroller

> On 19 Sep 2017, at 01:30, Simon Thelen <gentoo-u...@c-14.de> wrote:
> 
>> I find that my pager and editor are set in /etc/env.d/99pager and
>> /etc/env.d/99editor respectively, but creating a
>> /etc/env.d/99bashlineediting file containing "set -o vi" doesn't seem
>> to work.
> Either "set-editing-mode vi" in /etc/inputrc for all readline programs
> or in /etc/bash/bashrc (for bash-only)

Oops! This spelling breaks the "m" key - for some reason it doesn't work in 
lowercase mode.

The correct comment directive is "set editing-mode vi" with a space after "set".

This is also discussed on the Vim wiki: 
http://vim.wikia.com/wiki/Use_vi_shortcuts_in_terminal

Stroller.




Re: [gentoo-user] Change Readline mode for all users?

2017-09-19 Thread Stroller

> On 19 Sep 2017, at 01:30, Simon Thelen <gentoo-u...@c-14.de> wrote:
>> 
>> Is it possible to set this for all users, please, so that this edit
>> mode is used for root?
> Readline is customized by putting commands in an initialization file
> (the inputrc file). The name of this file is taken from the value of the
> INPUTRC environment variable.  If that variable is unset, the default is
> ~/.inputrc. If that file  does not exist or cannot be read, the ultimate
> default is /etc/inputrc.
> 
>> I find that my pager and editor are set in /etc/env.d/99pager and
>> /etc/env.d/99editor respectively, but creating a
>> /etc/env.d/99bashlineediting file containing "set -o vi" doesn't seem
>> to work.
> Either "set-editing-mode vi" in /etc/inputrc for all readline programs
> or in /etc/bash/bashrc (for bash-only)

I looked at /etc/inputrc, and its existing contents are of a different format.

Where all the other lines are of the form:
  "\eOH": beginning-of-line
  "\eOF": end-of-line
it felt a bit wrong to be adding "set-editing-mode vi". Hence me asking here. 
Is it foolish of me to think this?

Stroller.




Re: [gentoo-user] Change Readline mode for all users?

2017-09-19 Thread Stroller

> On 19 Sep 2017, at 01:25, Vadim A. Misbakh-Soloviov <gen...@mva.name> wrote:
> 
>> I find that my pager and editor are set in /etc/env.d/99pager and
>> /etc/env.d/99editor respectively, but creating a
>> /etc/env.d/99bashlineediting file containing "set -o vi" doesn't seem to
>> work.
> 
> 1) env-update
> 
> env.d is just the place where all the packages places their crap so 
> env-update 
> can take care of it and rebuild all the things properly (so, no need to allow 
> to edit system config directly (and accidentally brake them)

Sorry, I don't understand.

> 2) what you want is a bad idea.
> 
> I bet portage (which internally uses bash a lot) won't be happy with that

A setting for interactive bash use should not affect non-interactive bash 
scripts. If it does, I'd think it a bug.

Stroller.




[gentoo-user] Change Readline mode for all users?

2017-09-18 Thread Stroller
I prefer vi-style editing for my bash prompt - that is to say I press the 
escape key, and "b" two or three times and the cursor moves back 2 or 3 words. 
I can press "escape" followed by shift-I to take the cursor back to the very 
start of the line, and "v" allows me to edit the command line in vi itself.

I enable this in my .bashrc with "set -o vi".

I find I can set it for all Readline-based programs by putting "set 
editing-mode vi" in ~/.inputrc.

Is it possible to set this for all users, please, so that this edit mode is 
used for root?

I find that my pager and editor are set in /etc/env.d/99pager and 
/etc/env.d/99editor respectively, but creating a /etc/env.d/99bashlineediting 
file containing "set -o vi" doesn't seem to work.

Any thoughts, please?

Stroller.




Re: [gentoo-user] Fail2Ban vs SSHGuard? Comparison? What's the difference?

2017-09-16 Thread Stroller

> On 16 Sep 2017, at 20:31, Alan McKinnon <alan.mckin...@gmail.com> wrote:
> 
> As far as I'm aware (and could be wrong), sshguard is mostly just sshd
> whereas fail2ban works on anything you can give it consistent logs for.

I thought otherwise, but you appear to be right - SSHGuard appears to have only 
a handful of "signatures", so it looks like Fail2Ban it is.

https://www.sshguard.net/docs/reference/attack-signatures/

Stroller.




Re: [gentoo-user] thin-provisioning-tools - but I don't provision anything!!!!!

2017-09-16 Thread Stroller

> On 16 Sep 2017, at 17:16, Peter Humphrey <pe...@prh.myzen.co.uk> wrote:
> On Saturday, 16 September 2017 15:35:44 BST Alan Mackenzie wrote:
> 
>> What really got up my nose, as mentioned above, was doing an emerge -s on
>> thing-provisioning-tools and getting told it was "tools for thin
>> provisioning".
> 
> I raised a bug report about that once, against use.desc. There was a flurry 
> of activity as devs looked around their own bailiwicks and fixed them, then 
> everything went quiet again.

Really? 

I started threads at least twice on gentoo-dev (now years ago), and it seemed 
to have no effect.

I've given up expecting USE descriptions to be useful.

> It's an example of no designer or coder enjoying any of the still important 
> bits left over when the acceptance test is passed.

+1

Stroller.




Re: [gentoo-user] [OT] Choice of KVM?

2017-09-16 Thread Stroller

> On 16 Sep 2017, at 15:19, Peter Humphrey <pe...@prh.myzen.co.uk> wrote:
> 
> As always, as soon as I'd sent that I found an answer: someone who'd 
> replaced "flaky" Belkin with Aten.

I think they're probably all based on the same OEM chipsets, anyway. 

I was quite into the KVM-over-IP versions a few years ago, and they certainly 
all were. I'd find a near identical product (you could especially tell by the 
web interface) from half a dozen or more manufacturers.

Stroller.




[gentoo-user] Fail2Ban vs SSHGuard? Comparison? What's the difference?

2017-09-16 Thread Stroller
Is anyone familiar enough with this subject to make a comparison between these 
two programs, please?

If I google Fail2Ban vs SSHGuard I get many hits saying "I use this one", but 
no-one saying why one might be better than the other.

So far I'm favouring SSHGuard, but mostly because the website looks prettier.

I want to be able to use passwords, so allowing logons only by public-key is no 
good (also would be nice to block failed IMAP connection attempts).

Thanks in advance for any thoughts. 

Stroller.


Re: [gentoo-user] Is anyone using Scaleway VM hosting?

2017-09-12 Thread Stroller

> On 12 Sep 2017, at 12:47, Alexey Eschenko <skobkin...@ya.ru> wrote:
> 
>> is it merely that "images" are copied when they're deployed, whereas 
>> "snapshots" are resumed and any changes overwrite the old filesystem? Are 
>> there any other differences?
> Yes, like that. Snapshot is backup for one volume. It can be converted to the 
> image for creation of new VM's or to the volume and then mounted to one of 
> your machines. As far as I understand, "snapshot" is raw data which can be 
> used in several ways.
> (and much more)

Many thanks for your help.

Stroller.





Re: [gentoo-user] Unlocking Plasma desktop in Gentoo without systemd

2017-09-11 Thread Stroller

> On 11 Sep 2017, at 18:49, Mick <michaelkintz...@gmail.com> wrote:
> 
> … 
> "The screen locker is broken and unlocking is not possible anymore.
> In order to unlock switch to a virtual terminal (e.g. Ctrl+Alt+F2),
> log in and execute the command:
> 
> loginctl unlock-sessions
> 
> ...
> 
> If this is a default Gentoo installation with openrc, why does a default 
> plasma desktop screenlocker comes up with this nonsense?

Is it possible some of your KDE components were emerged with USE="systemd"?

Try something like `emerge -pN world`?

Stroller.




Re: [gentoo-user] Is anyone using Scaleway VM hosting?

2017-09-11 Thread Stroller

> On 11 Sep 2017, at 00:08, Alexey Eschenko <skobkin...@ya.ru> wrote:
> 
> I'm using Scaleway with Gentoo VM for two months. You can try to ask here but 
> I don't know if I can answer to you properly.

Thanks. 

I signed up for an account there a day or two ago, and set up a VM running 
Gentoo.

Scaleway provide a Gentoo VM image x86_64-gentoo-latest-2016-04-06_16:15, so I 
added a user account and a handful of essential tools and started updating it 
to latest.

Having updated the VM to the current tree, I want to make an image of the 
system so that I have my Gentoo minimal 9-2017 VM that I can copy and deploy 
any time. 

The VM admin interface has sections for "volumes", "snapshots" and "images" - I 
assume they're all kinds of disc images, but I don't think I fully understand 
the difference.

I think:

• Volumes are active disc images, currently deployed in a VM.
• Snapshots are VM disc images, which are saved once the VM has been shutdown.
• Images are VM disk images which can be used as the basis for new VMs?

If my understanding is correct, I don't really see the difference between a 
"snapshot" and an "image" - is it merely that "images" are copied when they're 
deployed, whereas "snapshots" are resumed and any changes overwrite the old 
filesystem? Are there any other differences?

I'm used to running Linux on physical hardware, so I tend to think of disc 
images as being created if I boot from SystemRescueCD and `dd if=/dev/sda 
of=/mnt/usb-drive/old-pc.dd.img`. I can understand that, running a VM farm, one 
would probably want to have a bunch of disk images available to use - some of 
these I might label "my-gentoo-basic-master-2017" and 
"my-gentoo-webserver-master-2017", which I would mark as read-only, whilst 
others would be "my-webserver-www.something.com", and which would be current, 
active and read-write. I *think* this is the diasctintion being made between 
volumes, snapshots and images, but I lack confidence because this doesn't seem 
to be explained anywhere.

When I try to make a snapshot of a volume I get a message "Volume not snapshot 
- server must be stopped to snapshot". That sounds reasonable, but when I go to 
shutdown the VM and see this scary message - https://i.imgur.com/1E02DrP.png

I assume that "Archive" is the same as shutting down my PC - the contents of 
the VM are saved, and I can start it up again later. I don't understand the 
warning about the DSSD being "totally erased without any possible recovery" - 
surely the whole point is to make the VM inactive, but save it's current state, 
ready to start up again next time it's needed (like switching a regular PC on 
again). 

> Also I'd rather recommend to write to Scaleway support. They usually answers 
> in one business day.

I don't feel confident in what I'm asking at the moment - I feel like these 
kind of questions ought to be covered in the first pages of a beginners' FAQ, 
but I don't immediately find them on Scaleway's site. I.E. I'm asking dumb 
questions, or I don't know the right questions to ask.

The Scaleway community support pages show some customer discontent (e.g. the 
"Your SMTP ports are blocked. Contact our support to unblock them" and "Abuse 
reports ignored?") and I can't help but wondering if I should have spent the 
extra €2 a month and gone for Linode. 

Final question: Scaleway advertise their servers as €2.99 a month / €0.006 per 
hour - are customers always billed on an hourly basis? I.E. if I have a have VM 
that I only spin up when I need it, an hour or two at a time, for a few hours a 
month, am I right in thinking I pay only pennies for that? It seems very 
convenient. Is this charging model common amongst VM hosting providers?

Thanks in advance for any pointers,

Stroller.






[gentoo-user] Is anyone using Scaleway VM hosting?

2017-09-10 Thread Stroller
Further to my previous thread asking for VM hosting recommendations, I thought 
I'd try www.Scaleway.com, who are amongst the cheapest.

I have a question about snapshots and images, but I'm finding it a bit hard to 
articulate my confusion, and there's no point in writing more unless there's 
someone who's familiar with this.

Thanks,

Stroller.




Re: [gentoo-user] BINPKG_COMPRESS portage variable

2017-09-01 Thread Stroller

> On 31 Aug 2017, at 13:55, Francesco Turco <ftu...@fastmail.fm> wrote:
> 
> I just set BINPKG_COMPRESS="xz" in /etc/portage/make.conf in order to
> compress binary packages with the xz algorithm. It seems to work, but
> binary packages filenames still end with .tbz2 instead of .txz.

That doesn't sound right. I'd file a report at bugs.gentoo.org

Stroller.





Re: [gentoo-user] Why isn't this SDcard mounting?

2017-08-31 Thread Stroller

> On 29 Aug 2017, at 14:53, Stroller <strol...@stellar.eclipse.co.uk> wrote:
> ...
> Instead of mounting the SDcard, it's mounting the loopback device.
> 
> A card, as /dev/sdb, was previously zeroed over and repartitioned a couple of 
> days ago. I bet if I reboot the system it'll be recognised. How do I get it 
> to be recognised now?

At some point yesterday, making no progress with `udisksctl` (I think that 
mounted the loopback device, too, despite claiming to have succeeded in 
mounting /dev/sdb1 as described in my email of 10:20pm 29-8-2017), I just 
wanted to use the SDcard and rebooted the system.

As expected, when I put the card back in, everything worked perfectly.

My belief is that this is related to zeroing out or recreating the partition 
table.

Stroller.




Re: [gentoo-user] Why isn't this SDcard mounting?

2017-08-29 Thread Stroller

> On 29 Aug 2017, at 19:15, Mick <michaelkintz...@gmail.com> wrote:
> ...
> This may have been mentioned already, but do you have sys-fs/udisks installed?

I did not.

> Check the output of udisksctl status/monitor/info and see what it reveals.  
> Then check if you can mount the device with udiskctl.

Having installed it I got "Error connecting to the udisks daemon: Could not 
connect: No such file or directory" a few times, until it occurred to me to 
start dbus. This may be the first time I've ever done so.

I was then able to get a status and info for the drive. 

I cannot mount the drive using `sudo mount -v /dev/sdb1 /mnt/tmp`, but I am 
able to do so using `udisksctl`:

  $ sudo udisksctl mount -b /dev/sdb1  
  Mounted /dev/sdb1 at /run/media/root/6D18-12B4.
  $

Unexpectedly I find 10MB of files on the device - the same size as the loopback 
device which previously claimed to be mounted (and 6MB less than the files I 
had intended to copy to it).

No /dev/sdb1 has been created.

There are aspects of this I still don't understand, but I am grateful to 
everyone who has provided their time.

Stroller.




Re: [gentoo-user] Why isn't this SDcard mounting?

2017-08-29 Thread Stroller

> On 29 Aug 2017, at 16:35, Alan McKinnon <alan.mckin...@gmail.com> wrote:
>> 
>> Is it udev that's responsible for populating the dev nodes?
>> (is that the right terminology?)
>> 
>> How do I force it to reconstruct the partition table? Surely one should 
>> expect to be able to format or partition a removable drive and have the dev 
>> nodes created without the necessity of rebooting?
> 
> run partprobe and see if that makes a difference. It forces the kernel
> to re-organize it's idea of what partitions are available.
> 
> I would have thought SD Cards were treated like regular hotpluggable
> devices like USB storage, but maybe not. I'd be interested to see the
> results of running partprobe.

   $ sudo partprobe -s
   /dev/sda: gpt partitions 1 2 3 4 5
   /dev/sdb: msdos partitions 1
   $ 

The following is also dumped to /var/log/messages:

   Aug 29 17:31:13 alrai sudo[20565]: stroller : TTY=pts/1 ; PWD=/home/stroller 
; USER=root ; COMMAND=/bin/bash -c partprobe
   Aug 29 17:31:13 alrai sudo[20565]: pam_unix(sudo:session): session opened 
for user root by (uid=0)
   Aug 29 17:31:13 alrai kernel:  sdb: sdb1
   Aug 29 17:31:13 alrai kernel:  sdb: sdb1
   Aug 29 17:31:13 alrai sudo[20565]: pam_unix(sudo:session): session closed 
for user root

However no new device nodes are added in /dev.

This is a headless system, mostly used as a file server. It doesn't run a 
desktop (although I've run X11 apps using xpra a few times in the past). I've 
never done anything to set up hotplugging.

Stroller.




Re: [gentoo-user] Why isn't this SDcard mounting?

2017-08-29 Thread Stroller

> On 29 Aug 2017, at 15:53, Ian Zimmerman <i...@very.loosely.org> wrote:
> 
> I don't have a quick solution, but I would look at the state of /dev
> (not only /dev/sdb* but also the various /dev/disk/by-* directories)
> both before and after running parted.  parted is my prime suspect for
> messing things up here.

Indeed.

No sdb1 is mentioned, despite it apparently being recognised by the kernel when 
plugged in (from the last line of the `grep  kernel /var/log/messages` output 
in my previous post).

  $ ls -l /dev/disk/* | grep sdb
  lrwxrwxrwx 1 root root  9 Aug 29 14:51 
usb-Generic-_Card_Reader_2006041309210-0:0 -> ../../sdb
  lrwxrwxrwx 1 root root  9 Aug 29 14:51 
pci-:00:12.2-usb-0:1:1.0-scsi-0:0:0:0 -> ../../sdb
  $ 

The same command, grepping sda, shows much longer output, with symlinks to all 
the partitions 

Is it udev that's responsible for populating the dev nodes?
(is that the right terminology?)

How do I force it to reconstruct the partition table? Surely one should expect 
to be able to format or partition a removable drive and have the dev nodes 
created without the necessity of rebooting?

> Also, is this the normal mount program from util-linux package, or some
> "modern" replacement?

It's the normal one:

  $ equery belongs `which mount`
   * Searching for /bin/mount ...
  sys-apps/util-linux-2.28.2 (/bin/mount)
  $ 

Stroller.







Re: [gentoo-user] Simplest NTP client for standalone system?

2017-08-29 Thread Stroller

> On 29 Aug 2017, at 14:19, Rich Freeman <ri...@gentoo.org> wrote:
> 
> On Tue, Aug 29, 2017 at 8:52 AM, Stroller
> <strol...@stellar.eclipse.co.uk> wrote:
>> 
>> Any recommendations for a simple NTP client?
>> 
> 
> systemd-timedated?
> 
> /me ducks...

Sounds good, actually.

Will try to remember it for my next system, but these are both openRC.

Stroller.




[gentoo-user] Why isn't this SDcard mounting?

2017-08-29 Thread Stroller
I can't make any sense of it.

It's doing this with 2 different SDcards, I think - this is the brand new 
replacement for one which I believe(d) to be knackered.

Instead of mounting the SDcard, it's mounting the loopback device.

A card, as /dev/sdb, was previously zeroed over and repartitioned a couple of 
days ago. I bet if I reboot the system it'll be recognised. How do I get it to 
be recognised now?

Thanks in advance for your thoughts,

Stroller.


   $ sudo grep  kernel /var/log/messages
   Aug 29 13:49:46 alrai kernel: usb 1-1: new high-speed USB device number 5 
usingehci-pci
   Aug 29 13:49:46 alrai kernel: usb 1-1: New USB device found, idVendor=0bda, 
idProduct=0136
   Aug 29 13:49:46 alrai kernel: usb 1-1: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
   Aug 29 13:49:46 alrai kernel: usb 1-1: Product: USB2.0-CRW
   Aug 29 13:49:46 alrai kernel: usb 1-1: Manufacturer: Generic
   Aug 29 13:49:46 alrai kernel: usb 1-1: SerialNumber: 2006041309210
   Aug 29 13:49:46 alrai kernel: usb-storage 1-1:1.0: USB Mass Storage device 
detected
   Aug 29 13:49:46 alrai kernel: scsi host6: usb-storage 1-1:1.0
   Aug 29 13:49:47 alrai kernel: scsi 6:0:0:0: Direct-Access Generic- Card 
Reader  1.00 PQ: 0 ANSI: 0 CCS
   Aug 29 13:49:47 alrai kernel: sd 6:0:0:0: Attached scsi generic sg1 type 0
   Aug 29 13:49:48 alrai kernel: sd 6:0:0:0: [sdb] 62521344 512-byte logical 
blocks: (32.0 GB/29.8 GiB)
   Aug 29 13:49:48 alrai kernel: sd 6:0:0:0: [sdb] Write Protect is off
   Aug 29 13:49:48 alrai kernel: sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
   Aug 29 13:49:48 alrai kernel: sd 6:0:0:0: [sdb] No Caching mode page found
   Aug 29 13:49:48 alrai kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write 
through
   Aug 29 13:49:48 alrai kernel:  sdb: sdb1
   Aug 29 13:49:48 alrai kernel: sd 6:0:0:0: [sdb] Attached SCSI removable disk
   Aug 29 14:47:12 alrai kernel:  sdb: sdb1
   $
   $ sudo parted /dev/sdb p
   Model: Generic- Card Reader (scsi)
   Disk /dev/sdb: 32.0GB
   Sector size (logical/physical): 512B/512B
   Partition Table: msdos
   Disk Flags:
   
   Number  Start   End SizeType File system  Flags
1  4194kB  32.0GB  32.0GB  primary  fat32lba
   
   $ sudo mount -v /dev/sdb1 /mnt/tmp
   mount: /dev/loop0 mounted on /mnt/tmp.
   $ du -sh /mnt/tmp
   10M /mnt/tmp
   $ lsmod | grep fat
   vfat   20480  1
   fat65536  1 vfat
   $




[gentoo-user] Simplest NTP client for standalone system?

2017-08-29 Thread Stroller
Hello,

Any recommendations for a simple NTP client?

I was surprised to find the clock wrong when I logged into one of my systems 
today.

On another system I have net-misc/ntp installed. On it I have:

  $ ls -1 /etc/runlevels/default/*ntp*
  /etc/runlevels/default/ntp-client
  /etc/runlevels/default/ntpd
  $ 

I *think* this is because ntp-client is designed not to make large adjustments, 
so ntpd is run at startup in case the clock is too far out.

Ideally I'd like a program that performs both roles. 

Thanks in advance for any suggestions,

Stroller.


Re: [gentoo-user] Easiest way to block domains?

2017-08-29 Thread Stroller

> On 29 Aug 2017, at 06:38, Walter Dnes <waltd...@waltdnes.org> wrote:
> 
> …  But there are a few web pages that throw the kitchen sink of
> 3rd-pary adservers+trackers.  178 unique servers for one web page will
> peg the load from the web browser to 150% of 1 cpu core.  On a 2-core
> machine, that is bad.  The browser is unresponsive for a few seconds at
> a time.

I use Ghostery on my Mac - I couldn't use the web without it now.

They have versions for Firefox and Opera - it might not be as full-featured as 
you'd like, but it's very easy to install and use, so might be worth a try.

Stroller.




Re: [gentoo-user] install under centos606

2017-08-21 Thread Stroller

> On 21 Aug 2017, at 12:49, mad.scientist.at.la...@tutanota.com wrote:
> 
> I'm excited about using gentoo, though the online instructions could really 
> use more structuring, i.e. it's hard to avoid reading the parts you don't 
> need to and the "flow" is rather lost.  It's an extremely verbose document 
> which makes it very hard to get the gist of the install procedure.  it's not 
> a bad document, merely poorly organised.

I always use the quick install guide, although I don't know if it's as well 
maintained.

https://www.google.co.uk/#q=gentoo+quick+install

Stroller


PS: Could I ask you to set your mailer to use plain text when posting to the 
list, please?





Re: [gentoo-user] ruby 22

2017-08-20 Thread Stroller

> On 20 Aug 2017, at 15:19, allan gottlieb <gottl...@nyu.edu> wrote:
> 
> I am currently running ruby21 (ruby-2.1.9).
> All such versions of ruby are masked so this is clearly a mistake
> on my part.  I was alerted to this error by dev-ruby/rdoc-4.2.0
> failing to build on today's emerge --update @world

If this was a mistake on your part then you're not alone.

I appear currently to have both ruby-2.1.9 and ruby-2.2.6 installed on two 
systems, last sync'd 6/7/2017 and 20/7/2017, with select showing ruby21 as 
current version on both.

Stroller.




Re: [gentoo-user] Online hosting recommendation - VMs?

2017-08-18 Thread Stroller

> On 18 Aug 2017, at 13:28, Todd Goodman <t...@bonedaddy.net> wrote:
> 
>> Many thanks, that's very helpful.
>> 
>> So AWS instances work like any other VM? I can ssh into them, install 
>> packages on them and so on?
>> … 
> 
> Yes, you can ssh in to them as usual (assuming you have allowed it in your 
> security group/firewall of course.)
> 
> And install packages as well.  They're really just regular VM guests once so 
> whatever you're used to with Gentoo (or other OS) is what you'll mostly get .
> 
> You'll need to look into the free tier to be sure.  You can always set alerts 
> to email you if you're getting close to getting charged.

Thanks for your help.

Looks like the free tier is a bit skinny on storage - only 5GB.

Linode's pricing pitch, "simple pricing, no calculator needed", puts Amazon's 
rates to shame.

Stroller.




Re: [gentoo-user] Online hosting recommendation - VMs?

2017-08-17 Thread Stroller

> On 17 Aug 2017, at 12:40, Todd Goodman <t...@bonedaddy.net> wrote:
> 
> I use AWS instances extensively at work and they have been incredibly 
> reliable and after initially learning the tools they're very convenient to 
> manage (IMNHO of course.)
> 
> I've used the AWS free tier EC2 to set up a Gentoo instance using a public 
> AMI to base it on.  It worked OK and I'm certain I could have figured out how 
> to set it up from scratch too.
> 
> The free tier is a micro instance which may or may not suit your purposes.  
> It's probably fine for a mail server and low traffic web server.

Many thanks, that's very helpful. 

So AWS instances work like any other VM? I can ssh into them, install packages 
on them and so on?

You mentioned the AWS free tier - if I use one of those, can I be sure that it 
won't exceed the usage limits without billing me?

Linode were mentioned by a couple of people in the previous thread, too. They 
seem like the logical choice, but if I can use AWS for free, that would be 
better. ;)

Stroller.




Re: [gentoo-user] Online hosting recommendation - VMs?

2017-08-16 Thread Stroller

> On 26 Mar 2017, at 03:57, Stroller <strol...@stellar.eclipse.co.uk> wrote:
> 
> In the next few weeks I need to move my email server (a very old Gentoo 
> installation) from the closet in my home, into the cloud so that I can go 
> travelling and access my mail from anywhere.

A few months ago I asked for hosting recommendations, and was surprised not to 
receive any mention of Amazon's cloud services.

I thought reason might be that Amazon's cloud servers are different from a 
regular VM, but today saw someone on the Postfix list state that they're 
running it on an AWS instance.

Has anyone tried running Gentoo on AWS or did this go unmentioned because it's 
impossible?

Stroller.




Re: [gentoo-user] Firefox - LINGUAS value en_GB is not enabled using L10N use flags

2017-07-21 Thread Stroller

> On 21 Jul 2017, at 04:31, wabe <waben...@gmail.com> wrote:
> 
>>  LINGUAS="en_GB en"
>>  L10N="en_GB en"
> 
> Shouldn't it be en-GB and not en_GB?

Oh, that's not confusing at all!

Many thanks. That's fixed it.

Stroller.





[gentoo-user] Firefox - LINGUAS value en_GB is not enabled using L10N use flags

2017-07-20 Thread Stroller
When emerging Firefox the warning "LINGUAS value en_GB is not enabled using 
L10N use flags" is twice shown.

Is there anything I can or should do about this?

The only uncommented lines in /etc/locale.gen are:

  en_GB.UTF-8 UTF-8 
 
  en_GB ISO-8859-1

And in /etc/portage/make.conf I have:

  LINGUAS="en_GB en"
  L10N="en_GB en"

Cheers for any thoughts,

Stroller.




Re: [gentoo-user] Can't compile media-libs/mesa - do I need gallium?

2017-07-19 Thread Stroller

> On 17 Jul 2017, at 03:14, Walter Dnes <waltd...@waltdnes.org> wrote:
> 
> On Mon, Jul 17, 2017 at 01:43:46AM +0100, Stroller wrote
>> This system is headless, but I have x11-wm/xpra installed on it so I can run 
>> X11 apps remotely.
>> 
>> Recent emerges of world have been failing at media-libs/mesa
>> ...
>> 
>> All I can make out is that it's a problem with gallium. The current
>> version of mesa appears to have gallium enabled, though.
>> 
>> I know nothing about mesa, not even really what it's for, so I don't
>> know if I should just try disabling gallium and trying again.
> 
>  I've got 17.0.6 building and running fine, under GCC 6.3.0 (YES !),
> without gallium.  I suggest trying "-gallium" in make.conf.  Here's my
> mesa "pretend build" output...
> 
> [ebuild   R] media-libs/mesa-17.0.6::gentoo  USE="bindist classic dri3 
> egl gbm gles2 nptl -d3d9 -debug -gallium -gles1 -llvm -opencl -openmax 
> -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -wayland 
> -xa -xvmc" VIDEO_CARDS="i915 intel (-freedreno) -i965 -imx -nouveau -r100 
> -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 0 KiB 

llvm depends on gallium, I think, as emerging with USE="-gallium" throws an 
error of that nature. 

Emerging with USE="-gallium -llvm" works, but I was pleased with the solution 
provided by IceAmber, as it allows me to update mesa with the default flags 
(i.e. with those enabled).

Since I don't use X11 much I feel happier using the default flags wherever 
possible (irrational of me, perhaps), unless they pull in too many dependencies.

I appreciate all the help,

Stroller.





Re: [gentoo-user] Can't compile media-libs/mesa - do I need gallium?

2017-07-19 Thread Stroller

> On 18 Jul 2017, at 02:33, IceAmber <iceamber2...@gmail.com> wrote:
> 
> Actually, this is the c++ 11 abi bug, read the news
> And you can solve it by `revdep-rebuild --library 'libstdc++.so.6' -- 
> --exclude gcc`

Many thanks!

That worked perfectly.

Stroller.




[gentoo-user] Can't compile media-libs/mesa - do I need gallium?

2017-07-16 Thread Stroller
This system is headless, but I have x11-wm/xpra installed on it so I can run 
X11 apps remotely.

Recent emerges of world have been failing at media-libs/mesa

Currently I have mesa-13.0.5 installed; I have this problem with mesa-17.0.6 
(current stable) and mesa-17.1.4 (latest in the tree when I tried this a few 
days ago).

The error says I should post this if I need support:

$ emerge -pqv '=media-libs/mesa-17.0.6::gentoo'
[ebuild U ] media-libs/mesa-17.0.6 [13.0.5] USE="classic dri3 egl gallium 
gbm llvm nptl -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa 
-pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc 
(-gcrypt%) (-libressl%) (-nettle%*) (-openssl%*)" ABI_X86="(64) -32 (-x32)" 
VIDEO_CARDS="(-freedreno) -i915 -i965 -imx% -intel -nouveau -r100 -r200 -r300 
-r600 -radeon
-radeonsi (-vc4) (-vivante) -vmware"
$

The build.log doesn't point me towards any obvious solutions, or maybe I just 
don't know how to read it.

All I can make out is that it's a problem with gallium. The current version of 
mesa appears to have gallium enabled, though.

I know nothing about mesa, not even really what it's for, so I don't know if I 
should just try disabling gallium and trying again.

I'm grateful for any thoughts,

Stroller.


Tail end of /var/tmp/portage/media-libs/mesa-17.0.6/temp/build.log follows:


/bin/sh ../../../../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  
-march=native -O2 -pipe -Wall -fno-math-errno -fno-trapping-math  -shared 
-shrext .so -module -no-undefined -avoid-version -Wl,--gc-sections 
-Wl,--no-undefined 
-Wl,--version-script=/var/tmp/portage/media-libs/mesa-17.0.6/work/mesa-17.0.6/src/gallium/targets/dri/dri.sym
 
-Wl,--dynamic-list=/var/tmp/portage/media-libs/mesa-17.0.6/work/mesa-17.0.6/src/gallium/targets/dri-vdpau.dyn
 -L/usr/lib64  -Wl,-O1 -Wl,--as-needed -o gallium_dri.la -rpath /usr/lib64/dri 
gallium_dri_la-target.lo ../../../../src/mesa/libmesagallium.la 
../../../../src/mesa/drivers/dri/common/libdricommon.la 
../../../../src/mesa/drivers/dri/common/libmegadriver_stub.la 
../../../../src/gallium/state_trackers/dri/libdri.la 
../../../../src/gallium/auxiliary/libgalliumvl.la 
../../../../src/gallium/auxiliary/libgallium.la 
../../../../src/gallium/drivers/ddebug/libddebug.la 
../../../../src/gallium/drivers/noop/libnoop.la 
../../../../src/gallium/drivers/rbug/librbug.la 
../../../../src/gallium/drivers/trace/libtrace.la 
../../../../src/mapi/shared-glapi/libglapi.la  -lexpat  -ldrm  -lm   -lpthread 
-ldl -ldrm  
../../../../src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la 
../../../../src/gallium/winsys/sw/null/libws_null.la 
../../../../src/gallium/winsys/sw/wrapper/libwsw.la 
../../../../src/gallium/winsys/sw/dri/libswdri.la 
../../../../src/gallium/winsys/sw/kms-dri/libswkmsdri.la -ldrm  
../../../../src/gallium/drivers/softpipe/libsoftpipe.la 
../../../../src/gallium/drivers/llvmpipe/libllvmpipe.la 
-lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG 
-lLLVMAsmPrinter -lLLVMDebugInfoCodeView -lLLVMCodeGen -lLLVMScalarOpts 
-lLLVMInstCombine -lLLVMInstrumentation -lLLVMTransformUtils -lLLVMX86Desc 
-lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils 
-lLLVMMCJIT -lLLVMExecutionEngine -lLLVMTarget -lLLVMRuntimeDyld -lLLVMObject 
-lLLVMMCParser -lLLVMBitReader -lLLVMMC -lLLVMBitWriter -lLLVMAnalysis 
-lLLVMProfileData -lLLVMCore -lLLVMSupport 
libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib 
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../lib64/crti.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/crtbeginS.o  
.libs/gallium_dri_la-target.o  -Wl,--whole-archive 
../../../../src/mesa/.libs/libmesagallium.a 
../../../../src/mesa/drivers/dri/common/.libs/libdricommon.a 
../../../../src/mesa/drivers/dri/common/.libs/libmegadriver_stub.a 
../../../../src/gallium/state_trackers/dri/.libs/libdri.a 
../../../../src/gallium/auxiliary/.libs/libgalliumvl.a 
../../../../src/gallium/auxiliary/.libs/libgallium.a 
../../../../src/gallium/drivers/ddebug/.libs/libddebug.a 
../../../../src/gallium/drivers/noop/.libs/libnoop.a 
../../../../src/gallium/drivers/rbug/.libs/librbug.a 
../../../../src/gallium/drivers/trace/.libs/libtrace.a 
../../../../src/gallium/auxiliary/pipe-loader/.libs/libpipe_loader_static.a 
../../../../src/gallium/winsys/sw/null/.libs/libws_null.a 
../../../../src/gallium/winsys/sw/wrapper/.libs/libwsw.a 
../../../../src/gallium/winsys/sw/dri/.libs/libswdri.a 
../../../../src/gallium/winsys/sw/kms-dri/.libs/libswkmsdri.a 
../../../../src/gallium/drivers/softpipe/.libs/libsoftpipe.a 
../../../../src/gallium/drivers/llvmpipe/.libs/libllvmpipe.a 
-Wl,--no-whole-archive  -Wl,-rpath 
-Wl,/var/tmp/portage/media-libs/mesa-17.0.6/work/mesa-17.0.6-abi_x86_64.amd64/src/mapi/shared-glapi/.libs
 -L/usr/lib64 ../../../../src/mapi/shared-glapi/.libs/libglapi.so -lpthread 
-ldl -lexpat -ldrm -lLLVMX86D

Re: [gentoo-user] [OT] Tux AWOL

2017-05-13 Thread Stroller

> On 13 May 2017, at 09:46, Jorge Almeida <jjalme...@gmail.com> wrote:
> 
> In case someone is using kernel 4.11: I tried it and everything seems
> fine, except that the linux logo on the boot screen (i.e. tty1) is
> gone. It was there before (with 4.10.9), and I used make oldconfig.

Using `make oldconfig` isn't enough to diagnose - you need to establish whether 
the option is enabled.

On my system:

$ uname -r
4.9.4-gentoo
$ zgrep -i logo /proc/config.gz
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
$

You can check to see if the options have changed in `make menuconfig`.

Stroller.




Re: [gentoo-user] Where is gmplayer?

2017-04-19 Thread Stroller

> On 18 Apr 2017, at 22:35, Alan McKinnon <alan.mckin...@gmail.com> wrote:
> 
> I thought that particular binary was abandoned *years* ago by mplayer -
> it was unmaintained?

The bug linked elsewhere in this thread says it was dropped upstream in 2010, 
but also that it was reanimated in 2013.

It's mentioned if you unpack the source for MPlayer-1.2.1, currently in the 
Portage tree, and run `./configure --help`:

   $ ./configure --help | grep -i gui
  --enable-gui   enable GMPlayer compilation (GTK+ GUI) [disable]
  --language-msg=langlanguage to use for the messages and the GUI [en]
   $ 

If I were OP I'd start from there, and the attachment igel uploaded to bgo on 
2013-07-22.

Stroller.




Re: [gentoo-user] Online hosting recommendation - VMs?

2017-03-29 Thread Stroller

> On 29 Mar 2017, at 06:43, Arthur Țițeică  wrote:
>> 
>> €5 a month seems an ideal price, but I can probably afford a little
>> more.
> 
> Dedibox/Online has real hardware (dedicated servers) for 15 or 30€ on the 
> personal range. The more expensive one has 2 SSDs for software raid 6 cores 
> Xeon and 32gb memory.

Not sure why I'd need a dedicated hardware.

I think I'd probably rather have two VMs at €5 or €10 each a month, than one 
high-powered machine at the same price.

It would be handy to have another shell I can run back up to, run unattended 
downloads on and so forth when I'm on a flakey connection (and then pop the 
download into my Google Drive).

PS: can anyone explain how the Amazon web services work, please? I have the 
impression they're charged by usage and can be very cheap. But it's not clear 
to me if you can use AWS just like a regular Linux cloud server.




Re: [gentoo-user] Online hosting recommendation - VMs?

2017-03-28 Thread Stroller

> On 28 Mar 2017, at 13:41, Alarig Le Lay <ala...@swordarmor.fr> wrote:
> 
> 2. What is cheap for you? I’m part of a non for profit association that
> rent VMs at 5 € per month for 32G of hard drive, one vCPU and 512M of
> RAM. https://grifon.fr/services.html

Many thanks for all the replies to this thread - not only Alarig's, but also to 
Harry and Joost.

It'll be a couple of weeks before I need to get started so I'm glad to read 
this further discussion. 

€5 a month seems an ideal price, but I can probably afford a little more.

Stroller.




[gentoo-user] Online hosting recommendation - VMs?

2017-03-25 Thread Stroller
Hello,

In the next few weeks I need to move my email server (a very old Gentoo 
installation) from the closet in my home, into the cloud so that I can go 
travelling and access my mail from anywhere.

I've never used VM's before, but my understanding is that they look just like a 
normal machine to the users inside them, and there shouldn't be any problem 
with me getting used to them. My current mail server is an old 700mhz Pentium 
III (I think), so performance is unimportant. I guess VM's have some kind of 
web or VNC console I can log into for the initial install (and if I screw up 
remote access)?

1. Are these suppositions right?
2. Any recommendations for cheap / reliable hosting providers, please?

I expect to use Gentoo because I've hardly used any other distro for years, and 
find others less intuitive. 

Thanks,

Stroller.




Re: [gentoo-user] Is "-flto" supported by Gentoo?

2017-03-22 Thread Stroller

> On 22 Mar 2017, at 02:20, P Levine <plevine...@gmail.com> wrote:
> 
> Lately, I have been trying to fix some GCC-6 related bugs and have come 
> across some bug reports that seem possibly more "-flto" related than GCC-6 
> related.  Doing a search for "-flto", Gentoo bugtracker, a number of open 
> bugreports clearly show them to be "-flto" bugs in their titles.

Are you trying to fix these bugs upstream with the gcc devs? 

That would be my first stop, if I wanted to wade in. Then when you know what's 
going on there, you can update the Gentoo tracker.

I wrote last month about how helpful I found the gcc devs: 
https://archives.gentoo.org/gentoo-user/message/f5a5ae94fb59945d1eeb2093aab24a1c
 
<https://archives.gentoo.org/gentoo-user/message/f5a5ae94fb59945d1eeb2093aab24a1c>

Stroller.



Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-19 Thread Stroller

> On 18 Mar 2017, at 18:44, tu...@posteo.de wrote:
> 
> Starting mpv as root "fixes" the problem...so it is 
> a permission problem (see my second mail).

Can't find your second mail, but a different user has a different 
_environment_, as well as different permissions.

Stroller.




Re: [gentoo-user] TeXlive-core failed to build

2017-03-13 Thread Stroller

> On 13 Mar 2017, at 16:27, tu...@posteo.de wrote:
> On 03/13 08:06, Martin Vaeth wrote:
>> You appear to have experimental CFLAGS. Try without these.
>> 
> Could you specify, what parts of that settings are experimental,
> so that I will remove the correct ones?

Your flags are:

  CFLAGS=-march=native -O2 -pipe -ffast-math -fopenmp -fprefetch-loop-arrays 
-ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program -mtune=amdfam10 

Google each one of them, see what they do. There's probably a gcc manual that 
explains them.

"funroll-loops" has long been a joke about Gentoo ricing. 
https://fun.irq.dk/funroll-loops.org/

I would guess you'd take that out and -ftree-parallelize-loops for a start.

If you want to use the program, compile it with just `CFLAGS=-march=native -O2 
-pipe` - I'm sure that will work. Then you can go back and see what options you 
can add without crashing the compile. These options often do not actually make 
things faster.

Stroller.




Re: [gentoo-user] [SOLVED] hylafaxplus-5.5.5 not working

2017-03-11 Thread Stroller

> On 11 Mar 2017, at 05:37, the...@sys-concept.com wrote:
> 
> SOLVED!
> media-libs/tiff-4.0.7 is not compatible with hylafaxplus-5.5.5
> Downgrading to tiff-4.0.6 solved the problem

File a bug!

Stroller.




Re: [gentoo-user] Emerge @system causing gcc downgrade

2017-03-08 Thread Stroller

> On 7 Mar 2017, at 16:14, White, Phil <whit...@manx.biz> wrote:
> 
> OK - talking this through is helping. I *have* done something strange here.
> The currently installed version is 4.9.4 (from gcc --version), except that 
> portage believes that 5.4.0 is installed.

Could you `grep -i gcc /var/lib/portage/world*` please?

A copy of the whole world file(s) would be great, in fact, ideally as plain 
text attachments.

Also, any chance you could set your mailer to send only plain text emails to 
the list?

Cheers,

Stroller.




Re: [gentoo-user] Cross-compiling for an unstable architecture.

2017-02-27 Thread Stroller

> On 23 Feb 2017, at 22:21, R0b0t1 <r03...@gmail.com> wrote:
> 
> However it's gotten to the point where not even building on-device
> works. I'm experiencing breakage in a lot of core packages that may or
> may not be related to portage. What is the best way to ask for help?
> The users on the forums and IRC do not seem to really know how to go
> about solving some of the problems or do not have the time, and I'm
> not sure it's polite to open up a bunch of bug reports on
> https://bugs.gentoo.org. What seems to complicate this is solving some
> of the issues looks like it will take knowledge only the developers of
> the corresponding software have.

I've taken bugs upstream in the past, including with gcc and glibc. 

I've also filed bugs with bugs.gentoo.org, but response times can be variable 
in my experience. If you file a bug about something minor for a package that a 
dev happens to be interested in it'll probably get picked up quickly, but the 
Gentoo devs don't have the manpower to fix everything quickly.

One of my bugs was for how gcc handled --march-native on the AMD K6-2 CPU (in 
the Cobalt Qube 3) - it was misdetected as an Athlon or Duron, gcc created 
binaries with an instruction unrecognised by the CPU and hence packages 
compiled fine but crashed as soon as you ran the program (I noticed this with 
vim, soon after I installed the box). I found a couple of ways to document what 
was happening, posted for help on the gcc mailing list and someone posted a 
patch within a few weeks.

Once I confirmed the patch worked, it was added to the gcc tree and was in a 
new release within another few weeks. It wasn't the quickest experience I've 
had getting help from an open source developer - when I had a problem with 
dovecot its developer had a patch (which worked) for me to test the next day - 
but no-one was rude to me or made me feel unwelcome. I'm no-one of importance, 
but the gcc list helped me, fixed my bug and treated me as good as anyone else.

Of course the Gentoo devs are just as helpful, but they don't normally spend 
their days fixing compiler bugs. Better IMO for you to take the problem 
upstream yourself, and then when it's fixed open a ticket on bugs.gentoo.org 
saying "this is the problem, it's fixed in release 1.2.3.4 of gcc, please add 
this to the tree ASAP as it's needed for arm64". IMO this is a good was for 
people like us to contribute to the distro.

I'd expect everything you need, at least for an initial report, is in the 
emerge logs - surely all they do is dump the compiler output to a textfile? So 
you're taking the compiler output to the authors of the compiler - that's what 
they need to see in order to help you and fix problems with their program. It's 
helpful that you Gentoo is a fairly vanilla-upstream distro.

Stroller.





Re: [gentoo-user] Need coaching with emerge failure logs (Understanting the problem)

2017-02-26 Thread Stroller

> On 26 Feb 2017, at 14:42, Harry Putnam <rea...@newsguy.com> wrote:
> 
> My biggest trouble is that I just don't see anything looking like a
> clue that I recognize as such in those logs.

I always search for "error", and look around the first one.

I'd have assumed subsequent errors would be a result of the first one.

Early in the log you sent there are a couple of entries like this:

Checking for libvpx: 
  vpx not found at -lvpx  or vpx headers not found
  Check the file 
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.14/work/VirtualBox-5.1.14/configure.log
 for detailed error information.

But then the emerge continues for many hundreds of lines more, apparently 
unaffected.

I would google the "vpx not found…" line and see if I get any hints, but I 
don't feel that's important - I think it may just be a warning.

The string "error" comes up a couple of times in the context of -Werror 
compiler flags, but that's clearly not what we're looking for.


I would be looking primarily at the next point the word "error" comes up 
properly, which is here: 

from 
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.14/work/VirtualBox-5.1.14/src/VBox/Runtime/common/alloc/alloc.cpp:34:
/lib/modules/4.9.10-gentoo/build/arch/x86/include/asm/atomic.h: In function 
‘int atomic_read(const atomic_t*)’:
/lib/modules/4.9.10-gentoo/build/include/linux/compiler.h:305:42: error: 
uninitialized const member in ‘union atomic_read(const atomic_t*)::’
  union { typeof(x) __val; char __c[1]; } __u;   \


Interestingly, I see the mess of colour code brackets and numbers when I open 
the log you attached in TextEdit, vim or my Mac's Console.app logfile viewer.

If cat or sed them into the terminal (I noticed this adding the embedding 
spaces to the above) the colour codes are converted to colours and the text is 
displayed nicely.

In the above the filenames and the "‘union atomic_read(const 
atomic_t*)::’" are bold white, and the word "error:" is displayed in 
red.

Stroller.






Re: [gentoo-user] Need coaching with emerge failure logs (Understanting the problem)

2017-02-25 Thread Stroller

> On 25 Feb 2017, at 14:19, Harry Putnam <rea...@newsguy.com> wrote:
> 
> I've attached a hefty log of some 4000 lines and hope someone will be
> patient enough to try to identify what is causing the problem. 

I took a look at this, but the broken colour codes throughout the log make it 
quite hard to read.

Example at the beginning:  [32;01m * 
Example from the end:   * 

Output to the terminal these would show the text in different colours, but the 
output was redirected to a textfile or mishandled in a copy-paste operation 
(not sure if screen or tmux does this?).

Running emerge with `--color n` would have made this log much more readable. 
Its size already makes it hard to search.

Stroller.


Re: [gentoo-user] SSH rekeying straight after authentication

2017-02-23 Thread Stroller

> On 23 Feb 2017, at 20:10, Mick <michaelkintz...@gmail.com> wrote:
> 
> I am trying to understand why an ssh server keeps dropping the connection 
> when 
> using openssh on Linux straight after a successful authentication, but it 
> works fine with Filezilla in MSWindows.
> 
> The connection initially appears to succeed like so:
> 
> debug2: service_accept: ssh-userauth
> debug1: SSH2_MSG_SERVICE_ACCEPT received

Are both clients using SSH2? And the same cyphers?

Stroller.





Re: [gentoo-user] compressing pdf file

2017-02-23 Thread Stroller

> On 22 Feb 2017, at 22:12, k...@aspodata.se wrote:
> 
> Thelma:
>> I have scaned pdf file (88-page) 23MB in size (downloaded this way).
>> Trying to reduce the size of the file I [...]
> 
> Why don't you extract the images with pdfimages from the pdf and
> compress them with xv or convert (imagemagic) and maybe gimp can 
> comress them also. Don't know how to get them back into a pdf though.

+1 

I do this regularly. 

Documents scanned with the Google Drive application on my phone store jpeg 
images in a PDF (if you OCR in Google Drive or Docs it adds text).

Extracting from PDFs produced by my solicitor's document system results in some 
weird bitmaps with inverted colours, but I assume these are the exception 
rather than the rule. I would love to hear about it if anyone else has similar 
problems.

If you have jpeg, bmp, tiff &/or png images then Gimp's "save for web" feature 
is wonderful. You can also enhance images by using the "colour levels" tool 
first - select the white pipette and click on the whitest area of the paper, 
then select the black pipette and click on the thickest part of the blackest 
printer letter character.

Stroller.




Re: [gentoo-user] nmap - device name.

2017-02-11 Thread Stroller

> On 11 Feb 2017, at 01:34, the...@sys-concept.com wrote:
> 
> Nmap scan report for iaxy (10.0.0.108)
> Nmap scan report for 10.10.0.3

The first things I would do is look up those IPs myself.

From the host running nmap, I'd first try running nslookup on 10.0.0.108 and 
10.10.0.3.

Ultimately the question would seem to be whether nmap is getting those names 
through local name resolution, or whether its some kind of nmap "magic" 
performed during the port-scan. 

Stroller.




Re: [gentoo-user] upgrading 1-year old system

2017-01-30 Thread Stroller

> On 29 Jan 2017, at 20:56, the...@sys-concept.com wrote:
> 
> I haven't updated my system for over a year (1year and 3-months).
> I was trying to upgrade my firefox-bin and I'm already running into problems.
> 
> What is my best option, re-install from scratch, upgrade in stages etc.
> With firefox-bin I'm getting:
> 
> emerge -p firefox-bin
> 
> These are the packages that would be merged, in order:
> …

As others have said, upgrading a system after 15 months isn't _that_ bad.

I recently upgraded 2 systems that were, I guess, 18 or 24 months old and I 
done worse ones in the past.

The first thing to do is unmerge Firefox, IMO, and anything else that isn't 
part of the base system.

The priorities are the latest Portage, python, gcc and glibc. If you can update 
a complete minimal system then you know that you'll be able install apps like 
Firefox and KDE without any problems.

If you can ssh into the system to perform your upgrades, that means you can 
uninstall Firefox, KDE or Gnome and any other GUI crap you can think of. 
`emerge --depclean` will clear out a lot of rubbish - you now no longer have to 
think about these packages during the upgrade process.

I would probably keep xorg initially, but remove it if I found it listed during 
any emerge problems.

There have been some problems with perl upgrades in the last few months - you 
can remove everything in the Perl category, because there are no baselayout or 
system packaged dependent on it.

I've done this process a number of times, and I now use historical Portage 
snapshots to upgrade the system completely, in steps of about 4 months: 
https://dev.gentoo.org/~swift/snapshots/

I still think this is less hassle than a complete reinstall. Whenever I install 
a fresh system I find myself, over the course of a week or so, remembering 
things I've missed and having to look up little details of how I customise my 
systems. Upgrading is a lower cognitive load for me - I try something, leave 
the emerge running for an hour or several hours, and don't have to think about 
it again until later.

One of my hacks is to compile a list of outdated packages in a text file, then 
apply commands like `for package in $(cat list.txt) ; do emerge -1 $package ; 
done`. It's dirty and kludgy, but if you have 100 files to update and 80 of 
them succeed this way, then that's 80 less lines of crap on your screen next 
time you upgrade world.

Stroller.









Re: [gentoo-user] vulkan-loader 1.0.39

2017-01-29 Thread Stroller

> On 28 Jan 2017, at 19:41, Tsukasa Mcp_Reznor <mcp_rez...@hotmail.com> wrote:
> 
> Failes to build unless dev-libs/wayland is also installed.
> Complains of missing wayland_client.h
> 
> Will future versions of vulkan-loader require wayland also, or will there be 
> a use flag added?
> 
> just a heads up for anyone else that likes messing around with vulkan.

This is Bug 607154, filed Wednesday 25th.

https://bugs.gentoo.org/show_bug.cgi?id=607154

Hope this helps,

Stroller.



PS: Could you possibly set your email client to send only plaintext messages to 
this list, please?




[gentoo-user] Dynamic IP address services.

2016-11-06 Thread Stroller
Can anyone recommend a free dynamic IP address service.

I've used DynDNS in the past, but I think they discontinued their free accounts.

I've been using DTdns.com until recently, but have somehow managed to lock 
myself out of my account, so will need to create a new one and thought I'd 
check here for recommendations first.

All I need to do at the moment is access a single host behind a home router, 
although it would be nice if there was a free service with room for 2 or 3 
hosts in case I need to add more.

Thanks in advance for any suggestions,

Stroller.




Re: [gentoo-user] Getting X11 to "underscan"...

2016-10-19 Thread Stroller

> On 19 Oct 2016, at 05:38, Jigme Datse Yli-RAsku 
> <jigme.da...@datsemultimedia.com> wrote:
> 
> In terms of the make and model, it is a Panasonic Viera TC-P42S30.

"On a Panasonic Viera TC-P42S30 the option is Menu/Picture/Aspect 
Adjustments/Screen Format = FULL and HD Size = 2"

http://www.komeil.com/blog/fix-cropped-picture-cut-off-screen-tv-hdmi-dvi

https://www.reddit.com/r/techsupport/comments/qx7zm/problem_connecting_panasonic_viera_tcp42s30/

Stroller.




Re: [gentoo-user] GTK+ circular dependency

2016-10-14 Thread Stroller

> On 13 Oct 2016, at 18:01, Daniel Quinn <gen...@danielquinn.org> wrote:
> 
> On 13/10/16 02:36, wabe wrote:
>> Since the update process is dead slow anyway and I really don't care
> about a few minutes less ore more, I always use --backtrack=999.
> 
> Unfortunately yes.  I took your advice just now and it's still
> complaining about circular dependencies.  Maybe I'm missing something,
> but how can gtk+ *depend* on gtk-engines-adwaita?

If you look in the ebuilds:

• gtk+-2.24.31-r1 depends upon x11-themes/gtk-engines-adwaita, [1] and
• gtk-engines-adwaita-3.20.2 depends upon >=x11-libs/gtk+-2.24.15 [2]

If you look at the packages page for x11-libs/gtk+ [3], you'll see there are 
some earlier versions of it in the tree that fulfils gtk-engines-adwaita's 
requirement, x11-libs/gtk+-2.24.28-r1 for example.

x11-libs/gtk+-2.24.28-r1 does not seem to require gtk-engines-adwaita. [4]

So you should be able to `emerge -1 =x11-libs/gtk+-2.24.28-r1` and then `emerge 
-1 gtk-engines-adwaita` should pull in the 3.20.2 version of it.

You can then, for good measure, update gtk+ to version 2.24.31-r1 (`emerge -1 
=x11-libs/gtk+-2.24.31-r1`), I think.

Stroller.



[1] 
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/gtk+/gtk+-2.24.31-r1.ebuild
[2] 
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-themes/gtk-engines-adwaita/gtk-engines-adwaita-3.20.2.ebuild
[3] https://packages.gentoo.org/packages/x11-libs/gtk+
[4] 
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/gtk+/gtk+-2.24.28-r1.ebuild


Re: [gentoo-user] GDTextUtil doesn't compile after Perl upgrade from 5.20.2 to 5.22.2

2016-10-02 Thread Stroller

> On 2 Oct 2016, at 17:34, Matthias Hanft <m...@hanft.de> wrote:
> 
> I already tried to uninstall and reinstall everything with "perl" in its name,
> but without success. I can install/upgrade everything else from 
> "dev-perl/...";
> it's just this weird "GDTextUtil" which remains at the end of every "emerge"
> effort - no matter which "emerge" options I use, or what the order of packages
> is. 

I had a nightmare with perl recently, too. Did you check there are no perl 
packages listed in your world file?

I think someone mentioned that here on this list in the last week or two, and I 
found I had several.

I also ran `sudo perl-cleaner --reallyall` at one point.

Stroller.





Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive?

2016-09-04 Thread Stroller

> On 3 Sep 2016, at 17:50, Mick <michaelkintz...@gmail.com> wrote:
>> 
>> I understood that fragmentation can also occur on flash-based disks.
>> 
>> Although the effect of it is not so noticeable, I understood that it still
>> has one.
> 
> Yes, flash drives (unlike spinning drivers) are completely digital.  In 
> addition, wear levelling algorithms invariably kick in and bits and bytes are 
> sprayed all over the pages/modules of the memory chips.  So you could say 
> they 
> are fragmented by design.

That would seem to dismiss the problem, "oh, they're fragmented by design, thus 
it's unimportant".

My understanding is that defragmenting a flash device (although I think, 
personally, I would only do this by deleting all the files on the drive, and 
copying them back) can make for faster access.

• http://www.lagom.nl/misc/flash_fragmentation.html
• 
http://www.wizcode.com/articles/comments/flash_memory_fragmentation_myths_and_facts/

Stroller.




Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive?

2016-09-03 Thread Stroller

> On 2 Sep 2016, at 23:03, Mick <michaelkintz...@gmail.com> wrote:
> 
> … a potentially more effective defrag method irrespective of fs 
> (we're talking about spinning disks where this issue applies) i

I understood that fragmentation can also occur on flash-based disks.

Although the effect of it is not so noticeable, I understood that it still has 
one.

Stroller.




Re: [gentoo-user] USB crucial file recovery

2016-09-01 Thread Stroller

> On 31 Aug 2016, at 16:25, Grant <emailgr...@gmail.com> wrote:
> 
>> Yes, FAT. It works and works well.
>> Or exFAT which is Microsoft's solution to the problem of very large
>> files on FAT.
> 
> FAT32 won't work for me since I need to use files larger than 4GB.  I
> know it's beta software but should exfat be more reliable than rtfs?

There's always `split`.

Very easy to use, just a little inconvenient to have to invoke it every time 
you copy a file to USB.

Stroller.




Re: [gentoo-user] Tablet rotation button broken in <=sys-apps/systemd-226-r2

2016-08-27 Thread Stroller

> On 27 Aug 2016, at 01:25, Devrin Talen <dc...@cornell.edu> wrote:
> 
> I noticed recently that the screen rotation button on my Lenovo X201T tablet 
> was no longer working, whereas it had been working some time ago.  Long story 
> short, there was a change around version 226 of systemd that broke this.  I 
> wanted to document how I got it working again and send it out in case it 
> helps anyone else.

Great post. I don't have a Lenovo, but I love to see these kinds of helpful 
reports.

Stroller.




Re: [gentoo-user] 2000 emails - printing, sorting by date

2016-08-18 Thread Stroller

> On 18 Aug 2016, at 08:16, Håkon Alstadheim <ha...@alstadheim.priv.no> wrote:
> 
> Have you looked at app-misc/muttprint ? Never tried it, but looks to fit
> the bill. You will need various command-line tools that mutt-print will
> use to parse mails and generate graphics.

Ah! Many thanks. That's exactly the sort of thing I had in mind. I'll have a 
look at installing it now.

Stroller.




Re: [gentoo-user] 2000 emails - printing, sorting by date

2016-08-18 Thread Stroller

> On 17 Aug 2016, at 15:12, Daniel Quinn <gen...@danielquinn.org> wrote:
> 
> I’m a Python guy, so my answer to this would be "use Python" :-)
> 
> [The ReportLab 
> library](https://www.reportlab.com/docs/reportlab-userguide.pdf 
> <https://www.reportlab.com/docs/reportlab-userguide.pdf>) is extremely 
> powerful and can be used to generate a PDF for every email or a pdf for all 
> emails.  I've not used it myself, but I hear it's very good.
> 
> … 
> 
> At that point you have a sorted list of email objects which you can then use 
> ReportLab to generate a PDF.


That's a little more complicated than I hoped for.

I've not used Python before. Although I'd not be opposed to learning it, it's 
not clear to me how I'd get ReportLab to generate a PDF from an email. 

I was not expecting to involve myself with decisions about fonts and heading 
sizes. I thought, perhaps optimistically, that there must be a command-line 
program to take a text email file and (discarding the unneeded headers) print 
it (to `lpr` or a postscript file) in formatting like the attached, just like 
my desktop email client does.

It surprises me to think that pretty-printing an email from the command-line is 
something that's not been done before, but my searches are not finding relevant 
results.

Stroller.





[gentoo-user] 2000 emails - printing, sorting by date

2016-08-17 Thread Stroller
As a professional matter, I have about 2000 email messages that I want to share 
with someone.

I can find them all by grepping my Maildir for the email address (to and from) 
somen...@domain.com.

The person receiving them will probably not read every email, but this allows 
me to be totally open. I think that, glancing through, they'd quickly be able 
to verify what I've told them about myself and Some Name, and I think they'd 
find that helpful and reassuring.

The reader is not a geek, and I think a folder or zip file of 2000 separate 
email.txt files would be cumbersome to navigate.

I think the ideal thing to do is print the emails as a single PDF, ordered by 
date, so that the reader has a 2000-odd page PDF book they can browse. They can 
then note the page number of any specific email they wish to refer to, if they 
have any questions they need to ask.

The emails span about 10 years, 2000 - 2010 or so. Because these have been 
copied from one system to the other (perhaps carelessly), for many of them I am 
not certain that the file creation time will be correct.

I think that I can perhaps use net-mail/grepmail to find the earliest date in 
the header of each message, effectively constituting the "Sent" date. I'm not 
sure about this, though.

Using Bash I can probably renumber the messages based on this date, or change 
their file creation / modification time to that. 

I can probably then iterate through the messages, producing PDFs in numerical 
sequence (001.pdf, 002.pdf, or 2009-01-01.pdf, 2010-02-12.pdf), and then `for 
file in *.pdf ; do …` combine them into a single big PDF.

It's not clear to me what the best tools are for some of these steps, and I 
would be grateful if anyone has any thoughts, either on any individual steps, 
or on the whole process.

I use a Mac for my desktop, and so I wish to do this on the command-line of a 
headless Linux box.

What is the best way to pretty print each email, as a PDF, please?

I guess that I can use pdfunite from app-text/poppler to combine separate PDFs 
into one.

Thanks in advance for any suggestions,

Stroller.






Re: [gentoo-user] HTML emails

2016-08-17 Thread Stroller

> On 16 Aug 2016, at 17:24, Michael Mol <mike...@gmail.com> wrote:
> 
> 
> So, here's my crontab entry. It's not necessarily the most efficient, but 
> since I'm not around to wait on it, I don't really care; it works.
>  
> 0 18 * * * /usr/bin/eix-sync >/dev/null; /usr/bin/glsa-check --list ; 
> /usr/sbin/perl-cleaner all ; /usr/sbin/python-updater ; 
> /usr/sbin/haskell-updater ; /usr/bin/emerge -uDN @wor
> ld && emerge @preserved-rebuild && revdep-rebuild && emerge --depclean && 
> revdep-rebuild 
> The eix-sync, when backed by git, is really, really, really noisy, so I 
> >/dev/null it. There's a ridiculous amount of stuff in the output every 
> night. Though that may be because of my EMERGE_DEFAULT_OPTS:
>  
> EMERGE_DEFAULT_OPTS="--tree --with-bdeps=y --keep-going --quiet-build=y 
> --deep --unordered-display --load-average 3 --jobs=3 --rebuild-if-new-slot y"
> In the end, it's been working for me for quite a long time. I've been doing 
> this (or something like it) for well over a year without it hosing my system. 
> I even have it rolling updating KDE Plasma, KDE Applications, KDE Frameworks 
> and Qt, though that takes about 450 lines in packages.accept_keywords.
> 

Your terminal colours are gopping!

Now I've expressed my distaste, can we all go back to plain text email, please?

Mr Mol has been posting in HTML the last week, too - I have yet to update my 
glasses' prescription, and his font is far too small for me (or, I hope really, 
for my Retina™ screen).

Stroller.



Re: [gentoo-user] icons and KDE

2016-07-29 Thread Stroller

> On 28 Jul 2016, at 20:22, »Q« <boxc...@gmx.net> wrote:
> 
> Yesterday, I went from kde-plasma/plasma-desktop-5.5.5-r1 to -5.6.5,
> after which I am not seeing nearly as many icons as I used to.  A lot
> of other KDE packages were upgraded as well, and I don't know where to
> start with troubleshooting.
> 
> In Dolphin, I no longer see icons for flac or mp3 files, just blank
> space where an icon should be.  I haven't checked other file types.


The place to start with troubleshooting is with some creative investigation.

`genlop -l --date "2016/07/28"` will show you all packages installed in the 
last 2 days - grep the output for "icon" and "theme".

Use `eix -I icon` to see what relevant packages are installed on your system. 
Now the same for `eix -I theme`.

If any of the installed icon or theme packages have not been updated in the 
last 2 days, update them.

I speculate that kde-plasma/plasma-desktop depends on packages X and Y, and 
between -5.5.5 and -5.6.5 some icons were moved from one package to the other.

Surely there are things you can try before posting here. I feel unkind saying 
this, so I apologise, but at the least you could have posted a list of the 
packages that you installed yesterday. 

Half the time I sit down to ask a question here, I solve it myself during the 
process of documenting the bug to explain my problem to the list (see ESR's 
"How To Ask Questions The Smart Way"). It's appropriate to work out what 
installed packages might be relevant, update them to the latest versions, and 
show the list that you've done this.

I think that if none of this works, it would be sensible to see if you can 
downgrade some relevant the packages that you installed yesterday (i.e. those 
with "icon" or "theme" in the name), and see if this reinstates your visual 
file-type portrayals. This is a bit more work, but it might document the 
problem sufficiently that you can document the bug at b.g.o. and help others.

Stroller




Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-18 Thread Stroller

> On 18 Jul 2016, at 06:16, meino.cra...@gmx.de wrote:
> 
> X11 forwarding is quite handy in this cases...but I miss the
> audio.

It might be worth looking at xpra if you want both together.

I would choose the 0.17.x release - Portage is bang up to date with the latest 
version.

http://xpra.org/trac/wiki/Versions

Any problems, use the xpra mailing list and you'll find the developer very 
helpful and responsive.

http://lists.devloop.org.uk/mailman/listinfo/shifter-users

Stroller.


Re: [gentoo-user] Install dkms: which package

2016-07-15 Thread Stroller

> On 15 Jul 2016, at 18:20, Facundo Curti <facu.cu...@gmail.com> wrote:
> 
> Hi there.
> 
> I need dkms to compile a driver. (aziokdb 
> https://bitbucket.org/Swoogan/aziokbd 
> <https://bitbucket.org/Swoogan/aziokbd>).
> 
> Any way, I cant find the package to do that :S
> 
> I tryed with sys-kernel/dkms and @module-rebuild, none exsists

It looks like DKMS failed to find a maintainer 10 years ago. 

• https://forums.gentoo.org/viewtopic-t-579971-view-previous.html 
<https://forums.gentoo.org/viewtopic-t-579971-view-previous.html>
• https://bugs.gentoo.org/show_bug.cgi?id=100754 
<https://bugs.gentoo.org/show_bug.cgi?id=100754>

Could it have been rolled into another package since then?

Stroller.



Re: [gentoo-user] OT: what audio file format / container to play on Android.

2016-07-06 Thread Stroller

> On 5 Jul 2016, at 16:54, wabe <waben...@gmail.com> wrote:
> 
> If you wanna put the audio data into another container without recoding
> it, you can use for example something like that:
> 
> ffmpeg -i filename.mp4 -acodec copy filename.m4a

This has worked. Many thanks for your help.

I did not actually expect this, as I thought .mp4 and .m4a were the same thing 
(see links below) and renaming the .mp4 to .m4a  did not have any effect.

ffmpeg did, however, seem to do no more than copy the stream (it took only a 
second or so), so presumably it has marked the container differently somehow. 
See attached, anyone who's interested.

I appreciate the contributions of all who've replied,

Stroller.



[1] http://stackoverflow.com/questions/9412384/
[2] https://en.wikipedia.org/wiki/MPEG-4_Part_14#.MP4_versus_.M4A
[3] https://wiki.jriver.com/index.php/MP4_and_M4A_File_Support



$ youtube-dl http://www.bbc.co.uk/programmes/b07fl5bh
[bbc.co.uk] b07fl5bh: Downloading video page
[bbc.co.uk] b07fl2qw: Downloading media selection XML
[bbc.co.uk] b07fl2qw: Downloading m3u8 information
[bbc.co.uk] b07fl2qw: Downloading m3u8 information
[bbc.co.uk] b07fl2qw: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 390
[download] Destination: The Bronze Age Collapse, In Our Time - BBC Radio 
4-b07fl2qw.mp4
[download] 100% of 40.56MiB in 01:36
[ffmpeg] Fixing malformated aac bitstream in "The Bronze Age Collapse, In Our 
Time - BBC Radio 4-b07fl2qw.mp4"
$ ffmpeg -i The\ Bronze\ Age\ Collapse\,\ In\ Our\ Time\ -\ BBC\ Radio\ 4-b07fl2
qw.mp4 -acodec copy The\ Bronze\ Age\ Collapse\,\ In\ Our\ Time\ -\ BBC\ Radio\
4\ \[b07fl2qw\].m4a
ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8.5 (Gentoo 4.8.5 p1.3, pie-0.6.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc 
--cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags=' ' 
--disable-static --enable-avfilter --enable-avresample --disable-stripping 
--enable-nonfree --enable-version3 --enable-nonfree --disable-indev=v4l2 
--disable-outdev=v4l2 --disable-indev=alsa --disable-indev=oss 
--disable-indev=jack --disable-outdev=alsa --disable-outdev=oss 
--disable-outdev=sdl --enable-version3 --enable-bzlib 
--disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls 
--enable-gpl --enable-hardcoded-tables --enable-iconv --enable-lzma 
--enable-network --enable-openssl --enable-postproc --disable-libsmbclient 
--disable-ffplay --disable-vaapi --disable-vdpau --disable-xlib 
--disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-zlib 
--enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca 
--disable-openal --disable-opengl --disable-libv4l2 --disable-libpulse 
--enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libfdk-aac 
--enable-libopenjpeg --enable-libbluray --disable-libcelt --disable-libgme 
--enable-libgsm --disable-libmodplug --disable-libopus --disable-libquvi 
--enable-librtmp --enable-libssh --enable-libschroedinger --disable-libspeex 
--enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b 
--disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig 
--disable-ladspa --enable-libass --enable-libfreetype --enable-libsoxr 
--enable-pthreads --enable-libvo-aacenc --disable-libvo-amrwbenc 
--enable-libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora 
--enable-libtwolame --disable-libwavpack --enable-libwebp --enable-libx264 
--enable-libx265 --enable-libxvid --disable-x11grab --disable-avx 
--disable-avx2 --disable-fma3 --disable-fma4 --disable-ssse3 --disable-sse4 
--disable-sse42 --disable-xop --cpu=host
  libavutil  54. 20.100 / 54. 20.100
  libavcodec 56. 26.100 / 56. 26.100
  libavformat56. 25.101 / 56. 25.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 11.102 /  5. 11.102
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'The Bronze Age Collapse, In Our Time - 
BBC Radio 4-b07fl2qw.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2mp41
encoder : Lavf56.25.101
  Duration: 00:41:35.92, start: 0.00, bitrate: 129 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, 
fltp, 128 kb/s (default)
Metadata:
  handler_name: SoundHandler
Output #0, ipod, to 'The Bronze Age Collapse, In Our Time - BBC Radio 4 
[b07fl2qw].m4a':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2mp41
encoder : Lavf56.25.101
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 128 
kb/s (default

  1   2   3   4   5   6   7   8   9   10   >