[gentoo-user] Re: Just when is portage/bashrc sourced?

2017-11-27 Thread Ian Zimmerman
On 2017-11-27 07:59, Michael Orlitzky wrote: > > That came up in the OP, but the question was about doing it for > > selected ebuilds, which is exactly what this must shorter option > > does. > > You should update the wiki, your way is better. Ah, now I see why I was so confused. the

[gentoo-user] Re: Setting up fetchmail to feed postfix

2017-11-26 Thread Ian Zimmerman
On 2017-11-26 16:46, Rich Freeman wrote: > You'll find this recipe all over the place, but with procmail you can > do this: > https://mymegabyte.com/2010/03/filter-duplicate-emails-with-procmail/ I don't trust procmail anymore after CVE-2017-16844. It took me a long time, I had a weak spot for

[gentoo-user] Re: Setting up fetchmail to feed postfix

2017-11-26 Thread Ian Zimmerman
On 2017-11-26 11:00, Ralph Seichter wrote: > Received: from [82.69.80.10] (helo=peak.localnet) > by smarthost03d.mail.zen.net.uk with esmtps > (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) > (Exim 4.80) > (envelope-from ) > id 1eImhw-IJ-SK > for

[gentoo-user] Re: Just when is portage/bashrc sourced?

2017-11-24 Thread Ian Zimmerman
On 2017-11-24 22:21, Neil Bothwick wrote: > Are you mixing portage/env up with portage/package.env? The latter > loads conf files from env that contain variable assignments. I don't think I'm mixing them up: one of them is a directory, so hardly can contain any code at all ;-) (Well, the other

[gentoo-user] Re: Just when is portage/bashrc sourced?

2017-11-24 Thread Ian Zimmerman
On 2017-11-24 08:32, Neil Bothwick wrote: > > Package P bypasses applying user patches (by not calling > > default_src_prepare). I have patches I need to apply to P, and in > > this case I really don't want to fork the ebuild. So, I'm hell bent > > on doing it the hacky way with

[gentoo-user] Re: Looking for a pre-compiled Linux distribution

2017-11-23 Thread Ian Zimmerman
On 2017-11-23 18:11, Helmut Jarausch wrote: > I'd like to recommend a Linux distribution to someone who needs an as > simple Linux distribution as possible. > Since I am going to help that person from time to time, it should be > as similar as possible to Gentoo. "simple" has multiple meanings.

[gentoo-user] Just when is portage/bashrc sourced?

2017-11-23 Thread Ian Zimmerman
Package P bypasses applying user patches (by not calling default_src_prepare). I have patches I need to apply to P, and in this case I really don't want to fork the ebuild. So, I'm hell bent on doing it the hacky way with /etc/portage/bashrc (which, IIRC, I have been told on this list not to do,

[gentoo-user] scope of user patches via epatch

2017-11-18 Thread Ian Zimmerman
Is there any way to make the patches under /etc/portage/patches applicable to more than a single exact version of each package? Right now, every time I emerge -u I have to check if I have patches for a package on the updated list, and if so make a new subdirectory for the new version and copy or

[gentoo-user] Annoying X server message

2017-11-16 Thread Ian Zimmerman
I run X the stone age way with startx/xinit. Each time I switch to another VT with Alt-Ctl-Fn, X mutters this on the original VT: Suspending AIGLX clents for VT switch and then a similar one when I switch back. This happens when the original VT is in raw mode, apparently, so the terminating

[gentoo-user] Re: Help...can't decipher emerge oracle...

2017-11-15 Thread Ian Zimmerman
On 2017-11-15 18:40, Neil Bothwick wrote: > Why is it trying to install the version? Is that unmasked? > > Are you running stable or testing? > > What does "grep -r glibc /etc/portage" say? > > I don't think you posted the command that started all of this? For some reason, these horrible

[gentoo-user] Re: Linux USB security holes.

2017-11-08 Thread Ian Zimmerman
On 2017-11-08 05:53, J. Roeleveld wrote: > From what I read, you need physical access. According to Solar, for whom I have developed great respect, this is not necessarily so: http://www.openwall.com/lists/oss-security/2017/11/08/5 -- Please don't Cc: me privately on mailing lists and Usenet,

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-06 Thread Ian Zimmerman
On 2017-11-05 17:17, Rich Freeman wrote: > Distros will always have to do integration work, and that is fine. > That is the role of a distro. And sometimes distros have to roll > their own tools when they just aren't available. Once upon a time > service managers fell into that category. Now

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Ian Zimmerman
On 2017-11-05 21:40, Alan McKinnon wrote: > Agreed again. My desktop cronjobs are all empty and when I had some > they were of the "do this once a week or once a day" variety. I didn't > care when they ran, just that they did every so often What about the synchronization and predictability

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Ian Zimmerman
On 2017-11-05 14:22, Rich Freeman wrote: > Second, my actual objection is more to sticking wrappers around an > upstream program just to extend its capabilities, when other software > is maintained upstream that already does what you're re-inventing. > When you already have 47 different cron

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Ian Zimmerman
On 2017-11-05 07:11, Rich Freeman wrote: > But, I agree that it makes far more sense to just have desktop users > use an appropriate cron implementation designed to handle the machine > being off most of the time vs trying to use shell scripting to make > vixie cron into such an implementation. >

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-04 Thread Ian Zimmerman
On 2017-11-04 01:39, Kai Peter wrote: > > If you want to run a monthly job on a host that is not always on, do > > you have to pretend it's an hourly job and check in the script > > itself? > > This is a special case to me. IMHO special cases have to be handled > special or much better: avoid

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-03 Thread Ian Zimmerman
On 2017-11-03 02:53, Kai Peter wrote: > 2. the shell script have to do some checks, e.g. the last run - I did > wrote a small 'include' script for that Isn't your 'small include script' just another implementation of run-crons? If not: how does it handle _missed_ jobs, if at all? If you want

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-01 Thread Ian Zimmerman
On 2017-11-01 13:42, Michael Orlitzky wrote: > If you build cronie with USE=anacron, I think it also comes with an > "anacron" executable: > > https://github.com/cronie-crond/cronie/blob/master/README.anacron I see, you're quite right. The flag is off here, probably because I built it when I

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-01 Thread Ian Zimmerman
On 2017-11-01 10:25, Marc Joliet wrote: > It's nice that anacron apparently sucks, but what about fcron and > cronie? I've always wondered why people who need these features don't > just one of those. Is there any reason not to? > > (FTR: I used fcron for several years before migrating to

[gentoo-user] mostly OT: qemu sparc64 emulation

2017-10-30 Thread Ian Zimmerman
I built the gentoo qemu package [1] with support for a couple of non-x86 arches. Trying the sparc64 one, I installed FreeBSD-11.1 into it. It kind of works, but: 1. It's very slow - I estimate about 5x-10x slower than an emulated x86_64, also running FreeBSD-11.1. 2. 1 processor on the host

[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-10-29 Thread Ian Zimmerman
On 2017-10-29 09:16, Michael Orlitzky wrote: > Do you need something smarter? Install anacron, fcron, cronie, or > whatever. But the worst thing we can do is try to mimic those > intelligent crons and have it fail to do so randomly. That's still > your best option, by the way: rewrite your

[gentoo-user] Slightly OT: palemoon cloudless, rodent-less bookmark sync

2017-10-23 Thread Ian Zimmerman
palemoon on gentoo users may find this discussion interesting. I just found the key part of the solution. https://github.com/MoonchildProductions/Pale-Moon/issues/1303 -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. Do

[gentoo-user] Re: How to set up claws mail

2017-10-20 Thread Ian Zimmerman
On 2017-10-20 15:50, Peter Humphrey wrote: > > In the response to the STAT command, the server says there is no mail. > > Then it's wrong, or else something in my config is wrong. > > > What is it that you expect claws to do when there is no mail? > > The same as KMail does when I run it just

[gentoo-user] Re: Mutt not displaying encrypted attachments

2017-10-20 Thread Ian Zimmerman
On 2017-10-20 10:08, Mick wrote: > I suspect something in my configuration has deviated from vanilla and > this is causing the problem of 'set crypt_use_gpgme' not being enough. > This is what I'm running here: > mail-client/mutt-1.7.2 > I haven't tried troubleshooting gpgme when running mutt

[gentoo-user] Re: Key reinstallation attack on WPA2 - new vulnerability discovered

2017-10-19 Thread Ian Zimmerman
On 2017-10-19 15:39, Lucas Ramage wrote: > LEDE has already patched this issue. Indeed, and this made me try them for the first time. It was totally painless and I can recommend it. OTOH some other router oriented distros seem lagging behind, or don't even have a stable upgrade mechanism in

[gentoo-user] Re: Mutt not displaying encrypted attachments

2017-10-17 Thread Ian Zimmerman
On 2017-10-17 11:49, Mick wrote: > Lucas may want to try these settings which seem to work here, but I am > no mutt guru to know if they are optimal: I'm now a neomutt user and this may make a difference, but ... > set crypt_use_gpgme This should make all the rest redundant at best, and

[gentoo-user] The uselessness of equery

2017-10-16 Thread Ian Zimmerman
~$ time equery -Cq b /usr/bin/equery app-portage/gentoolkit-0.4.0 real0m27.594s user0m8.780s sys 0m0.456s Has anyone a better way? As Alan recently wrote in a different but related context, surely a hack in bash / awk /perl would do better, and that's what I'll do if I must, but I

[gentoo-user] Re: monit and friends.

2017-10-16 Thread Ian Zimmerman
On 2017-10-16 14:11, Alan McKinnon wrote: > My needs here are pretty simple: > local watchdog that checks if a program is running and restart it if > not. If that fails 3 times or so, alert me. > Maybe a few file/dir/fifo monitors as well. Not much else. > > I don't need any of monit's graphing

[gentoo-user] Re: FreeBSD migration, what to do with /usr/local

2017-10-12 Thread Ian Zimmerman
On 2017-10-12 07:11, Thomas Mueller wrote: > You could possibly copy Gentoo scripts to /usr/local/gentoo-scripts, > or would that not work with your scripts as set up? > > You would have to be careful setting up your PATH in .profile and > /etc/profile , to make sure it includes the proper

[gentoo-user] Re: Slightly OT: FreeBSD migration, what to do with /usr/local

2017-10-12 Thread Ian Zimmerman
On 2017-10-12 08:36, Alan McKinnon wrote: > > A more serious problem is how to find all the situations where > > /usr/local is baked in. It's not as simple as grep because when I > > could, I relied on the implicit PATH which would be configured > > somewhere else, or it might not even be

[gentoo-user] Slightly OT: FreeBSD migration, what to do with /usr/local

2017-10-12 Thread Ian Zimmerman
I think I have written here previously that I want to move my _server_ to FreeBSD. I am still thinking about that. But now I hit an obstacle. For a long time, I have put my local kiddie scripts in /usr/local. For better or worse, they are written in my dense style where any code duplication is

[gentoo-user] Re: Tab stepping order in Pale Moon

2017-10-09 Thread Ian Zimmerman
On 2017-10-09 10:31, Peter Humphrey wrote: > Recent discussion of Pale Moon has inspired me to try it (actually > www- client/palemoon-bin). It seems fine, except for one annoying > feature. I usually have several tabs open at a time and I want to step > between them with the keyboard, but it has

[gentoo-user] Re: eth over usb

2017-10-05 Thread Ian Zimmerman
On 2017-10-05 21:39, p...@xvalheru.org wrote: > I'm installing gentoo on new laptop which doesn't have eth slot. I > have i-tec usb-eth adapter which works fine (tested on linux live > distribution). Can you get 100Mbit/s with it? The laptop I use also has no ethernet. I bought a USB dongle

[gentoo-user] Re: Block multiple IP addresses; iptables or route...reject?

2017-10-04 Thread Ian Zimmerman
On 2017-10-04 17:21, Alan McKinnon wrote: > I'd suggest you use a packet filter, but not on Linux and certainly not > iptables. That thing is a god-awful mess looking like it was built by > unsupervised schoolkids masquerading as internes. The best tool for this > is the pf packet filter, but it

Re: [gentoo-user] ....Gentoo update killed Gentoo update?

2017-10-03 Thread Ian Bloss
emerge --sync && emerge eix && eix-update On Tue, Oct 3, 2017, 6:55 PM wrote: > Hi, > > from my qlop -l output: > Tue Oct 3 05:16:48 2017 >>> dev-perl/CGI-Fast-2.120.0 > Tue Oct 3 05:17:09 2017 >>> net-dns/dnsmasq-2.78 > > Tue Oct 3 05:18:25 2017 >>> app-portage/eix-0.33.0 >

[gentoo-user] Re: ephemeral keyword override?

2017-10-03 Thread Ian Zimmerman
On 2017-10-03 21:14, Neil Bothwick wrote: > > > > ACCEPT_KEYWORDS='<=some-cat/some-package- ~amd64' \ > > > > USE='foo' emerge -p some-cat/some-package > > > > > > ACCEPT_KEYWORDS="~amd64" emerge somepkg > > You included the package atom on the env var, al la > /etc/portage/package.*

[gentoo-user] Re: ephemeral keyword override?

2017-10-03 Thread Ian Zimmerman
On 2017-10-03 17:51, Neil Bothwick wrote: > > When I'm thinking about installing a package, I can say > > > > USE='foo' emerge -p some-cat/some-package > > > > to see what would happen, without changing any /etc files. Is there a > > similar way to specify a keyword override, without changing

[gentoo-user] ephemeral keyword override?

2017-10-03 Thread Ian Zimmerman
When I'm thinking about installing a package, I can say USE='foo' emerge -p some-cat/some-package to see what would happen, without changing any /etc files. Is there a similar way to specify a keyword override, without changing /etc/portage/package.accept_keywords? Something along the lines of

[gentoo-user] Re: Changing dependencies without upping version ??

2017-09-26 Thread Ian Zimmerman
On 2017-09-27 02:38, Kai Krakow wrote: > If you don't want (or cannot) upgrade, you have two options: > > 1. Prepare to maintain your own overlay and deal with it > > 2. Don't use a rolling release distribution > > Personally, and since you seem to know enough to manage your own > overlay,

[gentoo-user] Re: Changing dependencies without upping version ??

2017-09-26 Thread Ian Zimmerman
On 2017-09-26 22:01, Michael Palimaka wrote: > If the only argument is you don't want to upgrade, I'm afraid there's > not much we can do to help you. You're right that I don't want to upgrade, and I have already explained my workaround for that. But that is _not_ what I'm complaining about in

[gentoo-user] Re: Changing dependencies without upping version ??

2017-09-25 Thread Ian Zimmerman
On 2017-09-25 22:24, Michael Palimaka wrote: > I see a few complaints in this thread, but nobody so far has > elaborated on the problem they have with this change. The problem is that if I want to complete the upgrade the way portage suggests, I have to (newly) allow in and time-consumingly

[gentoo-user] Re: Changing dependencies without upping version ??

2017-09-24 Thread Ian Zimmerman
On 2017-09-24 21:05, Neil Bothwick wrote: > If the change doesn't affect the installed code, it is encouraged to > avoid unnecessary rebuilding. > > For example, a new version of LibreOffice or Chromium depends on > libfoo, but the dev doesn't notice and already has libfoo installed so > it

[gentoo-user] Changing dependencies without upping version ??

2017-09-24 Thread Ian Zimmerman
I think this is the first time a package tried to play this trick on me: --- /var/db/pkg/dev-libs/qcustomplot-1.3.2/qcustomplot-1.3.2.ebuild 2017-05-21 13:38:15.482740587 -0700 +++ /usr/portage/dev-libs/qcustomplot/qcustomplot-1.3.2.ebuild 2017-09-22 19:27:30.0 -0700 @@ -1,4 +1,4

[gentoo-user] Re: Pure Data (Pd) can't access ALSA device

2017-09-22 Thread Ian Zimmerman
On 2017-09-22 23:13, Lasse Pouru wrote: > I don't (and won't) use PulseAudio and haven't set up dmix or anything > like it. The weird thing is the simultaneous audio works with every > other program I use (Qutebrowser, mpd, Audacity etc.) -- it's only Pd > that gives the error. AFAIK dmix has

[gentoo-user] Multiple network interfaces and openrc

2017-09-20 Thread Ian Zimmerman
When I add multiple net.* services to a single runlevel (basic example: both a net.en* and a net.wl* service in default runlevel), it has a surprising and undesirable effect: when I bring one of them down by stopping the service, dnsmasq also gets stopped. It is as if openrc thinks dnsmasq

[gentoo-user] Re: Sendmail confused by network change

2017-09-20 Thread Ian Zimmerman
On 2017-09-20 11:45, Bas Zoutendijk wrote: > When I boot at home, Cron sends mail to root@hostname.homedomain. > ‘homedomain’ is automatically added to all host names on my home > network by the router. It can only be resolved inside the network; it > is not a registered domain name. I can

[gentoo-user] Re: Lowest common denominator compile

2017-09-05 Thread Ian Zimmerman
On 2017-09-05 06:54, Grant wrote: > Have you tried ansible? ansible was in use at one of my jobs. I feel that it is overkill for my personal use, and possibly for yours. OTOH, your case _is_ different from mine: I don't admin PCs for other folks to use. -- Please don't Cc: me privately on

[gentoo-user] Re: Lowest common denominator compile

2017-09-04 Thread Ian Zimmerman
On 2017-09-04 13:55, Grant wrote: > ansible does sound pretty cool. I'll check it out if I outgrow my > script but as long as I can keep using Dell XPS 13 laptops I don't > think it will have any trouble scaling. For those dug in minimalists among us, there is also app-admin/cdist. -- Please

[gentoo-user] Re: conf.d/net routes

2017-09-02 Thread Ian Zimmerman
On 2017-09-02 22:01, Mick wrote: > ip route add 10.0.0.0/8 via 192.168.0.1 dev eth0 Ah, that's where the "via" comes from. I didn't realize when I wrote my OP that iproute2 would be used by default, and not the old route program from net-tools. Thanks. -- Please don't Cc: me privately on

[gentoo-user] Re: conf.d/net routes

2017-09-02 Thread Ian Zimmerman
On 2017-09-02 21:05, Simon Thelen wrote: > > Motivation: I want to add a route for a point-to-point interface. > You probably only need to list the peer address on a single line and > then that peer should become routable. The problem was that _two_ routes were being added: the host-specific

[gentoo-user] Re: conf.d/net routes

2017-09-02 Thread Ian Zimmerman
On 2017-09-02 21:11, Branko Grubic wrote: > > Motivation: I want to add a route for a point-to-point interface. > > Some examples you can find > in /usr/share/doc/netifrc-0.5.1/net.example.bz2 That didn't really help much, sorry. I figured out how to do it, but only by reading the shell code

[gentoo-user] conf.d/net routes

2017-09-02 Thread Ian Zimmerman
What is the exact syntax of the *_routes lines in the /etc/conf.d/net file, or where is it documented? The wiki gives a couple of examples, but they are all either just for dhcp (so no configurable routes) or else they are of the form eth0_routes="default via eth0" "via" is not something I can

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

2017-08-31 Thread Ian Zimmerman
On 2017-08-31 08:47, Walter Dnes wrote: > > The "couple" was meant literally, i.e. typically 2 years until it > > breaks. I don't know for sure if it is the flash or something else. > > It's not a bad brand - I have had many different brands, nothing > > lasts much more than that. And I don't

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

2017-08-30 Thread Ian Zimmerman
On 2017-08-30 18:28, R0b0t1 wrote: > >> Also: how long is the replacement going to last? Anything with > >> flash as the main storage will be back at the recycling station > >> (ideally) within a couple of years. This includes all the consumer > >> routers I've ever had, including the beloved

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

2017-08-30 Thread Ian Zimmerman
On 2017-08-30 09:32, Mick wrote: > > Unfortunately this isn't a viable strategy because typically you > > will, in a few months, if not a single month, spend more in > > electricity costs than you would purchasing a new single board > > computer. > Perhaps in a commercial 24x7x365 high compute

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

2017-08-30 Thread Ian Zimmerman
On 2017-08-30 06:47, Walter Dnes wrote: > > uBlock Origin > > uMatrix > > EFF Privacy Badger > > I use Pale Moon. There's a Pale Moon specific fork of AdBlock, called > AdBlock Latitude https://addons.palemoon.org/addon/adblock-latitude/ > but I prefer to avoid addons. uBlockOrigin works

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

2017-08-29 Thread Ian Zimmerman
On 2017-08-29 14:53, Stroller wrote: >$ 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

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

2017-08-29 Thread Ian Zimmerman
On 2017-08-29 01:38, Walter Dnes wrote: > I'm building up a rather large hosts file, but the adservers have a > gazillion subnames for each domain, in a deliberate attempt to bypass > hosts files. It would be more effective block entire domains. Is > there a lightweight DNS server, or some

[gentoo-user] certbot confusion

2017-08-26 Thread Ian Zimmerman
I don't understand the letsencrypt certbot renewal process, specifically the hooks. I have two certificates: one for webserver, one for mailserver. I got them only very recently so I until now the renewal cronjob has always been a no-op, but the real thing will happen very soon. When it does,

[gentoo-user] Re: Symlinked directories and rsync

2017-08-25 Thread Ian Zimmerman
On 2017-08-19 09:41, Ian Zimmerman wrote: > For the purposes about which Walter asks, I do not symlink directories, > I symlink the files. IOW, I create what is known as "symlink farms". > There are also multiple tools for doing that: > > 1. lndir, in the x11-mis

[gentoo-user] Re: Symlinked directories and rsync

2017-08-19 Thread Ian Zimmerman
On 2017-08-19 09:59, Mick wrote: > > > Am I missing something glaringly obvious, or is this a limitation > > > of rsync? If so, is there another tool that can copy over > > > symlinked directories properly? > > > > I always use -av which copies simlinks correctly. -H is necessary > > to copy

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

2017-08-17 Thread Ian Zimmerman
On 2017-08-17 23:05, Stroller wrote: > 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

[gentoo-user] Re: Something started muting the sound

2017-08-12 Thread Ian Zimmerman
On 2017-08-12 13:21, John Covici wrote: > How about checking the various volumes rather than muting maybe some > of them are 0 or rather some negative number or something? Also, you > might delete the asound.state and let the system start over. Last > resort, there is an alsa users mailing

[gentoo-user] Re: Something started muting the sound

2017-08-12 Thread Ian Zimmerman
On 2017-08-12 17:31, Mick wrote: > > My ALSA is built as modules, including the core (I'm guessing that > > means snd.ko, right?). I don't do anything particular to load them, > > they're not listed in /etc/conf.d/modules. Yet the mixer save and > > restore via alsasound works. > > > > Could

[gentoo-user] Re: Something started muting the sound

2017-08-12 Thread Ian Zimmerman
On 2017-08-12 17:39, Alexander Kapshuk wrote: > (5). Postinst message for alsa-utils: > pkg_postinst() { > if [[ -z ${REPLACING_VERSIONS} ]]; then > elog > elog "To take advantage of the init script, and automate the process of" > elog "saving and restoring sound-card mixer levels you should" >

Re: [gentoo-user] Restart agetty after update @world?

2017-08-12 Thread Ian Bloss
Running kill on the current pids? On Sat, Aug 12, 2017, 12:36 AM Matthias Hanft wrote: > Hi, > > for weekly updates, I'm using the usual update commands, such as > > emerge -NDuv @world > emerge -c > revdep-rebuild -i > > In order to find out which services are still using old

[gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-10 Thread Ian Zimmerman
On 2017-08-09 08:31, Ian Zimmerman wrote: > So, bug #627244 is relevant after all. > > I don't have doc in make.conf, so it should just work for me [murmurs a > belief-neutral invocation/] And it did work with no problems. So John - your "doc" USE flag is almost c

[gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-09 Thread Ian Zimmerman
On 2017-08-09 02:35, John Covici wrote: > whoosh was looking for > raise DistributionNotFound(req, requirers) > pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' > distribution was not found and is required by Sphinx > So, I emerged that, but I had to use --nodeps

[gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-08 Thread Ian Zimmerman
On 2017-07-29 11:23, Alan McKinnon wrote: > On 29/07/2017 10:51, John Covici wrote: > > Hi. In my latest world update, portage wants to include this new > > package dev-python/whoosh. The package fails to compile and googling > > and searching bgo yields nothing. > > > > Any assistance would

[gentoo-user] Re: maim screenshooting

2017-08-03 Thread Ian Zimmerman
On 2017-08-03 23:16, Peter Humphrey wrote: > > The Turtle Book (Classic Shell Scripting by Robbins and Beebe) is > > pretty good at explaining the differences between the various > > implementations. OTOH it also contains some (IMO) dubious > > recommendations which have unfortunately become

[gentoo-user] Re: maim screenshooting

2017-08-03 Thread Ian Zimmerman
On 2017-08-02 22:36, Daniel Campbell wrote: > I went in search of a few portable shell resources. Some suggest to > use dash or posh for the testing environment. I also found shellcheck, > which looks pretty promising (and it's in the tree! Thanks jlec). Do > you have any experience in portable

[gentoo-user] Re: maim screenshooting

2017-08-01 Thread Ian Zimmerman
On 2017-08-01 03:00, Daniel Campbell wrote: > # Add '-s' to interactively set the window to be captured. > screenie() { > local curdir=$(pwd) > local shotname=$(date +%Y-%m-%d_%H-%M).png > echo "5 seconds! Go go go!" > cd ~/img/screens/comp/ > scrot -d 5 -q 70

[gentoo-user] Re: Necessity of installer and complete documentation.

2017-07-30 Thread Ian Zimmerman
On 2017-07-30 17:40, Rich Freeman wrote: > >> Just be careful about uninstalling sets. For whatever reason portage > >> doesn't manage dependencies when you do this. > > > > Do you mean that depclean doesn't remove them? > > The opposite. If you uninstall a set, portage will remove everything

[gentoo-user] Re: Why bash script, that works in "Debian", does not work on "Gentoo" install CD?

2017-07-30 Thread Ian Zimmerman
On 2017-07-30 16:03, Rich Freeman wrote: > In my experience the people who are most likely to give you the most > helpful replies tend to also be the first people to hit mute on a > thread when the person asking for help seems determined to make this > as painful as possible. This :-) --

[gentoo-user] Re: maim screenshooting

2017-07-30 Thread Ian Zimmerman
On 2017-07-30 20:04, tu...@posteo.de wrote: > $ maim -i $(xdotool getactivewindow) ~/mypicture.jpg [...] > Giving this via commandline it always shoots the terminal window (I > see no way to edit a commandline without activateing the terminal > window). Clearly the -i parameter is for the

[gentoo-user] Re: what about dracut and systemd?

2017-07-30 Thread Ian Zimmerman
On 2017-07-29 06:25, Rich Freeman wrote: > IMO unless you really need to read them offline it is probably just as > easy to just browse the git repository. I find github provides the > nicest viewer But which one? There is gentoo/gentoo _and_ gentoo-mirror/gentoo. TBH the existence of both

[gentoo-user] Re: Why bash script, that works in "Debian", does not work on "Gentoo" install CD?

2017-07-29 Thread Ian Zimmerman
On 2017-07-29 20:07, Grant Edwards wrote: > > Correct. All my scripts run with IFS='' so for me it does work ;-) > > Ah, I hadn't thought about that. I might have to thy that. It makes > code cleaner-looking when you don't have to put all varible references > inside double-quotes. But, in

[gentoo-user] Re: Why bash script, that works in "Debian", does not work on "Gentoo" install CD?

2017-07-29 Thread Ian Zimmerman
On 2017-07-29 18:48, Grant Edwards wrote: > > PROMPT='Enter device (like /dev/sd(a1,b1,...): ' > > read -p $PROMPT device > > Nit: that doesn't work quite right either. It should be > > PROMPT='Enter device (like /dev/sd(a1,b1,...): ' > read -p "$PROMPT" device > > or > > read -p 'Enter

[gentoo-user] Re: Why bash script, that works in "Debian", does not work on "Gentoo" install CD?

2017-07-29 Thread Ian Zimmerman
On 2017-07-29 19:13, Vadim A. Misbakh-Soloviov wrote: > > read 'Enter device (like /dev/sd(a1,b1,...): ' device > > AFAIK, this is not valid syntax for `read` in any shell (even on > Debian. I just checked) Indeed. That should probably be something like PROMPT='Enter device (like

[gentoo-user] Re: what about dracut and systemd?

2017-07-28 Thread Ian Zimmerman
On 2017-07-28 22:01, Rich Freeman wrote: > > I wonder if its because I am still using rsync to sync the portage > > directory? There are no changelogs anywhere! or nothing by that > > name. > Ah, looks like they were removed entirely from rsync. It was months > ago and I don't use rsync so I'd

[gentoo-user] Re: build programs in other distros

2017-07-28 Thread Ian Zimmerman
On 2017-07-28 18:07, Francisco Ares wrote: > Recently I tried to build one of my programs in an Ubuntu distro, and > it didn't build at all, messing library and include files names and > locations. > > How do real developers manage this? And why this difference happens, > in the first place?

[gentoo-user] Re: Why bash script, that works in "Debian", does not work on "Gentoo" install CD?

2017-07-28 Thread Ian Zimmerman
On 2017-07-28 22:31, Ста Деюс wrote: > Why bash script (the install script), that works in "Debian", does not > work on "Gentoo" install CD, giving me syntax errors (basically related > to '(', ')' and ''')? There was a bug in historic versions of bash, where it got confused if the POSIX syntax

[gentoo-user] Re: Alsa equalizer won't work

2017-07-23 Thread Ian Zimmerman
On 2017-07-23 16:31, Ста Деюс wrote: > So look at your kernel config -- all the drivers are in the kernel. This is not true. Userspace programs interact with ALSA through the libasound library, and I'm pretty sure that's where the incompatibility is. In addition, alsaequal is a plugin so there

[gentoo-user] Re: Alsa equalizer won't work

2017-07-22 Thread Ian Zimmerman
On 2017-07-22 23:36, Melleus wrote: > I started my Debian's experience with Squeeze and ended with > Jessie. No problems with alsa so far. It worked for me on squeeze. I haven't tried jessie. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the

[gentoo-user] Re: Install Gentoo on remote server

2017-07-21 Thread Ian Zimmerman
On 2017-07-21 11:42, Grant wrote: > OK you guys win. Can anyone point me toward docs on the easiest way > to set up the connection? Start by installing app-crypt/easy-rsa. Follow [1] as literally as it makes sense, changing just the names. In particular, it really lowers the confusion if you

[gentoo-user] Re: Alsa equalizer won't work

2017-07-21 Thread Ian Zimmerman
On 2017-07-21 23:44, Melleus wrote: > % LANG=en alsamixer -D equal ALSA lib > ctl_equal.c:268:(_snd_ctl_equal_open) Problem with control file > .alsaequal.bin, 3. cannot open mixer: Operation not permitted Yes, I have noticed this too, very sadly (as I'm the perpetrator of [1]). I think it is

[gentoo-user] Re: Install Gentoo on remote server

2017-07-20 Thread Ian Zimmerman
On 2017-07-20 08:42, Grant wrote: > Is there a better way? If not, is there an easy way to set up that > VPN connection? I've always read that OpenVPN is a bear and I've been > lucky enough to avoid needing it all this time. Bear, in what sense? Slow, hard? I've been using it for years and I

[gentoo-user] Re: Wayland - too early to try?

2017-07-11 Thread Ian Zimmerman
On 2017-07-11 09:02, Rich Freeman wrote: > > I use GNOME with Wayland for some time and I actually didn't notice > > that I switched until I tried to get synergy working ( mouse sharing > > software, which only works on X ), seems like GDM automatically > > chose Wayland since some upgrade.

[gentoo-user] Re: Is this an alsa th'ang?

2017-07-10 Thread Ian Zimmerman
On 2017-07-11 00:11, Mick wrote: > A few days ago I noticed as the operc messages pass by at boot time, > alsasound boot service was complaining it can't find some > files/settings. This may not be relevant, but just in case: I often get ALSA warnings when booting with a newly built kernel.

Re: [gentoo-user] Choosing between system profiles: hardened and desktop for desktop installation.

2017-07-03 Thread Ian Bloss
If you want to go with the hardened sources, there's a great wiki article on it. On Mon, Jul 3, 2017, 10:20 PM Ian Bloss <ianlin...@gmail.com> wrote: > You should use the hardened profile with the harden sources. On terms with > security you could compile a hardened kernel but you sa

Re: [gentoo-user] Choosing between system profiles: hardened and desktop for desktop installation.

2017-07-03 Thread Ian Bloss
You should use the hardened profile with the harden sources. On terms with security you could compile a hardened kernel but you sacrifice ease of use by having to manage pax and if you choose an RBAC system like SElinux or grsecuritys adds more burden. Security isn't a product, so I would

[gentoo-user] Re: problem after upgrading postgresql

2017-07-03 Thread Ian Zimmerman
On 2017-07-03 07:59, John Covici wrote: > So the problem seems to be that postgresql is not logging anything at > all, so the log goes to standard output I don't see the causal connection here. > which in this case is the console becauuse its systemd. Also, I hate systemd but even I don't

[gentoo-user] Re: palemoon-27.3.0 anyone?

2017-06-30 Thread Ian Zimmerman
On 2017-06-30 21:33, james wrote: > ~/.config/qupzilla/profiles/default/bookmarks.json > > is the operable file for qupzilla (I think). I do not know the history > or many details of qupzilla, I emerged it and it works, without the > politics of larger browsers; ymmv. That's the name of the

[gentoo-user] Re: palemoon-27.3.0 anyone?

2017-06-30 Thread Ian Zimmerman
On 2017-06-30 20:45, Walter Dnes wrote: > Is Qupzilla a "Firefox-family" browser like Pale Moon? If so, and if > you're brave/foolish, try symlinking the "places.sqlite" files in the > browsers' profiles. I strongly recommend backups before doing it. > See >

[gentoo-user] Re: palemoon-27.3.0 anyone?

2017-06-30 Thread Ian Zimmerman
On 2017-06-30 19:35, james wrote: > I was looking for a solution, on syncing up diverse *zilla bookmarks > records. If you think about, it's a really good idea and yields > consumer options to use another browser, when your 'fav' browser is > not performing as you wish. Perhaps this:

[gentoo-user] Re: palemoon-27.3.0 anyone?

2017-06-30 Thread Ian Zimmerman
On 2017-06-30 12:01, james wrote: > [2] "octopus" layman/octopus > > Anyone running this version or Palemoon-27.3.0 from another ebuild? > I'm not much interested in building Palemoon from sources. I am not sure what your question or request is here. Are you asking someone to share a binary?

[gentoo-user] Re: Copy'n'Paste...but not for all?

2017-06-26 Thread Ian Zimmerman
On 2017-06-26 19:18, Nikos Chantziaras wrote: > Sometimes the clipboard contents even disappear if you exit the > application you copied from. Start Google Chrome. Select the URL bar. > Press Ctrl+C. Quit Google Chrome. Try Ctrl+V somewhere. It's gone. The > clipboard content you just copied from

[gentoo-user] Re: Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Ian Zimmerman
On 2017-06-26 10:44, Neil Bothwick wrote: > OK, I'll mention it. I generally use Raspbian because it just > works. It contains drivers for most of the 3rd party hardware and > those that are not included provide Raspbian installers or repos. > > I generally use the lite version, which is just

[gentoo-user] Re: Copy'n'Paste...but not for all?

2017-06-25 Thread Ian Zimmerman
On 2017-06-25 20:12, tu...@posteo.de wrote: > When trying to cut text from a terminal or another text-based > apolication and past that into a firefox running on the virtualized > Linux it fails. > > But when I start a firefox on the host system, cut text from a > terminal or another text-based

[gentoo-user] Re: KDE 5 MTP failure

2017-06-16 Thread Ian Zimmerman
On 2017-06-16 14:23, Grant Edwards wrote: > This is not the first time I've seen somebody mention this "songs and > pictures" stuff. I don't understand. When I use mtpfs to mount my > Android devices, a "file-level view" is exactly what I get: I see the > device's root directory and everything

<    1   2   3   4   5   6   7   8   >