[gentoo-user] Re: Brother Printer

2016-12-09 Thread Ian Zimmerman
On 2016-12-08 22:02, Bertram Scharpf wrote: > I have a Brother MFC 7420. Yet, it's not connected to my > Gentoo but to a FreeBSD box. There, I completely ignored the > recommended drivers. I configured lpd (/etc/printcap) to > first pipe the PostScript/PDF documents through a > Ghostscript

[gentoo-user] capabilities

2016-12-17 Thread Ian Zimmerman
On a detour from the setuid X problem, I wanted to play with Linux capabilities. But the simplest possible example from libcap README fails: root@matica ~ # getcap /bin/ping Failed to get capabilities of file `/bin/ping' (Operation not supported) root@matica ~ # Any idea what could be wrong?

[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: 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: 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-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: 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-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: 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" >

[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.

[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: 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-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-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: 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: 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: 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 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: 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] ebuild: package specific CFLAGS

2017-04-28 Thread Ian Zimmerman
I'm trying to create an ebuild of a crufty old program that needs -fgnu89-inline in compiler flags to have any chance of building. What's the way to do that in an ebuild? I could have something like src_configure() { econf $(use_enable nls) CFLAGS=-fgnu89-inline } but then, will this not

[gentoo-user] Re: In search of an truecolor-capable terminal emulator

2017-04-28 Thread Ian Zimmerman
On 2017-04-28 10:10, Fernando Rodriguez wrote: > No. I meant you can't enable them *all* globally, meaning opengl, > gles, egl, etc. It's kind of the same situation as with GUI toolkits, > you can't enable them all globally because some packages support more > than one that you have to choose at

[gentoo-user] Re: How do you manage manually compiled software?

2017-04-27 Thread Ian Zimmerman
On 2017-04-28 09:33, Danny YUE wrote: > I am compiling RISC-V tools...I am just curious how do you manage your > manually compiled software? Michael already posted the "correct answer", and that's what I'm slowly migrating towards, myself. But the best way I've found before that was install it

[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-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: 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-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: 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: 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: 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: 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: 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-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: 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: 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: Issues with AMD_IOMMU

2017-05-14 Thread Ian Zimmerman
On 2017-05-14 20:07, Corbin Bird wrote: > Background / System Info : 2 systems. > Chipset 990FX, FX-9590 ( -march=bdver2 / Fam15h ) > Chipset 790FX, PhenomII 980 ( -march=amdfam10 / Fam10h ) > Gentoo x86_64, multilib, Kernel 4.9.x > IOMMU enabled in UEFI, BIOS. > General Info : ( if you don't

[gentoo-user] gkrellm sensors vanish

2017-05-10 Thread Ian Zimmerman
Since about 2 weekly updates ago (which seems to neatly translate to a newly stable 2.3.10-r1 version of gkrellm) sometimes it starts without any of the hardware monitoring sensors displayed. Not always; but since gkrellm despite of all its other virtues is the misguided sort of program that

[gentoo-user] Re: Risks of making traceroute suid root

2017-05-11 Thread Ian Zimmerman
On 2017-05-11 11:15, Alan McKinnon wrote: > 2. sudo, which frankly is a monumental PITA to maintain - it tends to > grow and bloat and the syntax isn't easy to parse in your mind. It > also doesn't let you give users access to a certain thing, If the thing is an object in the filesystem, old

[gentoo-user] Re: Issues with AMD_IOMMU

2017-05-16 Thread Ian Zimmerman
On 2017-05-16 09:11, Corbin Bird wrote: > > http://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html > > That link, read the rest of it. > > It says to leave it alone, let the kernel use it as an IOMMU. > > On AMD, with NO IOMMU kernel parameters, output in '/var/log/dmesg': >

[gentoo-user] Re: Issues with AMD_IOMMU

2017-05-15 Thread Ian Zimmerman
On 2017-05-15 14:33, Corbin Bird wrote: > Gigabyte has long been known to ship 'broken for Linux' e820 firmware. > 'e820' is basically the APG Aperature setup in the firmware. > Gigabyte kills OR overrides the IOMMU support in the firmware, to setup > the AGP Aperature. > > Closed source /

[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-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: 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: Apache config

2017-05-18 Thread Ian Zimmerman
On 2017-05-18 15:49, Peter Humphrey wrote: > The apache2 access log shows the files of the page being fetched, but > makes no mention of /include/hmenu.incl, nor of includes at all. Don't you need to load a special module for server-side includes? -- Please *no* private Cc: on mailing lists

[gentoo-user] Re: tmp on tmpfs

2017-05-24 Thread Ian Zimmerman
On 2017-05-24 08:00, Kai Krakow wrote: > While I have no benchmarks and use the systemd default of tmpfs for > /tmp, I also put /var/tmp/portage on tmpfs, automounted through > systemd so it is cleaned up when no longer used (by unmounting). > > What can I say? It works so much faster: Building

[gentoo-user] Re: Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread Ian Zimmerman
On 2017-05-21 09:51, Neil Bothwick wrote: > Why are you using encfs with the associated FUSE baggage when ecryptfs > is in the kernel and performs the same function? Is ecryptfs behind the scenes when I run /sbin/cryptsetup ? I remember a few years back, still on debian, I resolved to replace

[gentoo-user] Re: Qt-4.8.7 bug

2017-05-23 Thread Ian Zimmerman
On 2017-05-23 23:16, Frank Steinmetzger wrote: > KDE doesn’t find my beloved terminus font anymore, both on my PC and > my laptop. It does not show up in any font selection dialog. The same > goes for GTK applications such as gimp (GTK2) and firefox (GTK3). No > Terminus anywhere. > > Does that

[gentoo-user] tmp on tmpfs

2017-05-23 Thread Ian Zimmerman
So what are gentoo users' opinions on this matter of faith? I have long been in the camp that thinks tmpfs for /tmp has no advantages (and may have disadvantages) over a normal filesystem like ext3, because the files there are normally so small that they will stay in the page cache 100% of the

[gentoo-user] Re: local file containing a web site

2017-06-10 Thread Ian Zimmerman
On 2017-06-10 16:43, Dale wrote: > > I would like to produce a file containing what is seen when viewing > > that web page (it brings in other pages). A pdf would be good, but > > others would be OK. > > > > The goal is to be able to put this on a flash drive and be able to > > view in without

[gentoo-user] Re: Why is PS1 (the console prompt) different for the root user?

2017-06-10 Thread Ian Zimmerman
On 2017-06-10 09:12, Nikos Chantziaras wrote: > I noticed that the root prompt does not include the full path of the > current directory. > ... > So for users, I can see where I am ("/usr/bin"). For root, I cannot. It > just says "bin". > ... > Is there a rationale for this? One guess:

[gentoo-user] network interface names in gentoo

2017-06-11 Thread Ian Zimmerman
Without tweaking anything in particular (as far as I remember), I get the "predictable" names. For example, on the desktop box where I'm writing this, the main interface is enp3s0. But, of course, there's no systemd on this box, and never has been. So, reading [1], I am somewhat puzzled: that

[gentoo-user] Re: Peculiar problem with root login

2017-06-11 Thread Ian Zimmerman
On 2017-06-11 14:55, Harry Putnam wrote: > Running debian jesse in a vbox vm on a Solaris host I'll go easy on the OT this time :-) > Jun 11 14:50:55 d2 sshd[2830]: pam_unix(sshd:auth): authentication > failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=d.local.lan > user=root > > Jun

[gentoo-user] bugzilla down?

2017-06-15 Thread Ian Zimmerman
~$ curl -L https://bugs.gentoo.org 2>/dev/null | lynx -dump -stdin Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmas...@gentoo.org to

[gentoo-user] Re: KDE 5 MTP failure

2017-06-15 Thread Ian Zimmerman
On 2017-06-15 07:26, Neil Bothwick wrote: > > Android and iphones can be accessed as a USB drive. Doesn't this > > work? > > No they can't, at least not the modern Android phones. allowing two > systems to mount the same filesystem is a recipe for disaster. That's > why we have MTP, which would

[gentoo-user] Re: nscd not caching hostnames

2017-06-16 Thread Ian Zimmerman
On 2017-06-16 15:14, Adam Carter wrote: > But i see from packet captures that a new request is sent to the dns > server each time, and nscd -i hosts is always empty. stracing nscd > shows that its not processing anything. How do i get it to intercept > the name requests? FWIW, im running

[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

[gentoo-user] gtk+-2.x, adwaita, gsettings and all that

2017-05-01 Thread Ian Zimmerman
I remember there was a thread about these topics, but I think it was only in the context of resolving build conflicts. That is not my problem: I can build and merge these packages just fine. My problem is that the adwaita theme, on which the last stable gtk+2 depends, gives a totally new look to

[gentoo-user] freetype-2.7 USE flags

2017-04-30 Thread Ian Zimmerman
I understand that freetype-2.7 enabled by default the code that emulates the so called ClearType technique on Windows (a.k.a. blurry fonts). In older versions that code was turned on with the "infinality" USE flag. "infinality" is still there but now there is also a new "cleartype_hinting" flag.

[gentoo-user] Re: Pseudo first impressions

2017-04-29 Thread Ian Zimmerman
On 2017-04-30 02:23, lee wrote: > > Do a --depclean and that will resolve itself. > > Last time I tried that, it wanted to remove the source of the kernel > I'm using, along with other things. It would have made sense if I had > upgraded the kernel, too, but I didn't have the time to do that

[gentoo-user] Re: gtk+-2.x, adwaita, gsettings and all that

2017-05-02 Thread Ian Zimmerman
On 2017-05-02 00:32, Jonathan Callen wrote: > To set the GTK-2 theme, edit the file ~/.gtkrc-2.0, and add lines > like: > > gtk-theme-name = "Raleigh" > gtk-icon-theme-name = "hicolor" > gtk-cursor-theme-name = "" This worked, thanks. Some icons _are_ different but I suppose that's

[gentoo-user] Re: replacement for ftp?

2017-05-02 Thread Ian Zimmerman
On 2017-05-02 09:05, Neil Bothwick wrote: >> miles per hour, internet almost always won lately. :-) > But tapes also hold a lot more than they did in 1981 And so do trucks :-( -- Please *no* private Cc: on mailing lists and newsgroups Personal signed mail: please _encrypt_ and sign Don't

[gentoo-user] Re: new scanner : partial success

2017-05-03 Thread Ian Zimmerman
On 2017-05-03 15:13, Philip Webb wrote: > It appears that the driver set-up includes a binary blob > & that it can't be done simply by picking the correct SANE_BACKENDS item > (the old scanner simply need 'plustek' to be chosen). > So can anyone advise me how to get my new scanner working on

[gentoo-user] Puzzled by zswap [Was: tmp on tmpfs]

2017-05-25 Thread Ian Zimmerman
On 2017-05-24 19:05, Kai Krakow wrote: > To get in line with Rich Freeman: I didn't want to imply that zswap > only works with swap, neither that tmpfs only works with swap. Both > work without. But if you want to put some serious amount of data into > tmpfs, you need swap as a backing device

[gentoo-user] Re: Qt-4.8.7 bug

2017-05-21 Thread Ian Zimmerman
On 2017-05-20 16:36, Mick wrote: > It seems revdep-rebuild'ing against library='libQtCore.so.4' also > rebuilds the newly installed Qt packages. This is why there so many > packages to rebuild. For me it was just 20 packages, I have no KDE. That was much fewer that Kai's suggestion would have

[gentoo-user] Re: Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread Ian Zimmerman
On 2017-05-21 17:59, tu...@posteo.de wrote: > cryptsetup seems to be of another flavor than encfs, since its depends > on gpg (see below), which encfs does not use as far as I know. > I think encfs uses symmetric ciphers and cryptsetup uses a pub/private > key pair. But I am by no means a

[gentoo-user] Re: Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread Ian Zimmerman
On 2017-05-21 10:01, Ian Zimmerman wrote: > On 2017-05-21 17:59, tu...@posteo.de wrote: > > > cryptsetup seems to be of another flavor than encfs, since its depends > > on gpg (see below), which encfs does not use as far as I know. > > I think encfs uses symmetric cip

[gentoo-user] gentoo rocks

2017-05-19 Thread Ian Zimmerman
It's about one year now since I locked myself in my room for a month and installed gentoo :-) It has been an interesting and sometimes rough ride, but I learned many thing along the way, and I got what I wanted: a desktop GNU/Linux that just does the things I want it to, without stupid frills.

[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: 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] 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

[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: 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: 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: 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] 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] 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: 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: 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: 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] 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: 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] 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-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] 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: 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: 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 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: 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: 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: 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

  1   2   3   4   5   >