Re: Detour: notmuch advertisement (was: emacs save and kill buffer for (neo)mutt)

2019-05-06 Thread Pétùr

On 13/04/19 01:43, Peter Wiersig wrote:

Pétùr  writes:


I use neomutt with emacs.


If you're using the kitchen sink, why not stay completely in emacs?
https://emacs.stackexchange.com/q/12927
(Disclaimer: I wrote one of the answers to that meta question)

I used mutt for decades, I still think it's a fine tool, but I found
more happiness in my chosen "notmuch" mail setup.  David & the bunch are
doing a terrific job with the project as whole and the debian packages
in focus, and even if you're building the project directly from the
repository, it's no bother with dabian (even stable).

What I gained by dropping mutt was an uninterupted access to the rest of
my life in emacs, and the user interface is streamlined to hundreds or
thousands of replied messages a day.

A I finish this post, the next keypress will be C-c C-c like many other
emacs modes, which will send the mail to the list, bury the buffer and
redisplay the search results, where I filtered for debian-user and
unread before.


Thanks, I will definitly consider using notmuch inside emacs. I already
have my email fetched by offlineimap and I use mutt-notmuch inside mutt to
search email (with the code below).

I have some work to do (for example, I have some difficulty with
notmuch's spirit of doing everything with a search; for now I am unable
to display only my inbox inside notmuch-emacs...). 


###
# Notmuch integration #
###
macro index,pager  \
"unset wait_keynotmuch-mutt --prompt 
search`echo 
${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`" \
"notmuch: search mail"
macro index,pager  \
"unset wait_keynotmuch-mutt 
thread`echo 
${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`set wait_key" \
"notmuch: reconstruct thread"
macro index,pager  \
"unset wait_keynotmuch-mutt tag 
-inbox" \
"notmuch: remove message from inbox"



Re: emacs save and kill buffer for (neo)mutt

2019-05-06 Thread Pétùr
Thanks.

In fact my code was working, but the terminal I used (xfce4-terminal)
has a built-in shortcut for "quit" binded to Ctrl+q. This is why Emacs,
when launched inside xfce4-terminal, closes instead of going back to mutt.

Silly...



Re: pmount could perhaps be of greater utility?

2019-05-06 Thread Erik Christiansen
On 07.05.19 10:12, David wrote:
> On Mon, 6 May 2019 at 23:53, Erik Christiansen  
> wrote:
> > On 06.05.19 09:03, Greg Wooledge wrote:
> > > On Sat, May 04, 2019 at 01:48:01PM +0200, Jonas Smedegaard wrote:
> > > > Quoting Erik Christiansen (2019-05-04 08:43:53)
> 
> > > > >  pmount $1 `e2label $1`
> 
> > > and is using the ancient deprecated command substitution syntax (which
> > > will work in this case, but is not a good habit).
> 
> > That does appear to remain opinion. The venerably traditional syntax is
> > still fully legal supported bash syntax, e.g.:
> >
> > http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03
> >
> > The recent (late last century, IIRC) introduction of the $(...)
> > alternative syntax has admittedly brought newer *nix users who know
> > nothing else, and so delude themselves that there is nothing else. That
> > is a misapprehension. To each, his own, especially amongst adequately
> > equivalent alternatives.
> 
> Hi Erik
> 
> Maybe you would enjoy answering this question then?
> https://lists.gnu.org/archive/html/help-bash/2019-05/msg0.html
> 
> Because apparently no-one else has, hehe :D

I can see why - the question wilfully exploits the fact that bash is not
a full programming language, and only the author is dumb enough to construct
such self defeating perversity as using two echos to fabricate difficulty
where none need exist. (Please read next paragraph before kneejerking.)

In a real case of substitution of more substantial commands, it is both
simple and convenient to perform the operations sequentially (i.e. on
separate lines), rather than obfuscate with unnecessary nesting.

Having an intermediate result in a shell variable can often save a lot
of debugging time, both during script development and later, when
unanticipated input causes undesired effects. Having to deconstruct a long
nested assemblage in order to debug it leads to a chained implementation
in any event.

Erik

-- 
Good judgement comes from experience.
Experience comes from bad judgement.  - Jim Horning



Re: [SOLVED] Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Mon, 6 May 2019 15:16:09 -0500
David Wright  wrote:

> On Mon 06 May 2019 at 10:56:47 (-0700), Patrick Bartek wrote:
> > On Mon, 6 May 2019 13:08:05 -0400 Greg Wooledge  
> > wrote:  
> > > On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote:  
> > > > On Mon, 6 May 2019 10:24:24 -0400 Greg Wooledge  
> > > > wrote:
> > > > > for dir in ab*/; do
> > > > > name=${dir%/}
> > > > > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > > > > done
> > > > 
> > > > Typed in as a single line with a semi-colon at end of enfuse command
> > > > and before done to keep it from locking up, generates error "enfuse:
> > > > failed to open "ab*//*.jpg: No such file or directory. But it's a
> > > > beginning. Time to pull out my 400 page Unix shell programming book.
> > > 
> > > Most likely it means there weren't any matching directories wherever
> > > you ran it.  The ab*/ glob will be used literally if it doesn't match
> > > any directories.
> > > 
> > > If you want to check for that, you can add a test.
> > > 
> > > for dir in ab*/; do
> > > test -d "$dir" || continue
> > > name=${dir%/}
> > > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > > done
> > > 
> > > You said you had twenty-something directories named ab01, ab02, etc.
> > > So it should have matched unless you ran it from the wrong place,
> > > or unless you lied about your directory names.
> > > 
> > > But nobody would EVER lie about their directory names in a shell
> > > programming question.  Oh, no, never.  
> > 
> > Silly me.  I failed to substitute the correct dir name letters in the
> > script for example "ab" prefix I origninaly posted. Didn"t even notice
> > until I started troubleshooting 3 hours later. That's what I get for
> > reading the list a 6:00am. With semi-colons properly placed for a one
> > liner, it works.  
> 
> You don't really need to place semicolons anywhere for a one-liner;
> the system does it for you. I've cut and pasted Greg's example into
> the command line, and then pressed Uparrow (for history recall):
> 
> $ for dir in ab*/; do
> > name=${dir%/}
> > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > done  
> bash: enfuse: command not found
> $ for dir in ab*/; do name=${dir%/}; enfuse --output "$name.jpg" 
> --compression=97 "$dir"/*.jpg; done
> 
> and there's your one-liner.

I come from a time when "The System" did nothing for you.  If you
missed a period or semi-colon, etc. execution stopped and, if you were
lucky, you got a cryptic error code number with no other explanation.
Hell, my Unix shell programming book is almost 30 years old! And it's
one of the newer ones. ;-)

But thanks for the info anyway.

B



Re: pmount could perhaps be of greater utility?

2019-05-06 Thread David
On Mon, 6 May 2019 at 23:53, Erik Christiansen  wrote:
> On 06.05.19 09:03, Greg Wooledge wrote:
> > On Sat, May 04, 2019 at 01:48:01PM +0200, Jonas Smedegaard wrote:
> > > Quoting Erik Christiansen (2019-05-04 08:43:53)

> > > >  pmount $1 `e2label $1`

> > and is using the ancient deprecated command substitution syntax (which
> > will work in this case, but is not a good habit).

> That does appear to remain opinion. The venerably traditional syntax is
> still fully legal supported bash syntax, e.g.:
>
> http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03
>
> The recent (late last century, IIRC) introduction of the $(...)
> alternative syntax has admittedly brought newer *nix users who know
> nothing else, and so delude themselves that there is nothing else. That
> is a misapprehension. To each, his own, especially amongst adequately
> equivalent alternatives.

Hi Erik

Maybe you would enjoy answering this question then?
https://lists.gnu.org/archive/html/help-bash/2019-05/msg0.html

Because apparently no-one else has, hehe :D



Re: Can't install addons for firefox

2019-05-06 Thread David
On Tue, 7 May 2019 at 07:03, Peter Ehlert  wrote:
>
> On 5/4/19 9:27 AM, Ross Boylan wrote:
> > Running firefox-esr on buster I don't seem to be able to install
> > addons.  I tried selenium IDE and katalon.  Has Debian blocked the
> > installation of addons?  I don't see indications of that in the docs
> > or the net.
>
> A new 60.6.2esr version came out yesterday, it is not in the Buster
> repos yet.

I just installed a new version 60.6.2esr-1~deb9u1 from stable-updates
that fixes this bug for me. I just had to re-enable a few extensions that
had previously become not-enabled and everything seems back to normal.

[david@kablamm ~]$ apt -a show firefox-esr
Package: firefox-esr
Version: 60.6.2esr-1~deb9u1
[...]
[APT-Sources: http://approx:/debian stretch-updates/main amd64 Packages

changelog says:
  * New upstream release.
- Fixes issues with addon signature validation. Closes: #928415, #928449.
Note: this didn't affect addons installed via Debian packages.



Re: next amd64 stretch problem

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 02:36:23 pm ghe wrote:

> On 5/6/19 12:08 PM, Gene Heskett wrote:
> > On Sunday 05 May 2019 09:04:18 pm Gene Heskett wrote:
> >>   Down
> >> about 20 db from what I'm used to hearing.
>
> A 20 db loss on a beep can be a problem for us of the elderly
> persuasion. Several years ago, an audiologist told me that my ears are
> 40 db down at 4KHz.
>
Thats called a Carhart Notch in the aid industry, and its the one defect 
they can't do a lot for.  Its caused by loud noises, like sitting at a 
shooting bench on my place in the black hills in the 60's and wearing 
out the 1st 3 barrels in an Ackley-06 in a P17 action without benefit of 
earmuffs. With one tree about 4 feet and left of the muzzle, and another 
about 7 feet off to the right.  Back blast off those 2 trees was 
substantial.  And the last time they tested me, 20 years back I was 
rated as at least 140db down at 4 kilohertz.  They turned it up and up 
until they thought they'd burn up the phones, but all I could hear was 
the pink noise in the background. But I'm only down 10-15 db at the 
lower freqs and down about 20 from 8 kilo's to around 18 kilo's. So my 
hearing is usable quite a bit of the time yet without aids.

> > Now, lets see if I can make apache2 run again.

Got that mostly up, now clamav is hogging things.

> IIRC, Jessie worked pretty well. Just sayin'


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Configuration d'Alsa éphémère

2019-05-06 Thread fw
As-tu une raison particulière d'utiliser la distribution unstable 
(« Sid ») ?


Cordialement

"Dire que l'on s'en fiche du droit à la vie privée sous prétexte qu'on a rien à 
cacher, c'est comme déclarer que l'on se fiche du droit à la liberté d'expression sous 
prétexte qu'on a rien à dire." Edward Snowden



Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 04:06:43 pm Dan Ritter wrote:

> Ulf Volmer wrote:
> > On 06.05.19 20:10, Gene Heskett wrote:
> > > On Sunday 05 May 2019 12:56:27 pm Gene Heskett wrote:
> > >
> > > I had other problems that overshadowed this, but much of that has
> > > been resolved, so can we start over with this?
> >
> > There was already a reply from me. You have to explain why you have
> > a 2.2 apache config on a debian stretch system.
>
> That's easy: because the system was configured in wheezy or
> earlier, was upgraded to jessie and continued working, and was
> upgraded to stretch and stopped working.
>
> -dsr-

No jessie. New stretch install on a new drive, data all copied over from 
the old drive. And data apparently included /etc/apache2 since I did 
want to keep the .conf file there. There are some things in it that help 
put it in a rights sandbox. 

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 03:16:08 pm Ulf Volmer wrote:

> On 06.05.19 20:10, Gene Heskett wrote:
> > On Sunday 05 May 2019 12:56:27 pm Gene Heskett wrote:
> >
> > I had other problems that overshadowed this, but much of that has
> > been resolved, so can we start over with this?
>
> There was already a reply from me. You have to explain why you have a
> 2.2 apache config on a debian stretch system.
>
> Best regards
> Ulf

Thats not at all difficult, the whole /var/www directory was copied over 
from the wheezy 32 bit install.  The /etc/apache2 tree waas NOT copied, 
but the evidences says otherwise. Same machine, new 2T drive. I think 
some perms got blown away in copying from /opt to /opt, some of that 
which for space reasons, lives in /opt from back when /var was a 
separate partition.  So every time I ran it, I just nuked the module it 
complained about.  So now the main page is working. I still need to go 
fix the owner:group in some of its links.  You can now see it in the 
link in the sig I hope. Yup, its running.

Thanks Ulf.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 01:46:36 pm Dan Purgert wrote:

> Gene Heskett wrote:
> > [...]
> > Logged out no, started a new konsole and ran ff from it yes. Managed
> > to get the little b laser working, but a 2 year old 11x17 MFC?
> > Won't configure, missing file although the latest driver kit from
> > brother is installed, so I find I have a nearly $700
> > scanner/copier/printer thats been discontinued!  And they've blocked
> > or removed any access to the old files.  Thats generated a nastygram
> > to brother, its a 2 year old printer.
>
> Which printer was that? Don't forget that some of their printers
> require multiarch / i386 in order for the pre-processor to run
> properly.

Is that a lib/module I can install to a 
4.9.0-9-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.168-1 
kernel?

Thanks Dan.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Can't install addons for firefox

2019-05-06 Thread Peter Ehlert



On 5/4/19 9:27 AM, Ross Boylan wrote:

Running firefox-esr on buster I don't seem to be able to install
addons.  I tried selenium IDE and katalon.  Has Debian blocked the
installation of addons?  I don't see indications of that in the docs
or the net.

Likewise, I know selenium (and maybe katalon) have had compatibility
issues with some versions of FF, but the page from which I installed
the addons (which was via the addon manager in FF) doesn't mention
anything.

And, if FF selectively blocks addons for which a Debian package is
available, that doesn't seem to apply since there are no such
packages.  There are some selenium packages, but not as a FF
extension.

Any ideas?

Thanks,
Ross

DIAGNOSTICS

The FF console log shows
Events to handle the installation initialized. BigInteger.js:27
[GA: ON] sendEvent {"hitType":"event","eventCategory":"AMO Addon
Installs Download Failed","eventAction":"addon","eventLabel":"Katalon
Recorder"} BigInteger.js:27
Error: install failed

The first log entries are warnings:
Content Security Policy: Directive ‘child-src’ has been deprecated.
Please use directive ‘worker-src’ to control workers, or directive
‘frame-src’ to control frames respectively.
Content Security Policy: Couldn’t process unknown directive ‘prefetch-src’

Then there are a bunch of errors like
Content Security Policy: The page’s settings blocked the loading of a
resource at self (“style-src”). Source: width:119%.
katalon-automation-record





A new 60.6.2esr version came out yesterday, it is not in the Buster 
repos yet.

I enabled Sid, upgraded, and then disabled Sid.

all is good now, no loses



Re: Can't install addons for firefox

2019-05-06 Thread Ben Caradoc-Davies

On 05/05/2019 10:52, Ben Caradoc-Davies wrote:
Setting about:config / xpinstall.signatures.required to false fixed 
extensions for me for firefox 66.0.1-1 amd64 on Debian sid and for 
Firefox 66.0.2 on Android. I needed to restart Firefox on Debian.


Seems fixed in firefox 66.0.4-1 on Debian sid and firefox 66.0.4 on 
Android: extensions continue to work after restoring the default 
about:config xpinstall.signatures.required setting (true).


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-06 Thread David Wright
On Sun 05 May 2019 at 20:52:40 (+0200), Erik Josefsson wrote:
> Den 2019-05-05 kl. 16:26, skrev David Wright:
> > Is this some sort of ticking off for wondering why the OP is*so*
> > keen to be able to type ¦ directly on the keyboard that they are
> > almost willing to use a USB keyboard with a laptop to get it?
> > Particularly as the wiki page referred to above has a reference to
> > http://jkorpela.fi/latin1/3.html#A6
> > which states "It is advisable to avoid using this character, since its
> > code position is occupied by another character in ISO Latin 9 (alias
> > ISO 8859-15), which will probably widely replace ISO Latin 1 at least
> > in European usage."
> > 
> > Now, using Unicode might avoid this danger, but it's still odd to
> > want this character so much when it appears to be as much of a relic
> > as the aforementioned ECU is. And, after all, the answer is that
> > they didn't.
> 
> For what it's worth, I had the foggy idea that I had to figure out how
> to make the Teres keyboard reproduce the output from the Scandinavian
> USB keyboard. What else would be "right"?

[Disclaimer: I'm not familiar with the Teres keyboard beyond looking at
https://www.olimex.com/Products/DIY-Laptop/SPARE-PARTS/TERES-006-Keyboard/
(assuming this is it), and I've no idea of what keys your USB keyboard
has, nor knowledge of Swedish keyboard conventions.]

> When the 105 and 102 options then gave the same result, it got
> completely lost.
> 
> And I'm still kind of lost since I don't really understand what a
> "Keyboard model" is. So already at the first menu choice of
> dpkg-reconfigure keyboard-configuration I don't really know what I'm
> doing there.
> 
> In the dpkg-reconfigure keyboard-configuration menu there are [193
> different keyboard models] to choose from.
> 
> But two of them are the same, at least from the point of view of a
> Teres laptop.
> 
> How does that work?

I guess that with only 80 keys on your keyboard, many of the
differences between these different models are dealing with keys you
simply don't have. I can use pc105 for all my laptop, however many
keys they have.

What's more important is the layout: for example a British layout
puts \| left of z, whereas a US one will make that key <> and the
\| will be 3 keys right of p. In response to that, and deleting
£, many of the other punctuation characters get shuffled around.

The "key that's missing" usually refers to that left-of-z key,
(i) because the fact that it's the only punctuation character
thereabouts makes it rather obvious that it's missing, (ii) small
US keyboards don't have it whereas British (and I assume many
European) ones usually do.

You mentioned your Scandinavian USB keyboard with it's "broken bar"
in that left-of-z position. The "broken" appearance has been a
traditional engraving on the pipe keycap for years and doesn't
have any particular significance significance: the key produces
pipe when typed normally (ie shifted).

I don't know how they decide which glyphs should be typed when
the AltGr key is used. Perhaps it's not too surprising that they
place ¦ on the | key as a mnemonic. To what end, who knows? The
glyph is virtually useless. But what does your USB keyboard produce
when you type this key with just shift pressed?

Cheers,
David.



Re: apache2 missing a file, won't run.

2019-05-06 Thread Ulf Volmer
On 06.05.19 22:06, Dan Ritter wrote:
> Ulf Volmer wrote: 

>> There was already a reply from me. You have to explain why you have a
>> 2.2 apache config on a debian stretch system.
> 
> That's easy: because the system was configured in wheezy or
> earlier, was upgraded to jessie and continued working, and was
> upgraded to stretch and stopped working.

In Jessie was also an apache 2.4 version.

Best regards
Ulf



Re: [SOLVED] Re: Shell Script Help

2019-05-06 Thread David Wright
On Mon 06 May 2019 at 10:56:47 (-0700), Patrick Bartek wrote:
> On Mon, 6 May 2019 13:08:05 -0400 Greg Wooledge  wrote:
> > On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote:
> > > On Mon, 6 May 2019 10:24:24 -0400 Greg Wooledge  
> > > wrote:  
> > > > for dir in ab*/; do
> > > > name=${dir%/}
> > > > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > > > done  
> > > 
> > > Typed in as a single line with a semi-colon at end of enfuse command
> > > and before done to keep it from locking up, generates error "enfuse:
> > > failed to open "ab*//*.jpg: No such file or directory. But it's a
> > > beginning. Time to pull out my 400 page Unix shell programming book.  
> > 
> > Most likely it means there weren't any matching directories wherever
> > you ran it.  The ab*/ glob will be used literally if it doesn't match
> > any directories.
> > 
> > If you want to check for that, you can add a test.
> > 
> > for dir in ab*/; do
> > test -d "$dir" || continue
> > name=${dir%/}
> > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > done
> > 
> > You said you had twenty-something directories named ab01, ab02, etc.
> > So it should have matched unless you ran it from the wrong place,
> > or unless you lied about your directory names.
> > 
> > But nobody would EVER lie about their directory names in a shell
> > programming question.  Oh, no, never.
> 
> Silly me.  I failed to substitute the correct dir name letters in the
> script for example "ab" prefix I origninaly posted. Didn"t even notice
> until I started troubleshooting 3 hours later. That's what I get for
> reading the list a 6:00am. With semi-colons properly placed for a one
> liner, it works.

You don't really need to place semicolons anywhere for a one-liner;
the system does it for you. I've cut and pasted Greg's example into
the command line, and then pressed Uparrow (for history recall):

$ for dir in ab*/; do
> name=${dir%/}
> enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> done
bash: enfuse: command not found
$ for dir in ab*/; do name=${dir%/}; enfuse --output "$name.jpg" 
--compression=97 "$dir"/*.jpg; done

and there's your one-liner.

Cheers,
David.



Re: Can't install addons for firefox

2019-05-06 Thread Reco
On Mon, May 06, 2019 at 02:10:01PM -0400, Lee wrote:
> On 5/6/19, Reco  wrote:
> > Hi.
> >
> > On Mon, May 06, 2019 at 01:35:48PM -0400, Lee wrote:
> >> On 5/6/19, Dave Sherohman  wrote:
> >> > On Sun, May 05, 2019 at 07:29:55PM -0400, Dan Ritter wrote:
> >> >>
> >> >> No, Mozilla really screwed up.
> >> >
> >> > Understatement of the month, if not the year.  And yet, on the Mozilla
> >> > blog, all the comments are "oh, you're so awesome for working on a
> >> > weekend to fix this!", completely ignoring that there wouldn't have
> >> > been
> >> > a problem to "heroically" work all weekend to solve if they'd just done
> >> > things right (staying on top of cert expirations, not trying to funnel
> >> > everything through a single point of failure, etc.) in the first place.
> >>
> >> Is it just me, or does anyone else see the real screw up as mozilla
> >> not allowing users to override their decisions -- in this case, about
> >> an addon being "safe"?
> >
> > xpinstall.signatures.required = false
> >
> > They do allow it … for now.
> 
> Only for the ESR

Which Debian happens to be shipping. Pure coincidence, I know.

Reco



Re: Emacs in GUI from two different users.

2019-05-06 Thread aprekates

That worked. Thanks.


I'll try to make it permanent across session by putting
the commands to bash profile files.

On 6/5/19 4:54 μ.μ., An Liu wrote:

Partly right, Debian 9.9 tested

'xhost' still works, while 'xauth' and 'ssh -X' fail

foo>
xhosts +

goo>
export DISPLAY=:0
emacs

this could start emacs in GUI for goo









Re: apache2 missing a file, won't run.

2019-05-06 Thread Dan Ritter
Ulf Volmer wrote: 
> On 06.05.19 20:10, Gene Heskett wrote:
> > On Sunday 05 May 2019 12:56:27 pm Gene Heskett wrote:
> 
> > I had other problems that overshadowed this, but much of that has been 
> > resolved, so can we start over with this?
> 
> There was already a reply from me. You have to explain why you have a
> 2.2 apache config on a debian stretch system.

That's easy: because the system was configured in wheezy or
earlier, was upgraded to jessie and continued working, and was
upgraded to stretch and stopped working.

-dsr-



Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Sunday 05 May 2019 12:56:27 pm Gene Heskett wrote:

> Greetings all;
>
> So web page in the sig is dark.
>
> Stretch install, from a custom iso the LCNC folks are testing, but the
> apache2 install was all pulled in with synaptic.  No errors.
>
> As root;
>
> Service apache2 start, gets this from systemctl:
>
> May 05 12:49:20 coyote systemd[1]: Starting The Apache HTTP Server...
> May 05 12:49:20 coyote apachectl[20456]: apache2: Syntax error on line
> 204 of /etc/apache2/apache2.conf: Syntax error on line 1
> of /etc/apache2/mods-enabled/authz_default.load: Cannot
> load /usr/lib/apache2/modules/mod_authz_default.so
> May 05 12:49:20 coyote apachectl[20456]: Action 'start' failed.
>
> And indeed, there is no such module in that directory.  Fix??
>
> Thanks all;
>
> Cheers, Gene Heskett

Well, I got that working, but some links are forbidden now. I suspect 
some perms got bollixed in copying from the old drive.  I need to do 
some maintenance anyway, so thats for later fine tuning and updateing, 
which it sorely needs anyway. But at least you can see our ancient mugs 
at the link in the sig.

Now to a different kettle of fish, amanda, the backup proggy.  But thats 
going to need some naproxin sodium to sort, it won't build on stretch.  
And its been sold to betsol, who has hidden the gpl code behind a 
paywall. Wish me good luck, this sale caught all the users by surprise.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: jessie to stretch upgrade Killed sudo.

2019-05-06 Thread Jonas Smedegaard
Quoting Martin McCormick (2019-05-06 21:24:41)
> Jonas Smedegaard  writes:
> > 
> > I recommend to first make sure that the system tracks only packages from
> > one single Debian release (not a mixture of multiple releases, and
> > certainly not any non-Debian repositories).
> > 
> > (then I'd probably install etckeeper if not done already, to have a way
> > of reverting some kinds of accidents in the following steps)
> > 
> > Then I'd check that all packages have fully upgraded and no packages are
> > left that in not part of the new system.  Several ways to do that -
> > personally I prefer using aptitude in fullscreen mode (i.e. start it
> > with no non-option arguments) and look first at "Obsolete and Locally
> > Created Packages" section, then "Upgradable Packages", and then _all_ of
> > "Installed Packages" checking that the version is the one in the current
> > system.
> > 
> > Then I'd inspect all packages recommended but not installed.  You
> > certainly should know for sure that why each and every exception is
> > there and that you really don't need it!  With aptitude that's done by
> > hitting "CTRL+t" and in menu "Views" select "Audit Recommendations".
> > 
> > Then I'd purge all packages not installed.  In aptitude that's done by
> > standing on the section "Not Installed Packages" and hit "_", and then
> > "g" twice (skimming through what the list after first "g" to ensure
> > nothing suspicious sticks out).
> > 
> > Then I'd inspect files below /etc - obvous bugs like broken symlinks,
> > and unfinished merge of conffiles (look for *.dpkg* files).
> > 
> > 
> >  - Jonas
> 
> Thank you.  I appreciate all the suggestions.  I have, so far, solved 
> the immediate problem.  It dates back to 2017.  A file named 
> /etc/pam.d/common-session which should be a 26-line configuration file 
> had been overwritten by nulls.  How that happened, I do not remember 
> but it is not a runtime-created file so I replaced it with a copy of 
> the same file from the working system and sudo commands now work as 
> they are supposed to.
> 
> If there turns out to be any more issues, I will use the steps 
> you suggested plus compare file permissions and ownership of all 
> related files.  Fortunately, all the stretch systems I have are 
> basically copies of each other.
> 
> Again, many thanks to all who responded.

Good you located the cause of the problem.  Really frustrating when 
system doesn't behave reasonable!

A file filled with nulls smells badly of filesystem corruption: My guess 
is you don't ext4 with journalling enabled on that partition...


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: jessie to stretch upgrade Killed sudo.

2019-05-06 Thread Martin McCormick
Jonas Smedegaard  writes:
> 
> I recommend to first make sure that the system tracks only packages from
> one single Debian release (not a mixture of multiple releases, and
> certainly not any non-Debian repositories).
> 
> (then I'd probably install etckeeper if not done already, to have a way
> of reverting some kinds of accidents in the following steps)
> 
> Then I'd check that all packages have fully upgraded and no packages are
> left that in not part of the new system.  Several ways to do that -
> personally I prefer using aptitude in fullscreen mode (i.e. start it
> with no non-option arguments) and look first at "Obsolete and Locally
> Created Packages" section, then "Upgradable Packages", and then _all_ of
> "Installed Packages" checking that the version is the one in the current
> system.
> 
> Then I'd inspect all packages recommended but not installed.  You
> certainly should know for sure that why each and every exception is
> there and that you really don't need it!  With aptitude that's done by
> hitting "CTRL+t" and in menu "Views" select "Audit Recommendations".
> 
> Then I'd purge all packages not installed.  In aptitude that's done by
> standing on the section "Not Installed Packages" and hit "_", and then
> "g" twice (skimming through what the list after first "g" to ensure
> nothing suspicious sticks out).
> 
> Then I'd inspect files below /etc - obvous bugs like broken symlinks,
> and unfinished merge of conffiles (look for *.dpkg* files).
> 
> 
>  - Jonas

Thank you.  I appreciate all the suggestions.  I have, so far,
solved the immediate problem.  It dates back to 2017.  A file
named /etc/pam.d/common-session which should be a 26-line
configuration file had been overwritten by nulls.  How that
happened, I do not remember but it is not a runtime-created file so I
replaced it with a copy of the same file from the working system
and sudo commands now work as they are supposed to.

If there turns out to be any more issues, I will use the
steps you suggested plus compare file permissions and ownership of
all related files.  Fortunately, all the stretch systems I have
are basically copies of each other.

Again, many thanks to all who responded.

Martin McCormick



Re: apache2 missing a file, won't run.

2019-05-06 Thread Ulf Volmer
On 06.05.19 20:10, Gene Heskett wrote:
> On Sunday 05 May 2019 12:56:27 pm Gene Heskett wrote:

> I had other problems that overshadowed this, but much of that has been 
> resolved, so can we start over with this?

There was already a reply from me. You have to explain why you have a
2.2 apache config on a debian stretch system.

Best regards
Ulf



Re: next amd64 stretch problem

2019-05-06 Thread ghe
On 5/6/19 12:08 PM, Gene Heskett wrote:

> On Sunday 05 May 2019 09:04:18 pm Gene Heskett wrote:
> 
>>   Down
>> about 20 db from what I'm used to hearing.

A 20 db loss on a beep can be a problem for us of the elderly
persuasion. Several years ago, an audiologist told me that my ears are
40 db down at 4KHz.

> Now, lets see if I can make apache2 run again.

IIRC, Jessie worked pretty well. Just sayin'

-- 
Glenn English



Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Celejar
On Mon, 6 May 2019 17:18:31 +0200 (CEST)
Pierre Frenkiel  wrote:

> On Mon, 6 May 2019, Celejar wrote:
> 
> > I once looked into ProtonMail, but IIUC, there's no POP3 / IMAP / SMTP
> > support in the free tier, and even in the paid tiers, standards-based
> > email requires running some sort of proprietary application called
> > "ProtonMail Bridge" on my machine. Correct me if I'm wrong, but if this
> > is correct, I'll pass.
> >
> > Celejar
> >
> 
>thank you for this useful information. It will avoid loosing time.
>Have you any idea of something else?

I'm no expert, but I struck out in my search for a free,
standards-based email service beyond the giants. I have a number of GMX
accounts, and while they're not quite Google / Yahoo / Microsoft,
they're still too big, scary and ad-centric for me.

My favorite is a Zoho account that I have, but when I checked recently
into adding further accounts, I think that new free accounts don't get
POP / IMAP / SMTP service (my old account seems to be grandfathered in).

Another option I've been considering is using the free email service
provided by my (web) hosting provider. It's not quite free, since the
hosting costs money, but that's a sunk cost, and it's very little to
begin with. I don't know, however, how good the service is.

Celejar



Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Sunday 05 May 2019 12:56:27 pm Gene Heskett wrote:

Ping?

> Greetings all;
>
> So web page in the sig is dark.
>
> Stretch install, from a custom iso the LCNC folks are testing, but the
> apache2 install was all pulled in with synaptic.  No errors.
>
> As root;
>
> Service apache2 start, gets this from systemctl:
>
> May 05 12:49:20 coyote systemd[1]: Starting The Apache HTTP Server...
> May 05 12:49:20 coyote apachectl[20456]: apache2: Syntax error on line
> 204 of /etc/apache2/apache2.conf: Syntax error on line 1
> of /etc/apache2/mods-enabled/authz_default.load: Cannot
> load /usr/lib/apache2/modules/mod_authz_default.so
> May 05 12:49:20 coyote apachectl[20456]: Action 'start' failed.
>
> And indeed, there is no such module in that directory.  Fix??

I had other problems that overshadowed this, but much of that has been 
resolved, so can we start over with this?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: next amd64 stretch problem

2019-05-06 Thread Gene Heskett
On Sunday 05 May 2019 09:04:18 pm Gene Heskett wrote:

> Greetings all;
>
> I have only one, very weak sound, from kmails new mail beep.  Down
> about 20 db from what I'm used to hearing.
>
> Everything else is muted.  And I can't find the speaker-test utility
> in the repo's to even begin to troubleshoot, so whats the next step?
>
> Thanks all;
>
> Cheers, Gene Heskett
Well, the next step was to rip out anything even remotely associated with 
pulseaudio, including all of pulse. Then installed just about everything 
alsa, ran the mixer and found the front speakers muted, turned then up 
and viola!, the speaker-test running in the background came up to full 
volume.

A side effect since noticed is that in the last 30 minutes cycling thru 
the playlist at foxnews, has not stuttered even for a millisecond, this 
is the smoothest ff has ever run in 15 years and 5 or 6 other installs.  
So AFAIAC, pulse is a system disabling viri.  Remove it. 

Now, lets see if I can make apache2 run again.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Can't install addons for firefox

2019-05-06 Thread Lee
On 5/6/19, Reco  wrote:
>   Hi.
>
> On Mon, May 06, 2019 at 01:35:48PM -0400, Lee wrote:
>> On 5/6/19, Dave Sherohman  wrote:
>> > On Sun, May 05, 2019 at 07:29:55PM -0400, Dan Ritter wrote:
>> >>
>> >> No, Mozilla really screwed up.
>> >
>> > Understatement of the month, if not the year.  And yet, on the Mozilla
>> > blog, all the comments are "oh, you're so awesome for working on a
>> > weekend to fix this!", completely ignoring that there wouldn't have
>> > been
>> > a problem to "heroically" work all weekend to solve if they'd just done
>> > things right (staying on top of cert expirations, not trying to funnel
>> > everything through a single point of failure, etc.) in the first place.
>>
>> Is it just me, or does anyone else see the real screw up as mozilla
>> not allowing users to override their decisions -- in this case, about
>> an addon being "safe"?
>
> xpinstall.signatures.required = false
>
> They do allow it … for now.

Only for the ESR, developer and nightly versions of firefox.
  https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox
Firefox Extended Support Release (ESR), Firefox Developer Edition and
Nightly versions of Firefox will allow you to override the setting to
enforce the extension signing requirement, by changing the preference
xpinstall.signatures.required to false in the Firefox Configuration
Editor (about:config page).

Lee



Re: Can't install addons for firefox

2019-05-06 Thread Reco
Hi.

On Mon, May 06, 2019 at 01:35:48PM -0400, Lee wrote:
> On 5/6/19, Dave Sherohman  wrote:
> > On Sun, May 05, 2019 at 07:29:55PM -0400, Dan Ritter wrote:
> >>
> >> No, Mozilla really screwed up.
> >
> > Understatement of the month, if not the year.  And yet, on the Mozilla
> > blog, all the comments are "oh, you're so awesome for working on a
> > weekend to fix this!", completely ignoring that there wouldn't have been
> > a problem to "heroically" work all weekend to solve if they'd just done
> > things right (staying on top of cert expirations, not trying to funnel
> > everything through a single point of failure, etc.) in the first place.
> 
> Is it just me, or does anyone else see the real screw up as mozilla
> not allowing users to override their decisions -- in this case, about
> an addon being "safe"?

xpinstall.signatures.required = false

They do allow it … for now.

Reco



Re: Shell Script Help

2019-05-06 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Greg Wooledge wrote:
> [...]
> You said you had twenty-something directories named ab01, ab02, etc.
> So it should have matched unless you ran it from the wrong place,
> or unless you lied about your directory names.
>
> But nobody would EVER lie about their directory names in a shell
> programming question.  Oh, no, never.

- From the book of bashisms, verse 10:

  All examples given by the questioner will be broken, misleading,
  wrong, incomplete, and/or not representative of the actual question.

Thus sayeth the leaden feline. :)  

-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlzQdLwACgkQjhHd8xJ5
ooHkrQgAnM5ONF1FsghmSKoeisYMukEN/Aq2bJlOjYWCo2F++uZm8/paMpv6UE4J
TDmilhYwKiyZVgvewSezeKv2CSkOU2gvwfEioKaX7riKY97Vd4cRysJPy5Pk6Yaj
Iv+apfmpGb+FaZt3Bw2jeZYqEBeZaGvhAC/YKnLexsrcBmsLtwrTWd+EpivKLtUu
8dXH3XPTjvI9S7ZT2Cf8lzlXsQ58LV6K0zTeSTuDjAoFenkxthSReMTHaz4tppDk
F58h+XOatqqUDceBfDh4aM48kHb9mHP9KpN56JWpSjCiDfuEx86EnkQHWlzwR4cM
c+n0iFbFh21NFxfU/nQig/uZfT5EsA==
=LRX7
-END PGP SIGNATURE-

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: Is Debian 9 supposed to work on a Geode?

2019-05-06 Thread Björn Persson
Stefan Monnier wrote:
> Most of those ARM SBCs come with a µSD slot plus other things.
> Even if you connect a SATA disk, you'll often need a µSD because some
> of those SBCs don't have any on-board flash memory, so you need the µSD
> to hold the U-Boot (which plays the role of the BIOS) without which the
> board doesn't even know how to read from the SATA disk.

I see. Being able to replace the memory that holds the bootloader makes
perfect sense. That's even a feature I would pay extra for.

Björn Persson


pgpeO2iKh3u5U.pgp
Description: OpenPGP digital signatur


Re: apache2 missing a file, won't run.

2019-05-06 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Gene Heskett wrote:
> [...]
> Logged out no, started a new konsole and ran ff from it yes. Managed to 
> get the little b laser working, but a 2 year old 11x17 MFC? Won't 
> configure, missing file although the latest driver kit from brother is 
> installed, so I find I have a nearly $700 scanner/copier/printer thats 
> been discontinued!  And they've blocked or removed any access to the old 
> files.  Thats generated a nastygram to brother, its a 2 year old 
> printer.

Which printer was that? Don't forget that some of their printers require
multiarch / i386 in order for the pre-processor to run properly.


-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlzQcvsACgkQjhHd8xJ5
ooHmNQf/Uq3RzmT9v3l3XHBOnFDcXnlf0ngeBbSnr6R5OWZxyg/1+1y9HGoCYtn4
QdH1XxLsTEE/l2iFPN1r0p2NyGSPqOBlF2zPU7sXNPn7REypmyzILAI9kGRuvF8w
AlykCSxhTdDhMGz85hPyBd8/EezeYNCTK+sC375r2RDiaaYS/onv5T4Pd9LB4IFi
sgocvD8nmK4zA5Oi8lXRL4/p2hB2RP76VJigfMla8dKbDiJ31S+RIUJ0wwUa7De3
wmDwliQtnC4oP9fIa2bOhSZCz38cJ7LTbWAa5XzbLhNd66V0IIU1Gqnw/9lVT8Yq
ZfIHa+Gd8oYHKu9EODTcBmrRgufUSg==
=AXiT
-END PGP SIGNATURE-

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



[SOLVED] Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Mon, 6 May 2019 13:08:05 -0400
Greg Wooledge  wrote:

> On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote:
> > On Mon, 6 May 2019 10:24:24 -0400
> > Greg Wooledge  wrote:  
> > > for dir in ab*/; do
> > > name=${dir%/}
> > > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > > done  
> > 
> > Typed in as a single line with a semi-colon at end of enfuse command
> > and before done to keep it from locking up, generates error "enfuse:
> > failed to open "ab*//*.jpg: No such file or directory. But it's a
> > beginning. Time to pull out my 400 page Unix shell programming book.  
> 
> Most likely it means there weren't any matching directories wherever
> you ran it.  The ab*/ glob will be used literally if it doesn't match
> any directories.
> 
> If you want to check for that, you can add a test.
> 
> for dir in ab*/; do
> test -d "$dir" || continue
> name=${dir%/}
> enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> done
> 
> You said you had twenty-something directories named ab01, ab02, etc.
> So it should have matched unless you ran it from the wrong place,
> or unless you lied about your directory names.
> 
> But nobody would EVER lie about their directory names in a shell
> programming question.  Oh, no, never.

Silly me.  I failed to substitute the correct dir name letters in the
script for example "ab" prefix I origninaly posted. Didn"t even notice
until I started troubleshooting 3 hours later. That's what I get for
reading the list a 6:00am. With semi-colons properly placed for a one
liner, it works.

Thanks.

B



Re: Can't install addons for firefox

2019-05-06 Thread Lee
On 5/6/19, Dave Sherohman  wrote:
> On Sun, May 05, 2019 at 07:29:55PM -0400, Dan Ritter wrote:
>>
>> No, Mozilla really screwed up.
>
> Understatement of the month, if not the year.  And yet, on the Mozilla
> blog, all the comments are "oh, you're so awesome for working on a
> weekend to fix this!", completely ignoring that there wouldn't have been
> a problem to "heroically" work all weekend to solve if they'd just done
> things right (staying on top of cert expirations, not trying to funnel
> everything through a single point of failure, etc.) in the first place.

Is it just me, or does anyone else see the real screw up as mozilla
not allowing users to override their decisions -- in this case, about
an addon being "safe"?

I like that mozilla can disable addons they find out are doing 'bad'
things (whatever 'bad' means).  I also like the fail safe aspect where
if they can't verify an addon it defaults to 'bad'.  What I don't
like, and what I think turned a minor issue into a very visible and
embarrassing problem, is not being able to over-ride their decision.

Lee



Re: next amd64 stretch problem

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 11:40:42 am Jonas Smedegaard wrote:

> Quoting Gene Heskett (2019-05-06 17:06:34)
>
> > On Monday 06 May 2019 04:05:46 am Jonas Smedegaard wrote:
> > [...]
> >
> > > In recent times, Pulseaudio "hijacks" direct ALSA access by
> > > registering with ALSA as a virtual audio card, which reroutes
> > > through its pipeline and then sending out audio through the real
> > > audio card.
> > >
> > > You can force avoid Pulseaudio by starting an application like
> > > this from a terminal:
> > >
> > >   pasuspender -- speaker-test
> >
> > which gets me total silence, except for a low level beep from kmail
> > (trinity version r14.0.6) as mail is incoming.  What does that tell
> > us?
>
> Not certain but seems to me an indication that indeed Pulseaudio is
> involved.  One way to doublecheck if that's the case is to ask ALSA
> which audio cards are available, and which of them is card #0.
>
Well, I've uprooted pulse and pulled in the rest of alsa. No sound before 
or after a reboot now. But I just ran alsamixergui, and found the front 
speakers tunred off.  So I have audio again, about 4x louder than 
before. So take that Leonart P.  Now get lost, go code for a winderz 
startup.  And a big thank you to all the alsa developers.
>
>  - Jonas


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: pgadmin não conecta ao postgre

2019-05-06 Thread Vitor Hugo
Bom dia;

Consegui fazer a conexão pelo pgAdmin, depois de adicionar a seguinte 
linha no arquivo pg_hba.conf

host    all all 192.168.0.65/24 trust

e editar o arquivo /etc/postgresql/9.6/main/postgresql.conf adicionando 
a seguinte linha abaixo:

listen_addresses = '*'

Um erro ocorria não permitindo que o postgresql subisse pois eu somente estava 
acrescentando o ip e não a classe/subclasse do ip.

Geralmente quando se instala um serviço no Linux ele ja abre as portas e 
permite a conexão mas o postgresql é um pouco diferente ele fecha tudo e 
somente aceita as conexão da maquina local.

Os tutoriais que estava lendo não especificarão isto muito bem.

Em 05/05/2019 08:57, P. J. escreveu:
> Bom dia,
>
> Vc não está lendo a documentação do postgres.
>
> Vc além de configurar que ele aceite conexões além do localhost
> (postgresql.conf) vc tem que acrescentar os ips dos clientes no
> pg_hba.conf. O erro é bem intuitivo para encontrar a solução.
> Lembre-se que aqui o foco é sobre Debian e não sobre um sgbd
> especifico. Essa sua configuração errada vai dar o mesmo erro em
> qualquer distribuição ou S.O.
>
> 2019-05-04 9:03 GMT-03:00, Vitor Hugo :
>> Bom dia;
>>
>> Eu acrescentei a seguinte linha no arquivo de configuração
>> /etc/postgresql/9.6/main/postgresql.conf
>>
>> listen_addresses = '*'
>>
>> Depois disso a mensagem de erro mudou para:
>>
>> An error has ocorred
>>
>> Error connecting to server: FATAL: nenhuma entrada no pg_hba.conf para a
>> máquina 192.168.0.25, usuário "postgres" banco de dados "postgres", SSL
>> habilitado.
>>
>> FATAL: nenhuma entrada no pg_hba.conf para a máquina 192.168.0.25, usuário
>> "postgres" banco de dados "postgres", SSL desahabilitado.
>>
>>
>>
>> Em 27/04/2019 12:52, China escreveu:
>> O pgadmin tem um arquivo próprio de configuração, vc ajustou ele?
>>
>> No seu hba.conf tem de ajustar o range, tá com só o localhost, por isso só
>> funciona de dentro do servidor. No trecho abaixo vc tem de declarar seu
>> range de IP. Ajuste os arquivos, reinicie os serviços e testa, mande retorno
>> pra lista
>>
>> # IPv4 local connections:
>> hostall all 127.0.0.1/32
>> md5
>>
>> Em sáb, 27 de abr de 2019 11:55, Vitor Hugo
>> mailto:vitorhug...@hotmail.com>> escreveu:
>> estou tentando me conectar ao servidor postgresql no debian 9 fiz a
>> instalação esta funcionando dentro do debian quando acesso o servidor
>> via ssh ele conecta e funciona porem quando entro em outra maquina para
>> fazer a conexão com o servidor debian/postgre com o pgadmin 4 ele da a
>> mensagem de erro abaixo:
>>
>> could not connect to server: Connection refused (0x274D/10061) Is
>> the server running on host "192.168.0.27" and accepting TCP/IP
>> connections on port 5432?
>>
>>
>> Tentei criar outro usuário e outra senha porem o problema continua.
>>
>> segue abaixo a configuração do meu pg_hba.conf
>>
>>
>> root@debian:/etc/postgresql/9.6/main#
>> cat pg_hba.conf
>> # PostgreSQL Client Authentication Configuration File
>> # ===
>> #
>> # Refer to the "Client Authentication" section in the PostgreSQL
>> # documentation for a complete description of this file.  A short
>> # synopsis follows.
>> #
>> # This file controls: which hosts are allowed to connect, how clients
>> # are authenticated, which PostgreSQL user names they can use, which
>> # databases they can access.  Records take one of these forms:
>> #
>> # local  DATABASE  USER  METHOD  [OPTIONS]
>> # host   DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
>> # hostsslDATABASE  USER  ADDRESS  METHOD  [OPTIONS]
>> # hostnossl  DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
>> #
>> # (The uppercase items must be replaced by actual values.)
>> #
>> # The first field is the connection type: "local" is a Unix-domain
>> # socket, "host" is either a plain or SSL-encrypted TCP/IP socket,
>> # "hostssl" is an SSL-encrypted TCP/IP socket, and "hostnossl" is a
>> # plain TCP/IP socket.
>> #
>> # DATABASE can be "all", "sameuser", "samerole", "replication", a
>> # database name, or a comma-separated list thereof. The "all"
>> # keyword does not match "replication". Access to replication
>> # must be enabled in a separate record (see example below).
>> #
>> # USER can be "all", a user name, a group name prefixed with "+", or a
>> # comma-separated list thereof.  In both the DATABASE and USER fields
>> # you can also write a file name prefixed with "@" to include names
>> # from a separate file.
>> #
>> # ADDRESS specifies the set of hosts the record matches.  It can be a
>> # host name, or it is made up of an IP address and a CIDR mask that is
>> # an integer (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that
>> # specifies the number of significant bits in the mask.  A host name
>> # that starts with a dot (.) matches a suffix of the actual host name.
>> # Alternatively, you can write an 

Re: Shell Script Help

2019-05-06 Thread Greg Wooledge
On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote:
> On Mon, 6 May 2019 10:24:24 -0400
> Greg Wooledge  wrote:
> > for dir in ab*/; do
> > name=${dir%/}
> > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > done
> 
> Typed in as a single line with a semi-colon at end of enfuse command
> and before done to keep it from locking up, generates error "enfuse:
> failed to open "ab*//*.jpg: No such file or directory. But it's a
> beginning. Time to pull out my 400 page Unix shell programming book.

Most likely it means there weren't any matching directories wherever
you ran it.  The ab*/ glob will be used literally if it doesn't match
any directories.

If you want to check for that, you can add a test.

for dir in ab*/; do
test -d "$dir" || continue
name=${dir%/}
enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
done

You said you had twenty-something directories named ab01, ab02, etc.
So it should have matched unless you ran it from the wrong place,
or unless you lied about your directory names.

But nobody would EVER lie about their directory names in a shell
programming question.  Oh, no, never.



Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Mon, 6 May 2019 18:12:55 +0200
john doe  wrote:

> On 5/6/2019 4:24 PM, Greg Wooledge wrote:
> > On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote:  
> >> I want a script that allows commandline only applications that can't batch
> >> process to batch process.  A speciifc example. I will use the app
> >> enfuse, an exposure merging program, a poor man's HDR.
> >>
> >> patrick@Debian9:~/Work$ enfuse --output ab01.jpg --compression=97 
> >> ab01/DSC*.jpg
> >> patrick@Debian9:~/Work$ enfuse --output ab02.jpg --compression=97 
> >> ab02/DSC*.jpg
> >> :
> >> :
> >> patrick@Debian9:~/Work$ enfuse --output ab26.jpg --compression=97 
> >> ab26/DSC*.jpg
> >>
> >> I use shell history to repeat the command for each directory, changing the
> >>  --output filename and target directory numbers as necessary. Each 
> >> diretory already
> >> holds the appropriate image files.  
> >
> > for dir in ab*/; do
> > name=${dir%/}
> > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > done
> >  
> 
> Putting the above as a one liner:
> 
> $ for dir in ab*/; do name=${dir%/}; enfuse --output "$name.jpg"
 ^
> --compression=97 "$dir"/*.jpg; done
   ^
I added those semi-colons just as you did to make it one liner correct:
Same error.

Time to troubleshoot. I hope it's just a syntax error somewhere.

Thanks for your reply.

B



Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Mon, 6 May 2019 10:24:24 -0400
Greg Wooledge  wrote:

> On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote:
> > I want a script that allows commandline only applications that can't batch
> > process to batch process.  A speciifc example. I will use the app
> > enfuse, an exposure merging program, a poor man's HDR.
> > 
> > patrick@Debian9:~/Work$ enfuse --output ab01.jpg --compression=97 
> > ab01/DSC*.jpg
> > patrick@Debian9:~/Work$ enfuse --output ab02.jpg --compression=97 
> > ab02/DSC*.jpg
> > :
> > :
> > patrick@Debian9:~/Work$ enfuse --output ab26.jpg --compression=97 
> > ab26/DSC*.jpg
> > 
> > I use shell history to repeat the command for each directory, changing the
> >  --output filename and target directory numbers as necessary. Each diretory 
> > already
> > holds the appropriate image files.  
> 
> for dir in ab*/; do
> name=${dir%/}
> enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> done
> 

Typed in as a single line with a semi-colon at end of enfuse command
and before done to keep it from locking up, generates error "enfuse:
failed to open "ab*//*.jpg: No such file or directory. But it's a
beginning. Time to pull out my 400 page Unix shell programming book.

Thanks.

B



Re: Shell Script Help

2019-05-06 Thread john doe
On 5/6/2019 4:24 PM, Greg Wooledge wrote:
> On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote:
>> I want a script that allows commandline only applications that can't batch
>> process to batch process.  A speciifc example. I will use the app
>> enfuse, an exposure merging program, a poor man's HDR.
>>
>> patrick@Debian9:~/Work$ enfuse --output ab01.jpg --compression=97 
>> ab01/DSC*.jpg
>> patrick@Debian9:~/Work$ enfuse --output ab02.jpg --compression=97 
>> ab02/DSC*.jpg
>> :
>> :
>> patrick@Debian9:~/Work$ enfuse --output ab26.jpg --compression=97 
>> ab26/DSC*.jpg
>>
>> I use shell history to repeat the command for each directory, changing the
>>  --output filename and target directory numbers as necessary. Each diretory 
>> already
>> holds the appropriate image files.
>
> for dir in ab*/; do
> name=${dir%/}
> enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> done
>

Putting the above as a one liner:

$ for dir in ab*/; do name=${dir%/}; enfuse --output "$name.jpg"
--compression=97 "$dir"/*.jpg; done


Note that this e-mail is folded by my mailer.

--
John Doe



Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 11:33:33 am Greg Wooledge wrote:

> On Mon, May 06, 2019 at 04:24:45PM +0100, Brian wrote:
> > On Mon 06 May 2019 at 09:43:16 -0400, Greg Wooledge wrote:
> > > Log out and back in to acquire the new privileges in your
> > > interactive session.
> > >
> > > However, in the case of CUPS via loopback HTTP, I don't know
> > > whether that's actually required.  The CUPS daemon may take the
> > > privileges directly from the /etc/{passwd,group} files.
> >
> > It is required and conspicuously documented for all users, including
> > experienced ones, if they can be bothered to do read it. For
> > example, in the cups README.Debian.
> >
> >   'Administration' is where you need to be to set up a local print
> > queue. At some point you will be required to authenticate. A User
> > Name of 'root' and root's password is always acceptable. Any other
> > user must be a member of the lpadmin group.
>
> I don't see any part of that paragraph that says whether you have to
> log out and back in, between adding yourself to the lpadmin group and
> using the CUPS web interface.
>
Logged out no, started a new konsole and ran ff from it yes. Managed to 
get the little b laser working, but a 2 year old 11x17 MFC? Won't 
configure, missing file although the latest driver kit from brother is 
installed, so I find I have a nearly $700 scanner/copier/printer thats 
been discontinued!  And they've blocked or removed any access to the old 
files.  Thats generated a nastygram to brother, its a 2 year old 
printer.

> I've only ever used root for this, so I don't know from experience
> either.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: apache2 missing a file, won't run.

2019-05-06 Thread Brian
On Mon 06 May 2019 at 11:33:33 -0400, Greg Wooledge wrote:

> On Mon, May 06, 2019 at 04:24:45PM +0100, Brian wrote:
> > On Mon 06 May 2019 at 09:43:16 -0400, Greg Wooledge wrote:
> > > Log out and back in to acquire the new privileges in your interactive
> > > session.
> > >
> > > However, in the case of CUPS via loopback HTTP, I don't know whether
> > > that's actually required.  The CUPS daemon may take the privileges
> > > directly from the /etc/{passwd,group} files.
> > 
> > It is required and conspicuously documented for all users, including
> > experienced ones, if they can be bothered to do read it. For example,
> > in the cups README.Debian.
> > 
> >   'Administration' is where you need to be to set up a local print queue.
> >   At some point you will be required to authenticate. A User Name of 'root'
> >   and root's password is always acceptable. Any other user must be a member
> >   of the lpadmin group.
> 
> I don't see any part of that paragraph that says whether you have to log
> out and back in, between adding yourself to the lpadmin group and using
> the CUPS web interface.

Surely no need to mention it? It is standard procedure after a user's
environment is changed.
 
> I've only ever used root for this, so I don't know from experience either.

Users without root privileges would have experienced it.

-- 
Brian.



Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
On Mon, 2019-05-06 at 08:40 -0600, An Liu wrote:
> I'm not cheating you. Have a try before you type.
> 
> After you create .Xauthority manually,  ssh -X could work, though
> 'auth add' still fails

My point exactly.

> why not try it yourself?

I don't use Wayland, neither do I intend to.

-- 
[]'s,

Francisco M Neto

GPG: 4096R/D692FBF0


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


Re: next amd64 stretch problem

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 11:06:34 am Gene Heskett wrote:

> On Monday 06 May 2019 04:05:46 am Jonas Smedegaard wrote:
> [...]
>
> > In recent times, Pulseaudio "hijacks" direct ALSA access by
> > registering with ALSA as a virtual audio card, which reroutes
> > through its pipeline and then sending out audio through the real
> > audio card.
> >
> > You can force avoid Pulseaudio by starting an application like this
> > from a terminal:
> >
> >   pasuspender -- speaker-test
>
> which gets me total silence, except for a low level beep from kmail
> (trinity version r14.0.6) as mail is incoming.  What does that tell
> us?
>
> I'm a dummy about such, so please carry on.
>
> > If that makes audio louder, then you have identified that you
> > generally use Pulseaudio and it is dampening: Look for Pulseaudio
> > tools and turn the (many many many!) knobs in there...
> >
> > Here are some of the Pulseaudio tools you could try:
> >
> >   pulsemixer (text-based)
> >   pamix (text-based)
> >   pavucontrol (graphical)
> >   paman (graphical - not volume control but other settings)
> >   pasystray (puts pavucontrol and paman into system tray)
> >
I installed all opf these that synaptic could find, pavucontrol came up 
and I turned everyting wide open, and haven't heard a thing since.
I think I should remove all of pulse, alsa used to just work. AV97 sound 
on this mobo.

Other suggestions? FF, sent to foxnews or to youtube, is frozen with a 
circular waiting icon in motion forever now when asked to play a video 
at either site.  So I can't even watch the hand waving.
> >
> > If messing with Pulseaudio doesn't work for kmail then try look into
> > KDE settings or try locate other ways to configure Phonon - or
> > perhaps try remove the phonon backend packages you don't want:
> > Modern KDE applications (those linked with Qt5) can use either of
> > the packages phonon4qt5-backend-vlc phonon4qt5-backend-gstreamer
> > phonon4qt5-backend-null, and older KDE applications (those linked
> > with Qt4) can use either of the packages phonon-backend-vlc
> > phonon-backend-gstreamer phonon-backend-null.
> >
> >
> > Good luck :-)
> >
> >  - Jonas
>
> Cheers, Gene Heskett


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: next amd64 stretch problem

2019-05-06 Thread Jonas Smedegaard
Quoting Gene Heskett (2019-05-06 17:06:34)
> On Monday 06 May 2019 04:05:46 am Jonas Smedegaard wrote:
> [...]
> >
> > In recent times, Pulseaudio "hijacks" direct ALSA access by
> > registering with ALSA as a virtual audio card, which reroutes through
> > its pipeline and then sending out audio through the real audio card.
> >
> > You can force avoid Pulseaudio by starting an application like this
> > from a terminal:
> >
> >   pasuspender -- speaker-test
> 
> which gets me total silence, except for a low level beep from kmail 
> (trinity version r14.0.6) as mail is incoming.  What does that tell us?

Not certain but seems to me an indication that indeed Pulseaudio is 
involved.  One way to doublecheck if that's the case is to ask ALSA 
which audio cards are available, and which of them is card #0.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: apache2 missing a file, won't run.

2019-05-06 Thread Greg Wooledge
On Mon, May 06, 2019 at 04:24:45PM +0100, Brian wrote:
> On Mon 06 May 2019 at 09:43:16 -0400, Greg Wooledge wrote:
> > Log out and back in to acquire the new privileges in your interactive
> > session.
> >
> > However, in the case of CUPS via loopback HTTP, I don't know whether
> > that's actually required.  The CUPS daemon may take the privileges
> > directly from the /etc/{passwd,group} files.
> 
> It is required and conspicuously documented for all users, including
> experienced ones, if they can be bothered to do read it. For example,
> in the cups README.Debian.
> 
>   'Administration' is where you need to be to set up a local print queue.
>   At some point you will be required to authenticate. A User Name of 'root'
>   and root's password is always acceptable. Any other user must be a member
>   of the lpadmin group.

I don't see any part of that paragraph that says whether you have to log
out and back in, between adding yourself to the lpadmin group and using
the CUPS web interface.

I've only ever used root for this, so I don't know from experience either.



Re: apache2 missing a file, won't run.

2019-05-06 Thread Brian
On Mon 06 May 2019 at 09:43:16 -0400, Greg Wooledge wrote:

> On Sun, May 05, 2019 at 05:16:04PM -0400, Gene Heskett wrote:
> > FYI I am a member of the lpadmin group. Whats next? reboot to make it 
> > take effect?
> 
> Log out and back in to acquire the new privileges in your interactive
> session.

Indeed. It's standard procedure when a user has been added to a group.
 
> However, in the case of CUPS via loopback HTTP, I don't know whether
> that's actually required.  The CUPS daemon may take the privileges
> directly from the /etc/{passwd,group} files.

It is required and conspicuously documented for all users, including
experienced ones, if they can be bothered to do read it. For example,
in the cups README.Debian.

  'Administration' is where you need to be to set up a local print queue.
  At some point you will be required to authenticate. A User Name of 'root'
  and root's password is always acceptable. Any other user must be a member
  of the lpadmin group.

-- 
Brian.



Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Pierre Frenkiel

On Mon, 6 May 2019, Celejar wrote:


I once looked into ProtonMail, but IIUC, there's no POP3 / IMAP / SMTP
support in the free tier, and even in the paid tiers, standards-based
email requires running some sort of proprietary application called
"ProtonMail Bridge" on my machine. Correct me if I'm wrong, but if this
is correct, I'll pass.

Celejar



  thank you for this useful information. It will avoid loosing time.
  Have you any idea of something else?

best regards,
--
Pierre Frenkiel



Re: next amd64 stretch problem

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 03:33:06 am Curt wrote:

> On 2019-05-06, Gene Heskett  wrote:
> > Greetings all;
> >
> > I have only one, very weak sound, from kmails new mail beep.  Down
> > about 20 db from what I'm used to hearing.
>
> xset b 100?
>
Worked, but 100% is not that much louder, just enough to notice.

> Does that set the bell/beep volume at a hundred percent?
>
> The man page says
>
>  b
>  ...
>  If only one numerical parameter is given, the bell volume will be set
> to that value, as a percentage of its maximum.
>
> A second numerical value would set the pitch in hertz (unrelated to
> car rentals).
>
> A third would set the duration in milliseconds.
>
> Whether this is the way to skin this cat I don't know, but something
> to try maybe. I see in another of your emails that you've found
> speaker-test.
>
> Here are my bell values from 'xset -q':
>
>  bell percent:  50bell pitch:  400bell duration:  100
>
> Good luck.
>
> > Everything else is muted.  And I can't find the speaker-test utility
> > in the repo's to even begin to troubleshoot, so whats the next step?
> >
> > Thanks all;
> >
> > Cheers, Gene Heskett


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: next amd64 stretch problem

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 04:05:46 am Jonas Smedegaard wrote:
[...]
>
> In recent times, Pulseaudio "hijacks" direct ALSA access by
> registering with ALSA as a virtual audio card, which reroutes through
> its pipeline and then sending out audio through the real audio card.
>
> You can force avoid Pulseaudio by starting an application like this
> from a terminal:
>
>   pasuspender -- speaker-test

which gets me total silence, except for a low level beep from kmail 
(trinity version r14.0.6) as mail is incoming.  What does that tell us?

I'm a dummy about such, so please carry on.
>
> If that makes audio louder, then you have identified that you
> generally use Pulseaudio and it is dampening: Look for Pulseaudio
> tools and turn the (many many many!) knobs in there...
>
> Here are some of the Pulseaudio tools you could try:
>
>   pulsemixer (text-based)
>   pamix (text-based)
>   pavucontrol (graphical)
>   paman (graphical - not volume control but other settings)
>   pasystray (puts pavucontrol and paman into system tray)
>
>
> If messing with Pulseaudio doesn't work for kmail then try look into
> KDE settings or try locate other ways to configure Phonon - or perhaps
> try remove the phonon backend packages you don't want: Modern KDE
> applications (those linked with Qt5) can use either of the packages
> phonon4qt5-backend-vlc phonon4qt5-backend-gstreamer
> phonon4qt5-backend-null, and older KDE applications (those linked with
> Qt4) can use either of the packages phonon-backend-vlc
> phonon-backend-gstreamer phonon-backend-null.
>
>
> Good luck :-)
>
>  - Jonas


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 09:43:16 am Greg Wooledge wrote:

> On Sun, May 05, 2019 at 05:16:04PM -0400, Gene Heskett wrote:
> > FYI I am a member of the lpadmin group. Whats next? reboot to make
> > it take effect?
>
> Log out and back in to acquire the new privileges in your interactive
> session.
>
> However, in the case of CUPS via loopback HTTP, I don't know whether
> that's actually required.  The CUPS daemon may take the privileges
> directly from the /etc/{passwd,group} files.
>
> > You have made it very clear not to assign a pw to root, do
> > everything with sudo.
>
> Bunk.  You can still do things normally.  In fact, normal (root having
> a password) is still the default in Debian, insofar as anything is.
>
I've run 4 wheezy installs here for several years, and have never had a 
root pw set.

> Also, having a root password makes it possible to login in single user
> mode when there's a file system problem.  Good luck with that under an
> Ubuntu-style (sudo only) setup.

A problem I have not had since ext4.  But now I'm getting touchy about it 
because amanda will not build on stretch.  So I've no backups. Using the 
stretch version is a huge backup, to 3.3.9 when my stuff is setup to 
wrap 3.5.1.  And even 3.5.1 can be as buggy as august roadkill that 4 
days old. Amanda I'm sorry to say, has been sold to Betsol, who may have 
to be sued for putting gpl'd code behind a paywall.

I did get the sound working, so now my list of stretch don't works is a 
little shorter. My next step is to edit my .procmailrc and disable the 
calls to clamscan as its occasionally locking up at 100%.

Doing that I logged a strange message in the term screen:
gene@coyote:~$ geany .procmailrc

** (geany:17281): WARNING **: Couldn't register with accessibility bus: 
Did not receive a reply. Possible causes include: the remote application 
did not send a reply, the message bus security policy blocked the reply, 
the reply timeout expired, or the network connection was broken.

What the heck is that all about???  And how do I fix that??


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: jessie to stretch upgrade Killed sudo.

2019-05-06 Thread Jonas Smedegaard
[ fix send to list ]

Quoting Martin McCormick (2019-05-06 14:29:07)
> After upgrading 2 older I86 systems to stretch, sudo works on one
> and fails on the other but I am writing about both.  The problem
> was probably on the failing system all along but su still allowed
> a su to root under jessie but won't allow it under stretch.
> 
> sudo: pam_open_session: Permission denied
> sudo: policy plugin failed session initialization
> 
> The first thing I did was classic finger-pointing.  I
> de-installed sudo on the limping system and reinstalled it at
> which point the problem persisted.  A look at /var/log/auth.log
> tells me something but I am not sure what.
> 
> If you look in auth.log, it is peppered with
> 
> May  5 13:11:32 audio3 sudo: PAM no modules loaded for `sudo' service
> 
> This occurs both before and after the upgrade which
> succeeds before and fails after.
> 
> The other system which totally survived the upgrade never
> shows this message so it seems that the pam service is partly
> broken on one and OK on the other.  Right now, I can ssh in to
> the broken system and do anything but sudo commands.  What is the
> safest way to rescue the system while still remotely attached via
> ssh?
> 
> As I said, the problem may have been here for quite some
> time so the upgrade didn't cause it.  It just accentuates it
> since sudo now complains.
> Thanks for all constructive ideas.

I recommend to first make sure that the system tracks only packages from 
one single Debian release (not a mixture of multiple releases, and 
certainly not any non-Debian repositories).

(then I'd probably install etckeeper if not done already, to have a way 
of reverting some kinds of accidents in the following steps)

Then I'd check that all packages have fully upgraded and no packages are 
left that in not part of the new system.  Several ways to do that - 
personally I prefer using aptitude in fullscreen mode (i.e. start it 
with no non-option arguments) and look first at "Obsolete and Locally 
Created Packages" section, then "Upgradable Packages", and then _all_ of 
"Installed Packages" checking that the version is the one in the current 
system.

Then I'd inspect all packages recommended but not installed.  You 
certainly should know for sure that why each and every exception is 
there and that you really don't need it!  With aptitude that's done by 
hitting "CTRL+t" and in menu "Views" select "Audit Recommendations".

Then I'd purge all packages not installed.  In aptitude that's done by 
standing on the section "Not Installed Packages" and hit "_", and then 
"g" twice (skimming through what the list after first "g" to ensure 
nothing suspicious sticks out).

Then I'd inspect files below /etc - obvous bugs like broken symlinks, 
and unfinished merge of conffiles (look for *.dpkg* files).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Emacs in GUI from two different users.

2019-05-06 Thread An Liu
I'm not cheating you. Have a try before you type.

After you create .Xauthority manually,  ssh -X could work, though
'auth add' still fails
why not try it yourself?

following  shows 'ps -ef'  and 'XDG_SESSION_TYPE'

source@debian:~$ ps -ef |grep Xwayland
Debian-+  3802  3782  0 08:10 tty1 00:00:00 /usr/bin/Xwayland
:1024 -rootless -noreset -listen 4 -listen 5 -displayfd 6
source4062  4043  2 08:10 tty3 00:00:37 /usr/bin/Xwayland :0
-rootless -noreset -listen 4 -listen 5 -displayfd 6
source6556  6528  0 08:36 pts/500:00:00 grep Xwayland


source@debian:~$ echo $XDG_SESSION_TYPE
wayland
source@debian:~$

On Mon, May 6, 2019 at 8:28 AM Francisco M Neto  wrote:
>
> On Mon, 2019-05-06 at 07:54 -0600, An Liu wrote:
> > Partly right, Debian 9.9 tested
>
> Debian 9.9 uses X.Org.
>
> This kind of operation is not possible in Wayland.
>
> --
> []'s,
>
> Francisco M Neto
>
> GPG: 4096R/D692FBF0



-- 
Liu An



Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 03:16:30 am to...@tuxteam.de wrote:

> On Mon, May 06, 2019 at 05:12:55PM +1000, Erik Christiansen wrote:
> > On 05.05.19 17:16, Gene Heskett wrote:
> > > You have made it very clear not to assign a pw to root, do
> > > everything with sudo.
> >
> > That's just religion, Gene, promulgated to minimise queries and
> > complaints from people getting themselves into trouble.
>
> Not sure who's proselytizing here. Remember: all generalizations
> suck.
>
That they often do Tomas

But thats not answering my question as to how to make apache2-2.4 run 
with 2.2 config files all over. Some one posted a link to the diffs I 
need to fix, but I've no clue where I book naked them because I have yet 
to convince the system to run FF when I click on a link.  It insists on 
konquerer. And I have no clue where it stores its bookmarks, I can look 
at them, but those bookmarks I did save are nowhere to be found when I 
look at its bookmarks, sucks is much too mild a term.

> Cheers
> -- t


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
On Mon, 2019-05-06 at 07:54 -0600, An Liu wrote:
> Partly right, Debian 9.9 tested

Debian 9.9 uses X.Org. 

This kind of operation is not possible in Wayland.

-- 
[]'s,

Francisco M Neto

GPG: 4096R/D692FBF0


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


Re: apache2 missing a file, won't run.

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 03:12:55 am Erik Christiansen wrote:

> On 05.05.19 17:16, Gene Heskett wrote:
> > You have made it very clear not to assign a pw to root, do
> > everything with sudo.
>
> That's just religion, Gene, promulgated to minimise queries and
> complaints from people getting themselves into trouble. Like
> vaccination, it only needs 95% coverage to provide herd immunity. To
> avoid having to fuss with getting the sudo thing to actually work
> here, I still do a "su -" in a spare xterm, and leave the root session
> open for a while, till the current problem is sorted.
>
> To remind that more than ordinary user care is warranted in that
> xterm, in the event of leaving it open beyond short term memory, I put
> this in /root/.bashrc
>
> export PS1="\[\033[1;31m\]\u@\h:\W\$ \[\033[0;0m\]"
>
Thats a good reminder, so I "borrowed" it.

> to make root's prompt red, and declare itself as root.
>
> It takes more than a generalisation to alter my habits of more than 30
> years. My take is: Use what works best for you, especially if you
> accept the consequences without complaint. But I figure I'm treading a
> parallel path to yours there.
>
> Erik

Probably pretty close, :)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Shell Script Help

2019-05-06 Thread Greg Wooledge
On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote:
> I want a script that allows commandline only applications that can't batch
> process to batch process.  A speciifc example. I will use the app
> enfuse, an exposure merging program, a poor man's HDR.
> 
> patrick@Debian9:~/Work$ enfuse --output ab01.jpg --compression=97 
> ab01/DSC*.jpg
> patrick@Debian9:~/Work$ enfuse --output ab02.jpg --compression=97 
> ab02/DSC*.jpg
> :
> :
> patrick@Debian9:~/Work$ enfuse --output ab26.jpg --compression=97 
> ab26/DSC*.jpg
> 
> I use shell history to repeat the command for each directory, changing the
>  --output filename and target directory numbers as necessary. Each diretory 
> already
> holds the appropriate image files.

for dir in ab*/; do
name=${dir%/}
enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
done



Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Sat, 4 May 2019 17:54:28 -0700
Will Mengarini  wrote:

> * Patrick Bartek  [19-05/04=Sa 08:08 -0700]:
> > [...] Perform an operation on files in unique, sequential
> > directories [...] never more than 99 -- usually a lot
> > less.  The actual number will vary job to job.  [...]  
> 
> If the sequentially-numbered directories already exist:
>   `man find`
> Else:
>   for ((i=1;i<12;++i));{ printf frob%02d\\n $i;} # tested: Bash 3 & 4
> 
> [snip]

Thanks.  That helpts.

B



Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Sat, 4 May 2019 15:34:16 -0500
Richard Owlett  wrote:

> On 05/04/2019 10:08 AM, Patrick Bartek wrote:
> > Hi! All,
> > 
> > Want to create a simple, one liner to type in to automate what I've
> > been doing manually:  [*SNIP*]  
> 
> I think the critical question is,> *WHAT* do you wish to accomplish?

Perhaps you're right.  I was too general in my initial query which made
it very unclear.

I want a script that allows commandline only applications that can't batch
process to batch process.  A speciifc example. I will use the app
enfuse, an exposure merging program, a poor man's HDR.

patrick@Debian9:~/Work$ enfuse --output ab01.jpg --compression=97 ab01/DSC*.jpg
patrick@Debian9:~/Work$ enfuse --output ab02.jpg --compression=97 ab02/DSC*.jpg
:
:
patrick@Debian9:~/Work$ enfuse --output ab26.jpg --compression=97 ab26/DSC*.jpg

I use shell history to repeat the command for each directory, changing the
 --output filename and target directory numbers as necessary. Each diretory 
already
holds the appropriate image files.

Thanks

B



Re: jessie to stretch upgrade Killed sudo.

2019-05-06 Thread Martin
Am 06.05.19 um 15:29 schrieb Patrick Bartek:
[...]
>>
>>
>> Martin McCormick WB5AGZ
>>
> 
> I don't use sudo myself (I consider ita security risk).

Could you please give a brief description what kind of security risk there is?
sudo's Bugzilla does not any, there is also no reserved CVE which may point to 
any undisclosed one.

> So, have
> little experience with it, but the first thing I'd check is "Are you a
> 'permitted' user?"  You have to be to use it. Whether this permission
> is part of policy or there is a config file somewhere or both, I don't
> know. Start with "man sudo."
> 
> B
> 



Re: Trouble making bootable USB from ISO image

2019-05-06 Thread Curt
On 2019-05-06, Greg Wooledge  wrote:
> On Sat, May 04, 2019 at 09:54:52AM -, Curt wrote:
>> I'm intervening here merely to point out that just because the user's
>> external usb device is auto-mounted does not mean that said device
>> cannot be unmounted by the usual methods (at least I have yet to
>> encounter Greg Wooledge's auto-mounter from Hell that will not permit
>> it). 
>
> I never said anything about not being able to unmount.

Actually, you said:

 You need the device NOT to be mounted when you do the cp.  This may mean
 you have to turn off your auto-mounter, ...

I inferred from this you felt that in some instances auto-mounting would
preclude any subsequent unmounting, failing to conceive of another
reason the radical measure of disabling automounting entirely would be
required to ensure it.

 or (better still) just log out of your Desktop Environment entirely,
 and log in as root on a text console for this operation.

Root? Première nouvelle!



Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Sat, 4 May 2019 20:21:03 +0200
john doe  wrote:

> On 5/4/2019 5:08 PM, Patrick Bartek wrote:
> > Hi! All,
> >
> > Want to create a simple, one liner to type in to automate what I've
> > been doing manually: Perform an operation on files in unique,
> > sequential directories, save the results of the operations for each
> > directory with a file name of that directory in the directory the
> > target directories reside in.  For example:
> >
> > Directories ab01, ab02 ... ab30 results in output
> >
> > ab01.jpg. ab02.jpg ... ab30.jpg outside of those drectories.
> >
> > There will never be more than 99 directories -- usually a lot less. The
> > actual number will vary job to job. The letters in the directory names
> > will vary job to job, but will remain constant for each job.  Only the
> > numbers will sequence.
> >  
> 
> Would something like the following do it:
> 
> $ mkdir -p abc; cp -v abc*.gpg abc/ | tee -a abc/abc.log

Not for what I'm wanting -- See reply to Richard Ownes -- but for
something else I'm working on, yes.

Thanks

B



Re: jessie to stretch upgrade Killed sudo.

2019-05-06 Thread Martin
Am 06.05.19 um 14:29 schrieb Martin McCormick:
> After upgrading 2 older I86 systems to stretch, sudo works on one
> and fails on the other but I am writing about both.  The problem
> was probably on the failing system all along but su still allowed
> a su to root under jessie but won't allow it under stretch.
> 
> sudo: pam_open_session: Permission denied
> sudo: policy plugin failed session initialization

Ok, this where to start: Have a look at your pam config:
- Have there been any changes? Not just recently, but at any time.
- What are the modification dates in /etc/pam.d/?
- What pam modules are installed? -> dpkg -l | grep pam
If I'm not wrong, a systemd module 'libpam-systemd' was introduced with 
stretch. This has to be present!

> 
>   The first thing I did was classic finger-pointing.  I
> de-installed sudo on the limping system and reinstalled it at
> which point the problem persisted.  A look at /var/log/auth.log
> tells me something but I am not sure what.
> 
>   If you look in auth.log, it is peppered with
> 
> May  5 13:11:32 audio3 sudo: PAM no modules loaded for `sudo' service
> 
>   This occurs both before and after the upgrade which
> succeeds before and fails after.
> 
>   The other system which totally survived the upgrade never
> shows this message so it seems that the pam service is partly
> broken on one and OK on the other.  Right now, I can ssh in to
> the broken system and do anything but sudo commands.  What is the
> safest way to rescue the system while still remotely attached via
> ssh?
> 
>   As I said, the problem may have been here for quite some
> time so the upgrade didn't cause it.  It just accentuates it
> since sudo now complains.
>   Thanks for all constructive ideas.
> 
> 
> Martin McCormick WB5AGZ
> 



Re: Emacs in GUI from two different users.

2019-05-06 Thread An Liu
Partly right, Debian 9.9 tested

'xhost' still works, while 'xauth' and 'ssh -X' fail

foo>
xhosts +

goo>
export DISPLAY=:0
emacs

this could start emacs in GUI for goo






On Mon, May 6, 2019 at 6:48 AM Francisco M Neto  wrote:
>
> I believe that only works if you're using X.Org. In Wayland that kind of
> thing does not exist.
>
> --Francisco
>
> On Sat, 2019-05-04 at 02:46 +0200, An Liu wrote:
> >
> > HI,
> > short answer is yes,you can have both emacs displayed in GUI
> >
> >  i think the problem is when you switch to goo,the auth  to DISPLAY is
> > lost
> >
> > it depends much on how you switch to goo from foo
> >
> > btw,
> > i guess you login to foo with display-manager such as gdm or something
> > alike,and switch to goo with su
> >
> > serveral ways
> > a little tricky but simple to work
> > 1. switch to goo via ssh -X goo@localhost
> > 2. try to start emacs in this session
> >
> >
> > the 2nd one is to use xauth to deal with X permission
> >
> > 1. as foo
> > echo $DISPLAY (typically you will get :0)
> > xauth list (remember the hexcode )let's say $hex
> > 2. as goo
> > export DISPLAY=:0 (or what you actually get in 1)
> > xauth add :0 . $hex (easiest way is just do a copy-and-paste)
> > 3. try to start emas in this session
> >
> >
> > you can also use “xauth merge” or “xhost”,but the principle is the
> > same
> >
> >
> > On Fri, May 3, 2019 at 23:14 aprekates  wrote:
> > >   hi. in debian 9 i start emacs as user foo from the terminal and
> > > the
> > > gui start up. i start emacs from the terminal as another user goo
> > > and
> > > the text version comes.
> > >
> > > Can both users have their own gui emacs sessions ?
> > >
> > >
> > > Alexandros
> > >
> > >
> >
> > --
> > Liu An
> --
> --
> []'s,
>
> Francisco M Neto 
>
> GPG: 4096R/D692FBF0



-- 
Liu An



Re: pmount could perhaps be of greater utility?

2019-05-06 Thread Erik Christiansen
On 06.05.19 09:03, Greg Wooledge wrote:
> On Sat, May 04, 2019 at 01:48:01PM +0200, Jonas Smedegaard wrote:
> > Quoting Erik Christiansen (2019-05-04 08:43:53)
> > >  $ which lmount
> > >  lmount is a function
> > >  lmount () 
> > >  { 
> > >  pmount $1 `e2label $1`
> > >  }
> > 
> > I recommend to install package shellcheck and run "shellcheck lmount".
> 
> My initial reaction was similar, but he might not be using a regular
> shell.  At the very least, his "which" command is not the standard
> which(1) utility, because that wouldn't know about shell functions.
> 
> So, either he isn't in bash/ksh/dash, or his "which" command has been
> overridden with a function or alias.  (On the other hand, his output
> from "which" looks identical to bash's "type" output.  So maybe he
> did something like alias which=type.)

Well surmised, good sir. It's more than 30 years since I found "which"
on HP-UX inadequate and "type" meaninglessly mnemonic of "print", thus
the alias. Through SunOS, Solaris, and Linux, the inadequacy has
remained - and so the remedy.

> At the end of the day, if this is supposed to be a bash function, it
> has three quoting errors,

Yep, if the robustness required for users other than an author were
applicable, then I see two absences of double quotes. But it is worth
remembering that there are no robustness requirements when the author is
the only user, and supporting a space in "/dev/xxx" is in any event a
pointless exercise.

> and is using the ancient deprecated command substitution syntax (which
> will work in this case, but is not a good habit).

That does appear to remain opinion. The venerably traditional syntax is
still fully legal supported bash syntax, e.g.:

http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03

The recent (late last century, IIRC) introduction of the $(...)
alternative syntax has admittedly brought newer *nix users who know
nothing else, and so delude themselves that there is nothing else. That
is a misapprehension. To each, his own, especially amongst adequately
equivalent alternatives.

HAND

Erik
(Who has used the newfangled syntax on occasion, just to see if it works.)

-- 
Do not do unto others as you would they should do unto you.
Their tastes may not be the same.
  - George Bernard Shaw



Re: apache2 missing a file, won't run.

2019-05-06 Thread Greg Wooledge
On Sun, May 05, 2019 at 05:16:04PM -0400, Gene Heskett wrote:
> FYI I am a member of the lpadmin group. Whats next? reboot to make it 
> take effect?

Log out and back in to acquire the new privileges in your interactive
session.

However, in the case of CUPS via loopback HTTP, I don't know whether
that's actually required.  The CUPS daemon may take the privileges
directly from the /etc/{passwd,group} files.

> You have made it very clear not to assign a pw to root, do everything 
> with sudo.

Bunk.  You can still do things normally.  In fact, normal (root having
a password) is still the default in Debian, insofar as anything is.

Also, having a root password makes it possible to login in single user
mode when there's a file system problem.  Good luck with that under an
Ubuntu-style (sudo only) setup.



Re: jessie to stretch upgrade Killed sudo.

2019-05-06 Thread Patrick Bartek
On Mon, 06 May 2019 07:29:07 -0500
"Martin McCormick"  wrote:

> After upgrading 2 older I86 systems to stretch, sudo works on one
> and fails on the other but I am writing about both.  The problem
> was probably on the failing system all along but su still allowed
> a su to root under jessie but won't allow it under stretch.
> 
> sudo: pam_open_session: Permission denied
> sudo: policy plugin failed session initialization
> 
>   The first thing I did was classic finger-pointing.  I
> de-installed sudo on the limping system and reinstalled it at
> which point the problem persisted.  A look at /var/log/auth.log
> tells me something but I am not sure what.
> 
>   If you look in auth.log, it is peppered with
> 
> May  5 13:11:32 audio3 sudo: PAM no modules loaded for `sudo' service
> 
>   This occurs both before and after the upgrade which
> succeeds before and fails after.
> 
>   The other system which totally survived the upgrade never
> shows this message so it seems that the pam service is partly
> broken on one and OK on the other.  Right now, I can ssh in to
> the broken system and do anything but sudo commands.  What is the
> safest way to rescue the system while still remotely attached via
> ssh?
> 
>   As I said, the problem may have been here for quite some
> time so the upgrade didn't cause it.  It just accentuates it
> since sudo now complains.
>   Thanks for all constructive ideas.
> 
> 
> Martin McCormick WB5AGZ
> 

I don't use sudo myself (I consider ita security risk).  So, have
little experience with it, but the first thing I'd check is "Are you a
'permitted' user?"  You have to be to use it. Whether this permission
is part of policy or there is a config file somewhere or both, I don't
know. Start with "man sudo."

B



Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Celejar
On Mon, 6 May 2019 08:53:56 -0400
Kenneth Parker  wrote:

> On Mon, May 6, 2019, 7:20 AM Pierre Frenkiel 
> wrote:
> 
> > >>  I have no data to support that,
> > it's
> > >> just my gut feeling based on the number of gmail (and similar) email
> > >> addresses that are in use here.
> > >
> > >  does that mean that there is something else, i.e.  a "free" mail
> > provider?
> >
> 
> I am partial to ProtonMail.
> 
> >
> >I was not clear enough. I didn't mean "gratis" or "free as in beer", but
> >non commercial (as opposed to gmail, provided by Google)
> >
> 
> I don't notice any Advertising on ProtonMail.

I once looked into ProtonMail, but IIUC, there's no POP3 / IMAP / SMTP
support in the free tier, and even in the paid tiers, standards-based
email requires running some sort of proprietary application called
"ProtonMail Bridge" on my machine. Correct me if I'm wrong, but if this
is correct, I'll pass.

Celejar



Re: pmount could perhaps be of greater utility?

2019-05-06 Thread Greg Wooledge
On Sat, May 04, 2019 at 01:48:01PM +0200, Jonas Smedegaard wrote:
> Quoting Erik Christiansen (2019-05-04 08:43:53)
> >  $ which lmount
> >  lmount is a function
> >  lmount () 
> >  { 
> >  pmount $1 `e2label $1`
> >  }
> 
> I recommend to install package shellcheck and run "shellcheck lmount".

My initial reaction was similar, but he might not be using a regular
shell.  At the very least, his "which" command is not the standard
which(1) utility, because that wouldn't know about shell functions.

So, either he isn't in bash/ksh/dash, or his "which" command has been
overridden with a function or alias.  (On the other hand, his output
from "which" looks identical to bash's "type" output.  So maybe he
did something like alias which=type.)

At the end of the day, if this is supposed to be a bash function, it
has three quoting errors, and is using the ancient deprecated command
substitution syntax (which will work in this case, but is not a good
habit).



Re: List attachments

2019-05-06 Thread Stefan Monnier
> No, please don't use pastebin.com

Agreed.

> People here care about software freedom. So please don't
> recommend (here) non-free software providers with their stupid
> logins, cookies, tracking, terms-of-service, javascript requirements
> and who knows or cares what else when we have a free-software
> service written by a Debian developer that does exactly what is
> needed without attempting to monetise its users.

That, too.

> For pastebin purposes within Debian, please use: https://paste.debian.net/

FWIW, I simply dislike all those "put your attachment on the web and
a URL to it": when I later search the web and find a match in
paste.debian.net or pastebin or whatnot the match is kind of worthless
unless I can find the message that references it (which all too often
fails, for some reason).

So I'm left with the knowledge that "someone had the same problem" but
I can't find the corresponding discussion (and possible
explanation/solution).  Frustrating.


Stefan



Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Kenneth Parker
On Mon, May 6, 2019, 7:20 AM Pierre Frenkiel 
wrote:

> >>  I have no data to support that,
> it's
> >> just my gut feeling based on the number of gmail (and similar) email
> >> addresses that are in use here.
> >
> >  does that mean that there is something else, i.e.  a "free" mail
> provider?
>

I am partial to ProtonMail.

>
>I was not clear enough. I didn't mean "gratis" or "free as in beer", but
>non commercial (as opposed to gmail, provided by Google)
>

I don't notice any Advertising on ProtonMail.

>
> best regards,
> --
> Pierre Frenkiel
>

Kenneth Parker

>


Re: Trouble making bootable USB from ISO image

2019-05-06 Thread Greg Wooledge
On Sat, May 04, 2019 at 09:54:52AM -, Curt wrote:
> I'm intervening here merely to point out that just because the user's
> external usb device is auto-mounted does not mean that said device
> cannot be unmounted by the usual methods (at least I have yet to
> encounter Greg Wooledge's auto-mounter from Hell that will not permit
> it). 

I never said anything about not being able to unmount.

If a partition from a medium (USB or whatever) is mounted read-write,
during the time that you execute a "cp foo.iso /dev/sdx" command
to write a disk image to said medium, you are going to have problems
of the corruption kind, not of the "cannot unmount it" kind.

Unmounting the file system is going to write some information to the
medium in the place where the operating system thinks the file system
is.  But that file system isn't there any more, because your cp (or dd
or whatever) command overwrote it.  But the file system driver, upon
unmounting the file system, is supposed to write stuff -- flushing
the cache, setting the "this has been cleanly unmounted" flags, etc.
All of that stuff that it writes will corrupt whatever part of the ISO
image it happens to land on.



Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
I believe that only works if you're using X.Org. In Wayland that kind of
thing does not exist.

--Francisco

On Sat, 2019-05-04 at 02:46 +0200, An Liu wrote:
> 
> HI,
> short answer is yes,you can have both emacs displayed in GUI
> 
>  i think the problem is when you switch to goo,the auth  to DISPLAY is
> lost
> 
> it depends much on how you switch to goo from foo 
> 
> btw,
> i guess you login to foo with display-manager such as gdm or something
> alike,and switch to goo with su 
> 
> serveral ways
> a little tricky but simple to work
> 1. switch to goo via ssh -X goo@localhost 
> 2. try to start emacs in this session
> 
> 
> the 2nd one is to use xauth to deal with X permission
> 
> 1. as foo 
> echo $DISPLAY (typically you will get :0)
> xauth list (remember the hexcode )let's say $hex
> 2. as goo
> export DISPLAY=:0 (or what you actually get in 1)
> xauth add :0 . $hex (easiest way is just do a copy-and-paste)
> 3. try to start emas in this session
> 
> 
> you can also use “xauth merge” or “xhost”,but the principle is the
> same
> 
> 
> On Fri, May 3, 2019 at 23:14 aprekates  wrote:
> >   hi. in debian 9 i start emacs as user foo from the terminal and
> > the 
> > gui start up. i start emacs from the terminal as another user goo
> > and 
> > the text version comes.
> > 
> > Can both users have their own gui emacs sessions ?
> > 
> > 
> > Alexandros
> > 
> > 
> 
> -- 
> Liu An 
-- 
-- 
[]'s,

Francisco M Neto 

GPG: 4096R/D692FBF0


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


jessie to stretch upgrade Killed sudo.

2019-05-06 Thread Martin McCormick
After upgrading 2 older I86 systems to stretch, sudo works on one
and fails on the other but I am writing about both.  The problem
was probably on the failing system all along but su still allowed
a su to root under jessie but won't allow it under stretch.

sudo: pam_open_session: Permission denied
sudo: policy plugin failed session initialization

The first thing I did was classic finger-pointing.  I
de-installed sudo on the limping system and reinstalled it at
which point the problem persisted.  A look at /var/log/auth.log
tells me something but I am not sure what.

If you look in auth.log, it is peppered with

May  5 13:11:32 audio3 sudo: PAM no modules loaded for `sudo' service

This occurs both before and after the upgrade which
succeeds before and fails after.

The other system which totally survived the upgrade never
shows this message so it seems that the pam service is partly
broken on one and OK on the other.  Right now, I can ssh in to
the broken system and do anything but sudo commands.  What is the
safest way to rescue the system while still remotely attached via
ssh?

As I said, the problem may have been here for quite some
time so the upgrade didn't cause it.  It just accentuates it
since sudo now complains.
Thanks for all constructive ideas.


Martin McCormick WB5AGZ



Configuration d'Alsa éphémère

2019-05-06 Thread MERLIN Philippe
Bonjour,
Mon système est un Debian Sid AMD64, depuis quelque temps au démarrage de la 
session je constate la disparition  du son sur mon ordinateur. 
Si j'utilise Alsamixer et modifie légèrement un des paramètres le son est 
rétabli, au démarrage suivant je suis forcer de faire la même manipulation.
C'est nouveau je ne sais pas ce qui cause ce problème.
J'ai fait avant l'arrêt de l'ordinateur un alsactl store sans succès.
En cherchant sur le net j'ai créé un fichier /etc/default/alsa avec le 
paramètre alsactl_store_on_shutdown="always autosave"
également sans succès.
Autre info je n'utilise pas pulseaudio.
A l'avance merci pour votre aide.
Philippe Merlin




Re: sun ray 170

2019-05-06 Thread Stephane Ascoet

Le 17/04/2018 à 11:00, FF \__/ FF a écrit :

   Tous ce que je trouve comme aide sur le net, ramene a la suite software
SUN/ORACLE, mais quelqu'un a bien du faire l'analyse et proposer une
alternative ?


En tous cas sur Wikipedia, les seuls manchots indiques comme supportes 
sont le chapeau rouge et le cameleon vert :-/

--
Cordialement, Stephane Ascoet



Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Brad Rogers
On Mon, 6 May 2019 13:20:31 +0200 (CEST)
Pierre Frenkiel  wrote:

Hello Pierre,

>   I was not clear enough. I didn't mean "gratis" or "free as in beer",
> but

I understood that, but thanks for the clarification.

To answer your question:
>  does that mean that there is something else, i.e.  a "free" mail
> provider?

Almost certainly not.  A price (of one sort or another) has to be paid.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Two sides to every story
Public Image - Public Image Ltd


pgpe_JglU0VVC.pgp
Description: OpenPGP digital signature


Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Pierre Frenkiel

On Mon, 6 May 2019, Pierre Frenkiel wrote:


On Mon, 6 May 2019, Brad Rogers wrote:


 I have no data to support that, it's
just my gut feeling based on the number of gmail (and similar) email
addresses that are in use here.


 does that mean that there is something else, i.e.  a "free" mail provider?

best regards,
--
Pierre Frenkiel


  I was not clear enough. I didn't mean "gratis" or "free as in beer", but
  non commercial (as opposed to gmail, provided by Google)

best regards,
--
Pierre Frenkiel



Re: xscreensaver

2019-05-06 Thread BERTRAND Joël
Stephane Ascoet a écrit :
> Le 06/05/2019 à 12:35, BERTRAND Joël a écrit :
>> Avec l'option force, ça fonctionne bien... J'ai l'impression que ça
>> dépend des pages ouvertes dans les navigateurs, mais je n'arrive pas à
>> trouver les pages fautives.
> 
> Peut-etre quand il y a du contenu multimedia integre?

J'ai effectivement pensé à un truc comme ça, mais ce n'est pas clair ça
ne se comporte pas de la même façon à tous les coups.



Re: correctif pour mozilla firefox

2019-05-06 Thread Daniel Caillibaud
Le 06/05/19 à 12:02, Jean Bernon  a écrit :
> J'ai testé à nouveau le lien ce matin et ça a marché. J'ai retrouvé mes
> extensions.

Tu as installé l'extension 
> > > > lien :
> > > > https://storage.googleapis.com/moz-fx-normandy-prod-addons/extensions/hotfix-update-xpi-intermediate%40mozilla.com-1.0.2-signed.xpi

et depuis les extensions qui étaient marquées comme obsolètes et
désactivées sont de nouveau actives ?

Parce que chez moi (stretch avec firefox-esr 60.6.1esr-1~deb9u1) l'extension
hotfix-update-xpi-intermediate est bien installée, mais ça change rien au
pb, les extensions désactivées le restent.

En revanche, l'install de
https://addons.mozilla.org/fr/firefox/addon/ublock-origin/ fonctionne
(alors que ça plantait avant d'avoir installé le hotfix)

Donc faut retourner sur la bonne page de
https://addons.mozilla.org/fr/firefox/addon/ pour chaque extension et la
réinstaller, assez pénible mais ça fonctionne…

-- 
Daniel

Les champignons poussent dans les endroits humides. C'est 
pourquoi ils ont la forme d'un parapluie.
Alphonse Allais



Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Pierre Frenkiel

On Mon, 6 May 2019, Brad Rogers wrote:


 I have no data to support that, it's
just my gut feeling based on the number of gmail (and similar) email
addresses that are in use here.


  does that mean that there is something else, i.e.  a "free" mail provider?

best regards,
--
Pierre Frenkiel



Re: xscreensaver

2019-05-06 Thread Stephane Ascoet

Le 06/05/2019 à 12:35, BERTRAND Joël a écrit :

Avec l'option force, ça fonctionne bien... J'ai l'impression que ça
dépend des pages ouvertes dans les navigateurs, mais je n'arrive pas à
trouver les pages fautives.


Peut-etre quand il y a du contenu multimedia integre?
--
Cordialement, Stephane Ascoet



Re: xscreensaver

2019-05-06 Thread BERTRAND Joël
Stephane Ascoet a écrit :
> Le 06/05/2019 à 12:04, BERTRAND Joël a écrit :
>> Oui, mais ça, c'est bon... C'est la première chose que j'ai vérifiée :
>>
>> DPMS (Energy Star):
>>   Standby: 1800    Suspend: 1800    Off: 1800
>>   DPMS is Enabled
>>   Monitor is On
>>
>> Il y a un autre truc qui interfère.
>>
>> JKB
> 
> En utilisant la fonction "force", ca met bien en veille? Si oui, c'est
> sans doute que l'inactivite n'est pas detectee, possible effectivement
> que les centrales nucleaires que sont devenus les navigateurs perturbent
> ce mecanisme.

Avec l'option force, ça fonctionne bien... J'ai l'impression que ça
dépend des pages ouvertes dans les navigateurs, mais je n'arrive pas à
trouver les pages fautives.



Re: xscreensaver

2019-05-06 Thread Stephane Ascoet

Le 06/05/2019 à 12:04, BERTRAND Joël a écrit :

Oui, mais ça, c'est bon... C'est la première chose que j'ai vérifiée :

DPMS (Energy Star):
  Standby: 1800Suspend: 1800Off: 1800
  DPMS is Enabled
  Monitor is On

Il y a un autre truc qui interfère.

JKB


En utilisant la fonction "force", ca met bien en veille? Si oui, c'est 
sans doute que l'inactivite n'est pas detectee, possible effectivement 
que les centrales nucleaires que sont devenus les navigateurs perturbent 
ce mecanisme.

--
Cordialement, Stephane Ascoet



Re: xscreensaver

2019-05-06 Thread BERTRAND Joël
Stephane Ascoet a écrit :
> Le 06/05/2019 à 10:44, BERTRAND Joël a écrit :
>> J'utiliser Windowmaker (dual screen) et xscreensaver est lancé à la
>> connexion de l'utilisateur. Si l'économiseur d'écran fonctionne bien, il
>> refuse d'éteindre les écrans. J'ai l'impression que si je quitte
>> seamonkey et chromium, il arrive à nouveau à éteindre les écrans.
> 
> Bonjour, pour la mise en veille electrique, xscreensaver ne fait
> qu'offrir une interface pour parametrer ces fonctions presentes dans
> Xorg, il faut donc fouiller au niveau de ce dernier. Je crois qu'il faut
> jouer avec xset dpms

Oui, mais ça, c'est bon... C'est la première chose que j'ai vérifiée :

DPMS (Energy Star):
  Standby: 1800Suspend: 1800Off: 1800
  DPMS is Enabled
  Monitor is On

Il y a un autre truc qui interfère.

JKB



Re: correctif pour mozilla firefox

2019-05-06 Thread Jean Bernon
J'ai testé à nouveau le lien ce matin et ça a marché. J'ai retrouvé mes 
extensions.

- Mail original - 

> De: "Jean Bernon" 
> À: debian-user-french@lists.debian.org
> Envoyé: Dimanche 5 Mai 2019 21:13:40
> Objet: Re: correctif pour mozilla firefox

> Je ne peux pas cocher "Autoriser Firefox à envoyer des données
> techniques..." et j'ai le message "L'envoi de données est désactivé
> pour cette configuration de compilation".
> J'ai aussi installé le hotfix ci-dessous sans succès. Je l'ai donc
> supprimé.
> J'espère qu'une vraie solution arrivera bientôt.

> Jean

> - Mail original -

> > De: "Yannick" 
> > À: debian-user-french@lists.debian.org
> > Envoyé: Dimanche 5 Mai 2019 17:44:56
> > Objet: Re: correctif pour mozilla firefox

> > Le 05/05/2019 à 13:57, Bernard Schoenacker a écrit :
> > > bonjour,
> > >
> > > après avoir bu suffisamment de café, les devs de
> > > mozilla ont pondu un correctif :
> > >
> > > lien :
> > > https://storage.googleapis.com/moz-fx-normandy-prod-addons/extensions/hotfix-update-xpi-intermediate%40mozilla.com-1.0.2-signed.xpi
> > >
> > >
> > > sources :
> > > https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/
> > >
> > >
> > > merci de transmettre sur DUF afin que les autres puissent en
> > > bénéficcier
> > >
> > > slt
> > > bernard
> > >
> > >

> > Bonsoir,

> > Je confirme qu'avec ce lien j'ai retrouver mes petits.

> > Amitiés

> > --
> > Yannick VOYEAUD
> > Nul n'a droit au superflu tant que chacun n'a pas son nécessaire
> > (Camille JOUFFRAY 1841-1924, maire de Vienne)
> > http://www.voyeaud.org
> > Créateur CimGenWeb: http://www.francegenweb.org/cimgenweb/
> > Journées du Logiciel Libre: http://jdll.org
> > Généalogie en liberté avec Ancestris http://www.ancestris.org



Re: xscreensaver

2019-05-06 Thread Stephane Ascoet

Le 06/05/2019 à 10:44, BERTRAND Joël a écrit :

J'utiliser Windowmaker (dual screen) et xscreensaver est lancé à la
connexion de l'utilisateur. Si l'économiseur d'écran fonctionne bien, il
refuse d'éteindre les écrans. J'ai l'impression que si je quitte
seamonkey et chromium, il arrive à nouveau à éteindre les écrans.


Bonjour, pour la mise en veille electrique, xscreensaver ne fait 
qu'offrir une interface pour parametrer ces fonctions presentes dans 
Xorg, il faut donc fouiller au niveau de ce dernier. Je crois qu'il faut 
jouer avec xset dpms

--
Cordialement, Stephane Ascoet



Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Brad Rogers
On Mon, 6 May 2019 18:37:36 +1000
David  wrote:

Hello David,

>I think the proportion of people providing answers here who do care
>would be significantly higher than the general population though.
>That's why I was concerned enough to respond, and why I wrote
>people *here* :)

Fair point.

I would contend though, that the number of people that do care is still
less than 50%, even if not by much.  I have no data to support that, it's
just my gut feeling based on the number of gmail (and similar) email
addresses that are in use here.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
You only see me for the clothes that I wear
Public Image - Public Image Ltd


pgp_eBntflJXw.pgp
Description: OpenPGP digital signature


xscreensaver

2019-05-06 Thread BERTRAND Joël
Bonjour à tous,

Depuis quelques semaines, j'ai un petit souci avec xscreensaver
(debian/testing) et je n'arrive pas trop à comprendre d'où il provient.

J'utiliser Windowmaker (dual screen) et xscreensaver est lancé à la
connexion de l'utilisateur. Si l'économiseur d'écran fonctionne bien, il
refuse d'éteindre les écrans. J'ai l'impression que si je quitte
seamonkey et chromium, il arrive à nouveau à éteindre les écrans.

J'ai tout d'abord pensé à quelque chose comme cela :
https://www.jwz.org/xscreensaver/faq.html#dvd

mais je n'ai rien qui semble forcer vlc désactiver xscreensaver et je
n'ai strictement rien de spécifique dans la configuration de mpv/mplayer.

Des idées ?

Bien cordialement,

JKB



Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread David
On Mon, 6 May 2019 at 17:22, Brad Rogers  wrote:
>
> On Mon, 6 May 2019 09:26:00 +1000 David  wrote:
>
> Hello David,
>
> >People here care about software freedom.
>
> Some do, yes.  Far more simply don't care:

I think the proportion of people providing answers here who do care
would be significantly higher than the general population though.
That's why I was concerned enough to respond, and why I wrote
people *here* :)

> You only have to look at how
> successful surveillance companies (google, facebook, twitter, et al)
> have become; with people willingly, even eagerly, handing over their
> data to be traded in a highly lucrative market.

Indeed.

> However, it was not my intent to recommend a particular provider, just
> give an example.  Also, until it came up in this thread, I was not aware
> Debian provide a similar pasting service.

No worries, I'm glad you are aware now :)



Re: next amd64 stretch problem

2019-05-06 Thread Jonas Smedegaard
Hi Gene,

Quoting Gene Heskett (2019-05-06 08:44:18)
> On Monday 06 May 2019 12:49:03 am David Wright wrote:
> 
> > On Sun 05 May 2019 at 21:04:18 (-0400), Gene Heskett wrote:
> > > I have only one, very weak sound, from kmails new mail beep.  Down 
> > > about 20 db from what I'm used to hearing.
> > >
> > > Everything else is muted.  And I can't find the speaker-test 
> > > utility in the repo's to even begin to troubleshoot, so whats the 
> > > next step?
> >
> > $ apt-file find speaker-test
> > alsa-utils: /usr/bin/speaker-test
> > alsa-utils: /usr/share/alsa/speaker-test/sample_map.csv
> > alsa-utils: /usr/share/man/man1/speaker-test.1.gz
> > $
> >
> > Cheers,
> > David.
> 
> Humm, strange.  It is installed, its in my $path and once found, 
> works, without the path in front of the invocation, albeit quietly 
> despite all the "knobs" being turned wide open. Ditto for FF, news 
> stories now have audio.  Not loud enough for old ears, but there.  

Maybe you are turning the knobs of only ALSA, but the audio has been 
turned down _before_ it reaches ALSA - most likely in Pulseaudio but 
maybe even before that...

KDE applications (you mention using kmail) uses the multimedia pipeline 
Phonon.  I am not familiar with using Phonon myself, but I notice that 
it is flexible in how it plugs into the system at the end¹ - linking via 
either VLC or GStreamer (or a dummy going nowhere - but since you 
mention that you do hear _something_ from kmail I guess that one isn't 
in use).

GNOME applications, some simpler GTK applications, and KDE applications 
depending on backend in use (see above) uses the multimedia pipeline 
GStreamer, which is also flexible in how it plugs into the system at the 
end - most commonly either using ALSA directly or going via Pulseaudio.

In recent times, Pulseaudio "hijacks" direct ALSA access by registering 
with ALSA as a virtual audio card, which reroutes through its pipeline 
and then sending out audio through the real audio card.

You can force avoid Pulseaudio by starting an application like this from 
a terminal:

  pasuspender -- speaker-test

If that makes audio louder, then you have identified that you generally 
use Pulseaudio and it is dampening: Look for Pulseaudio tools and turn 
the (many many many!) knobs in there...

Here are some of the Pulseaudio tools you could try:

  pulsemixer (text-based)
  pamix (text-based)
  pavucontrol (graphical)
  paman (graphical - not volume control but other settings)
  pasystray (puts pavucontrol and paman into system tray)


If messing with Pulseaudio doesn't work for kmail then try look into KDE 
settings or try locate other ways to configure Phonon - or perhaps try 
remove the phonon backend packages you don't want: Modern KDE 
applications (those linked with Qt5) can use either of the packages 
phonon4qt5-backend-vlc phonon4qt5-backend-gstreamer 
phonon4qt5-backend-null, and older KDE applications (those linked with 
Qt4) can use either of the packages phonon-backend-vlc 
phonon-backend-gstreamer phonon-backend-null.


Good luck :-)

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: next amd64 stretch problem

2019-05-06 Thread Curt
On 2019-05-06, Gene Heskett  wrote:
> Greetings all;
>
> I have only one, very weak sound, from kmails new mail beep.  Down about 
> 20 db from what I'm used to hearing.

xset b 100?

Does that set the bell/beep volume at a hundred percent?

The man page says

 b
 ...
 If only one numerical parameter is given, the bell volume will be set to that
 value, as a percentage of its maximum.

A second numerical value would set the pitch in hertz (unrelated to car 
rentals).

A third would set the duration in milliseconds.

Whether this is the way to skin this cat I don't know, but something to try 
maybe.
I see in another of your emails that you've found speaker-test.

Here are my bell values from 'xset -q':

 bell percent:  50bell pitch:  400bell duration:  100

Good luck.

> Everything else is muted.  And I can't find the speaker-test utility in 
> the repo's to even begin to troubleshoot, so whats the next step?
>
> Thanks all;
>
> Cheers, Gene Heskett


-- 
The boys at first were very polite about my medals and asked me what I had done
to get them. I showed them the papers, which were written in very beautiful
language and full of fratellanza and abnegazione, but which really said, with
the adjectives removed, that I had been given the medals because I was 
an American. - "Another Country"




Re: List attachments (was: Undelivered Mail Returned to Sender)

2019-05-06 Thread Brad Rogers
On Mon, 6 May 2019 09:26:00 +1000
David  wrote:

Hello David,

>People here care about software freedom.

Some do, yes.  Far more simply don't care:  You only have to look at how
successful surveillance companies (google, facebook, twitter, et al)
have become; with people willingly, even eagerly, handing over their
data to be traded in a highly lucrative market.

However, it was not my intent to recommend a particular provider, just
give an example.  Also, until it came up in this thread, I was not aware
Debian provide a similar pasting service.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Keep your drink just give 'em the money
U & Ur Hand - P!nk


pgpmS7u78M7c4.pgp
Description: OpenPGP digital signature


Re: apache2 missing a file, won't run.

2019-05-06 Thread tomas
On Mon, May 06, 2019 at 05:12:55PM +1000, Erik Christiansen wrote:
> On 05.05.19 17:16, Gene Heskett wrote:
> > You have made it very clear not to assign a pw to root, do everything 
> > with sudo.
> 
> That's just religion, Gene, promulgated to minimise queries and
> complaints from people getting themselves into trouble.

Not sure who's proselytizing here. Remember: all generalizations
suck.

Cheers
-- t


signature.asc
Description: Digital signature


Re: apache2 missing a file, won't run.

2019-05-06 Thread Erik Christiansen
On 05.05.19 17:16, Gene Heskett wrote:
> You have made it very clear not to assign a pw to root, do everything 
> with sudo.

That's just religion, Gene, promulgated to minimise queries and
complaints from people getting themselves into trouble. Like
vaccination, it only needs 95% coverage to provide herd immunity. To
avoid having to fuss with getting the sudo thing to actually work here,
I still do a "su -" in a spare xterm, and leave the root session open
for a while, till the current problem is sorted.

To remind that more than ordinary user care is warranted in that xterm,
in the event of leaving it open beyond short term memory, I put this in
/root/.bashrc

export PS1="\[\033[1;31m\]\u@\h:\W\$ \[\033[0;0m\]"

to make root's prompt red, and declare itself as root.

It takes more than a generalisation to alter my habits of more than 30
years. My take is: Use what works best for you, especially if you accept
the consequences without complaint. But I figure I'm treading a parallel
path to yours there.

Erik



Re: Can't install addons for firefox

2019-05-06 Thread Dave Sherohman
On Sun, May 05, 2019 at 07:29:55PM -0400, Dan Ritter wrote:
> No, Mozilla really screwed up.

Understatement of the month, if not the year.  And yet, on the Mozilla
blog, all the comments are "oh, you're so awesome for working on a
weekend to fix this!", completely ignoring that there wouldn't have been
a problem to "heroically" work all weekend to solve if they'd just done
things right (staying on top of cert expirations, not trying to funnel
everything through a single point of failure, etc.) in the first place.

> Try installing
> 
> https://storage.googleapis.com/moz-fx-normandy-prod-addons/extensions/hotfix-update-xpi-intermediate%40mozilla.com-1.0.2-signed.xpi
> 
> And your problems should go away immediately.

Thanks!  The Mozilla blog just says to get the updated version, no
mention of how to install the updated cert directly.

I did still need to uninstall/reinstall my add-ons before they started
working again (I assume it would have eventually revalidated them on its
own, but I didn't have the patience to wait for that) but everything
appears normal again after doing that.  And all my settings appear to
have survived across the uninstall/reinstall cycle, even!

-- 
Dave Sherohman



Re: "missing pubkey" for buster-security

2019-05-06 Thread Ansgar Burchardt
Harald Dunkel writes:
> I am running a local mirror of the security.debian.org
> repository for in-house use. It seems to be available for
> Buster as well, except that there is an error message
>
> ERROR: Condition '7638D0442B90D010' not fulfilled for
> '/var/www/official/lists/buster-security_buster%2Fupdates_InRelease'.
> Signatures in 
> '/var/www/official/lists/buster-security_buster%2Fupdates_InRelease':
> '9D6D8F6BC857C906' (signed 2019-05-03): missing pubkey
> 'AA8E81B4331F7F50' (signed 2019-05-03): missing pubkey
> Error: Not enough signatures found for remote repository
> buster-security (http://security.debian.org buster/updates)!
> There have been errors!

These keys are already in the debian-archive-keyring package (in
testing/unstable):

+---
| $ gpg --no-default-keyring --keyring 
/usr/share/keyrings/debian-archive-keyring.gpg --list-keys 7638D0442B90D010 
9D6D8F6BC857C906 AA8E81B4331F7F50
| pub   rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
|   126C0D24BD8A2942CC7DF8AC7638D0442B90D010
| uid   [  full  ] Debian Archive Automatic Signing Key (8/jessie) 

|
| pub   rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
|   D21169141CECD440F2EB8DDA9D6D8F6BC857C906
| uid   [  full  ] Debian Security Archive Automatic Signing Key 
(8/jessie) 
|
| pub   rsa4096 2017-05-22 [SC] [expires: 2025-05-20]
|   6ED6F5CB5FA6FB2F460AE88EEDA0D2388AE22BA9
| uid   [  full  ] Debian Security Archive Automatic Signing Key 
(9/stretch) 
| sub   rsa4096 2017-05-22 [S] [expires: 2025-05-20]
|   379483D8B60160B155B372DDAA8E81B4331F7F50
+---

Your condition requires the security archive to be signed with the
main archive key; that is wrong.

The 9/stretch keys are fairly new and were announced in [1].

  [1] https://lists.debian.org/debian-devel-announce/2019/04/msg8.html

> These keys are unknown on keyserver as well:
>
> # apt-key adv --keyserver keyring.debian.org --recv-keys 9D6D8F6BC857C906

keyring.d.o only has developer keys, not any of the other keys Debian
might be using.  I recommend getting them either from the
debian-archive-keyring package or the locations referred to in the
announcement; they should also be available on other keyservers.

I would also recommend using the full fingerprint instead of shorter keyids.

Ansgar



Re: next amd64 stretch problem

2019-05-06 Thread Gene Heskett
On Monday 06 May 2019 12:49:03 am David Wright wrote:

> On Sun 05 May 2019 at 21:04:18 (-0400), Gene Heskett wrote:
> > I have only one, very weak sound, from kmails new mail beep.  Down
> > about 20 db from what I'm used to hearing.
> >
> > Everything else is muted.  And I can't find the speaker-test utility
> > in the repo's to even begin to troubleshoot, so whats the next step?
>
> $ apt-file find speaker-test
> alsa-utils: /usr/bin/speaker-test
> alsa-utils: /usr/share/alsa/speaker-test/sample_map.csv
> alsa-utils: /usr/share/man/man1/speaker-test.1.gz
> $
>
> Cheers,
> David.

Humm, strange.  It is installed, its in my $path and once found, works, 
without the path in front of the invocation, albeit quietly despite all 
the "knobs" being turned wide open. Ditto for FF, news stories now have 
audio.  Not loud enough for old ears, but there.  When I get some of the 
other stuff working again, I'll have to drag in my scope and see if its 
good at the mobo jacks. Wally's choice of pc speakers is $20, or $250 
for your tv, and the $20 ones need all the electrolytic's replaced about 
annually.  BTDT once since I couldn't buy a better set. These are about 
due again I suppose.

Thank you, David.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



"missing pubkey" for buster-security

2019-05-06 Thread Harald Dunkel

Hi folks,

I am running a local mirror of the security.debian.org
repository for in-house use. It seems to be available for
Buster as well, except that there is an error message

ERROR: Condition '7638D0442B90D010' not fulfilled for 
'/var/www/official/lists/buster-security_buster%2Fupdates_InRelease'.
Signatures in 
'/var/www/official/lists/buster-security_buster%2Fupdates_InRelease':
'9D6D8F6BC857C906' (signed 2019-05-03): missing pubkey
'AA8E81B4331F7F50' (signed 2019-05-03): missing pubkey
Error: Not enough signatures found for remote repository buster-security 
(http://security.debian.org buster/updates)!
There have been errors!


These keys are unknown on keyserver as well:

# apt-key adv --keyserver keyring.debian.org --recv-keys 9D6D8F6BC857C906
Executing: /tmp/apt-key-gpghome.VRpQHhUEoX/gpg.1.sh --keyserver 
keyring.debian.org --recv-keys 9D6D8F6BC857C906
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
# apt-key adv --keyserver keyring.debian.org --recv-keys AA8E81B4331F7F50
Executing: /tmp/apt-key-gpghome.HyHJegKO1w/gpg.1.sh --keyserver 
keyring.debian.org --recv-keys AA8E81B4331F7F50
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0


I understand that Buster is not released yet, but wouldn't you
agree that it is unusual to sign InRelease without sharing the
public key?


Every helpful comment is highly appreciated
Harri