Re: Problem using "dpkg -i"

2018-01-15 Thread Bernd Gruber
Richard Owlett wrote:
> 
> Received error message:
> dpkg: dependency problems prevent configuration of amaya:
>   amaya depends on libssl0.9.8 (>= 0.9.8m-1); however:
>Package libssl0.9.8 is not installed.

try apt-get -f install

Bernd



Re: Problem using "dpkg -i"

2018-01-15 Thread Richard Owlett

On 01/15/2018 02:25 AM, Bernd Gruber wrote:

Richard Owlett wrote:


Received error message:
dpkg: dependency problems prevent configuration of amaya:
   amaya depends on libssl0.9.8 (>= 0.9.8m-1); however:
Package libssl0.9.8 is not installed.


try apt-get -f install

Bernd


I had already tried "fix broken" option in Synaptic.
All it did was remove all pieces of Amaya.

I repeated
dpkg -i /home/richard/Downloads/amaya_11.4.7-1_i386.deb
followed by
apt-get -f install
with the same result ;<

Thanks.






Re: Secure email server setup

2018-01-15 Thread Alessandro Vesely
On Mon 15/Jan/2018 00:19:24 +0100 Brian wrote:
> On Sun 14 Jan 2018 at 16:43:53 -0500, rhkra...@gmail.com wrote:
> 
>> On Sunday, January 14, 2018 02:26:03 PM Brian wrote:
>>> On Sun 14 Jan 2018 at 12:49:46 -0500, rhkra...@gmail.com wrote:
 On Sunday, January 14, 2018 10:36:40 AM J.W. Foster wrote:
> I am looking for a reliable step by step process for setting up an 
> email server located on an existing website server. I have
> installed; exim4 light, dovecot, Thunderbird, OpenSSL, and TLS

Thunderbird isn't needed on a server

> security. I have tried following several bits of documentation
> regarding this with some success, but as with every time I try this,
> I open up my system to SPAM at a ridiculous rate. I want to
> eliminate that and get this mail server fully operational. I am
> seeking a well-documented approach that I can follow. I am using
> current Debian Stretch and the server is primarily a Mediawiki
> system where I NEED  mail available. Any tips are appreciated.
> Thanks!John
 Some clarification would help:
 * Do youi really need an email server on this machine, or do you just
   need the capability to send and receive email?  I guess I'm not
   familiar enough with Mediawiki--does it need an email server?
 In my (old) installations of TWiki, the ability to send and receive
 email was all I needed.>>>
>>> If you did not use a mail server, you were not *receiving* email but,
>>> more than likely, *collecting* it.
>> 
>> Ok, but it worked and did what I needed to do.  And how many people would
>> perceive a difference between receiving it and collecting it in casual
>> usage of those words and in this context?>
> Not many in this context, probably. But precision and the desire to
> educate has never been amongst the strong points of commentators on
> email. You would soon notice the difference if you had to collect
> your mail from a Royal Mail office instead of having it delivered.
> Apart from having to travel to collect it, "spam" control is handled
> differently in each case.

It may help to note explicitly that spam control includes the possibility to
whitelist known wiki contributors from /some/ filters --e.g. never skip
anti-virus; after all, even known contributors can have their email accounts
hijacked.

Since most email messages are sent in cleartext, it is also worth to note
explicitly the difference in terms of privacy between receiving and collecting.

For sending capabilities, many postmasters end up taking recourse to external
smart hosts because their IP address is in a tainted block, regularly thrown in
the Junk folder by some mailbox providers (e.g. hotmail).  The worthiness of
running a mail queue is lost in that case.

Ale




Acrobat Reader stops works

2018-01-15 Thread Kamil Jońca

Recently I have to reinstall my system.
Most of things works OOTB, but I cannot make Acrobat Reader (9.5.5) to
work.
Stracing shows segmentation fault (catched) in main thread.
Worse thing is, on second computer with the same libraries(and the same 
versions) acroread
work.
Any hints/thoughts?
KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Zuzanka najwyraźniej pełni obowiązki Albina Siwaka w tej ekipie...
(C) Slawek Kotynski w dyskusj nt. pl.whatewer.SETI@home...



Libreoffice eats 100%cpu

2018-01-15 Thread Kamil Jońca

After installing
ii  libreoffice-base-core1:5.4.4-1amd64 
ii  libreoffice-calc 1:5.4.4-1amd64
ii  libreoffice-common   1:5.4.4-1all  
ii  libreoffice-core 1:5.4.4-1amd64
ii  libreoffice-gtk2 1:5.4.4-1amd64
ii  libreoffice-help-en-us   1:5.4.4-1all  
ii  libreoffice-math 1:5.4.4-1amd64
ii  libreoffice-style-galaxy 1:5.4.4-1all  
ii  libreoffice-style-tango  1:5.4.4-1all  
ii  libreoffice-writer   1:5.4.4-1amd64

libreoffice started to eat whole core of my cpu, the same is on fresh
profile.
Any hints?
KJ


-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Fairy Tale, n.:
A horror story to prepare children for the newspapers.



Installing and running legacy software (was Re: Problem using "dpkg -i")

2018-01-15 Thread Jonathan Dowland

On Mon, Jan 15, 2018 at 01:32:07AM -0600, Richard Owlett wrote:
A long time ago I had used Amaya, a HTML editor available at 
.

I know, it's OLD. But I've used it ;/

I did:
dpkg -i /home/richard/Downloads/amaya_11.4.7-1_i386.deb

Received error message:
dpkg: dependency problems prevent configuration of amaya:
amaya depends on libssl0.9.8 (>= 0.9.8m-1); however:
 Package libssl0.9.8 is not installed.

However Synaptic indicates that libssl1.0.2 is installed.

Questions:
1. Can I "fix" the install?


The short answer is: yes, there are several approaches, I'll outline the
skeletons of some below, but they are quite complex and have caveats and
I would not recommend trying these for beginners (not that you are a
beginner...)

If you can source a package for libssl0.9.8, then you could try to
install that before the Amaya deb. However, depending on where you
got it from, you may find that it itself has other package dependencies
that you cannot satisfy in current Debian releases, and would need to
chase down too; if libssl0.9.8 or any other package like this conflicts
with another package that you have installed you could get into
problems, and there's also the issue of libssl0.9.8 being a security
critical package and out of security support.

You could try unpacking the Amaya deb, and seeing whether the binary
within would run even without the dependencies installed. Something
like:

   $ dpkg-deb -x ~richard/Downloads/amaya_11.4.7-1_i386.deb some-path
   $ ./some-path/usr/bin/amaya

If it complains specifically about libssl0.9.8 upon starting up, you
could experiment to see whether your more recent libssl would still work
in its place, as follows (something a bit like this)

   $ cd some-path # where you extracted the deb, above
   $ mkdir -p usr/lib
   $ cd usr/lib
   $ ln -s /usr/lib/i386*/libssl.so.1.0.0 libssl.so.0.9.8
   $ export LD_LIBRARY_PATH=$(pwd)
   $ cd ../../
   $ ./usr/bin/amaya

If *that* worked, you could investigate repacking the amaya .deb with the
compatibility symlink in it and the dependencies edited, and installing
the result; or, just run it out of the unpacked location above.

However this is awkward, error prone etc.; out of scope for my mail here
but this class of problem is better addressed using container technology
IMHO, like Flatpak (or Docker at a pinch); but the work needs to be done
to prepare containers with legacy dependencies within them for such
software and that has not been done yet so far as I know.


2. Is there a recommended HTML editor in the repository that"
  A. simple UI
  B. can render the code so I can tell if my changes display
 as intended?


I can't answer this question because I am not familiar with a particular 
tool that does this, but I would recommend investigating this option

thoroughly before resorting to #1.


--

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄ Please do not CC me, I am subscribed to the list.



Re: Problem using "dpkg -i"

2018-01-15 Thread Richard Hector
On 15/01/18 20:32, Richard Owlett wrote:
> dpkg: dependency problems prevent configuration of amaya:
>  amaya depends on libssl0.9.8 (>= 0.9.8m-1); however:
>   Package libssl0.9.8 is not installed.
> 
> However Synaptic indicates that libssl1.0.2 is installed.

The different (libssl) package name (not just the version) suggests that
it's probably not compatible (ABI change).

You'd probably need to build it yourself.

Richard



signature.asc
Description: OpenPGP digital signature


Re: Printing problem

2018-01-15 Thread Brian
On Sun 14 Jan 2018 at 20:30:02 +0100, arne wrote:

> My printer suddenly didn't show up in the Print Windows
> of Libre Office, Firefox and a lot of other programs.

We hope "suddenly" means that one day you went to bed and when you woke
up, printing from an application didn't work. No changes to the printing
system or the OS on your part were underaken before, during or after
the sleep process.

Please give a list of all the affected programs and the output of

 dpkg -l libreoffice*

How do you fare with okular or qpdfview? You are running under GNOME?


-- 
Brian.



Re: Installing and running legacy software (was Re: Problem using "dpkg -i")

2018-01-15 Thread Richard Owlett

On 01/15/2018 03:57 AM, Jonathan Dowland wrote:

On Mon, Jan 15, 2018 at 01:32:07AM -0600, Richard Owlett wrote:
A long time ago I had used Amaya, a HTML editor available at 
.

I know, it's OLD. But I've used it ;/

I did:
dpkg -i /home/richard/Downloads/amaya_11.4.7-1_i386.deb

Received error message:
dpkg: dependency problems prevent configuration of amaya:
amaya depends on libssl0.9.8 (>= 0.9.8m-1); however:
 Package libssl0.9.8 is not installed.

However Synaptic indicates that libssl1.0.2 is installed.

Questions:
1. Can I "fix" the install?


The short answer is: yes, there are several approaches, I'll outline the
skeletons of some below, but they are quite complex and have caveats and
I would not recommend trying these for beginners (not that you are a
beginner...)


Years do not necessarily mean expertise ;/



[snip]

If *that* worked, you could investigate repacking the amaya .deb with the
compatibility symlink in it and the dependencies edited, and installing
the result; or, just run it out of the unpacked location above.

However this is awkward, error prone etc.; out of scope for my mail here
but this class of problem is better addressed using container technology
IMHO, like Flatpak (or Docker at a pinch); but the work needs to be done
to prepare containers with legacy dependencies within them for such
software and that has not been done yet so far as I know.


Not sure I've competency to effectively follow your outline.
I was assuming I had a syntax error of some sort.



2. Is there a recommended HTML editor in the repository that"
  A. simple UI
  B. can render the code so I can tell if my changes display
 as intended?


I can't answer this question because I am not familiar with a particular 
tool that does this, but I would recommend investigating this option

thoroughly before resorting to #1.




No argument ;/
I've WinXP box. I'll try the Windows version. It wont be as convenient 
but as it has no internet connectivity the security issues should be 
minimized.


Thanks.




Re: System won't boot anymore after upgrade to jessie

2018-01-15 Thread Elisabetta Falivene
In the end, changing in
/etc/initramfs-tools/conf.d/driver-policy
MODULES=dep to MODULES=most and
and then
update-initramfs -u -k 3.16.0.4-amd64 (in my case it was that the
problematic kernel)
did the trick.

My debian is booting correctly again! Thank you very much to all of you!

Elisabetta

2018-01-10 17:39 GMT+01:00 Sven Hartge :

> Elisabetta Falivene  wrote:
>
> >>> Unfortunately is already 'most'.
>
> >> Please check if you have a file /etc/initramfs-tools/conf.d/
> driver-policy
> >> or any other file containing a different configuration. Anything in
> >> /etc/initramfs-tools/conf.d/ takes precedence over the main config file.
>
> > Thank you, it was "dep" indeed!
>
> Then remove those additional files, check that MODULES=most is set in
> /etc/initramfs-tools/initramfs.conf, do a "update-initramfs -u -kall",
> and you should be good to go.
>
> > Reading here, though I think they were talking about ubuntu, (
> > https://ubuntuforums.org/showthread.php?t=1365365) there is a module to
> > manage raid called dmraid. Maybe including that could solve the problem?
>
> No, dmraid is for Controller-based SoftRAID, often used with Windows.
>
> S°
>
> --
> Sigmentation fault. Core dumped.
>
>


Re: Acrobat Reader stops works

2018-01-15 Thread Jerome BENOIT


On 15/01/18 13:32, Kamil Jońca wrote:
> 
> Recently I have to reinstall my system.
> Most of things works OOTB, but I cannot make Acrobat Reader (9.5.5) to
> work.
> Stracing shows segmentation fault (catched) in main thread.
> Worse thing is, on second computer with the same libraries(and the same 
> versions) acroread
> work.
> Any hints/thoughts?

migrate to evince ?

Jerome


> KJ
> 



Re: Acrobat Reader stops works

2018-01-15 Thread Carl Fink

On 01/15/2018 06:45 AM, Jerome BENOIT wrote:


On 15/01/18 13:32, Kamil Jońca wrote:

Recently I have to reinstall my system.
Most of things works OOTB, but I cannot make Acrobat Reader (9.5.5) to
work.
Stracing shows segmentation fault (catched) in main thread.
Worse thing is, on second computer with the same libraries(and the same 
versions) acroread
work.
Any hints/thoughts?

migrate to evince ?

That's rather an unhelpful answer, isn't it?

Kamil, can you post the actual output of strace? What version of
Debian you are using would also be good, especially kernel version.

--
Carl Fink  c...@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com



Re: Installing and running legacy software (was Re: Problem using "dpkg -i")

2018-01-15 Thread Carl Fink

On 01/15/2018 06:53 AM, Richard Owlett wrote:

On 01/15/2018 03:57 AM, Jonathan Dowland wrote:

[big snip]



2. Is there a recommended HTML editor in the repository that"
  A. simple UI
  B. can render the code so I can tell if my changes display
 as intended?


I can't answer this question because I am not familiar with a 
particular tool that does this, but I would recommend investigating 
this option

thoroughly before resorting to #1.




No argument ;/
I've WinXP box. I'll try the Windows version. It wont be as convenient 
but as it has no internet connectivity the security issues should be 
minimized.



You might look at SeaMonkey, a community continuation of the old integrated
browser/mailer/HTML editor that Netscape originally released. I found 
its HTML

editing function pretty usable back when I needed it.

https://wiki.debian.org/Seamonkey

--
Carl Fink  c...@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com



Re: Stretch Lite

2018-01-15 Thread Brian
On Sun 14 Jan 2018 at 17:42:57 -0500, Felix Miata wrote:

> David composed on 2018-01-14 17:54 (UTC):
> 
> > I know there is a version of Rasbian called Stretch Lite.
> 
> > Is there a version of Debian to run headless without the excess clutter
> > of office etc?
> 
> > I've tried removing the bits I don't need, but made an awful mess of it,
> > better not to load it in the first place.
> 
> Start the installer with the following included on the boot cmdline:
> 
>   tasks=standard base-installer/install-recommends=false
> 
> All my own installations start that way, normally as a part of network
> installation, downloading little in advance of starting the installation:
> 
>   https://www.debian.org/CD/netinst/

Note that base-installer/install-recommends=false only kicks in
after the base system is installed. Base files are installed with
debootstrap, which does not install Recommends:. I'm unsure much
is really saved here as the standard packages tend not to have a
reliance on recommended packages.

-- 
Brian.



Re: Acrobat Reader stops works

2018-01-15 Thread Markus Schönhaber
Carl Fink, Mo 15 Jan 2018 13:32:27 CET:

> On 01/15/2018 06:45 AM, Jerome BENOIT wrote:
>>
>> On 15/01/18 13:32, Kamil Jońca wrote:
>>> Recently I have to reinstall my system.
>>> Most of things works OOTB, but I cannot make Acrobat Reader (9.5.5) to
>>> work.
>>> Stracing shows segmentation fault (catched) in main thread.
>>> Worse thing is, on second computer with the same libraries(and the same 
>>> versions) acroread
>>> work.
>>> Any hints/thoughts?
>> migrate to evince ?

> That's rather an unhelpful answer, isn't it?

No, it isn't.
Suggesting to move away from an unmaintained (since 4+ years) piece of
software which probably has lots of unfixed (security) bugs is a rather
sensible thing to do.

-- 
Regards
  mks



Re: Acrobat Reader stops works

2018-01-15 Thread Jerome BENOIT
Hello,

On 15/01/18 16:32, Carl Fink wrote:
> On 01/15/2018 06:45 AM, Jerome BENOIT wrote:
>>
>> On 15/01/18 13:32, Kamil Jońca wrote:
>>> Recently I have to reinstall my system.
>>> Most of things works OOTB, but I cannot make Acrobat Reader (9.5.5) to
>>> work.
>>> Stracing shows segmentation fault (catched) in main thread.
>>> Worse thing is, on second computer with the same libraries(and the same 
>>> versions) acroread
>>> work.
>>> Any hints/thoughts?
>> migrate to evince ?
> That's rather an unhelpful answer, isn't it?

I do not think so because acrobat reader is no more supported by adobe.
This is very unfortunate, but true.


> 
> Kamil, can you post the actual output of strace? What version of
> Debian you are using would also be good, especially kernel version.
> 

Jerome



Re: Installing and running legacy software (was Re: Problem using "dpkg -i")

2018-01-15 Thread Richard Owlett

On 01/15/2018 06:42 AM, Carl Fink wrote:

On 01/15/2018 06:53 AM, Richard Owlett wrote:

On 01/15/2018 03:57 AM, Jonathan Dowland wrote:

[big snip]



2. Is there a recommended HTML editor in the repository that"
  A. simple UI
  B. can render the code so I can tell if my changes display
 as intended?


I can't answer this question because I am not familiar with a 
particular tool that does this, but I would recommend investigating 
this option

thoroughly before resorting to #1.




No argument ;/
I've WinXP box. I'll try the Windows version. It wont be as convenient 
but as it has no internet connectivity the security issues should be 
minimized.



You might look at SeaMonkey, a community continuation of the old integrated
browser/mailer/HTML editor that Netscape originally released. I found 
its HTML

editing function pretty usable back when I needed it.

https://wiki.debian.org/Seamonkey



*ROFL* 
I started with Netscape 4 and have ignored Firefox/Thunderbird.
I currently have SeaMonkey 2.49.1 
.


Composer choked on the file I was trying to edit.
Years ago I had run into a particular file which Composer had problems.
At the time I discovered Amaya.

I solved the problem using brute force. So time pressure is reduced.

Thank you.






Re: Acrobat Reader stops works

2018-01-15 Thread Ben Oliver

On 18-01-15 13:48:02, Markus Schönhaber wrote:

Carl Fink, Mo 15 Jan 2018 13:32:27 CET:


On 01/15/2018 06:45 AM, Jerome BENOIT wrote:


On 15/01/18 13:32, Kamil Jońca wrote:

Recently I have to reinstall my system.
Most of things works OOTB, but I cannot make Acrobat Reader (9.5.5) to
work.
Stracing shows segmentation fault (catched) in main thread.
Worse thing is, on second computer with the same libraries(and the same 
versions) acroread
work.
Any hints/thoughts?

migrate to evince ?



That's rather an unhelpful answer, isn't it?


No, it isn't.
Suggesting to move away from an unmaintained (since 4+ years) piece of
software which probably has lots of unfixed (security) bugs is a rather
sensible thing to do.



Seconded. It's essentially abandonware now.



Re: Acrobat Reader stops works

2018-01-15 Thread Kamil Jońca
Carl Fink  writes:

> On 01/15/2018 06:45 AM, Jerome BENOIT wrote:
>>
>> On 15/01/18 13:32, Kamil Jońca wrote:
>>> Recently I have to reinstall my system.
>>> Most of things works OOTB, but I cannot make Acrobat Reader (9.5.5) to
>>> work.
>>> Stracing shows segmentation fault (catched) in main thread.
>>> Worse thing is, on second computer with the same libraries(and the same 
>>> versions) acroread
>>> work.
>>> Any hints/thoughts?
>> migrate to evince ?
> That's rather an unhelpful answer, isn't it?

Well, I would LOVE to drop acrobat, but there is an application (adobe
air, sigh)  which uses pdf forms to fill. So can I have a drop in
replacement for acrobat to do this?

>
> Kamil, can you post the actual output of strace? What version of
> Debian you are using would also be good, especially kernel version.

at https://drive.google.com/open?id=1-rSej9fZdlniub6SNIbSV6EOZTLYGUON
is effect of: strace -o acro -ff -s 1 acroread

KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Memory should be the starting point of the present.



Re: Acrobat Reader stops works

2018-01-15 Thread Carl Fink

Another thought: according to the app database at winehq.org, it's
possible to install the Windows version under Linux.

--
Carl Fink  c...@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com



Re: System won't boot anymore after upgrade to jessie

2018-01-15 Thread Sven Hartge
Elisabetta Falivene  wrote:

> In the end, changing in
> /etc/initramfs-tools/conf.d/driver-policy
> MODULES=dep to MODULES=most and
> and then
> update-initramfs -u -k 3.16.0.4-amd64 (in my case it was that the
> problematic kernel)
> did the trick.

As I said: you are better of if you just remove the file, so you (or any
other admin) doesn't get confused again, because the value from
initramfs.conf is silently overridden by the value in
conf.d/driver-policy.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: System won't boot anymore after upgrade to jessie

2018-01-15 Thread Elisabetta Falivene
You're right!
Thanks

2018-01-15 15:19 GMT+01:00 Sven Hartge :

> Elisabetta Falivene  wrote:
>
> > In the end, changing in
> > /etc/initramfs-tools/conf.d/driver-policy
> > MODULES=dep to MODULES=most and
> > and then
> > update-initramfs -u -k 3.16.0.4-amd64 (in my case it was that the
> > problematic kernel)
> > did the trick.
>
> As I said: you are better of if you just remove the file, so you (or any
> other admin) doesn't get confused again, because the value from
> initramfs.conf is silently overridden by the value in
> conf.d/driver-policy.
>
> Grüße,
> Sven.
>
> --
> Sigmentation fault. Core dumped.
>
>


Re: [slurm-users] Slurm not starting

2018-01-15 Thread Elisabetta Falivene
> check slurmctld.log and slurmd.log, you can find them under
> /var/log/slurm-llnl

I have not these files unfortunately. Even 'locate' can't find them.


> Do you have a backup controller?
> Check your slurm.conf under:
> /etc/slurm-llnl

seems not
#BackupController=
#BackupAddr=


> /usr/sbin/slurmctld -d -vvv
file not found :(

I can start with
 /etc/init.d/slurmctld restart

but I get

[] Restarting slurmctld (via systemctl): slurmctld.serviceJob for
slurmctld.service failed. See 'systemctl status slurmctld.service' and
'journalctl -xn' for details.
 failed!

journalctl -xn

-- Logs begin at Mon 2018-01-15 12:44:48 CET, end at Mon 2018-01-15
15:23:31 CET. --
Jan 15 15:23:00 anyone.phys.uniroma1.it slurmctld[5133]:
SchedulerParameters=default_queue_depth=100,max_rpc_cnt=0,max_sched_time=4,partition_job_depth=0
 dhcpd[1550]: DHCPREQUEST for 192.168.1.106 from 10:bf:48:1a:02:5e via eth1
 dhcpd[1550]: DHCPACK on 192.168.1.106 to 10:bf:48:1a:02:5e via eth1
 dhcpd[1550]: DHCPREQUEST for 192.168.1.104 from bc:ae:c5:12:97:3b via eth1
 dhcpd[1550]: DHCPACK on 192.168.1.104 to bc:ae:c5:12:97:3b via eth1
 systemd[1]: slurmctld.service start operation timed out. Terminating.
 slurmctld[5133]: Terminate signal (SIGINT or SIGTERM) received
 slurmctld[5133]: Saving all slurm state
 systemd[1]: Failed to start Slurm controller daemon.
-- Subject: Unit slurmctld.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit slurmctld.service has failed.
-- 
-- The result is failed.



2018-01-15 14:16 GMT+01:00 Williams, Jenny Avis :

> Elisabetta-
>
> Start by focusing on slurmctld. Slurmd not happy without it.
> Start it manually in the foreground as in
> /usr/sbin/slurmctld -d -vvv
>
> This assumes slurmd,conf is in default location.
> Pardon brevity; on my phone
> Jenny Williams
>
>
> Sent from Nine 
> --
> *From:* Elisabetta Falivene 
> *Sent:* Monday, January 15, 2018 7:14 AM
> *To:* Slurm User Community List
> *Subject:* [slurm-users] Slurm not starting
>
> I did an upgrade from wheezy to jessie (automatically with a normal
> dist-upgrade) on a cluster with 8 nodes (up, running and reachable) and
> from slurm 2.3.4 to 14.03.9. Overcame some problems booting kernel (thank
> you vey much to Gennaro Oliva, btw), now the system is running correctly
> with kernel 3.16.0.4, but slurm isn't starting. I tried restarting
> services, but it seems it isn't able to do it.
>
> Error messages are not much helping me in guessing what is going on. What
> should I check to get what is failing?
>
> Thank you
> Elisabetta
>
> PS: Here it is some tests I did
>
> Running
> *sinfo*
>
> returns
>
> *PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST*
> *batch*   up   infinite  8   unk* node[01-08]*
>
>
> Running
> *systemctl status slurmctld.service*
>
> returns
>
> *slurmctld.service - Slurm controller daemon*
> *   Loaded: loaded (/lib/systemd/system/slurmctld.service; enabled)*
> *   Active: failed (Result: timeout) since Mon 2018-01-15 13:03:39 CET;
> 41s ago*
> *  Process: 2098 ExecStart=/usr/sbin/slurmctld $SLURMCTLD_OPTIONS
> (code=exited, status=0/SUCCESS)*
>
> * slurmctld[2100]: cons_res: select_p_reconfigure*
> * slurmctld[2100]: cons_res: select_p_node_init*
> * slurmctld[2100]: cons_res: preparing for 1 partitions*
> * slurmctld[2100]: Running as primary controller*
> * slurmctld[2100]:
> SchedulerParameters=default_queue_depth=100,max_rpc_cnt=0,max_sched_time=4,partition_job_depth=0*
> * slurmctld.service start operation timed out. Terminating.*
> *Terminate signal (SIGINT or SIGTERM) received*
> * slurmctld[2100]: Saving all slurm state*
> * Failed to start Slurm controller daemon.*
> * Unit slurmctld.service entered failed state.*
>
> and running
>
> */etc/init.d/slurmd status*
>
> returns
>
> *slurmd.service - Slurm node daemon*
> *   Loaded: loaded (/lib/systemd/system/slurmd.se rvice;
> enabled)*
> *   Active: failed (Result: exit-code) since Mon 2018-01-15 12:44:52 CET;
> 21min ago*
> *  Process: 729 ExecStart=/usr/sbin/slurmd $SLURMD_OPTIONS (code=exited,
> status=1/FAILURE)*
>
> *slurmd.service: control process exited, code=exited status=1*
> *systemd[1]: Failed to start Slurm node daemon.*
> *Unit slurmd.service entered failed state.*
>
>
>


Re: bash array

2018-01-15 Thread Greg Wooledge
On Sun, Jan 14, 2018 at 03:46:06PM +0300, Gokan Atmaca wrote:
> I have the user list and the password list. I shot them with BASH. I
> want to give passwords to the usernames in these separate files in
> order.
> 
> File names:
> Users.list
> Passwords.list
> 
> In a loop, I have to not throw them into users of these passwords.

We need to know the contents of these files, not their names.

> I did this for it, but it did not work.
> 
> #!bin/bash
> passwords = $ (cat passwords.list)
> for i in $ (cat passwordlist); do my program $ i $passwords; done

There are many mistakes here, even without knowing what the files
contain or what you are trying to do with them.

First, your shebang is wrong.  It must be #!/bin/bash rather than
#!bin/bash.

Second, your assignment is wrong.  It must be var=value rather than
var = value.  You CANNOT have spaces around the = sign.

Third, your command substitution is wrong.  It must be $(command)
rather than $ (command).  You CANNOT have a space between the $ and (.

Fourth, if your passwords.list file contains spaces (which many
good passwords WILL contain), your entire algorithm is wrong.  Your
use of $(cat ...) splits the contents of the file on ALL whitespace,
not just newlines.  A password with a single space in it will be
treated as two words, and the loop will iterate once for each of
those words.

Also (let's call this bug number 4.5), any globbing characters in
the password.list file (like ? or * or [...]) will break things with
the algorithm you've chosen.

And then there's your for loop ... ugh.  No.  It's just unbearable.
This isn't valid code.  It's just random characters.

> How do I make an Array? Or how can I solve it?

Start from the beginning: WHAT IS IN EACH FILE?

Suppose users.list looks like this:

fred
barney
wilma
betty

And suppose passwords.list looks like this:

2^7djfnc5
yabba dabba doo
U(n  jv7s^&
password

Now suppose we are told "each line in users.list is one user, and each
line in passwords.list is one password".

Suppose we are told "there must be the same number of lines in both
files".

Suppose we are told "line N of users.list corresponds to line N of
passwords.list".

THEN you have enough information to actually write a program.

What kind of array do you want?  Why do you even want an array?

What is your program supposed to do with these users and passwords?

Do you just need to create a single output file which combines them
together?  In that case, you can read a line at a time from each
file and never store them all in an array.  Just process sequentially.

Do you need to create a lookup table that you will refer to again and
again during some sort of GUI?  In that case, sure, an array might
make sense.  But you still need to define what you're doing.  Are you
planning to look up the password of a user GIVEN the user's name?
Then use an associative array which is indexed by the user's name and
contains the passwords.

Do you plan to look up the user's name and password GIVEN an index
number of some kind, perhaps chosen from a menu?  Then use two
indexed arrays, one that maps the index number to the username, and
the other that maps the index number to the password.

Until we know what the input files contain, and what your program is
supposed to do with them, nobody can tell you how to write your
program.

Start with these pages:

http://mywiki.wooledge.org/BashGuide
http://mywiki.wooledge.org/BashPitfalls
http://mywiki.wooledge.org/BashFAQ/001

Then, later, when you're ready:

http://mywiki.wooledge.org/BashProgramming



Re: Secure email server setup

2018-01-15 Thread rhkramer
On Monday, January 15, 2018 04:39:17 AM Alessandro Vesely wrote:
> Since most email messages are sent in cleartext, it is also worth to note
> explicitly the difference in terms of privacy between receiving and
> collecting.

I don't understand, can you (or someone) attempt to clarify / amplify?



Re: Stretch Lite

2018-01-15 Thread David
On Mon, 2018-01-15 at 12:53 +, Brian wrote:
> On Sun 14 Jan 2018 at 17:42:57 -0500, Felix Miata wrote:
> 
> > David composed on 2018-01-14 17:54 (UTC):
> > 
> > > I know there is a version of Rasbian called Stretch Lite.
> > 
> > > Is there a version of Debian to run headless without the excess clutter
> > > of office etc?
> > 
> > > I've tried removing the bits I don't need, but made an awful mess of it,
> > > better not to load it in the first place.
> > 
> > Start the installer with the following included on the boot cmdline:
> > 
> > tasks=standard base-installer/install-recommends=false
> > 
> > All my own installations start that way, normally as a part of network
> > installation, downloading little in advance of starting the installation:
> > 
> > https://www.debian.org/CD/netinst/
> 
> Note that base-installer/install-recommends=false only kicks in
> after the base system is installed. Base files are installed with
> debootstrap, which does not install Recommends:. I'm unsure much
> is really saved here as the standard packages tend not to have a
> reliance on recommended packages.
> 
Many thanks for all the suggestions, I've got a thin client to load with
Debian, I'll try them out.

Previous thin clients I've loaded with Debian 7 due to Debian 8 being
too bloated for these minimal machines, and another with windoze XP, and
I managed to get the XP one to use the internal flash drive, the others
I used an SSD. All thin clients along with the Pi's I use run headless.

David.




hostname issue

2018-01-15 Thread Adam Weremczuk

Hi all,

Today when I logged into my Debian 9.2 VM I noticed that the hostname 
has changed to the first block of the IP address I was accessing this VM 
from last:


root@83:~#

"hostname" command was returning the full IP address 83.xxx.xxx.xxx

Cat /etc/hostname was still showing the correct name.

After apt-get update, ap-get upgrade (to 9.3) and reboot things went 
back to normal.


Is it a known bug?

Has anybody seen anything like this before?

Thanks
Adam



Re: Acrobat Reader stops works

2018-01-15 Thread Celejar
On Mon, 15 Jan 2018 14:44:33 +0100
kjo...@poczta.onet.pl (Kamil Jońca) wrote:

...

> Well, I would LOVE to drop acrobat, but there is an application (adobe
> air, sigh)  which uses pdf forms to fill. So can I have a drop in
> replacement for acrobat to do this?

Evince can fill (at least some) forms, e.g., this one:

http://foersom.com/net/HowTo/data/OoPdfFormExample.pdf

I don't know the extent to which its capabilities match those of
Acrobat, or whether it works on all PDFs, but I've used it successfully
when I needed this functionality.

Celejar



Re: Acrobat Reader stops works

2018-01-15 Thread Kamil Jońca
Carl Fink  writes:

> Another thought: according to the app database at winehq.org, it's
> possible to install the Windows version under Linux.

And I think, that would be only working solution.
But I am curious why its workink on my second computer :/
KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/
Egotist:  A person of low taste, more interested in himself than in me.
-- Ambrose Bierce



How to disable V6 DHCP ?

2018-01-15 Thread Pierre Couderc

I have tried to comment INTERFACESv6 in /etc/default/isc-dhcp-server
but systemd  tries to start dhcp server ipV6, fails as it is not 
initiliased and remains in failed status, even if DSCP ipv4 is welle 
started.

But it refuses to start at next power on.

So how should I start DHCP v4 only... ?

Thanks in advance
PC





Re: How to disable V6 DHCP ?

2018-01-15 Thread Darac Marjal

On Mon, Jan 15, 2018 at 05:40:54PM +0100, Pierre Couderc wrote:

I have tried to comment INTERFACESv6 in /etc/default/isc-dhcp-server
but systemd  tries to start dhcp server ipV6, fails as it is not 
initiliased and remains in failed status, even if DSCP ipv4 is welle 
started.

But it refuses to start at next power on.


Have you tried setting INTERFACESv6=""?



So how should I start DHCP v4 only... ?

Thanks in advance
PC





--
For more information, please reread.


signature.asc
Description: PGP signature


Re: Installing and running legacy software (was Re: Problem using "dpkg -i")

2018-01-15 Thread Richard Owlett

On 01/15/2018 10:12 AM, bw wrote:



On Mon, 15 Jan 2018, Richard Owlett wrote:


*ROFL* 
I started with Netscape 4 and have ignored Firefox/Thunderbird.
I currently have SeaMonkey 2.49.1
.

Composer choked on the file I was trying to edit.
Years ago I had run into a particular file which Composer had problems.
At the time I discovered Amaya.

I solved the problem using brute force. So time pressure is reduced.

Thank you.







I used seamonkey yrs ago also, then iceape composer when it was in the
repo.  The composer wrote awful code, but for a simple wysiwyg, it wasn't
bad.

For simple html these days I find nano/dillo combination very nice.  Dillo
browser is very good at finding mistakes in html, and nano... well what
can I say?




As I'm retired, snowed in, and not interested in house cleaning I'll 
download both and experiment.





Re: Problem using "dpkg -i"

2018-01-15 Thread Sven Joachim
On 2018-01-15 01:32 -0600, Richard Owlett wrote:

> A long time ago I had used Amaya, a HTML editor available at
> .
> I know, it's OLD. But I've used it ;/
>
> I did:
> dpkg -i /home/richard/Downloads/amaya_11.4.7-1_i386.deb
>
> Received error message:
> dpkg: dependency problems prevent configuration of amaya:
>  amaya depends on libssl0.9.8 (>= 0.9.8m-1); however:
>   Package libssl0.9.8 is not installed.

> Questions:
> 1. Can I "fix" the install?

Get libssl0.9.8 from snapshot.debian.org[1].  Probably version
0.9.8o-4squeeze23[2] is the one you want, it appears to be the last
security upload for squeeze-lts.

> 2. Is there a recommended HTML editor in the repository that"
>A. simple UI
>B. can render the code so I can tell if my changes display
>   as intended?

There is bluefish, but it only supports previews via an external browser
(according to the package description, I have not used it myself).

Cheers,
   Sven


1. http://snapshot.debian.org/binary/libssl0.9.8/
2. 
http://snapshot.debian.org/archive/debian-archive/20160313T130328Z/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-4squeeze23_i386.deb



Re: Secure email server setup

2018-01-15 Thread Alessandro Vesely
On Mon 15/Jan/2018 16:23:54 +0100 rhkramer wrote:
> On Monday, January 15, 2018 04:39:17 AM Alessandro Vesely wrote:
>> Since most email messages are sent in cleartext, it is also worth to note
>> explicitly the difference in terms of privacy between receiving and
>> collecting.
> 
> I don't understand, can you (or someone) attempt to clarify / amplify?

Personal (non-list) email messages happen to contain confidential information,
from innocent shopping preferences to passwords.  Although it is possible to
use end-to-end encryption to safeguard confidentiality, the vast majority of
messages are sent in cleartext.  A good percentage[*] of SMTP servers apply
transport encryption (STARTTLS), so the chances that a message is read in
transit are low.  However, the chances that MX servers can read cleartext
messages is 100%, which hence is the rate of trust users have to grant to their
mailbox providers.  The amount of info that can be extracted is directly
proportional to their AI skills, while what they do with it only depends on how
much greedy they are.

Given this state of affairs, the absence of a clean method for setting up an
email server is particularly obnoxious, IMHO.

Ale

[*] See, for example this 2014 stat:
https://www.facebook.com/notes/protect-the-graph/the-current-state-of-smtp-starttls-deployment/1453015901605223/



Re: Secure email server setup

2018-01-15 Thread rhkramer
On Monday, January 15, 2018 12:53:20 PM Alessandro Vesely wrote:
> On Mon 15/Jan/2018 16:23:54 +0100 rhkramer wrote:
> > On Monday, January 15, 2018 04:39:17 AM Alessandro Vesely wrote:
> >> Since most email messages are sent in cleartext, it is also worth to
> >> note explicitly the difference in terms of privacy between receiving
> >> and collecting.
> > 
> > I don't understand, can you (or someone) attempt to clarify / amplify?
> 
> Personal (non-list) email messages happen to contain confidential
> information, from innocent shopping preferences to passwords.  Although it
> is possible to use end-to-end encryption to safeguard confidentiality, the
> vast majority of messages are sent in cleartext.  A good percentage[*] of
> SMTP servers apply transport encryption (STARTTLS), so the chances that a
> message is read in transit are low.  However, the chances that MX servers
> can read cleartext messages is 100%, which hence is the rate of trust
> users have to grant to their mailbox providers.  The amount of info that
> can be extracted is directly proportional to their AI skills, while what
> they do with it only depends on how much greedy they are.
> 
> Given this state of affairs, the absence of a clean method for setting up
> an email server is particularly obnoxious, IMHO.

Thanks very much--that helps a lot, but due to my ignorance of email systems, 
let me ask a followup:

Does the SMTP server encrypt both between it and the "client" and between it 
and the other end destination / source?  

(My understanding of SMTP may be faulty, but, AIUI, if your ISP is your SMTP 
server, email is stored there (unless deleted) (so that you can access it from 
more than one of your computers.  Is it the transmittal between that server 
and your computer(s) that is encrypted, or between that server and the source 
/ destination of the email, or both?



Re: Acrobat Reader stops works

2018-01-15 Thread deloptes
Kamil Jońca wrote:

> Carl Fink  writes:
> 
>> Another thought: according to the app database at winehq.org, it's
>> possible to install the Windows version under Linux.
> 
> And I think, that would be only working solution.
> But I am curious why its workink on my second computer :/
> KJ
usually you would run the binary from gdb and see where it fails

most probably there is missing library or conflict

As acroread is i386 application could be that you missed some i386 package
needed - just compare what you have installed on your working machine

regards




Re: Secure email server setup

2018-01-15 Thread Greg Wooledge
On Mon, Jan 15, 2018 at 01:51:30PM -0500, rhkra...@gmail.com wrote:
> Does the SMTP server encrypt both between it and the "client" and between it 
> and the other end destination / source?  

No, not always.  Plaintext SMTP is the default for transferring mail
from one server to another.  Basically, you should just assume that
anything you send in an email is readable by the entire world, unless
you encrypt the actual message itself (PGP, GnuPG, etc.).



Re: Secure email server setup

2018-01-15 Thread rhkramer
On Monday, January 15, 2018 01:58:08 PM Greg Wooledge wrote:
> On Mon, Jan 15, 2018 at 01:51:30PM -0500, rhkra...@gmail.com wrote:
> > Does the SMTP server encrypt both between it and the "client" and between
> > it and the other end destination / source?
> 
> No, not always.  Plaintext SMTP is the default for transferring mail
> from one server to another.  Basically, you should just assume that
> anything you send in an email is readable by the entire world, unless
> you encrypt the actual message itself (PGP, GnuPG, etc.).

Ok, thanks.  I guess that's what I expected, and that it could almost more 
accurately be phrased--"almost never, unless you encrypt the actual message".

Thanks very much!



Re: Installing and running legacy software (was Re: Problem using "dpkg -i")

2018-01-15 Thread Richard Owlett

On 01/15/2018 11:26 AM, Richard Owlett wrote:

On 01/15/2018 10:12 AM, bw wrote:



On Mon, 15 Jan 2018, Richard Owlett wrote:


*ROFL* 
I started with Netscape 4 and have ignored Firefox/Thunderbird.
I currently have SeaMonkey 2.49.1
. 



Composer choked on the file I was trying to edit.
Years ago I had run into a particular file which Composer had problems.
At the time I discovered Amaya.

I solved the problem using brute force. So time pressure is reduced.

Thank you.







I used seamonkey yrs ago also, then iceape composer when it was in the
repo.  The composer wrote awful code, but for a simple wysiwyg, it wasn't
bad.

For simple html these days I find nano/dillo combination very nice.  
Dillo

browser is very good at finding mistakes in html, and nano... well what
can I say?




As I'm retired, snowed in, and not interested in house cleaning I'll 
download both and experiment.


It is advertised as small, not as full-featured.
For the page that started this JavaScript turned out to be part of the 
problem. It doesn't do that ;/


I found Amayaon my dusty WinXP box. It also doesn't do JavaScript.

I'd have another problem with it. I see no way to increase the font size 
to make it readable.


Thank you






Re: Machine freezes and crashes with the message "soft lockup - CPU#0 stuck for 22s!"

2018-01-15 Thread Tomaž Šolc
Hi

For a while now I'm seeing what looks like the same problem with Jessie.
Typically after a few hours of using X the system freezes with a "BUG:
soft lockup". For a few minutes I can still log in through ssh, but then
that stops working as well and the system stops responding to pings. I'm
also using a Radeon graphics card and see a similar stack trace in the
log (exact details below).

This seems to be a regression in the kernel. The solution I found was to
freeze kernel updates. The last kernel that works reliably for me is
3.16.43-2+deb8u5. With all later kernels the system will hang with-in a day.

In Aptitude I held packages "linux-image-3.16.0-4-amd64" (version
3.16.43-2+deb8u5) and "linux-image-amd64" (version 3.16+63) to prevent
updates. This is not optimal, especially with the recent security fixes,
but I plan to update this system to Stretch eventually.

Best regards
Tomaž


Details from the crash yesterday with linux-image-3.16.0-5-amd64
(3.16.51-3+deb8u1):

Excerpt from /var/log/syslog:

BUG: soft lockup - CPU#3 stuck for 22s! [Xorg:1175]

Modules linked in: usb_storage sha256_ssse3 sha256_generic ecb cbc
algif_skcipher af_alg cpufreq_stats cpufreq_powersave
cpufreq_conservative cpufreq_userspace binfmt_misc cfg80211 rfkill usblp
snd_hda_codec_realtek snd_hda_codec_generic joydev radeon ttm
drm_kms_helper iTCO_wdt iTCO_vendor_support drm i2c_algo_bit evdev
coretemp kvm_intel snd_hda_codec_hdmi kvm snd_hda_intel
snd_hda_controller snd_hda_codec shpchp snd_hwdep snd_pcm_oss
i7core_edac edac_core pcspkr serio_raw snd_mixer_oss lpc_ich mfd_core
snd_pcm snd_timer snd soundcore acpi_cpufreq processor button
thermal_sys raid1 md_mod it87 hwmon_vid dm_crypt dm_mod fuse parport_pc
ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif
crct10dif_generic crct10dif_common sr_mod cdrom ata_generic hid_generic
usbhid hid crc32c_intel ahci pata_jmicron libahci i2c_i801 ehci_pci
i2c_core uhci_hcd libata ehci_hcd r8169 mii scsi_mod usbcore usb_common
floppy
CPU: 3 PID: 1175 Comm: Xorg Not tainted 3.16.0-5-amd64 #1 Debian
3.16.51-3+deb8u1
Hardware name: Gigabyte Technology Co., Ltd. P55-UD3/P55-UD3, BIOS F5
11/20/2009

Call Trace:
 [] ? ttm_bo_vm_fault+0x4c6/0x560 [ttm]
 [] ? radeon_bo_create+0x16d/0x220 [radeon]
 [] ? idr_mark_full+0x57/0x60
 [] ? idr_alloc+0x75/0xd0
 [] ? drm_gem_handle_create_tail+0xba/0x160 [drm]
 [] ? ttm_bo_del_sub_from_lru+0x18/0xb0 [ttm]
 [] ? radeon_ttm_fault+0x47/0x60 [radeon]
 [] ? __do_fault+0x3a/0xa0
 [] ? mmap_region+0x19c/0x650
 [] ? do_shared_fault.isra.55+0x2f/0x1d0
 [] ? handle_mm_fault+0x6c5/0x1140
 [] ? radeon_drm_ioctl+0x69/0x80 [radeon]
 [] ? __do_page_fault+0x177/0x410
 [] ? page_fault+0x28/0x30

(there are several other stack traces in the log as well, some not
apparently related to radeon)

$ cat /etc/debian_version
8.10

$ cat /proc/version
Linux version 3.16.0-5-amd64 (debian-ker...@lists.debian.org) (gcc
version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08)

$ lspci|grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] RV710 [Radeon HD 4350/4550]

I don't have "firmware-amd-graphics" package installed.

"xserver-xorg-core" installed version: 2:1.16.4-1+deb8u2



signature.asc
Description: OpenPGP digital signature


Re: Problem using "dpkg -i"

2018-01-15 Thread Richard Owlett

On 01/15/2018 11:38 AM, Sven Joachim wrote:

On 2018-01-15 01:32 -0600, Richard Owlett wrote:

[snip]
2. Is there a recommended HTML editor in the repository that"
A. simple UI
B. can render the code so I can tell if my changes display
   as intended?


There is bluefish, but it only supports previews via an external browser
(according to the package description, I have not used it myself).



Not for this project. But the manual hints it would useful for other 
things. Much reading ahead.


Thanks





Re: Secure email server setup

2018-01-15 Thread Henning Follmann
On Mon, Jan 15, 2018 at 01:58:08PM -0500, Greg Wooledge wrote:
> On Mon, Jan 15, 2018 at 01:51:30PM -0500, rhkra...@gmail.com wrote:
> > Does the SMTP server encrypt both between it and the "client" and between 
> > it 
> > and the other end destination / source?  
> 
> No, not always.  Plaintext SMTP is the default for transferring mail
> from one server to another.  Basically, you should just assume that
> anything you send in an email is readable by the entire world, unless
> you encrypt the actual message itself (PGP, GnuPG, etc.).
> 

But these days most use encryption S2S and most clients do too.
I log on my server if they use TLS or not and all the big ones definitely
do. However between each hop the mail is unencrypted. If it sits at gmail
for example google can read the mail. There are a few exception worth
mentioning: for example protonmail. If I understand this correctly they
use your public key (pgp) and any unencrypted mail will be encrypted before
stored.

-H


-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: Secure email server setup

2018-01-15 Thread Jonathan Sélea


On 2018-01-15 00:19, Brian wrote:
> On Sun 14 Jan 2018 at 16:43:53 -0500, rhkra...@gmail.com wrote:
>
>> On Sunday, January 14, 2018 02:26:03 PM Brian wrote:
>>> On Sun 14 Jan 2018 at 12:49:46 -0500, rhkra...@gmail.com wrote:
 On Sunday, January 14, 2018 10:36:40 AM J.W. Foster wrote:
> I am looking for a reliable step by step process for setting up an
> email server located on an existing website server. I have installed; 
> exim4 light, dovecot, Thunderbird, OpenSSL, and TLS security. I have
> tried following several bits of documentation regarding this with some
> success, but as with every time I try this, I open up my system to
> SPAM at a ridiculous rate. I want to eliminate that and get this mail
> server fully operational. I am seeking a well-documented approach that
> I can follow. I am using current Debian Stretch and the server is
> primarily a Mediawiki system where I NEED  mail available. Any tips
> are appreciated. Thanks!John
 Some clarification would help:
* Do youi really need an email server on this machine, or do you just
need

 the capability to send and receive email?  I guess I'm not familiar
 enough with Mediawiki--does it need an email server?

 In my (old) installations of TWiki, the ability to send and receive email
 was all I needed.
>>> If you did not use a mail server, you were not *receiving* email but,
>>> more than likely, *collecting* it.
>> Ok, but it worked and did what I needed to do.  And how many people would 
>> perceive a difference between receiving it and collecting it in casual usage 
>> of 
>> those words and in this context?
> Not many in this context, probably. But precision and the desire to
> educate has never been amongst the strong points of commentators on
> email. You would soon notice the difference if you had to collect
> your mail from a Royal Mail office instead of having it delivered.
> Apart from having to travel to collect it, "spam" control is handled
> differently in each case.

I would not recommend having a emailserver on the same server as a
website, because if the website is compromised the "hacker" can just use
the mail() function
to send emails in your name.
As other people already have said - do you really need emailserver of
this kind?
And why is Thunderbird installed on that particular machine?

/ Jonathan



signature.asc
Description: OpenPGP digital signature


Re: Problem using "dpkg -i"

2018-01-15 Thread deloptes
Richard Owlett wrote:

> I repeated
> dpkg -i /home/richard/Downloads/amaya_11.4.7-1_i386.deb
> followed by
> apt-get -f install
> with the same result ;


If this app depends on ssl 0.98, it might have been working on jessy or
wheezy - it is very likely that it will have some other missing features.

better would be to install the system it was working on in chroot and
provide those dependencies, or better get a newer working version of the
application with correct dependencies.

regards



Re: Secure email server setup

2018-01-15 Thread Greg Wooledge
On Mon, Jan 15, 2018 at 08:34:33PM +0100, Jonathan Sélea wrote:
> I would not recommend having a emailserver on the same server as a
> website, because if the website is compromised the "hacker" can just use
> the mail() function
> to send emails in your name.

This can be done regardless of whether the email server is physically
the same computer as the web server.  That separation (or lack thereof)
is not relevant.



Re: Secure email server setup

2018-01-15 Thread Henning Follmann
On Mon, Jan 15, 2018 at 08:34:33PM +0100, Jonathan Sélea wrote:
> 
> 
> On 2018-01-15 00:19, Brian wrote:
> > On Sun 14 Jan 2018 at 16:43:53 -0500, rhkra...@gmail.com wrote:
> >
> >> On Sunday, January 14, 2018 02:26:03 PM Brian wrote:
> >>> On Sun 14 Jan 2018 at 12:49:46 -0500, rhkra...@gmail.com wrote:
>  On Sunday, January 14, 2018 10:36:40 AM J.W. Foster wrote:
>
[...] 
> I would not recommend having a emailserver on the same server as a
> website, because if the website is compromised the "hacker" can just use
> the mail() function
> to send emails in your name.

so can she/he if the mailserver is on a different host. That doesn't make
any difference.


> As other people already have said - do you really need emailserver of
> this kind?

This however is a valid question. A full functional mailserver requires
effort and administrative knowledge to setup properly. And your question
already hints that the latter is no there yet.

> And why is Thunderbird installed on that particular machine?
> 
> / Jonathan
> 


-H

-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: Secure email server setup

2018-01-15 Thread Jonathan Sélea
>> I would not recommend having a emailserver on the same server as a
>> website, because if the website is compromised the "hacker" can just use
>> the mail() function
>> to send emails in your name.
> so can she/he if the mailserver is on a different host. That doesn't make
> any difference.
It would, because other mailservers would deny emails from that one
because it would fail authentication (SPF, DKIM, DMARC for example).







smime.p7s
Description: S/MIME Cryptographic Signature


Re: Acrobat Reader stops works

2018-01-15 Thread Kamil Jońca
deloptes  writes:

> Kamil Jońca wrote:
>
>> Carl Fink  writes:
>> 
>>> Another thought: according to the app database at winehq.org, it's
>>> possible to install the Windows version under Linux.
>> 
>> And I think, that would be only working solution.
>> But I am curious why its workink on my second computer :/
>> KJ
> usually you would run the binary from gdb and see where it fails
>
> most probably there is missing library or conflict
>
> As acroread is i386 application could be that you missed some i386 package
> needed - just compare what you have installed on your working machine

1. With strace I checked which libraries were open, then (with dpkg -S )
found packages - no differences on *.so files.
2. Moreover I copied  proper *.so files from "working"  to "non-working"
computer, to dedicatd directory, and with LD_LIBRARY_PATH forced to use
them - no success. 
Something strange must be with data (fonts? preferences? I don't know)

KJ



-- 
http://wolnelektury.pl/wesprzyj/teraz/
Never give an inch!



Re: Secure email server setup

2018-01-15 Thread Brian
On Mon 15 Jan 2018 at 13:51:30 -0500, rhkra...@gmail.com wrote:

> On Monday, January 15, 2018 12:53:20 PM Alessandro Vesely wrote:
> > On Mon 15/Jan/2018 16:23:54 +0100 rhkramer wrote:
> > > On Monday, January 15, 2018 04:39:17 AM Alessandro Vesely wrote:
> > >> Since most email messages are sent in cleartext, it is also worth to
> > >> note explicitly the difference in terms of privacy between receiving
> > >> and collecting.
> > > 
> > > I don't understand, can you (or someone) attempt to clarify / amplify?
> > 
> > Personal (non-list) email messages happen to contain confidential
> > information, from innocent shopping preferences to passwords.  Although it
> > is possible to use end-to-end encryption to safeguard confidentiality, the
> > vast majority of messages are sent in cleartext.  A good percentage[*] of
> > SMTP servers apply transport encryption (STARTTLS), so the chances that a
> > message is read in transit are low.  However, the chances that MX servers
> > can read cleartext messages is 100%, which hence is the rate of trust
> > users have to grant to their mailbox providers.  The amount of info that
> > can be extracted is directly proportional to their AI skills, while what
> > they do with it only depends on how much greedy they are.
> > 
> > Given this state of affairs, the absence of a clean method for setting up
> > an email server is particularly obnoxious, IMHO.
> 
> Thanks very much--that helps a lot, but due to my ignorance of email systems, 
> let me ask a followup:
> 
> Does the SMTP server encrypt both between it and the "client" and between it 
> and the other end destination / source?  

Use of TLS is explained here:

https://www.gov.uk/government/publications/email-security-standards/transport-layer-security-tls

Note "...in transit between computers..."

> (My understanding of SMTP may be faulty, but, AIUI, if your ISP is your SMTP 
> server, email is stored there (unless deleted) (so that you can access it 
> from 
> more than one of your computers.  Is it the transmittal between that server 

Your ISP is not *your* smtp server. You do not have an smtp server. You
have a collection facility from your ISP.

> and your computer(s) that is encrypted, or between that server and the source 
> / destination of the email, or both?

The second. The mail is encrypted by the sender and transmitted to the
receiver. You are not the receiver. All you do is collect it from the
receiver. While the receiver has it, anyone with access to their systems
can read it. I think this is the point Alessandro Vesely was making.
Greg Wooledge's point is a different one because it depends (partly) on
TLS not being used.

Analogy: you give a letter to a trusted friend with instructions to
deliver it directly to A, the intended recipient. 

You give a letter to a trusted friend with instructions to deliver it
directly to B, a convenient drop-off point for mail. A *collects* it
from B.

Both methods work. Which one is the more secure?

(Points are available for the correct answer :) ).

-- 
Brian.


> 



Re: Acrobat Reader stops works

2018-01-15 Thread deloptes
Kamil Jońca wrote:

> 1. With strace I checked which libraries were open, then (with dpkg -S )
> found packages - no differences on *.so files.
> 2. Moreover I copied  proper *.so files from "working"  to "non-working"
> computer, to dedicatd directory, and with LD_LIBRARY_PATH forced to use
> them - no success.
> Something strange must be with data (fonts? preferences? I don't know)

I just tried with what I had around Acroread 9.5.5 from 2013

I had to install

libxml2:i386  
libgdk-pixbuf2.0-0:i386
libgtk2.0-bin:i386

and then it worked.

I use stretch amd64

Are you on stretch ( I forgot already if you mentioned it) 

make backup sudo cp `which acroread` `which acroread`.bkp

sudo vi `which acroread`

and change LaunchBinary() to following

LaunchBinary()
{
#We are not LSB compliant yet, so let's not use ld-lsb.so.3 as loader.
#if [ "`uname -s`" = "Linux" ] && [ ! -x /lib/ld-lsb.so.3 ]; then
#exec /lib/ld-linux.so.2 ${1+"$@"}
#else
#exec ${1+"$@"}
ldd ${1+"$@"}
#fi
}

when run see what libraries are displayed and if all are there

repeat and compare with your working machine

when done revert backup sudo cp `which acroread`.bkp `which acroread` 





Re: Why the release-critical bugs status page has erroneous colors in the plots?

2018-01-15 Thread Hörmetjan Yiltiz
Wonderful, thanks Don! It is fixed now (actually been quite a while).

Best,
Hörmet

He who is worthy to receive his days and nights is worthy to receive all
else from you (and me).
 -- The Prophet, Gibran
Kahlil


On Sun, Dec 3, 2017 at 8:42 PM, Don Armstrong  wrote:

> On Fri, 01 Dec 2017, Hörmetjan Yiltiz wrote:
> > Thanks! I missed that email on that page. I think we can discuss this
> > in the community with them here (forwarding here to them).
>
> > On Fri, Dec 1, 2017 at 9:19 AM, Jonathan Dowland 
> wrote:
> > > On Thu, Nov 30, 2017 at 10:48:26PM -0500, Hörmetjan Yiltiz wrote:
> > >
> > >> However, I think we should be consistent in the text, text's color,
> and
> > >> the
> > >> graphs. The current set of colors doesn't look impressive as the
> blueish
> > >> green and cyan look quite close. Maybe we can do better [2]?
>
> The default colors for gnuplot changed, and bugscan[1] wasn't specifying
> them explicitely.
>
> As I'm not an expert on selecting color palettes, I've just specified
> the defaults of gnuplot explicitely, and I've indicate in the HTML the
> precise colors that are used[2].
>
> This should be updated the next time that bugscan is run (in the next
> few hours or so.)
>
> 1: https://git.donarmstrong.com/bugscan.git
> 2: https://git.donarmstrong.com/bugscan.git/d/e3a6541
>
> --
> Don Armstrong  https://www.donarmstrong.com
>
> [On a trip back from collecting grass seeds in tropical bird stomachs
> and being thought by the customs agents to be transporting Marijuana.]
> "Anyone so square as to tell you they are transporting grass seeds is
> bound to be OK"
>  -- Peter K. Klopfer _Seeds of Doubt_ Science 134:177 10 April 2009
>


Re: Secure email server setup

2018-01-15 Thread Brian
On Mon 15 Jan 2018 at 14:51:56 -0500, Henning Follmann wrote:

> On Mon, Jan 15, 2018 at 08:34:33PM +0100, Jonathan Sélea wrote:
> > 
> > As other people already have said - do you really need emailserver of
> > this kind?
> 
> This however is a valid question. A full functional mailserver requires
> effort and administrative knowledge to setup properly. And your question
> already hints that the latter is no there yet.

All things computer-related require effort and administrative knowledge
to setup properly if anything out of the ordinary is being done. "do you
really need emailserver of this kind" is an indication of something bad
in the state of email.

Don't do it your way or take advantage of what the net provides appears
to be the message. Your intentions are verging on the incompetent, or,
maybe, you are bucking the trend, just use Google like everyone else
is the message.

-- 
Brian.



Re: Secure email server setup

2018-01-15 Thread Brian
On Mon 15 Jan 2018 at 14:08:35 -0500, rhkra...@gmail.com wrote:

> On Monday, January 15, 2018 01:58:08 PM Greg Wooledge wrote:
> > On Mon, Jan 15, 2018 at 01:51:30PM -0500, rhkra...@gmail.com wrote:
> > > Does the SMTP server encrypt both between it and the "client" and between
> > > it and the other end destination / source?
> > 
> > No, not always.  Plaintext SMTP is the default for transferring mail
> > from one server to another.  Basically, you should just assume that
> > anything you send in an email is readable by the entire world, unless
> > you encrypt the actual message itself (PGP, GnuPG, etc.).
> 
> Ok, thanks.  I guess that's what I expected, and that it could almost more 
> accurately be phrased--"almost never, unless you encrypt the actual message".

You are confusing what the smtp delivery system can do with what *you*
can do before sending the mail. There is no connection between the two.

-- 
Brian.



Re: Secure email server setup

2018-01-15 Thread Henning Follmann
On Mon, Jan 15, 2018 at 08:42:34PM +, Brian wrote:
> On Mon 15 Jan 2018 at 14:51:56 -0500, Henning Follmann wrote:
> 
> > On Mon, Jan 15, 2018 at 08:34:33PM +0100, Jonathan Sélea wrote:
> > > 
> > > As other people already have said - do you really need emailserver of
> > > this kind?
> > 
> > This however is a valid question. A full functional mailserver requires
> > effort and administrative knowledge to setup properly. And your question
> > already hints that the latter is no there yet.
> 
> All things computer-related require effort and administrative knowledge
> to setup properly if anything out of the ordinary is being done. "do you
> really need emailserver of this kind" is an indication of something bad
> in the state of email.
> 
> Don't do it your way or take advantage of what the net provides appears
> to be the message. Your intentions are verging on the incompetent, or,
> maybe, you are bucking the trend, just use Google like everyone else
> is the message.
> 

Well,
honestly I always thought it is very beneficial to run your own mailserver.
But it is also one of the most difficult tasks to master. We have come a
long way from setting up a sendmail server with its unique M4 syntax, but
still you have to understand more than just setting up a smtp server. You
need to understand DNS, SSL, TLS. You have to master at least one form of
authentication method and avoid any possible relay desasters. 
Because all this is potentially hard to understand. This was my thought
behind my comment. I would like to encourage anybody to try and set this
up. However this will take some time before this should be practiced on an
openly connected server.

-H



-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: Printing problem

2018-01-15 Thread arne
On Mon, 15 Jan 2018 11:24:22 +
Brian  wrote:

> On Sun 14 Jan 2018 at 20:30:02 +0100, arne wrote:
> 
> > My printer suddenly didn't show up in the Print Windows
> > of Libre Office, Firefox and a lot of other programs.  
> 
> We hope "suddenly" means that one day you went to bed and when you
> woke up, printing from an application didn't work. No changes to the
> printing system or the OS on your part were underaken before, during
> or after the sleep process.
> 
> Please give a list of all the affected programs and the output of
> 
>  dpkg -l libreoffice*
> 
> How do you fare with okular or qpdfview? You are running under GNOME?
> 
> 

Hi

I forgot to mention: daily updated Debian Stretch on amd64 with
backports.

In okular the printer is visible, but not printing 
In qpdfview the printer is visible and prints!

In Firefox, Gimp and Geanny the printer does not appear

I do not run GNOME but fluxbox.

Output of dpkg -l libreoffice* below


Thanks!


# dpkg -l libreoffice*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/
Name  Version
Architecture Description
+++-=---==
ii  libreoffice   1:5.4.4-1~bpo9+1
amd64office productivity suite (metapackage) un
libreoffice-avmedia-backend   
   (no description available) ii
libreoffice-avmedia-backend-gstreamer 1:5.4.4-1~bpo9+1
amd64GStreamer backend for LibreOffice un
libreoffice-avmedia-backend-vlc   
   (no description available) ii
libreoffice-base  1:5.4.4-1~bpo9+1
amd64office productivity suite -- database ii
libreoffice-base-core 1:5.4.4-1~bpo9+1
amd64office productivity suite -- shared library ii
libreoffice-base-drivers  1:5.4.4-1~bpo9+1
amd64Database connectivity drivers for LibreOffice un
libreoffice-bundled   
   (no description available) ii
libreoffice-calc  1:5.4.4-1~bpo9+1
amd64office productivity suite -- spreadsheet ii
libreoffice-common1:5.4.4-1~bpo9+1
all  office productivity suite -- arch-independent files ii
libreoffice-core  1:5.4.4-1~bpo9+1
amd64office productivity suite -- arch-dependent files un
libreoffice-dev   
   (no description available) un
libreoffice-dev-doc   
   (no description available) ii
libreoffice-draw  1:5.4.4-1~bpo9+1
amd64office productivity suite -- drawing un
libreoffice-evolution 
   (no description available) un
libreoffice-filter-binfilter  
   (no description available) un
libreoffice-filter-mobiledev  
   (no description available) un
libreoffice-gnome 
   (no description available) un
libreoffice-grammarcheck  
   (no description available) un
libreoffice-grammarcheck-nl   
   (no description available) un
libreoffice-gtk2  
   (no description available) un
libreoffice-gtk3  
   (no description available) un
libreoffice-help  
   (no description available) un
libreoffice-help-5.2  
   (no description available) ii
libreoffice-help-en-us1:5.4.4-1~bpo9+1
all  office productivity suite -- English_american help ii
libreoffice-help-nl   1:5.4.4-1~bpo9+1
all  office productivity suite -- Dutch help ii
libreoffice-impress   1:5.4.4-1~bpo9+1
amd64office productivity suite -- presentation ii
libreoffice-java-common   1:5.4.4-1~bpo9+1
all  office productivity suite -- arch-independent Java support
files un  libreoffice-kde
  (no description available) un
libreoffice-l10n  
   (no description available) un
libreoffice-l10n-4.3  
   (no description available) un
libreoffice-l10n-4.4  
   (no description available) un
libreoffice-l10n-en-us
   (no description available) ii
libreoffice-l10n-nl   1:5.4.4-1~bpo9+1
all  office productivity suite -- Dutch language package ii
libreoffice-librelogo 1:5.4.4-1~bpo9+1
all  Logo-like progamming language for LibreOffice ii
libreoffice-math  1:5.4.4-1~bpo9+1
amd64office productivity suite -- equation editor un
libreoffice-mysql-connector   
   (no description available) ii
libreoffice-nlpsolver 0.9+LibO5.4.4-1~bpo9+1
all  "Solver for Nonlinear Programming" extension for
LibreOffice un  libreof

Re: Secure email server setup

2018-01-15 Thread Henning Follmann
On Mon, Jan 15, 2018 at 08:56:20PM +0100, Jonathan Sélea wrote:
> >> I would not recommend having a emailserver on the same server as a
> >> website, because if the website is compromised the "hacker" can just use
> >> the mail() function
> >> to send emails in your name.
> > so can she/he if the mailserver is on a different host. That doesn't make
> > any difference.
> It would, because other mailservers would deny emails from that one
> because it would fail authentication (SPF, DKIM, DMARC for example).
> 
Your webserver having a method to use a smarthost, using an external
mailserver can be abused when compromised. So no win here. Still exploited
once the attacker is on the system. It will just use the same smarthost
with the webservers credentials and the mailserver will happily relay the
spam. 

-H


> 
> 
> 
> 



-- 
Henning Follmann   | hfollm...@itcfollmann.com



[HS]_deloptes_(was https etc.)

2018-01-15 Thread sejobud33
[HS]_deloptes_
From: deloptes  debian-user@lists.debian.org
the subject is how to set up in https gpg & the source-list : it works of
course but not in 443.
it is not safe in http because the port:80 must be opened ; using https i
could close it ;)

So, it is a trick for closing the port:80 (i do not need it, i always
download & surf on https:443).

i open a new topic because you have a gmail adress.
* i do not answer to gmail/yahoo/gmx user.
(it should be prohibited but you could answer that it suits you & it is
safe to use of course & i should answer that you are heavily wrong)

sorry for this new [HS]topic (anyway i have no response and i do not
understand why my settings are not accepted : it does not run in 443 _ i
installed 9.3 few days ago_ and i do not understand what is wrong in my
settings/install).
Unsolved.



Re: [HS]_deloptes_(was https etc.)

2018-01-15 Thread deloptes
sejobu...@bitmessage.de wrote:

> From: deloptes  debian-user@lists.debian.org
> the subject is how to set up in https gpg & the source-list : it works of
> course but not in 443.
> it is not safe in http because the port:80 must be opened ; using https i
> could close it ;)
> 

which port must be open? - surely not on your end

> So, it is a trick for closing the port:80 (i do not need it, i always
> download & surf on https:443).
> 

you can not close what you don't own

> i open a new topic because you have a gmail adress.
> * i do not answer to gmail/yahoo/gmx user.
> (it should be prohibited but you could answer that it suits you & it is
> safe to use of course & i should answer that you are heavily wrong)
> 

what drugs are you taking?

> sorry for this new [HS]topic (anyway i have no response and i do not
> understand why my settings are not accepted : it does not run in 443 _ i
> installed 9.3 few days ago_ and i do not understand what is wrong in my
> settings/install).
> Unsolved.

when you solve it, let me know please

regards



Re: Problem using "dpkg -i"

2018-01-15 Thread Michael Lange
On Mon, 15 Jan 2018 20:36:59 +0100
deloptes  wrote:

> Richard Owlett wrote:
> 
> > I repeated
> > dpkg -i /home/richard/Downloads/amaya_11.4.7-1_i386.deb
> > followed by
> > apt-get -f install
> > with the same result ;
> 
> 
> If this app depends on ssl 0.98, it might have been working on jessy or
> wheezy - it is very likely that it will have some other missing
> features.
> 
> better would be to install the system it was working on in chroot and
> provide those dependencies, or better get a newer working version of the
> application with correct dependencies.

There is apparently no newer version available. And installing a new
system for one single app sounds like considerable effort. 

Oddly, so far as I have followed this thread, no one seems to consider the
possibility to try and compile the application from the sources. I
wonder if the debian developers should quit shipping the build system
when nobody wants to use it anyway ;-)

Best regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

It [being a Vulcan] means to adopt a philosophy, a way of life which is
logical and beneficial.  We cannot disregard that philosophy merely for
personal gain, no matter how important that gain might be.
-- Spock, "Journey to Babel", stardate 3842.4



Re: Printing problem

2018-01-15 Thread Brian
On Mon 15 Jan 2018 at 22:29:30 +0100, arne wrote:

> On Mon, 15 Jan 2018 11:24:22 +
> Brian  wrote:
> 
> > On Sun 14 Jan 2018 at 20:30:02 +0100, arne wrote:
> > 
> > > My printer suddenly didn't show up in the Print Windows
> > > of Libre Office, Firefox and a lot of other programs.  
> > 
> > We hope "suddenly" means that one day you went to bed and when you
> > woke up, printing from an application didn't work. No changes to the
> > printing system or the OS on your part were underaken before, during
> > or after the sleep process.
> > 
> > Please give a list of all the affected programs and the output of
> > 
> >  dpkg -l libreoffice*
> > 
> > How do you fare with okular or qpdfview? You are running under GNOME?
> > 
> > 
> 
> Hi
> 
> I forgot to mention: daily updated Debian Stretch on amd64 with
> backports.
> 
> In okular the printer is visible, but not printing 
> In qpdfview the printer is visible and prints!
> 
> In Firefox, Gimp and Geanny the printer does not appear
> 
> I do not run GNOME but fluxbox.
> 
> Output of dpkg -l libreoffice* below

Thanks,

When you say "printer" do you really mean "printers"?

Printers are visible in the dialogs of Qt apps (okular and qpdfview) but
not in those of GTK apps. So it seems like a GTK problem. (Except
libreoffice is not a GTK app). Do you have any /etc/gtk-x.0 or ~/.gtk-x.0
files? If so, what are their contents?

-- 
Brian.



Re: Printing problem SOLVED

2018-01-15 Thread arne
Hi,

It was a problem with rights.
I do not know how they were changed.
I could print as root, not as user.
Printing with qpdfview as root worked.
Firefox, Geany, Gimp I started as user, and I could not print with
those.

The solution for my printer with brother_lpdwrapper_HLL2340D was:

/usr/lib/cups/filter/brother_lpdwrapper_HLL2340D is a link to 
/opt/brother/Printers/HLL2340D/cupswrapper/brother_lpdwrapper_HLL2340D

Permissions (octal) should be:

100755

Owner name: root
Group name: root

Thanks!




On Mon, 15 Jan 2018 11:24:22 +
Brian  wrote:

> On Sun 14 Jan 2018 at 20:30:02 +0100, arne wrote:
> 
> > My printer suddenly didn't show up in the Print Windows
> > of Libre Office, Firefox and a lot of other programs.  
> 
> We hope "suddenly" means that one day you went to bed and when you
> woke up, printing from an application didn't work. No changes to the
> printing system or the OS on your part were underaken before, during
> or after the sleep process.
> 
> Please give a list of all the affected programs and the output of
> 
>  dpkg -l libreoffice*
> 
> How do you fare with okular or qpdfview? You are running under GNOME?
> 
> 



Re: Printing problem

2018-01-15 Thread arne
On Mon, 15 Jan 2018 23:20:52 +
Brian  wrote:

Hi,

I made a mistake, I still can not print from office, issue also not
completely solved.
I can print as user now with gimp, geany, firefox.
Not with okular (as root yes), libreoffice writer (as root yes).

Also another rights problem I guess.


Below my /et/gtk* 


On Mon, 15 Jan 2018 23:20:52 +
Brian  wrote:
> On Mon 15 Jan 2018 at 22:29:30 +0100, arne wrote:
> 
> > On Mon, 15 Jan 2018 11:24:22 +
> > Brian  wrote:
> >   
> > > On Sun 14 Jan 2018 at 20:30:02 +0100, arne wrote:
> > >   
> > > > My printer suddenly didn't show up in the Print Windows
> > > > of Libre Office, Firefox and a lot of other programs.
> > > 
> > > We hope "suddenly" means that one day you went to bed and when you
> > > woke up, printing from an application didn't work. No changes to
> > > the printing system or the OS on your part were underaken before,
> > > during or after the sleep process.
> > > 
> > > Please give a list of all the affected programs and the output of
> > > 
> > >  dpkg -l libreoffice*
> > > 
> > > How do you fare with okular or qpdfview? You are running under
> > > GNOME?
> > > 
> > >   
> > 
> > Hi
> > 
> > I forgot to mention: daily updated Debian Stretch on amd64 with
> > backports.
> > 
> > In okular the printer is visible, but not printing 
> > In qpdfview the printer is visible and prints!
> > 
> > In Firefox, Gimp and Geanny the printer does not appear
> > 
> > I do not run GNOME but fluxbox.
> > 
> > Output of dpkg -l libreoffice* below  
> 
> Thanks,
> 
> When you say "printer" do you really mean "printers"?
> 
> Printers are visible in the dialogs of Qt apps (okular and qpdfview)
> but not in those of GTK apps. So it seems like a GTK problem. (Except
> libreoffice is not a GTK app). Do you have any /etc/gtk-x.0 or
> ~/.gtk-x.0 files? If so, what are their contents?




/etc/gtk-2.0/im-multipress.conf
# Example configuration file for the GTK+
Multipress Input Method # Authored by Openismus GmbH, 2009.
#
# This file follows the GKeyFile format.  On the left of the equal sign
goes # the key that you press repeatedly to iterate through the text
items listed # on the right-hand side.  The list items are separated by
semicolons ";" and # consist of one or more characters each.  The
backslash "\" is used to escape # characters; for instance "\;" for a
literal semicolon. #
# The example configuration below imitates the behavior of a standard
mobile # phone by a major manufacturer, with German language setting.
[keys]
KP_1 = .;,;?;!;';";1;-;(;);@;/;:;_
KP_2 = a;b;c;2;ä;à;á;ã;â;å;æ;ç
KP_3 = d;e;f;3;è;é;ë;ê;ð
KP_4 = g;h;i;4;ì;í;î;ï
KP_5 = j;k;l;5;£
KP_6 = m;n;o;6;ö;ò;ó;ô;õ;ø;ñ
KP_7 = p;q;r;s;7;ß;$
KP_8 = t;u;v;8;ü;ù;ú;û
KP_9 = w;x;y;z;9;ý;þ
KP_0 = \s;0



/etc/gtk-3.0/im-multipress.conf
# Example configuration file for the GTK+
Multipress Input Method # Authored by Openismus GmbH, 2009.
#
# This file follows the GKeyFile format.  On the left of the equal sign
goes # the key that you press repeatedly to iterate through the text
items listed # on the right-hand side.  The list items are separated by
semicolons ";" and # consist of one or more characters each.  The
backslash "\" is used to escape # characters; for instance "\;" for a
literal semicolon. #
# The example configuration below imitates the behavior of a standard
mobile # phone by a major manufacturer, with German language setting.
[keys]
KP_1 = .;,;?;!;';";1;-;(;);@;/;:;_
KP_2 = a;b;c;2;ä;à;á;ã;â;å;æ;ç
KP_3 = d;e;f;3;è;é;ë;ê;ð
KP_4 = g;h;i;4;ì;í;î;ï
KP_5 = j;k;l;5;£
KP_6 = m;n;o;6;ö;ò;ó;ô;õ;ø;ñ
KP_7 = p;q;r;s;7;ß;$
KP_8 = t;u;v;8;ü;ù;ú;û
KP_9 = w;x;y;z;9;ý;þ
KP_0 = \s;0


 



To many repos??? No Public Key's!!

2018-01-15 Thread Josh W.
So I posted about either having a faulty .iso and non-public keys. I've
looked around in my /etc/apt/sources.list file. Maybe i have to many repos
or just not the right ones... I have tried netselect on a bunch but not
really getting any where. Here is the output of my sources.list file as of
now. I commented out the Oracle VM repo, the "Also a Secondary" repo, and
also the first repo under the cdrom repo... When i tried the netselect it
gave me ip address's that didn't go anywhere. Not sure on what to do
next... Can somebody point me in the right direction.
#

# deb cdrom:[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1
20171013-13:09]/ stretch contrib main

#deb cdrom:[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1
20171013-13:09]/ stretch contrib main

# deb http://deb.debian.org/debian/ stretch main non-free contrib
# deb-src http://deb.debian.org/debian/ stretch main non-free contrib

deb http://security.debian.org/debian-security stretch/updates main contrib
non-free
deb-src http://security.debian.org/debian-security stretch/updates main
contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian/ stretch-updates main contrib non-free

# Primary mirror site for debian stretch
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian stretch main contrib non-free

# Secondary mirror site for debian stretch
deb http://mirrors.linux.iu.edu/linux/debian/ stretch main contrib non-free
deb-src http://mirrors.linux.iu.edu/linux/debian/ stretch main contrib
non-free

# This is a repo for Oracle VM
# deb http://download.virtualbox.org/virtualbox/debian stretch main contrib
non-free
# deb-src http://download.virtualbox.org/virtualbox/debian stretch contrib

# Also a Secondary mirror site for debian stretch
# deb http://debian-archive.trafficmanager.net/debian stretch main contrib
non-free
# deb-src http://debian-archive.trafficmanager.net/debian stretch main
contrib non-free


Joshua 


Re: history issue - bug?

2018-01-15 Thread davidson

On Sun, 14 Jan 2018, Hans wrote:


Am Sonntag, 14. Januar 2018, 08:41:21 CET schrieb David Wright:
Hi David,

thanks for enlightening me. I always though, that "history -c" would
clear all the history and its files as the help file says:

-cclear the history list by deleting all of the entries

So IMO this should delete all related history files, even
bash_history.


"Even" bash_history? Besides .bash_history, what other files did you
have in mind?

If "history -c" deleted any file at all, the documentation would need
to be changed to reflect that fact. At present, the documentation is
accurate.

A list has entries, and if you delete all the entries, that means you
now have an empty list. It certainly does NOT mean that you have
thereby nuked any and all files to which (the at-most $HISTSIZE length
tails of) previous iterations of that list have been saved.

I suspect that you must be distressed to discover a workflow you had
relied on does not in fact accomplish what you had long thought it
accomplished, because you had conceptually conflated two distinct
entities:

 * your shell *session's* command history *list*

versus

 * your *account's* command history *file*.

Speaking from repeated experience, it does indeed suck to learn that
your beliefs about a trusted tool's behavior have been mistaken for a
long time.

If this is the case, you have my condolences.

But you also have my congratulations, and perhaps you will agree that
finding out you were wrong is still far better than the alternative,
which is to remain forever blissfully mistaken.


And as far as I remember, this did it do in former times.

In my eyes this is a security hole, as someone, who gaines root
somehow (what already is bad eneough) might get more informations of
commands, root did in the past.


You'd like to do without the convenience of a persistent command
history file for root shells.

Since it is your concern to ensure that you don't leave behind shell
command history in a history file:

 1. Did you see Felipe Salvador's suggested addition (elsewhere in
this thread) to your original workflow? Looked pretty slick to me.

 2. The shell variables HISTFILE and HISTFILESIZE are documented in
the bash man page. Set HISTFILESIZE to 0, or unset HISTFILE.
(Since for bash login shells my /root/.profile sources ~/.bashrc,
my understanding is that it would suffice in my case to set/unset
these in /root/.bashrc to the appropriate value.)

If you know you won't want persistent command history on a given
account, this seems a reasonably reliable way to arrange that you
don't get one.

 3. Also in the bash man page is documentation of the shell variables
HISTIGNORE and HISTCONTROL.

 * HISTIGNORE is a colon-separated list of patterns that match
   commands you wish to omit from the history list altogether.

 * HISTCONTROL is a colon-separated list. If one of its elements
   is 'ignorespace', then any command line that begins with a
   space will be omitted from the history list.

NB: Subsequent lines after the first line, of a multi-line
command, are stored in the history list regardless of HISTIGNORE
and HISTCONTROL.

 4. If I remember correctly mksh, the MirBSD Korn shell, by default
writes to no command history file at all, even for a regular user
account. (Though this can of course be configured to suit user
preference.)  Maybe its design would please you better than bash
in other ways, as well.


As I said, history -c should delete ALL traces of history, just as
the help files tells, shouldn't it?


Just FYI, the documentation on bash builtins you get from "help
[builtin]" is intentionally terse, and provides far less contextual
information, than the information available in the bash man page.


As you confirmed, it does not and you also confirmed, that this is
normal behaviour.

In this case, I recommend this as a failure-by-design.

Again, thanks for your clearence, I will file a bug report.


Of course you will do what seems best to you.

But it seems to me that studying the bash man page, to see what else
you might have wrongly assumed, might make better use of your time.

I base this advice this on two rules of thumb:

 1. Better sooner than later.

 2. The bash man page is dense with useful information.

Good luck with your stuff.

--

"We’re not arguing for censorship, we’re arguing just take it off the
page, put it somewhere else." -- Eric Schmidt

Bug Report

2018-01-15 Thread James Vibber
http://ftp.debian.org/debian/ buster/main zsh-common all 5.4.2-3 [3529 kB]
Fetched 11.7 MB in 13s (846 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
cat: /sys/bus/usb/devices/*:*/bInterfaceClass: No such file or directory
cat: /sys/bus/usb/devices/*:*/bInterfaceSubClass: No such file or directory
cat: /sys/bus/usb/devices/*:*/bInterfaceProtocol: No such file or directory
(Reading database ... 146452 files and directories currently installed.)
Preparing to unpack .../libc6_2.26-2_armhf.deb ...
Checking for services that may need to be restarted...
Checking init scripts...
Failed to read /proc/cmdline. Ignoring: Permission denied
Unpacking libc6:armhf (2.26-2) over (2.19-18+deb8u10) ...
dpkg: warning: subprocess old post-removal script was killed by signal
(Segmentation fault)
dpkg: trying script from the new package instead ...
dpkg: error processing archive /var/cache/apt/archives/libc6_2.26-2_armhf.deb
(--unpack):
subprocess new post-removal script was killed by signal (Segmentation fault)
dpkg: error while cleaning up:
subprocess installed pre-installation script was killed by signal
(Segmentation fault)
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Error connecting: Could not connect: Connection refused
E: Sub-process /usr/bin/dpkg return


Fwd: Bug Report

2018-01-15 Thread James Vibber
-- Forwarded message --
From: "James Vibber" 
Date: Jan 15, 2018 10:54 PM
Subject: Bug Report
To: 
Cc:


WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  apt libapt-pkg4.12 (due to apt) libc6 (due to apt) libgcc1 (due to apt)
libstdc++6 (due to apt) gnupg (due to apt) base-passwd libdebconfclient0
(due to base-passwd) bash debianutils (due to bash) dash (due to
  bash) libncurses5 (due to bash) libtinfo5 (due to bash) bsdutils
libsystemd0 (due to bsdutils) coreutils libacl1 (due to coreutils) libattr1
(due to coreutils) libselinux1 (due to coreutils) dpkg (due to dash)
  diffutils libbz2-1.0 (due to dpkg) liblzma5 (due to dpkg) zlib1g (due to
dpkg) tar (due to dpkg) e2fsprogs e2fslibs (due to e2fsprogs) libblkid1
(due to e2fsprogs) libcomerr2 (due to e2fsprogs) libss2 (due to
  e2fsprogs) libuuid1 (due to e2fsprogs) util-linux (due to e2fsprogs)
findutils grep libpcre3 (due to grep) gzip hostname init systemd-sysv (due
to init) init-system-helpers perl-base (due to
  init-system-helpers) libc-bin login libaudit1 (due to login) libpam0g
(due to login) libpam-runtime (due to login) libpam-modules (due to login)
mount libmount1 (due to mount) libsmartcols1 (due to mount)
  ncurses-bin sed sysvinit-utils startpar (due to sysvinit-utils)
initscripts (due to util-linux) tzdata (due to util-linux) libslang2 (due
to util-linux)
43 upgraded, 33 newly installed, 1458 to remove and 172 not upgraded.
4 not fully installed or removed.
Need to get 29.6 MB/41.1 MB of archives.
After this operation, 2407 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] yes,do as I say!
Abort.
root@loc


Fwd: Bug Report

2018-01-15 Thread James Vibber
-- Forwarded message --
From: "James Vibber" 
Date: Jan 15, 2018 10:52 PM
Subject: Bug Report
To: 
Cc:

kage binutils-arm-linux-gnueabihf is not configured yet.

dpkg: error processing package binutils (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:armhf
libbinutils:armhf
binutils-arm-linux-gnueabihf
binutils
Error connecting: Could not connect: Connection refused
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:/#


Re: Bug Report

2018-01-15 Thread David Wright
On Mon 15 Jan 2018 at 23:27:30 (-0500), James Vibber wrote:
> http://ftp.debian.org/debian/ buster/main zsh-common all 5.4.2-3 [3529 kB]
> Fetched 11.7 MB in 13s (846 kB/s)
> Extracting templates from packages: 100%
> Preconfiguring packages ...
> cat: /sys/bus/usb/devices/*:*/bInterfaceClass: No such file or directory
> cat: /sys/bus/usb/devices/*:*/bInterfaceSubClass: No such file or directory
> cat: /sys/bus/usb/devices/*:*/bInterfaceProtocol: No such file or directory
> (Reading database ... 146452 files and directories currently installed.)
> Preparing to unpack .../libc6_2.26-2_armhf.deb ...
> Checking for services that may need to be restarted...
> Checking init scripts...
> Failed to read /proc/cmdline. Ignoring: Permission denied
> Unpacking libc6:armhf (2.26-2) over (2.19-18+deb8u10) ...

Would it be better to upgrade jessie→stretch before stretch→buster?

> dpkg: warning: subprocess old post-removal script was killed by signal
> (Segmentation fault)
> dpkg: trying script from the new package instead ...
> dpkg: error processing archive /var/cache/apt/archives/libc6_2.26-2_armhf.deb
> (--unpack):
> subprocess new post-removal script was killed by signal (Segmentation fault)
> dpkg: error while cleaning up:
> subprocess installed pre-installation script was killed by signal
> (Segmentation fault)
> Processing triggers for libc-bin (2.19-18+deb8u10) ...
> Error connecting: Could not connect: Connection refused
> E: Sub-process /usr/bin/dpkg return

Cheers,
David.



Re: [HS]_deloptes_(was https etc.)

2018-01-15 Thread Richard Hector
On 16/01/18 10:53, sejobu...@bitmessage.de wrote:
> i open a new topic because you have a gmail adress.
> * i do not answer to gmail/yahoo/gmx user.
> (it should be prohibited but you could answer that it suits you & it is
> safe to use of course & i should answer that you are heavily wrong)

Prohibited seems going a bit far ... I'm no fan of gmail or google, but
how does it serve you to refuse to communicate with a gmail user,
especially via a public list?

And why should one trust bitmessage.de either? Their whois info seems to
be thoroughly invalid for starters.

Richard



signature.asc
Description: OpenPGP digital signature


Re: Problem using "dpkg -i"

2018-01-15 Thread Jimmy Johnson

On 01/15/2018 01:17 AM, Richard Owlett wrote:

On 01/15/2018 02:25 AM, Bernd Gruber wrote:

Richard Owlett wrote:


Received error message:
dpkg: dependency problems prevent configuration of amaya:
   amaya depends on libssl0.9.8 (>= 0.9.8m-1); however:
    Package libssl0.9.8 is not installed.


try apt-get -f install

Bernd


I had already tried "fix broken" option in Synaptic.
All it did was remove all pieces of Amaya.

I repeated
dpkg -i /home/richard/Downloads/amaya_11.4.7-1_i386.deb
followed by
apt-get -f install
with the same result ;<


Instead of using apt, next time use aptitude -f install, reason is if 
aptitude can not fix the problem it will give you a clue as what you can 
do.  Also if you apt install and run 'upgrade-system' upgrade-system 
will tell what to do, and clean your system too.


Also there is a GUI package that installs downloaded packages called 
'gdebi', 'apt install gdebi' and right click on the package you want to 
install, choose other, check the box to remember so you don't have to do 
this again and choose '/usr/bin/gdebi-gtk' and install your package, the 
next time just click on the package you want to install.


There is a gdebi-kde version but never seems to work.

Cheers,
--
Jimmy Johnson

Debian Buster - KDE Plasma 5.10.5 - AMD A8-7600 - EXT4 at sda7
Registered Linux User #380263



Re: Problem using "dpkg -i"

2018-01-15 Thread deloptes
Michael Lange wrote:

> Oddly, so far as I have followed this thread, no one seems to consider the
> possibility to try and compile the application from the sources. I
> wonder if the debian developers should quit shipping the build system
> when nobody wants to use it anyway ;-)

well this was going to be my next suggestion as people are not familiar with
building code, however it is also possible that build fails because code
must be adapted to newer version of libraries.

Installing debian for chroot is not trivial job with debootstrap and for a
user a better way (IMO)

regards



Re: Problem using "dpkg -i"

2018-01-15 Thread deloptes
Jimmy Johnson wrote:

> Instead of using apt, next time use aptitude -f install, reason is if
> aptitude can not fix the problem it will give you a clue as what you can
> do.  Also if you apt install and run 'upgrade-system' upgrade-system
> will tell what to do, and clean your system too.

I thought aptitude was obsolated - never used it, but I think there was a
thread on the list about