Icons for mount points (Continuing with configuring our "new" Debian server

2017-09-15 Thread James H. H. Lampert
About a week and a half ago, acting on recommendations from a couple of List members, I moved the mount point for the "Auxiliary" mirrored pair I added from "Media" to the file system root, and it works quite nicely. But a question: I'd like that mount point to show up in Gnome as something ot

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread Gene Heskett
On Friday 15 September 2017 19:17:30 x9p wrote: > > Thanks, now I see it. > > > > Your /etc/hosts says: > > > > 127.0.0.1 localhost > > 127.0.1.1 localhost > > > > ::1 localhost ip6-localhost ip6-loopback > > > > Note the absence of localhost.localdomain. > > > > > > Your hostname

Re: OpenJDK 8 from jessie backports

2017-09-15 Thread Liam O'Toole
On 2017-09-14, John Naggets wrote: > Thanks Georgi you made my day! That worked like a charm. > > On Thu, Sep 14, 2017 at 3:10 PM, Georgi Naplatanov wrote: >> On 09/14/2017 03:45 PM, John Naggets wrote: >>> Hi, >>> >>> I did the mistake of running an "apt-get dist-upgrade" on my Debian 8 >>> mach

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread x9p
> Thanks, now I see it. > > Your /etc/hosts says: > > 127.0.0.1 localhost > 127.0.1.1 localhost > ::1 localhost ip6-localhost ip6-loopback > > Note the absence of localhost.localdomain. > > > Your hostname is "localhost.localdomain", as strace helpfully shows us: > > uname({sysname

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread Reco
On Fri, Sep 15, 2017 at 06:32:17PM -0300, x9p wrote: > > > Your snippet of strace output on pastebin is lacking the beginning. > > What I'm currently interested in are: > > > > 1) Libraries and configuration files that sudo is opening (hence the > > 'open' syscall). Thinking about it, make it 'ope

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread x9p
> You should have a localhost entry in /etc/hosts. If you have > configured your /etc/sudoers to specify "localhost.localdomain", > then you should also have a localhost.localdomain entry in > /etc/hosts, or your should change the sudoers config to just > reference "localhost". > No changes were

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread x9p
> Your snippet of strace output on pastebin is lacking the beginning. > What I'm currently interested in are: > > 1) Libraries and configuration files that sudo is opening (hence the > 'open' syscall). Thinking about it, make it 'open,stat'. > > 2) What kind of network sockets (short of kinda obvi

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread Reco
On Fri, Sep 15, 2017 at 06:06:02PM -0300, x9p wrote: > > > sudo(8) says: > > > > sudo supports a plugin architecture for security policies and > > input/output logging. Third parties can develop and distribute their > > own policy and I/O logging plugins to work seamlessly with the sudo > >

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread Dan Ritter
On Fri, Sep 15, 2017 at 12:46:09PM -0300, x9p wrote: > > I was getting > 30sec to complete "sudo su" on a host. This host had > invalid entries in resolv.conf and I realized sudo was doing 5 seconds > lookup on each entry searching for "localhost.localdomain" > > sudo is 1.8.19p1 @ stretch. > >

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread x9p
> sudo(8) says: > > sudo supports a plugin architecture for security policies and > input/output logging. Third parties can develop and distribute their > own policy and I/O logging plugins to work seamlessly with the sudo > front end. The default security policy is sudoers, which is config

plasma5 - how to update menus

2017-09-15 Thread Hans
Hi folks, I installed a new application (not from repo), and there is a *.desktop file in /usr/share/applications. But I the new application does not appear in the menus of plasma5/kde. How can I force, to recreate the menus in plasma5? I tried "update-menus", "kbuildsycoca5 --noincremental" a

Re: apt problem

2017-09-15 Thread Greg Wooledge
On Fri, Sep 15, 2017 at 08:15:47PM +, Glenn English wrote: > dpkg: dependency problems prevent configuration of expect: > expect depends on tcl-expect; however: > Package tcl-expect:amd64 is not configured yet. Remember when I said: Show the versions of any other packages that are related

Re: apt problem

2017-09-15 Thread Glenn English
On Fri, Sep 15, 2017 at 7:39 PM, Greg Wooledge wrote: > On Fri, Sep 15, 2017 at 07:22:48PM +, Glenn English wrote: >> All I need to know is how to get all the Debian install software to >> forget that there was ever a package called expect on this system. > > dpkg --purge expect # is as clos

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread Reco
On Fri, Sep 15, 2017 at 04:28:31PM -0300, x9p wrote: > > > Hi. > > Hi. > > > > > While DNS lookups for localhost are unusual any reasonable configured > > DNS should have no trouble resolving it. Especially since there are OSes > > that try to resolve *everything* by default via includin

Re: apt problem

2017-09-15 Thread Greg Wooledge
On Fri, Sep 15, 2017 at 07:22:48PM +, Glenn English wrote: > All I need to know is how to get all the Debian install software to > forget that there was ever a package called expect on this system. dpkg --purge expect # is as close as you can get Then resolve whatever dependency issues aris

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread x9p
> Hi. Hi. > > While DNS lookups for localhost are unusual any reasonable configured > DNS should have no trouble resolving it. Especially since there are OSes > that try to resolve *everything* by default via including localhost (AIX > comes to mind). > Understand, but disagree with sud

Re: apt problem

2017-09-15 Thread Glenn English
On Fri, Sep 15, 2017 at 3:56 PM, Greg Wooledge wrote: > On Fri, Sep 15, 2017 at 03:45:07PM +, Glenn English wrote: >> What do I do next? > > Basic steps. Give details. > > What version of Debian is it? On what architecture? Jessie. amd64. > What does "dpkg -l expect" say? Now? Desired=Un

RE: mariadb uninstall/reinstall-Solved

2017-09-15 Thread larry owens
Thanks to all for your help. Dan's suggestion (below) worked. Larry -Original Message- From: Dan Ritter [mailto:d...@randomstring.org] Sent: Thursday, September 14, 2017 11:04 AM To: larry owens Cc: debian-user@lists.debian.org Subject: Re: mariadb uninstall/reinstall On Thu, Sep 14, 20

Re: Debian v9 it's a stretch

2017-09-15 Thread Jimmy Johnson
On 09/15/2017 08:31 AM, Fungi4All wrote: From: field.engin...@gmail.com To: debian-user@lists.debian.org On 09/11/2017 02:27 PM, Fungi4All wrote: From: a...@cityscape.co.uk To: debian-user@lists.debian.org You have gone to a lot of trouble to type this. We appreciate it. Does it answer anyth

Re: What is /var/cache/apt good for ? (and other Sid dist-upgrade riddles)

2017-09-15 Thread Thomas Schmitt
Hi, > In 2017, it's probably more a historical artifact than a useful > feature, It would be very helpful if it could make gpg find my secret key. Currently i cannot do "debuild -S" because gpg says there is no key. GnuPG docs say that the file secring.gpg would be converted automatically to the

Re: sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread Reco
Hi. On Fri, Sep 15, 2017 at 12:46:09PM -0300, x9p wrote: > > I was getting > 30sec to complete "sudo su" on a host. This host had > invalid entries in resolv.conf and I realized sudo was doing 5 seconds > lookup on each entry searching for "localhost.localdomain" > > sudo is 1.8.19p1 @ s

sudo slow on DNS lookup, with invalid resolv.conf entries

2017-09-15 Thread x9p
I was getting > 30sec to complete "sudo su" on a host. This host had invalid entries in resolv.conf and I realized sudo was doing 5 seconds lookup on each entry searching for "localhost.localdomain" sudo is 1.8.19p1 @ stretch. Believe no DNS lookups should be made... even for localhost sendmms

Re: apt problem

2017-09-15 Thread Michael Stone
On Fri, Sep 15, 2017 at 03:45:07PM +, Glenn English wrote: I'd like to get the apts to either quit whining about the state of things, finish the configuration, or at least allow me to remove all the relevant files so I can reinstall. I've tried to find the files dpkg uses to remember where th

Re: apt problem

2017-09-15 Thread Greg Wooledge
On Fri, Sep 15, 2017 at 03:45:07PM +, Glenn English wrote: > What do I do next? Basic steps. Give details. What version of Debian is it? On what architecture? What does "dpkg -l expect" say? What did you do this morning before the problem started? What is the ACTUAL symptom you are seein

apt problem

2017-09-15 Thread Glenn English
Jessie Expect quit working this morning. I use it for several rootly duties. Aptitude claims that expect is installed, but not configured, and it can't finish. And it won't let me remove it. Every time I do something with aptitude, it tries to finish configuring expect, whines about the condition

Re: Minicom problem

2017-09-15 Thread deloptes
Fred wrote: > The version is 2.6.1 running on Wheezy (sparc).  The speed is 9600 > baud.  Once it goes on line there is no problem.  It is just when the > program starts it starts off line. > > I just tried to determine if there is a timeout.  I found that when > minicom starts the status line sa

Re: Debian v9 it's a stretch

2017-09-15 Thread Fungi4All
> From: field.engin...@gmail.com > To: debian-user@lists.debian.org > > On 09/11/2017 02:27 PM, Fungi4All wrote: >>> From: a...@cityscape.co.uk >>> To: debian-user@lists.debian.org > >>> You have gone to a lot of trouble to type this. We appreciate it. >>> Does it answer anything. >>> Is Chevrolet

Re: What is /var/apt/cache good for ? (and other Sid dist-upgrade riddles)

2017-09-15 Thread Jimmy Johnson
On 09/15/2017 06:02 AM, Thomas Schmitt wrote: Hi, i ran apt-get update apt-get dist-ugrade on my Sid VM, one year after the last such run. It announced to need 1.2 GB more of disk space, which is astounding on its own, but in the end it consumed 2.4 GB. When looking for the reason of the

Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread James Montgomery
On 2017-09-15 10:03, Steve McIntyre wrote: Peter Smith wrote: --> Yes, I have already done that. Nevertheless the documentation on that Wiki page is wrong. I'd like to report a bug or something like this but the Wiki page does not provide any clues on how to do that. I don't want anybody else t

Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread Steve McIntyre
Peter Smith wrote: > >--> Yes, I have already done that. Nevertheless the documentation on >that Wiki page is wrong. I'd like to report a bug or something like >this but the Wiki page does not provide any clues on how to do that. >I don't want anybody else to waste his/her time by reading and >foll

Re: Minicom problem

2017-09-15 Thread Fred
On 09/15/2017 01:21 AM, deloptes wrote: Fred wrote: Hi, I sometimes use minicom to talk to some equipment over a wired connection. Minicom comes up off line and I can't find what makes it go on line. I look through some of the menus and at some point it decides it is on line. Maybe it has a

Re: Postresql: need a way to initiate a database with a test user

2017-09-15 Thread Tom Browder
On Fri, Sep 15, 2017 at 08:03 Tom Browder wrote: > I get the following error when trying to create a table with psql: > Re: OP subject: s/Postresql/PostgreSQL/ -Tom

Re: What is /var/apt/cache good for ? (and other Sid dist-upgrade riddles)

2017-09-15 Thread Michael Stone
On Fri, Sep 15, 2017 at 03:02:50PM +0200, Thomas Schmitt wrote: Before i run apt-get commands from the web like "clean" or "autoclean", i'd like to know for what use case Debian keeps this wealth of .deb files. The internet mainly has the story that it grows a lot, for the purpose of re-installin

Re: What is /var/cache/apt good for ? (and other Sid dist-upgrade riddles)

2017-09-15 Thread Thomas Schmitt
Hi, Greg Wooledge wrote: > Let's say you're courageous enough to run testing or unstable For production of anything else but Debian packages ? That would scare me. Even Stretch scares me, given the reports of the recent weeks. > after filing a bug report against the broken package, > of course,

Re: What is /var/apt/cache good for ? (and other Sid dist-upgrade riddles)

2017-09-15 Thread Greg Wooledge
On Fri, Sep 15, 2017 at 03:02:50PM +0200, Thomas Schmitt wrote: > When looking for the reason of the waste i got to nearly 5 GB of > /var/cache/apt > > Before i run apt-get commands from the web like "clean" or "autoclean", > i'd like to know for what use case Debian keeps this wealth of .deb fi

Postresql: need a way to initiate a database with a test user

2017-09-15 Thread Tom Browder
I get the following error when trying to create a table with psql: psql: FATAL: Peer authentication failed for user "sql92" The spawned command 'psql -f ./t/t.sql -U sql92' exited unsuccessfully (exit code: 2) The sql file has two create table commands. I had already created the user 'sql

What is /var/apt/cache good for ? (and other Sid dist-upgrade riddles)

2017-09-15 Thread Thomas Schmitt
Hi, i ran apt-get update apt-get dist-ugrade on my Sid VM, one year after the last such run. It announced to need 1.2 GB more of disk space, which is astounding on its own, but in the end it consumed 2.4 GB. When looking for the reason of the waste i got to nearly 5 GB of /var/cache/apt Be

OT: Crossing toll bridges (was Re: getting mail from Exchange/Outlook)

2017-09-15 Thread rhkramer
On Thursday, September 14, 2017 09:23:32 PM David Wright wrote: > On Thu 14 Sep 2017 at 12:36:12 (-0400), Gene Heskett wrote: > > On Thursday 14 September 2017 11:55:34 Reco wrote: > > > On Thu, Sep 14, 2017 at 10:19:45AM -0500, David Wright wrote: > > > > Do you have a similar > > > > strategy for

Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread Greg Wooledge
On Fri, Sep 15, 2017 at 10:08:26AM +0200, Dejan Jocic wrote: > On 15-09-17, Peter Smith wrote: > > --> Yes, I have already done that. Nevertheless the documentation on > > that Wiki page is wrong. I'd like to report a bug or something like > > this but the Wiki page does not provide any clues on ho

Re: getting mail from Exchange/Outlook

2017-09-15 Thread Greg Wooledge
On Thu, Sep 14, 2017 at 11:00:19PM -0400, The Wanderer wrote: > I read the "for backup purposes" as being a euphemism, implying that the > second copy was being kept for nefarious purposes, including so that it > could be reviewed (including by third parties) even if the user had > deleted the "vis

Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread Zenaan Harkness
On Fri, Sep 15, 2017 at 08:48:21AM +0200, Peter Smith wrote: > Hi, > > I have tried to change the behavior of the CapsLock key to make it an > additional Escape key. In order to do this I read the advice on > https://wiki.debian.org/Keyboard > > Specifically I did: > I changed the file /etc/defau

Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 15, 2017 at 10:09:27AM +0200, Mariusz Gronczewski wrote: [...] > I did it by xmodmap, just to different key than escape: Perhaps the problem is an interaction with the original poster's desktop environment (it is Gnome, iirc). Desktop e

Re: Face header and Thunderbird

2017-09-15 Thread Richard Hector
On 15/09/17 17:50, Byung-Hee HWANG (황병희, 黃炳熙) wrote: > I read your thought. If so, you would be better to change mail program > for support Face and X-Face headers. How about Gnus [1]? Given I haven't used emacs for about 15 years, I think that might be a bit drastic :-) Also, would it handle my

Re: Face header and Thunderbird

2017-09-15 Thread Richard Hector
On 15/09/17 20:23, Markus Schönhaber wrote: > Richard Hector, Fr 15 Sep 2017 04:44:41 CEST: > >> When I read email from Brad Rogers and a few others, they contain a >> 'face' header (different from X-Face, which is also there). >> >> For whatever reason, Thunderbird always displays this header in

Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread Mariusz Gronczewski
On Fri, 15 Sep 2017 08:48:21 +0200, Peter Smith wrote: > Hi, > > I have tried to change the behavior of the CapsLock key to make it an > additional Escape key. In order to do this I read the advice on > https://wiki.debian.org/Keyboard > > Specifically I did: > I changed the file /etc/default/

Re: Debian v9 it's a stretch

2017-09-15 Thread Jimmy Johnson
On 09/11/2017 02:27 PM, Fungi4All wrote: From: a...@cityscape.co.uk To: debian-user@lists.debian.org You have gone to a lot of trouble to type this. We appreciate it. Does it answer anything. Is Chevrolet an OS (Operating System)? No, but there are similarities. They are both systems, one is

Re: Face header and Thunderbird

2017-09-15 Thread Markus Schönhaber
Richard Hector, Fr 15 Sep 2017 04:44:41 CEST: > When I read email from Brad Rogers and a few others, they contain a > 'face' header (different from X-Face, which is also there). > > For whatever reason, Thunderbird always displays this header in the > 'Normal' view - and it's huge, taking up abou

Re: Minicom problem

2017-09-15 Thread deloptes
Fred wrote: > Hi, > > I sometimes use minicom to talk to some equipment over a wired > connection. Minicom comes up off line and I can't find what makes it go > on line. I look through some of the menus and at some point it decides > it is on line. Maybe it has a timeout. How can I make it cu

Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread Dejan Jocic
On 15-09-17, Peter Smith wrote: > > Hi, > > > > I have tried to change the behavior of the CapsLock key to make it an > > additional Escape key. In order to do this I read the advice on > > https://wiki.debian.org/Keyboard > > > > Specifically I did: > > I changed the file /etc/default/keyboard to:

Re: mariadb uninstall/reinstall

2017-09-15 Thread Alberto Luaces
Cindy-Sue Causey writes: > I was wondering about that. I a-sumed maybe it tried to over-purge > other important packages the way that happens sometimes. There is no risk: only explicitly named packages are purged. The rest are deleted on demand. -- Alberto

Re: Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread Peter Smith
> Hi, > > I have tried to change the behavior of the CapsLock key to make it an > additional Escape key. In order to do this I read the advice on > https://wiki.debian.org/Keyboard > > Specifically I did: > I changed the file /etc/default/keyboard to: > > XKBLAYOUT="us,at" > XKBVARIANT="," > BACKSP

Re: How do I boot a Debian 9.1.0 amd64 iso from GRUB?

2017-09-15 Thread Jimmy Johnson
On 09/13/2017 08:17 PM, Ethan Andrews wrote: Hello, I have recently had issues with burning DVDs and am wondering if I can boot a Debian 9.1 AMD64 DVD iso directly from an installed GRUB on another Debian partition. Preferably, is there a way of booting from the DVD boot sector in the iso so I c

Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread Dejan Jocic
On 15-09-17, Peter Smith wrote: > Hi, > > I have tried to change the behavior of the CapsLock key to make it an > additional Escape key. In order to do this I read the advice on > https://wiki.debian.org/Keyboard > > Specifically I did: > I changed the file /etc/default/keyboard to: > > XKBLAYOU

Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work

2017-09-15 Thread Peter Smith
Hi, I have tried to change the behavior of the CapsLock key to make it an additional Escape key. In order to do this I read the advice on https://wiki.debian.org/Keyboard Specifically I did: I changed the file /etc/default/keyboard to: XKBLAYOUT="us,at" XKBVARIANT="," BACKSPACE="guess" XKBMODEL=