Re: Curiosidade

2019-09-30 Thread Helio Loureiro
Privacidade é uma ilusão.

Desde a época do business intelligence, do pentaho, já era possível saber
se teria filho, se tinha doença ou mesmo se ia divorciar.  Com 6 meses de
antecedência.

E isso era em 2005-2006.

./helio

On Mon, Sep 30, 2019, 23:03 Paulo Correia  wrote:

> Hélio,
>
> A monitoração do cartão existe desde que fizeram as transações on-line
> (via maquininha).
> Vi num filme a muito tempo que ocorreu um sequestro e o sequestrador
> estava com a vítima usando o cartão e as transações ainda não eram on-line.
> E o FBI sempre ficava um passo a traz do sequestrador, mas conseguiu
> soltar a vítima e prender o sequestrador.
> Mas o FBI solicitou as empresas de cartão uma forma de saber onde o cartão
> está sendo usado naquele segundo e a solução foi o on-line.
> Aí a nossa privacidade foi pro beleleu, junto, rsss
>
> Att,
>
> Paulo Correia
>
>
> Linkedin: www.linkedin.com/in/correiatec
>
> GitHub: https://github.com/paulo-correia
>
> --
> *De:* Helio Loureiro 
> *Enviado:* segunda-feira, 30 de setembro de 2019 16:25
> *Para:* Guimarães Faria Corcete DUTRA, Leandro 
> *Cc:* Paulo Correia ; Debian User Portuguese <
> debian-user-portuguese@lists.debian.org>
> *Assunto:* Re: Curiosidade
>
> Interessante as sugestões.   E como fazem com a monitoração do cartão de
> crédito, cartão de banco, fidelidade de supermercado, de farmácia, etc?
>
> Ou acham que isso só existe na web e fora dela o mundo é lindo perfeito?
>
> Abs,
> Helio
>
> On Mon, Sep 30, 2019, 13:42 Leandro Guimarães Faria Corcete DUTRA <
> l...@dutras.org> wrote:
>
> Le dimanche 29 septembre 2019 à 12:36 +, Paulo Correia a écrit :
> > Não querendo fazer propaganda, mas o brave browser tem várias coisas
> > para melhorar sua privacidade.
>
> E várias para piorar:
>
> https://pt.wikipedia.org/wiki/Brave_(navegador)#Recepção_da_crítica
>
> Melhor evitar e ficar no Iridium ou Firefox com extensões como μBlock
> ou μMatrix.
>
>
>
> --
> +55 (61) 3546 7191  gTalk: xmpp:leand...@jabber.org
> +55 (61) 99302 2691   http://en.dutras.org/
> BRAZIL GMT−3
> https://useplaintext.email/#why-plaintext
>
>


Re: Authentication for telnet.

2019-09-30 Thread peter
From: Reco 
Date: Sat, 28 Sep 2019 19:23:45 +0300
> telnetd(8), "-a" and "-L" parameters.

OK.
peter@joule:~$ grep telnet /etc/inetd.conf
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd -a user
# Restart inetd.

Then the result from telnet to localhost is in this little screenshot.
http://easthope.ca/TelnetScreenshot.jpg 

So in Debian 10 the manual for telnetd mentions -a but the screenshot 
suggests it is deprecated.

The -L parameter might work; if I can find a suitable null procedure.  Eg. 
grep telnet /etc/inetd.conf
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd -L /bin/null

This null is ficticious of course.  Concrete ideas welcome.

Thanks,   ... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
Tel: +1 604 670 0140Bcc: peter at easthope. ca



(solved) Re: Debian 10 freezes upon shutdown, reboot and logout

2019-09-30 Thread Beco
Short answer:

# apt-get install nvidia-detect

and then you install the driver it recommends after detection.

That is it.



alternative version:

the driver nouveau is broken (for my system). It not only hangs the system
during the tasks on the subject of this email, but also during init 1, init
3, a simple alt+f1 to get a tty, etc. And sometimes doing nothing, just
using the computer (say, gimp, editing an image).

To test without the necessity to change the system and risk a "blank
screen", I went in the BIOS and disabled the nvidia graphic card, letting
only the intel_integrated card running.

The system booted flawlessly, with no nouveau driver. Worked just fine.
Then I just installed nvidia proprietary on top of it, getting nouveau
automatically removed in the process.

A few boots, reboots, shutdowns and logouts after, just to be sure, and
voilà! The system is perfect.

Cheers,

Beco



On Mon, 30 Sep 2019 at 00:31, Beco  wrote:

> Some updates on testing I'm doing:
>
> $ init 1
> also hangs
>
> Booting from grub using init 3 gave me a single chance to reboot without
> hanging, other variables being acpi=off. But somehow I was not able to
> reproduce the behaviour.
>
> Messages appearing on screen when init 3 was running, or in kernel.log:
>
> ---
> TTM Buffer eviction failed
> nouveau DRM failed idle channel 0
> ---
>
>
> Now the messages below appear while the shutting down (or rebooting) is
> running its course, so I have no terminal at hand. Just the notifications
> scrolling:
> (I took a picture with a mobile and wrote them by hand. Forgive any typos
> or abbreviations)
>
> after init 1 or reboot or shutdown actually
>
> INFO: rcu_sched detected stalls on CPUs/tasks:
> rcu: $3-...0: (0 ticks this GP) idle=51a/1/0x4
> rcu: $(detected by 6, t=5252 jiffies, g...)
> NMI watchdog: Watchdog detected hard LOCKUP on cpu 3
> INFO: rcu_sched detected expedited stalls on CPUs/tasks:
> rcu: blocking rcu_node structures:
> watchdog: BUG: soft lockup - CPU#5 stuck for 23s! [systemd:1]
> ...
> repeats in an endless loop
> ...
>
> INFO: task irq/87-ELANO611:556 blocked for more than 120 seconds
> Tainted: GWOEL4.19.0-6-amd64 #1 Debian 4.19.67-2+deb10u1
> echo 0 > /proc/sys/kernel/hung_task_timeout_secs disables this message
> ...
> repeats for other tasks (haveged, systemd-logind, wpa_supplicant,
> dhclient, QQm1Thread, GlobalQueue, gdbus, ...)
> ...
>
>
>
> i2c_transfer+0x51...
> elan_i2c_get_report+0x1c...
> ? __switch_to+0x8c/0x440...
> elan_isr+0x4b...
> ? __schedule+0x2aa...
> ? __wake_up_common_lock+...
> ? irq_finalize_oneshot
> irq_thread_fn+0x1f...
> kthread+0x112
> ret_from_fork+...
> watchdog: BUG: soft lockup...
> Modules linked in: ufs qnx4 hfsplus hfs minix vfat msdos fat jfs xfs
> dm_mod pc sst_ssp snd_hda_ext_core snd_soc_acpi_intel_match
> x86_pkg_temp_thermal btbcm irqbypass videobuf2_vmalloc btintel ideapad_l...
> pcspkr xor btrfs ecb zstd_decompre... xtables autofs4 media pcc_cpufreq...
> CPU: 5 PID:: 1 Comm: systemd Tainted: G
> Hardware name: LENOVO 81G3/LNVNB161216, BIOS 6JCN23WW 01/23/2018
> RIP: 0010:smp_call_function_many+0x1f8/0x250
> Code: c7 e8 6c 3f 5f 00...
> RAX: 0003 RBX: 9e RCX: fff...
> RDX: 0001 RSI:  RDI: fff9e...
> RBP:  R08:  R09:
> R10:...  R11:... R12:...
> R13:... R14: R15:...
> FS:... GS:... knlGS:...
> CS: ... DS: ... ES: ... CRO:
> CR2:  CR3:... CR4:
> Call Trace:
> ? tcp_v6_pre_connect...
> ? add_nops...
> on_each_cpu...
> text_poke_bp
> __jump_label_transform...
> arch_jump_label...
> __jump_label_update...
> __static_key_slow_dec_cpu...
> __cgroup_bpf_detach...
> __cgroup_bpf_prog_detach...
> __x64_sys_bpf...
> do_syscall_64+0x53/0x110
> entry_SYSCALL_64_after_hwframe+0x44/0xa9
> RIP: 0033:
> ...
> repeat, different memory dump
> ...
> Task dump for CPU 3:
> Xorg R running task
> Call Trace:
> ? nvif_object_fini...
> ?nouveaus_vmm_fini
> ?nouveau_cli_fini
> ?nouveau_drm_postcl...
> ?drm_file_free.part
> ?drm_release+...
> ?__fput
> ?task_work_run...
> ?do_exit
> ?handle_mm_fault
> ?do_group_exit
> ?__x64_sys_exit_group...
> do_syscall_64+0x53/0x110
> entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
>
> --
>
>
> I would prefer to read that on logs instead of a mobile picture... Not
> sure yet what logs to look (or maybe turn on)
>
> dmesg shows only the starting process, not the hanging avenue when trying
> to shutdown.
>
> Thanks for any help or tip.
>
> Att.,
> Beco
>
>
>
>
>
>
> On Sun, 29 Sep 2019 at 21:27, Beco  wrote:
>
>>
>> Hi,
>>
>> I'm currently having issues with a LENOVO ideapad320.
>>
>> Using Stretch was smooth. But this weekend I've updated to Buster and I'm
>> having trouble to shutdown the system.
>> Rebooting also freezes.
>>
>> Watchdog says the CPU number #something is 22 seconds froze.
>>
>> I usually don't use "logout" since it is my personal laptop and I only
>> uses KDE, but I've decided to give i3wm a try and because of that 

Re: RStudio in Buster

2019-09-30 Thread Reco
Hi.

On Mon, Sep 30, 2019 at 11:45:41PM +0100, Mark Fletcher wrote:
> On Mon, Sep 30, 2019 at 09:28:05AM +0300, Reco wrote:
> > On Sun, Sep 29, 2019 at 10:34:17PM +0100, Mark Fletcher wrote:
> > > The most recent package they provide is aiming at Stretch -- they don't 
> > > seem to have produced a Buster version yet.
> > 
> > It says otherwise here [1]:
> > 
> > Studio 1.2.5001 - Ubuntu 18/Debian 10 (64-bit)
> > 
> > and here [2]:
> > 
> > Supported branches:
> > Debian buster (stable)
> 
> OK it seems they think they've made a buster compatible version, but 
> they evidently didn't test it very well, since the fact remains the 
> program refuses to run without libssl1.0.2, which renders it unable to 
> work in pure buster.

Installed this package along with r-base-core.
Launched /usr/lib/rstudio/bin/rstudio.
Successfully run demo().

Stock buster 10.1, without libssl1.0.0 or libssl1.0.2.

In short, seems to work for me.

Reco



CompTIA Linux+ XK0-004 Cert Guide

2019-09-30 Thread Eriel Perez
Hola amigos.

Alguien tendrá documentación relacionada con 

CompTIA Linux+ XK0-004 Cert Guide


Se agradece cualquier documentación.

Gracias.!

CompTIA Linux+ XK0-004 Cert Guide

2019-09-30 Thread Eriel Perez
Hola amigos.

Alguien tendrá documentación relacionada con 

CompTIA Linux+ XK0-004 Cert Guide


Se agradece cualquier documentación.

Gracias.!

Re: Hard disks auto-spinning-down

2019-09-30 Thread Mark Fletcher
On Mon, Sep 30, 2019 at 01:41:37AM -0700, B wrote:
> 
> 
> On 9/29/19 4:30 AM, Mark Fletcher wrote:
> > Any thoughts on where I might look to find settings that can be tweaked
> > to make it spin down when idle?
> 
> 
> See sdparm and hdparm tools. hdparm is probably the wrong tool because it's
> for internal drives connected to IDE/ATA/SATA busses. The reason sdparm
> works for USB drives is because of SCSI-over-USB emulation. See man page for
> more info.
> 
> The best way to do it is with a udev rule that will run some commands when
> the USB device gets plugged in. Otherwise the device resets it's config each
> time you plug it in.
> 

Thanks a lot for the suggestions and the details. I will try this later. 
Much appreciated.

Do you (or anyone else) have any thoughts on why this is necessary in 
Buster but wasn't in Stretch? Or is it more likely to be that the new 
cage isn't triggering a udev rule the old one was or something?

Thanks again for your help

Mark



Nettoyage du spam : septembre 2019

2019-09-30 Thread Jean-Pierre Giraud
Bonjour,
Comme nous sommes en octobre, il est désormais possible de
traiter les archives du mois de septembre 2019 des listes francophones.

N'oubliez bien sûr pas d'ajouter votre nom à la liste des relecteurs
pour que nous sachions où nous en sommes.

Détails du processus de nettoyage du spam sur :

https://wiki.debian.org/I18n/FrenchSpamClean




Re: RStudio in Buster

2019-09-30 Thread Mark Fletcher
On Mon, Sep 30, 2019 at 09:28:05AM +0300, Reco wrote:
>   Hi.
> 
> On Sun, Sep 29, 2019 at 10:34:17PM +0100, Mark Fletcher wrote:
> > The most recent package they provide is aiming at Stretch -- they don't 
> > seem to have produced a Buster version yet.
> 
> It says otherwise here [1]:
> 
> Studio 1.2.5001 - Ubuntu 18/Debian 10 (64-bit)
> 
> and here [2]:
> 
> Supported branches:
>   Debian buster (stable)
> 

OK it seems they think they've made a buster compatible version, but 
they evidently didn't test it very well, since the fact remains the 
program refuses to run without libssl1.0.2, which renders it unable to 
work in pure buster.


> > The Stretch-facing package installs into Buster without error, but then 
> > fails when you try to launch it because it has a dependency on 
> > libssl1.0.2 and Buster uses libssl1.1 (and presumably this dependency 
> > isn't recorded at the package level)
> 
> Again, dpkg disagrees with you:
> 
> $ dpkg -I /tmp/rstudio-1.2.5001-amd64.deb  | grep Dep
>  Depends: libedit2, libssl1.0.0 | libssl1.0.2 | libssl1.1, libclang-dev, 
> libxkbcommon-x11-0,  libc6 (>= 2.7)

Nope, that is perfect agreement with me, not disagreement. The package 
says it needs libssl1.0.0 OR libssl1.0.2 OR libssl1.1, which allows 
buster to install it without dependency problems, using libssl1.1 to 
fulfil the dependency, but then as I said the program refuses to run if 
libssl1.0.2 is not installed, even if libssl1.1 is present. So that 
dependency info in the package is incorrect. The app actually stops with 
an error message on launch saying words to the effect of "I couldn't 
find libssl1.0.2". It then tries, presumably as a fallback, to find a 
particular version of libcrypto (I forget what version precisely) and in 
buster fails at that too. Installing libssl1.0.2 resolves the problem 
and lets the app start.

> I suggest you to update your RStudio package and to forget about
> libssl1.0.

The version I downloaded is 1.2.5001, which is the latest version for 
Debian and is the version you were looking at too. As we've established 
here, the package's dependency info and the real world dependencies of 
the application are not in synch, making it APPEAR like it should work 
in buster but it does not actually work in buster. When I googled this 
problem the only solution I found was from someone else who felt, like 
me, that while installing libssl1.0.2 works, it sucks and could be 
introducing who-knows-what potential future subtle problems. Hence my 
question (helpfully answered by deloptes) about if there is a safe way 
to do that.

Mark



Re: systemd pulled in by libgimp-2.0 in buster

2019-09-30 Thread deloptes
Reco wrote:

> Whatever pulled network-manager on this host pulled systemd-sysv.

I did 
1. apt-get install libgimp2.0-dev
2. apt-get --fix-broken install
3. apt-get install libgimp2.0-dev

#1 failed

not sure if the dependency was already there.
The only previous installation seem to be
apt-get install libxnvctrl-dev

The next time I repeat this, I'll have a closer look



Re: Détecter si une imprimante est allumée

2019-09-30 Thread Haricophile
Le lundi 30 septembre 2019 à 14:03 +0200, Pierre Malard a écrit :
> Ou alors une simple tentative sur un des ports de service de
> l’imprimante (LPD, IPP, …) ?

vivi, mais quelque chose qui ne rallume pas l'imprimante en veille, non
? 

D'ailleurs en écrivant ça me rappelle que les imprimantes réseau ont
maintenant toutes un serveur http à ma connaissance.

Un ping me parait assez adapté pour quelque chose de très minimaliste.
Et je me demande a quel point un bon vieux wakeonlan ne fonctionnerait
pas en cas de besoin.

Sinon il y a souvent un hplip ou équivalent qui fonctionne pour un
constructeur donné.

Voilà en vrac mes 4,85 secondes de réflexions.



Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread deloptes
John Covici wrote:

> I am trying to do something very simple, with the config file supplied
> from Debian, I need to do a make bzImage and possible a make modules,
> how can dI do this?  Do I need to change the config in some way in
> order to do this?

be patient and start reading - free means free to understand and this means
read a lot.

see my other answer below



Re: where to look in logs

2019-09-30 Thread Greg Wooledge
> On Mon, Sep 30, 2019 at 4:06 PM Greg Wooledge  wrote:
> > If you're using systemd, and if you set up the service as a systemd unit,
> > then you want "systemctl status yourservice" or "journalctl -u
> > yourservice".

On Mon, Sep 30, 2019 at 04:57:54PM -0400, yoda woya wrote:
> I used this sudo systemctl enable udhcpd.service
> 
> But it is not working

Your text goes BELOW the text that you're quoting.  We read from top
to bottom.

So, in your case, you want to run one or both of:

systemctl status udhcpd.service
journalctl -u udhcpd.service



Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread John Covici
On Mon, 30 Sep 2019 16:47:29 -0400,
deloptes wrote:
> 
> John Covici wrote:
> 
> > Google did not give me that at all.  I am not trying to build a Debian
> > package,just trying to compile the kernel.
> 
> Then just do
> 
> make deb-pkg
> 
> You could read more about the make system used by the kernel
> 
> https://www.kernel.org/doc/html/latest/
> 
> or in the directory
> 
> $ less README 
> 
> so according Documentation/kbuild/kbuild.txt
> 
> KBUILD_DEBARCH
> --
> For the deb-pkg target, allows overriding the normal heuristics deployed by
> deb-pkg. Normally deb-pkg attempts to guess the right architecture based on
> the UTS_MACHINE variable, and on some architectures also the kernel config.
> The value of KBUILD_DEBARCH is assumed (not checked) to be a valid Debian
> architecture.

I am trying to do something very simple, with the config file supplied
from Debian, I need to do a make bzImage and possible a make modules,
how can dI do this?  Do I need to change the config in some way in
order to do this?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: where to look in logs

2019-09-30 Thread yoda woya
I used this sudo systemctl enable udhcpd.service

But it is not working

On Mon, Sep 30, 2019 at 4:06 PM Greg Wooledge  wrote:

> On Mon, Sep 30, 2019 at 04:01:36PM -0400, yoda woya wrote:
> > I setup a service to start at boot.  It does not.  Where is that logged
> ...
> > where are the service that do start successful logged?
>
> Could you be any more vague?
>
> If you're using systemd, and if you set up the service as a systemd unit,
> then you want "systemctl status yourservice" or "journalctl -u
> yourservice".
>
>


Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread deloptes
John Covici wrote:

> I am doing a straight makebzImage not trying to build a deb package.
> In Debian 9, I could do this with no problem.

Obviously you are trying to build the kernel from debian source. You have to
use the original source, without the debian directory. IF there is debian
directory, it means you decided to use the Debian way.

I do not know how this code is set up, but if you download the kernel from
kernel.org, you should not be getting this message. Otherwise the link I
posted before gives a solution to the problem 

-quote-
Using your current Debian kernel configuration as a starting point

Alternatively, you can use the configuration from a Debian-built kernel that
you already have installed by copying the /boot/config-* file to .config
and then running make oldconfig to only answer new questions.

If you do this, ensure that you modify the configuration to set:

CONFIG_SYSTEM_TRUSTED_KEYS = ""
-quote-



Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread deloptes
John Covici wrote:

> Google did not give me that at all.  I am not trying to build a Debian
> package,just trying to compile the kernel.

Then just do

make deb-pkg

You could read more about the make system used by the kernel

https://www.kernel.org/doc/html/latest/

or in the directory

$ less README 

so according Documentation/kbuild/kbuild.txt

KBUILD_DEBARCH
--
For the deb-pkg target, allows overriding the normal heuristics deployed by
deb-pkg. Normally deb-pkg attempts to guess the right architecture based on
the UTS_MACHINE variable, and on some architectures also the kernel config.
The value of KBUILD_DEBARCH is assumed (not checked) to be a valid Debian
architecture.





Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread Reco
On Mon, Sep 30, 2019 at 04:20:53PM -0400, John Covici wrote:
> > On Mon, Sep 30, 2019 at 04:10:27PM -0400, John Covici wrote:
> > > So, how do I turn this off so I can compile the thing?
> > 
> > "dpkg-buildpackage -b" considers it a warning and skips it.
> > At least it does so for me.
> 
> I am doing a straight makebzImage not trying to build a deb package.
> In Debian 9, I could do this with no problem.

Two choices here:

1) Do it Debian way, which works. Different version, different rules,
and all that.

2) Persisting in your current way, which does not.

I leave a final choice to you.

Reco



Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread John Covici


On Mon, 30 Sep 2019 16:05:16 -0400,
deloptes wrote:
> 
> John Covici wrote:
> 
> > debian/certs/debian-uefi-certs.pem
> 
> https://wiki.debian.org/BuildADebianKernelPackage
> 
> I hope you can read - also find a good search engine - first hit
> 
> 

Google did not give me that at all.  I am not trying to build a Debian
package,just trying to compile the kernel.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread John Covici
On Mon, 30 Sep 2019 16:15:38 -0400,
Reco wrote:
> 
> Please do not top post.
> 
> On Mon, Sep 30, 2019 at 04:10:27PM -0400, John Covici wrote:
> > So, how do I turn this off so I can compile the thing?
> 
> "dpkg-buildpackage -b" considers it a warning and skips it.
> At least it does so for me.

I am doing a straight makebzImage not trying to build a deb package.
In Debian 9, I could do this with no problem.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread Reco
Please do not top post.

On Mon, Sep 30, 2019 at 04:10:27PM -0400, John Covici wrote:
> So, how do I turn this off so I can compile the thing?

"dpkg-buildpackage -b" considers it a warning and skips it.
At least it does so for me.

Reco



Re: systemd pulled in by libgimp-2.0 in buster

2019-09-30 Thread Reco
Hi.

On Mon, Sep 30, 2019 at 08:36:17PM +0200, deloptes wrote:
> Reco wrote:
> 
> > On Mon, Sep 30, 2019 at 08:53:24AM +0200, deloptes wrote:
> >> few days ago tested upgrade in buster for a new build server and had to
> >> install libgimp2.0-dev which installed libgimp2.0 which pulled systemd I
> >> think over policykit.
> > 
> > Does not reproduce:
> 
> Sorry Reco, must have been something else, due to the fact that I can not
> accomplish anything at one go

Most probably. In fact, your primary suspect is:

> Start-Date: 2019-09-27  20:54:14
> Commandline: apt-get --fix-broken install
> Requested-By: xx (1000)
> Install: network-manager:amd64 (1.14.6-2, automatic), systemd-sysv:amd64
> (241-7~deb10u1, automatic), libpam-systemd:amd64 (241-7~deb10u1,
> automatic), policykit-1:amd64 (0.105-25, automatic)

Whatever pulled network-manager on this host pulled systemd-sysv.

Reco



Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread John Covici
So, how do I turn this off so I can compile the thing?

On Mon, 30 Sep 2019 16:02:02 -0400,
Reco wrote:
> 
>   Hi.
> 
> On Mon, Sep 30, 2019 at 03:46:41PM -0400, John Covici wrote:
> > Hi.  I am getting an error while compiling the kernel 4.19-0-6-amd64.
> > 
> >   CC  kernel/rseq.o
> > AR  kernel/built-in.a
> > make[1]: *** No rule to make target
> > 'debian/certs/debian-uefi-certs.pem', needed by
> > 'certs/x509_certificate_list'.  Stop.
> > 
> > What package do I need to fix this problem?
> 
> It fails at signing your kernel by Debian CA key. They don't provide it
> by any package as it would beat the primary purpose of Restricted Boot
> (Secure Boot in M$ speak).
> 
> 
> > Thanks in advance for any suggestions.
> 
> Follow [1].
> 
> Reco
> 
> [1] 
> https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-official
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread deloptes
John Covici wrote:

> debian/certs/debian-uefi-certs.pem

https://wiki.debian.org/BuildADebianKernelPackage

I hope you can read - also find a good search engine - first hit




Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread Sven Joachim
On 2019-09-30 15:46 -0400, John Covici wrote:

> Hi.  I am getting an error while compiling the kernel 4.19-0-6-amd64.
>
>   CC  kernel/rseq.o
> AR  kernel/built-in.a
> make[1]: *** No rule to make target
> 'debian/certs/debian-uefi-certs.pem', needed by
> 'certs/x509_certificate_list'.  Stop.
>
> What package do I need to fix this problem?

The linux-config-4.19 package[1], it "contains the configuration files
used to build the official Debian kernel files, but without references
to Debian's signing certificates."

HTH,
Sven


1. https://packages.debian.org/buster/linux-config-4.19



Re: where to look in logs

2019-09-30 Thread Greg Wooledge
On Mon, Sep 30, 2019 at 04:01:36PM -0400, yoda woya wrote:
> I setup a service to start at boot.  It does not.  Where is that logged ...
> where are the service that do start successful logged?

Could you be any more vague?

If you're using systemd, and if you set up the service as a systemd unit,
then you want "systemctl status yourservice" or "journalctl -u yourservice".



Re: Debian 10 udhcpd

2019-09-30 Thread deloptes
yoda woya wrote:

> sudo systemctl restart udhcpd.service

does following work?

sudo systemctl enable udhcpd.service





Re: strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread Reco
Hi.

On Mon, Sep 30, 2019 at 03:46:41PM -0400, John Covici wrote:
> Hi.  I am getting an error while compiling the kernel 4.19-0-6-amd64.
> 
>   CC  kernel/rseq.o
> AR  kernel/built-in.a
> make[1]: *** No rule to make target
> 'debian/certs/debian-uefi-certs.pem', needed by
> 'certs/x509_certificate_list'.  Stop.
> 
> What package do I need to fix this problem?

It fails at signing your kernel by Debian CA key. They don't provide it
by any package as it would beat the primary purpose of Restricted Boot
(Secure Boot in M$ speak).


> Thanks in advance for any suggestions.

Follow [1].

Reco

[1] 
https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-official



where to look in logs

2019-09-30 Thread yoda woya
I setup a service to start at boot.  It does not.  Where is that logged ...
where are the service that do start successful logged?


Re: Trying to excute things on boot from /etc/rc.local

2019-09-30 Thread yoda woya
added  #!/bin/sh and still the same problem 洛洛

On Mon, Sep 30, 2019 at 1:48 PM Greg Wooledge  wrote:

> On Mon, Sep 30, 2019 at 01:43:13PM -0400, yoda woya wrote:
> > The content of my rc.local  has two lines:
> > /usr/local/bin/ipnat
> > exit 0
> >
> > However on boot  /usr/local/bin/ipnat  in not executed.
>
> The first line must be a valid shebang, ideally #!/bin/sh .
>
> You can omit the exit 0 if you like, but you cannot omit the shebang.
>
>


strange error compiling kernel 4.19.0-6-amd64

2019-09-30 Thread John Covici
Hi.  I am getting an error while compiling the kernel 4.19-0-6-amd64.

  CC  kernel/rseq.o
AR  kernel/built-in.a
make[1]: *** No rule to make target
'debian/certs/debian-uefi-certs.pem', needed by
'certs/x509_certificate_list'.  Stop.

What package do I need to fix this problem?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Debian 10 udhcpd

2019-09-30 Thread yoda woya
Lord... realy debian is giving me a run for my money :-)

how do makesure udhcpd runs at boot 


this does seem to do the trick:
sudo systemctl restart udhcpd.service


Re: Curiosidade

2019-09-30 Thread Leandro Guimarães Faria Corcete DUTRA
Le lundi 30 septembre 2019 à 21:25 +0200, Helio Loureiro a écrit :
> Interessante as sugestões.   E como fazem com a monitoração do cartão
> de crédito, cartão de banco, fidelidade de supermercado, de farmácia,
> etc?

Aí vai da neura — melhor dizendo, prudência — de cada um.


> Ou acham que isso só existe na web e fora dela o mundo é lindo
> perfeito?

E quem disse isso?  Ninguém falou que queria matar todo e qualquer
rastreamento.



-- 
+55 (61) 3546 7191  gTalk: xmpp:leand...@jabber.org
+55 (61) 99302 2691   http://en.dutras.org/
BRAZIL GMT−3
https://useplaintext.email/#why-plaintext



Re: Curiosidade

2019-09-30 Thread Helio Loureiro
Interessante as sugestões.   E como fazem com a monitoração do cartão de
crédito, cartão de banco, fidelidade de supermercado, de farmácia, etc?

Ou acham que isso só existe na web e fora dela o mundo é lindo perfeito?

Abs,
Helio

On Mon, Sep 30, 2019, 13:42 Leandro Guimarães Faria Corcete DUTRA <
l...@dutras.org> wrote:

> Le dimanche 29 septembre 2019 à 12:36 +, Paulo Correia a écrit :
> > Não querendo fazer propaganda, mas o brave browser tem várias coisas
> > para melhorar sua privacidade.
>
> E várias para piorar:
>
> https://pt.wikipedia.org/wiki/Brave_(navegador)#Recepção_da_crítica
>
> Melhor evitar e ficar no Iridium ou Firefox com extensões como μBlock
> ou μMatrix.
>
>
>
> --
> +55 (61) 3546 7191  gTalk: xmpp:leand...@jabber.org
> +55 (61) 99302 2691   http://en.dutras.org/
> BRAZIL GMT−3
> https://useplaintext.email/#why-plaintext
>
>


Re: Perl displayed as text, Not HTML

2019-09-30 Thread Nicolas George
Dan Ritter (12019-09-30):
> Anyway: you need a perl module to run perl CGI:
> libapache2-mod-perl2

This is not true at all.

To run a CGI, the web server does not need anything specific. CGI are
external programs following a specific convention (environment variables
and output). Running a CGI written in perl requires a perl interpreter,
which I doubt you can avoid on Debian anyway.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: killall ne kille plus ?

2019-09-30 Thread Étienne Mollier
Bonsoir,

Seb, au 2019-09-30 :
> > À en juger par le manuel de killall(1) fournie dans Sid, à
> > la description de l'option -e (--exact) le comportement de
> > la commande devient?  curieux?  dès lors que le nom du
> > processus dépasse 15 caractères.  Avec cette information en
> > tête, les commandes suivantes sont tombées en marche :
> > $ killall simplescreenrec
> > $ killall -e simplescreenrec
>
> Aaaahh... Merci !!

Je vous en prie.  :)

> Après avoir lancé simplescreenrecorder, /dev/shm reste vide.

Dommage, ça aurait été pratique d'avoir des fichiers PID, pour
vérifier que l'on va bien tuer ce qu'on voulait tuer.  :(

> (Et pkill ne tue pas non plus simplescreenrecorder.)

À la lecture de pkill(1), la limite à 15 caractères proviendrait
de la façon dont sont obtenus les noms des processus, méthode
qui, j'imagine, devrait être similaire pour killall :

NOTES
   The  process name used for matching is limited to the 15
   characters present in the output of /proc/pid/stat.  Use
   the  -f  option  to  match  against the complete command
   line, /proc/pid/cmdline.

En français rapide, /proc/pid/stat tronque le nom du process à
15 caractères, et l'option -f permet de basculer sur le fichier
/proc/pid/cmdline pour contrôler le nom du process à tuer.  Du
coup, dans le cas qui nous intéresse, les commandes valides
deviennent :

$ pkill simplescreenrec
$ pkill -f simplescreenrecorder  # Notez le nom complet.

À plus,  :)
-- 
Étienne Mollier 
Empreinte :   5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d




signature.asc
Description: OpenPGP digital signature


Re: systemd pulled in by libgimp-2.0 in buster

2019-09-30 Thread deloptes
Reco wrote:

> Hi.
> 
> On Mon, Sep 30, 2019 at 08:53:24AM +0200, deloptes wrote:
>> few days ago tested upgrade in buster for a new build server and had to
>> install libgimp2.0-dev which installed libgimp2.0 which pulled systemd I
>> think over policykit.
> 
> Does not reproduce:

Sorry Reco, must have been something else, due to the fact that I can not
accomplish anything at one go

Start-Date: 2019-09-27  09:18:36
Commandline: apt-get install libxnvctrl-dev
Requested-By: xx (1000)
Install: libxnvctrl0:amd64 (418.74-1, automatic), libxnvctrl-dev:amd64
(418.74-1)
End-Date: 2019-09-27  09:18:39

Start-Date: 2019-09-27  20:54:14
Commandline: apt-get --fix-broken install
Requested-By: xx (1000)
Install: network-manager:amd64 (1.14.6-2, automatic), systemd-sysv:amd64
(241-7~deb10u1, automatic), libpam-systemd:amd64 (241-7~deb10u1,
automatic), policykit-1:amd64 (0.105-25, automatic)
Remove: sysvinit-core:amd64 (2.93-8)
End-Date: 2019-09-27  20:54:28

Start-Date: 2019-09-27  20:54:53
Commandline: apt-get install libgimp2.0-dev
Requested-By: xx (1000)
Install: libgegl-0.4-0:amd64 (0.4.12-2, automatic), libgimp2.0-dev:amd64
(2.10.8-2), libgegl-dev:amd64 (0.4.12-2, automatic), libgimp2.0:amd64
(2.10.8-2, automatic)
End-Date: 2019-09-27  20:55:01






Re: Trying to excute things on boot from /etc/rc.local

2019-09-30 Thread Roberto C . Sánchez
On Mon, Sep 30, 2019 at 01:47:47PM -0400, Greg Wooledge wrote:
> On Mon, Sep 30, 2019 at 01:43:13PM -0400, yoda woya wrote:
> > The content of my rc.local  has two lines:
> > /usr/local/bin/ipnat
> > exit 0
> > 
> > However on boot  /usr/local/bin/ipnat  in not executed.
> 
> The first line must be a valid shebang, ideally #!/bin/sh .
> 
> You can omit the exit 0 if you like, but you cannot omit the shebang.
> 
The file, /etc/rc.local, must also be executable.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Perl displayed as text, Not HTML

2019-09-30 Thread Dan Ritter
Dave wrote: 
> hello
> 
> when a .pl file or .cgi file is clicked on  to our server, apache is
> serving back a text code page, not html
> 
> all of our sites were working under the old service Deb 4, our new
> Server Deb 9.x has a setting off.
> 
> we have included a link to our http.conf file.
> 
> http://culser.com/ex/apache2.txt
> 
> 
> please advise.

This:

Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/mods-available/socache_dbm.load
Include /etc/apache2/mods-available/socache_memcache.load
Include /etc/apache2/mods-available/socache_shmcb.load
Include /etc/apache2/mods-available/ssl.load
Include /etc/apache2/mods-available/ssl.conf
Include /etc/apache2/mods-available/usertrack.load
Include /etc/apache2/mods-available/rewrite.load

means you don't understand that mechanism.

Keep all the files in mods-available. Create symlinks to them
from mods-enabled when you want them to take effect.

Same approach goes for site-enabled/available and
conf-enabled/available.

Anyway: you need a perl module to run perl CGI:
libapache2-mod-perl2

and you need to enable CGI in each directory that you want it
in via something like

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted


Jumping from Debian 4 to Debian 9 is really big; among other
things, you definitely went from a 1.x series Apache to a 2.4
series Apache.

-dsr-



Re: Trying to excute things on boot from /etc/rc.local

2019-09-30 Thread Greg Wooledge
On Mon, Sep 30, 2019 at 01:43:13PM -0400, yoda woya wrote:
> The content of my rc.local  has two lines:
> /usr/local/bin/ipnat
> exit 0
> 
> However on boot  /usr/local/bin/ipnat  in not executed.

The first line must be a valid shebang, ideally #!/bin/sh .

You can omit the exit 0 if you like, but you cannot omit the shebang.



Re: Trying to excute things on boot from /etc/rc.local

2019-09-30 Thread Reco
On Mon, Sep 30, 2019 at 01:43:13PM -0400, yoda woya wrote:
> The content of my rc.local  has two lines:
> /usr/local/bin/ipnat
> exit 0
> 
> However on boot  /usr/local/bin/ipnat  in not executed.

systemd-rc-local-generator(8)



Reco



Trying to excute things on boot from /etc/rc.local

2019-09-30 Thread yoda woya
The content of my rc.local  has two lines:
/usr/local/bin/ipnat
exit 0

However on boot  /usr/local/bin/ipnat  in not executed.

How can I get debian to execute the content of my rc.local file.  BTW after
boot,  /usr/local/bin/ipnat  can be executed manually without issues.

Any assistance would be greatly appreciated.


Re: Authentication for telnet.

2019-09-30 Thread mick crane

On 2019-09-30 16:46, Andy Smith wrote:

Hello,

On Sun, Sep 29, 2019 at 07:28:45PM -0700, pe...@easthope.ca wrote:

From: pe...@easthope.ca
Date: Sat, 28 Sep 2019 08:15:07 -0700
> Opening a terminal emulator in default configuration on localhost, ...

Localhost; not hosts.


It's easy to get confused because your posting style is incredibly
difficult to follow. You break threads and give very little detail.
Help us to help you.


> ... telnet opens in about 1 s. ... ssh requires about 15 s.


If your SSH takes 15 seconds to connect to localhost then you have a
configuration issue. As a first guess, check you do not have it
using DNS.


If it takes that long and eventually connects likely it's something like 
sshd is trying to figure out from its config file how it is supposed to 
authenticate, can't, so tries various methods until it finds one that 
works.





"ssh -v localhost" might give you some hint as to where in the
connection/login process the time is being spent.

But because of your reluctance to tell us exactly what you're trying
to do, we don't even know if ssh is the best tool for the job.

Cheers,
Andy


--
Key ID4BFEBB31



Perl displayed as text, Not HTML

2019-09-30 Thread Dave

hello

when a .pl file or .cgi file is clicked on  to our server, apache is
serving back a text code page, not html

all of our sites were working under the old service Deb 4, our new
Server Deb 9.x has a setting off.

we have included a link to our http.conf file.

http://culser.com/ex/apache2.txt


please advise.



Re: virtualbox 5.1 guest utils problem

2019-09-30 Thread Peter Hillier-Brook
On 30/09/2019 16:45, Felix Natter wrote:
> hi,
> 
> I have virtualbox 5.1.38 running (host:buster, guest:sid):
> 
> ii  virtualbox-5.1 5.1.38-122592~Ubuntu~bionic amd64
> Orac
> ii  virtualbox-dkms4.3.36-dfsg-1+deb8u1all  
> x86 
> ii  virtualbox-guest-dkms  4.3.36-dfsg-1+deb8u1all x86
> 
> On sid:
> ii  virtualbox-guest-utils 6.0.12-dfsg-1 amd64x86 virtualization
> solution - non-X11 guest utilities
> 
> The guest-utils kernel module fails to compile/install:
> 
> $ sudo systemctl status virtualbox-guest-utils.service
> ● virtualbox-guest-utils.service - Virtualbox guest utils
>Loaded: loaded (/lib/systemd/system/virtualbox-guest-utils.service; 
> enabled; vendor preset: enabled)
>Active: failed (Result: exit-code) since Mon 2019-09-30 17:24:09 CEST; 
> 11min ago
> Sep 30 17:24:09 debianunstable systemd[1]: Starting Virtualbox guest utils...
> Sep 30 17:24:09 debianunstable virtualbox-guest-utils[7586]: Starting 
> VirtualBox Additionsmodprobe vboxsf failed. Please use 'dmesg' to find out 
> why ... failed!
> Sep 30 17:24:09 debianunstable virtualbox-guest-utils[7586]:  failed!
> Sep 30 17:24:09 debianunstable systemd[1]: virtualbox-guest-utils.service: 
> Control process exited, code=exited, status=1/FAILURE
> Sep 30 17:24:09 debianunstable systemd[1]: virtualbox-guest-utils.service: 
> Failed with result 'exit-code'.
> Sep 30 17:24:09 debianunstable systemd[1]: Failed to start Virtualbox guest 
> utils.
>  
> $ dmesg
> [...]
> [ 3305.101930] vboxsf: loading out-of-tree module taints kernel.
> [ 3305.101980] vboxsf: module verification failed: signature and/or required 
> key missing - tainting kernel
> [ 3305.102020] vboxsf: Unknown symbol VBoxGuest_RTLogBackdoorPrintf (err -2)
> [ 3305.102044] vboxsf: Unknown symbol VBoxGuestIDC (err -2)
> [ 3305.102065] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRequest (err -2)
> [ 3305.102080] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRelease (err -2)
> [ 3305.102090] vboxsf: Unknown symbol VBoxGuest_RTStrNLen (err -2)
> [ 3305.102104] vboxsf: Unknown symbol VBoxGuest_RTLogRelGetDefaultInstanceEx 
> (err -2)
> [ 3305.102116] vboxsf: Unknown symbol VBoxGuest_RTStrCopy (err -2)
> [ 3305.102128] vboxsf: Unknown symbol VBoxGuest_RTErrConvertToErrno (err -2)
> [ 3305.102149] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexCreate (err -2)
> [ 3305.102158] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexDestroy (err -2)
> [ 3305.102170] vboxsf: Unknown symbol VBoxGuest_RTMemContFree (err -2)
> [ 3305.102179] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRelease (err -2)
> [ 3305.102193] vboxsf: Unknown symbol VBoxGuest_rtR0MemObjLinuxVirtToPage 
> (err -2)
> [ 3305.102206] vboxsf: Unknown symbol VBoxGuest_RTAssertShouldPanic (err -2)
> [ 3305.102220] vboxsf: Unknown symbol VBoxGuest_RTLogLoggerEx (err -2)
> [ 3305.102232] vboxsf: Unknown symbol VBoxGuest_RTMemContAlloc (err -2)
> [ 3305.102242] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRequest (err -2)
> [ 3305.102252] vboxsf: Unknown symbol VBoxGuest_RTSemMutexCreate (err -2)
> [ 3305.102260] vboxsf: Unknown symbol VBoxGuest_RTSemMutexDestroy (err -2)
> [ 3305.102275] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg1Weak (err -2)
> [ 3305.102300] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg2Weak (err -2)
> 
> Would it help if I upgrade vbox to 6.x from download.virtualbox.org? [1]
> Can I do so safely without breaking my vms?
> 
> [1] https://tecadmin.net/install-virtualbox-on-debian-10-buster/
> 
> Many Thanks and Best Regards,
> 
There's a clue in the versions of the Vbox on the host and the guest
utils. :-)



Re: Authentication for telnet.

2019-09-30 Thread Andy Smith
Hello,

On Sun, Sep 29, 2019 at 07:28:45PM -0700, pe...@easthope.ca wrote:
> From: pe...@easthope.ca
> Date: Sat, 28 Sep 2019 08:15:07 -0700
> > Opening a terminal emulator in default configuration on localhost, ...
> 
> Localhost; not hosts.

It's easy to get confused because your posting style is incredibly
difficult to follow. You break threads and give very little detail.
Help us to help you.

> > ... telnet opens in about 1 s. ... ssh requires about 15 s.  

If your SSH takes 15 seconds to connect to localhost then you have a
configuration issue. As a first guess, check you do not have it
using DNS.

"ssh -v localhost" might give you some hint as to where in the
connection/login process the time is being spent.

But because of your reluctance to tell us exactly what you're trying
to do, we don't even know if ssh is the best tool for the job.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



virtualbox 5.1 guest utils problem

2019-09-30 Thread Felix Natter
hi,

I have virtualbox 5.1.38 running (host:buster, guest:sid):

ii  virtualbox-5.1 5.1.38-122592~Ubuntu~bionic amd64Orac
ii  virtualbox-dkms4.3.36-dfsg-1+deb8u1all  x86 
ii  virtualbox-guest-dkms  4.3.36-dfsg-1+deb8u1all x86

On sid:
ii  virtualbox-guest-utils 6.0.12-dfsg-1 amd64x86 virtualization
solution - non-X11 guest utilities

The guest-utils kernel module fails to compile/install:

$ sudo systemctl status virtualbox-guest-utils.service
● virtualbox-guest-utils.service - Virtualbox guest utils
   Loaded: loaded (/lib/systemd/system/virtualbox-guest-utils.service; enabled; 
vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-09-30 17:24:09 CEST; 11min 
ago
Sep 30 17:24:09 debianunstable systemd[1]: Starting Virtualbox guest utils...
Sep 30 17:24:09 debianunstable virtualbox-guest-utils[7586]: Starting 
VirtualBox Additionsmodprobe vboxsf failed. Please use 'dmesg' to find out why 
... failed!
Sep 30 17:24:09 debianunstable virtualbox-guest-utils[7586]:  failed!
Sep 30 17:24:09 debianunstable systemd[1]: virtualbox-guest-utils.service: 
Control process exited, code=exited, status=1/FAILURE
Sep 30 17:24:09 debianunstable systemd[1]: virtualbox-guest-utils.service: 
Failed with result 'exit-code'.
Sep 30 17:24:09 debianunstable systemd[1]: Failed to start Virtualbox guest 
utils.
 
$ dmesg
[...]
[ 3305.101930] vboxsf: loading out-of-tree module taints kernel.
[ 3305.101980] vboxsf: module verification failed: signature and/or required 
key missing - tainting kernel
[ 3305.102020] vboxsf: Unknown symbol VBoxGuest_RTLogBackdoorPrintf (err -2)
[ 3305.102044] vboxsf: Unknown symbol VBoxGuestIDC (err -2)
[ 3305.102065] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRequest (err -2)
[ 3305.102080] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRelease (err -2)
[ 3305.102090] vboxsf: Unknown symbol VBoxGuest_RTStrNLen (err -2)
[ 3305.102104] vboxsf: Unknown symbol VBoxGuest_RTLogRelGetDefaultInstanceEx 
(err -2)
[ 3305.102116] vboxsf: Unknown symbol VBoxGuest_RTStrCopy (err -2)
[ 3305.102128] vboxsf: Unknown symbol VBoxGuest_RTErrConvertToErrno (err -2)
[ 3305.102149] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexCreate (err -2)
[ 3305.102158] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexDestroy (err -2)
[ 3305.102170] vboxsf: Unknown symbol VBoxGuest_RTMemContFree (err -2)
[ 3305.102179] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRelease (err -2)
[ 3305.102193] vboxsf: Unknown symbol VBoxGuest_rtR0MemObjLinuxVirtToPage (err 
-2)
[ 3305.102206] vboxsf: Unknown symbol VBoxGuest_RTAssertShouldPanic (err -2)
[ 3305.102220] vboxsf: Unknown symbol VBoxGuest_RTLogLoggerEx (err -2)
[ 3305.102232] vboxsf: Unknown symbol VBoxGuest_RTMemContAlloc (err -2)
[ 3305.102242] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRequest (err -2)
[ 3305.102252] vboxsf: Unknown symbol VBoxGuest_RTSemMutexCreate (err -2)
[ 3305.102260] vboxsf: Unknown symbol VBoxGuest_RTSemMutexDestroy (err -2)
[ 3305.102275] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg1Weak (err -2)
[ 3305.102300] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg2Weak (err -2)

Would it help if I upgrade vbox to 6.x from download.virtualbox.org? [1]
Can I do so safely without breaking my vms?

[1] https://tecadmin.net/install-virtualbox-on-debian-10-buster/

Many Thanks and Best Regards,
-- 
Felix Natter
debian/rules!



systemd-logind on Jessie slows down after some time.

2019-09-30 Thread Neo

[root@hostname log]# loginctl list-seats
Failed to list seats: Activation of org.freedesktop.login1 timed out
[root@hostname log]# service systemd-logind restart
[root@hostname log]# loginctl list-seats
SEAT
seat0

1 seats listed.

theres nothing related in the logs. not for dbus, neither for 
systemd-logind. After one day or so, logins slows down extremely. Like 
30 seconds for an ssh login. Interestingly vsftp (which is also 
controlled by systemd) is still working normal.


it just "crashes" (or at least slows down significantly) silently.

[root@hostname log]# uname -a
Linux hostname 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14) 
x86_64 GNU/Linux

[root@hostname log]# cat /etc/debian_version
8.11

Any other solution that just restaring the service daily by a cron job?

Best regards

Tom



Re: Regenerating package configuration non-interactively?

2019-09-30 Thread Brian Candler

On 30/09/2019 14:23, Jonas Smedegaard wrote:

The missing piece is /var/lib/dpkg/postfix/config


Thanks - presumably you mean /var/lib/dpkg/info/postfix.config ?

root@foo1:~# find /var/lib/dpkg -name '*postfix*'
/var/lib/dpkg/info/postfix.prerm
/var/lib/dpkg/info/postfix.list
/var/lib/dpkg/info/postfix.preinst
/var/lib/dpkg/info/postfix.conffiles
/var/lib/dpkg/info/postfix.postinst
*/var/lib/dpkg/info/postfix.config**
*/var/lib/dpkg/info/postfix.templates
/var/lib/dpkg/info/postfix.shlibs
/var/lib/dpkg/info/postfix.postrm
/var/lib/dpkg/info/postfix.triggers
/var/lib/dpkg/info/postfix.md5sums

AFAICS this goes through a series of states prompting for individual 
settings from the frontend.  It explicitly does nothing except skip to 
the next state if the frontend returns code 30, meaning the setting was 
invisible/skipped.  e.g. for /etc/mailname:


  $noninteractive = (((input("high", "postfix/mailname"))[0]) == 30);
  if ($noninteractive) {
    $topstate = "relayhost";
  } else {
  # error checking
  my $mailname = lc(get("postfix/mailname"));
  fset("postfix/mailname", "changed", "true");
  ...

Therefore, is the simple answer that the use case I described is not 
supported?


I guess I could uninstall and purge the package, preseed and then 
reinstall - but that feels like a huge hack.


Alternatively, I wonder if it's plausible to make a new frontend like 
'noninteractive' which returns the current values of all settings (as if 
confirmed by human), instead of skipping them with code 30?


Regards,

Brian.



Re: Running a music player via cron

2019-09-30 Thread Greg Wooledge
On Sat, Sep 28, 2019 at 07:13:32AM +0200, Jean-Philippe MENGUAL wrote:
> > You might want to check by adding this part to your script (before the
> > part "echo CTRL+C to..."):
> > 
> > proc=`fuser /dev/dsp| awk "{print $2}"`
> > if [ -n ${proc+x} ]; then
> > ps auxww | awk '($2 == '$proc'){print $0}'
> > else
> > echo "no process is obtaining /dev/dsp"
> > fi
> > 
> > and it will print which process is obtaining the /dev/dsp
> 
> hmmm I get:
> awk: line 1: syntax error at or near )

Yeah, the quoting is rather messed up there.  In fact, the whole command
is rather suspect, for several reasons.  Best to discard it.

I believe the intent was to do something like this:

if pids=$(fuser /dev/dsp 2>/dev/null); then
echo "the following processes are using /dev/dsp:"
for pid in $pids; do
ps -o pid= -o args= -p "$pid"
done
else
echo "no processes are using /dev/dsp"
fi

One may adjust the ps -o options as desired.

(I wrote this for sh, not bash.  Had I written it for bash, I would have
used arrays and a dynamically generated single ps command, instead of
an unquoted list-in-a-string and multiple ps commands.)



Re: Regenerating package configuration non-interactively?

2019-09-30 Thread Jonas Smedegaard
Hi Brian,

Quoting Brian Candler (2019-09-30 13:08:23)
> After cloning virtual machines, I want to reconfigure packages in a 
> fully automated fashion.  In short, I've tried using 
> "debian-set-selections" followed by "dpkg-reconfigure -f 
> noninteractive", but it isn't actually changing the configuration.
> 
> Here's a concrete example.
> 
> Suppose I have installed postfix, preseeded in a particular way, then I 
> want to reconfigure it for a new hostname.  If I do the following 
> interactively:
> 
>      dpkg-reconfigure -p high postfix
> 
> then everything is fine: I get prompted with dialogs for the new mail 
> server configuration type and mailname, and then the relevant files get 
> updated and written out.
> 
>      root@foo1:~# dpkg-reconfigure -p high postfix
> *    changing /etc/mailname to foo2.lxd**
> **    setting myorigin**
> **    setting relayhost:**
> **    setting inet_interfaces: all*
> 
> *Postfix is now set up with the changes above.* If you need to make 
> changes, edit
>      /etc/postfix/main.cf (and others) as needed.  To view Postfix 
> configuration
>      values, see postconf(1).
> ...
> 
> Now I want to do this in a non-interactive script.  So I try:
> 
>      root@foo1:~# debconf-set-selections <      > postfix postfix/mailname string foo3.lxd
>      > EOS
>      root@foo1:~# dpkg-reconfigure -f noninteractive postfix
> 
> *    Postfix configuration was untouched.*  If you need to make changes, 
> edit
>      /etc/postfix/main.cf (and others) as needed.  To view Postfix 
> configuration
>      values, see postconf(1).
>      ...
> 
> Nothing is updated.  I have tried tracing the code through and I've 
> got stuck.  I can see these messages come from 
> /var/lib/dpkg/info/postfix.postinst.  It does some magic to check if a 
> particular attribute has changed (e.g. "db_fget postfix/mailname 
> changed").  The db_fget and db_fset functions are from 
> /usr/share/debconf/confmodule which is doing some very low-level 
> _db_cmd stuff.  It seems to be talking over FD 3 to set or test which 
> attributes have changed.

The missing piece is /var/lib/dpkg/postfix/config

Hope that helps you get further in your tracing what exactly debconf 
does with this particular package.

Nice and detailed yet dry (no interleaved cursing or other distractions) 
post.  Thanks!


 - Jonas

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

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


signature.asc
Description: signature


Re: [SOLVED, kind of] Re: ext4: debugfs: icheck: Input/output error while calling ext2fs_block_iterate

2019-09-30 Thread Greg Wooledge
On Sun, Sep 29, 2019 at 03:04:48AM +0200, local10 wrote:
> Sep 28, 2019, 11:24 by bouncingc...@gmail.com:
> 
> > Having read that, I don't see any admission that fsck makes any
> > changes if run without any options as it seems you did. So I
> > wonder what caused the change in the debugfs message.
> >
> 
> man wasn't available in BusyBox so I had to limit myself to the options 
> available through "fsck.ext4 --help". I think I ran it as "fsck.ext4 -cfv 
> /dev/sda", if I remember correctly.

There's always .  It'll redirect
to some variant of the man page in the current stable release, usually.



Re: visualizar imágenes panoramicas 360

2019-09-30 Thread Osvaldo Salazar S.


El 30/09/19 a las 8:04, Centro Patrimonio Pinar del Río escribió:
> Hola lista. Necesito alguna(s) aplicación para visualizar imágenes
> panoramicas 360 desde mi Debian 9 Cinnamom.

Hugin es la respuesta.

Saludos.


-- 
Osvaldo R. Salazar S.




Re: ext4: debugfs: icheck: Input/output error while calling ext2fs_block_iterate

2019-09-30 Thread Greg Wooledge
On Sat, Sep 28, 2019 at 04:01:27PM +1000, David wrote:
> > Maybe better to hide the stdout from md5sum:
> > # find junk -xdev -type f -exec md5sum '{}' >/dev/null \;
> 
> To be more precise, that hides the stdout from both md5sum and find,
> but I don't think that matters to the goal.

This is correct.  Pedantry follows:

The >/dev/null redirection applies to the "simple" shell command in
which it occurs, which happens to be find.  Its position within that
simple shell command is irrelevant.  It could be at the end, at the
beginning, or somewhere in the middle.  In this case, it happens to be
in the middle.

The command is 100% equivalent to:

find junk -xdev -type f -exec md5sum '{}' \; >/dev/null

find's stdout is redirected to /dev/null, and if find happens to find
any files which meet its matching criteria, and executes md5sum to
operate on them, md5sum will inherit find's stdout, which will still
be pointed to /dev/null.

The freedom to place a redirection anywhere within a simple shell command
is why examples like this one:

[ "$i" > 5 ]

give such surprising results.  This is a simple shell command (the
command name is "["), with an output redirection in it.  It is 100%
equivalent to

[ "$i" ] > 5

which opens-and-truncates a file named "5" for stdout, then performs
a string-length test on the value of "$i".  The command's exit status
will be "true" (0) as long as "$i" is not empty.

The intended command is most likely:

[ "$i" -gt 5 ]

which treats the value of "$i" as an integer, and then checks whether
that integer is greater than 5.  It returns "true" (0) if the value is
greater than 5, returns "false" (1) if it's less than or equal to 5,
and returns a value greater than 1 (still "false") and writes an error
message to stderr if "$i" cannot be converted to an integer.



Re: NSS-LDAP group preventing proper boot

2019-09-30 Thread Sven Hartge
Marc Franquesa  wrote:

> Thanks for the feedback, I might give it a try to sssd (I was already
> planning to take a look).

> I seen many docs recommending to move to nss/pam-ldapd however (also for
> sssd) this requires installing many other packages and run multiple daemons
> while I could achieve the same with simply a dynamic loaded library as
> libnss-ldap.

nss-ldapd and pam-ldapd only require the nslcd daemon and not "multiple
daemons".

Also the design of nss-ldapd and pam-ldapd is vastly superior over the
older nss-ldap and pam-ldap approach, as you don't need to load the
whole libldap-machine into each and every program but just the thin
libnss-ldapd library, which acts as an interface to nslcd, which does
the heavy lifting.

Added bonus: your libldap configuration does not need to be
user-readable, which is critical in case you need to use any special
admin-DN to access the LDAP server.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: apache only servers text page

2019-09-30 Thread Dave

Sorry about that.

by remarking out the ForceType we are now able to view html file.

Apache is serving perl executables as actual code. ( .pl .cgi ) or files
that have the first line as

#!/usr/bin/perl

perl has been installed in correct location.

/etc/mime.types file has text/x-perl .pl   and text/x-script.perl pl

apache2.conf - has the line     Options FollowSymLinks +ExecCGI
apache2.conf - AddHandler cgi-script .cgi .sh .pl

they may be other settings we are not aware of.

should it be needed, how should we go about getting a copy of the
apache2.conf file to you, or should we just post in up on a site and
give a link to it ?

please advise.

thank you

Dave

On 9/30/19 8:26 AM, Carl Fink wrote:

Please reply to the list, not me personally.

Also, the list does not accept attachments. You would have to post the image on
a web site and include the link rather than the actual image in your email.

On Mon, Sep 30, 2019 at 07:01:28AM -0400, Dave wrote:

A screen shot of what we have now after remarking out ForceType text/plain

but actually we changed ForceType to text/html .. please see
attachment image


On 9/30/19 6:41 AM, Carl wrote:

On 9/29/19 11:28 PM, Dave wrote:

Our apache2 is only severing text or code pages instead of html pages.

apache did have a "ForceType of text/plain remarking out did not solve
the problem.

.pl files on the server are also served are code.

text/html - is used in all scripts, and it is located in the mime.types

we use sublime to edit all of our .pl or .html pages.

please advise.


Did you restart apache after making the change?

Did you grep the Apache configuration directory for other instances of
"text/plain"?








visualizar imágenes panoramicas 360

2019-09-30 Thread Centro Patrimonio Pinar del Río
Hola lista. Necesito alguna(s) aplicación para visualizar imágenes 
panoramicas 360 desde mi Debian 9 Cinnamom.


Saludos



Re: Sig attribution (Re: Debian 10 freezes upon shutdown, reboot and logout)

2019-09-30 Thread rhkramer
On Monday, September 30, 2019 07:33:43 AM rhkra...@gmail.com wrote:
> On Sunday, September 29, 2019 11:31:55 PM Beco wrote:
> > > "I know you think you understand what you thought I said but I'm not
> > > sure you realize that what you heard is not what I meant" -- Alan
> > > Greenspan
> 
> Interesting.  I'm almost sure that somebody else said that before Greenspan
> (or something very similar), but I'm not ready to go googling atm.

Ok, I did a *little* googling (well, actually ddg'ing) and found the below, 
but I don't even think that is the earliest use of the phrase (better word -- 
aphorism?) -- when I was very young (well, actually before I was born ;-), I 
remember sayings like this (I mean, sort of humorous sayings) being passed 
around in various ways, including on some commercially printed little cards 
that you could post somewhere (like on your desk, or a bulletin board, or 
such) -- I'm not sure whether this was one of those or not (and my stack of 
those is long gone):

From: 
[[https://www.reddit.com/r/QuotesPorn/comments/40pwgx/i_know_you_think_you_understand_what_you_thought/]]

`
UncleSaddam
2 points ·
3 years ago

I know that you believe you understand what you think I said, but I'm not 
sure you realize that what you heard is not what I meant.

Attributed to Robert McCloskey, U.S. State Department spokesman, by Marvin 
Kalb, CBS reporter, in TV Guide, 31 March 1984, citing an unspecified press 
briefing during the Vietnam war.

Misattributed to Alan Greenspan:

I know you think you understand what you thought I said, but I'm not sure 
you realize that what you heard is not what I meant

Attributed to Greenspan by Rupert Cornwell, "Alan Greenspan: The buck 
starts here", The Independent, 27 April 2003, citing an unspecified Capitol 
Hill hearing.
'



Re: NSS-LDAP group preventing proper boot

2019-09-30 Thread Marc Franquesa
Thanks for the feedback, I might give it a try to sssd (I was already
planning to take a look).

I seen many docs recommending to move to nss/pam-ldapd however (also for
sssd) this requires installing many other packages and run multiple daemons
while I could achieve the same with simply a dynamic loaded library as
libnss-ldap.

Regards


Missatge de Alex Mestiashvili  del dia dv., 20 de
set. 2019 a les 19:22:

> On 9/20/19 7:42 AM, Marc Franquesa wrote:
> > After making a clean install of Buster and setup it, the system doesn't
> > boot propery and enters emergency mode with some systemd-udevd errors on
> > timing out.
> >
> > I tracked down and isolated the issue to be caused by nss-ldap group
> > mapping: If I remove ldap from nsswtich.conf groups (only for groups
> table)
> > the system boots fine (So I can use ldap for everything else except for
> > group)
> >
> > I already faced the same problem long time ago (not sure, but I think on
> > jessie and ubuntu older releases) and the workarround/solution was to set
> > nss_init_groups_ignore users to list all localacounts (so don't lookup
> for
> > LDAP groups for local accounts). This time this didn't worked, as I
> updated
> > my nss_init_groups_ignore_users to the list of current local users with
> no
> > luck.
> >
> > Some details tested/discarded:
> > - there are no custom udev rules making use of any LDAP user/group
> > - I tried setting various timeouts/soft_policy on LDAP configuration
> > - Also tried [UNAVAIL=return] and other similar optons on nsswitch.conf
> > - Exactly the same configuration works perfectly on Debain Stretch (as I
> > configure them thru Ansible)
> >
> > Note that while researching I found many similar bug reports (also on
> > different distros) related to this issue, all of them providing
> > workarrounds (which didn't worked) but none providing a permanent FIX or
> > solution:
> >
> > https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475
> > https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/51315
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318622
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339797
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349509
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375077
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375215
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388729
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=391167
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441458
> > https://bugzilla.redhat.com/show_bug.cgi?id=234541
> > https://bugzilla.redhat.com/show_bug.cgi?id=187852
> >
> > So basically seems that NSS-LDAP is queried when is still not ready,
> either
> > because LDAP server is down or the affected system didn't initialized
> > network yet. Either the case, this shouldn't prevent the system to boot
> > normally. More than a bug on libnss-ldap/udev seems a wrong/unstable
> > integration on the init process. I don't know if any NSS network
> servicces
> > (NIS?, winbind?) experience similar issues or how they avoid them.
> >
> > Does any one faced same issue or can provide any help/workarround/clues?
> > Should I open a new bug report?
> >
> > Thanks much for any hint/help
> >
>
>
> That's interesting. I've been using libnss-ldap since Lenny and didn't
> face the problems listed above, however since quite some time I've
> switched to libnss-ldapd/libpam-ldpad. As far as I remember these are
> drop-in replacements for libnss-ldap but you'll need to configure nslcd
> daemon too. Another option would be to switch to sssd which "just
> wokred" for my use cases.
>
> Best,
> Alex
>


Re: Détecter si une imprimante est allumée

2019-09-30 Thread Pierre Malard
Peut-être une c… mais juste un ping ne suffirait-il pas ?
Ou alors une simple tentative sur un des ports de service de l’imprimante (LPD, 
IPP, …) ?

> Le 30 sept. 2019 à 13:36, Seb  a écrit :
> 
> 
> Bonjour,
> 
> 
> Y a-t-il un moyen de déterminer, en ligne de commande, si une imprimante est 
> allumée ou pas ?
> (J'ai regardé sans succès lpadmin, lpstat et cupsctl.)
> 
> 
> Merci pour vos pistes !
> Seb.
> 

--
Pierre Malard

   «Mittler zwischen hirn und händen muss das hirz sein !»
   «La médiation entre le cerveau et les mains doit être le cœur !»
 Fritz Lang - "Métropolis" - 
1929
   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)   πr

perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. ,\ 
(  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



signature.asc
Description: Message signed with OpenPGP


Re: Curiosidade

2019-09-30 Thread Leandro Guimarães Faria Corcete DUTRA
Le dimanche 29 septembre 2019 à 12:36 +, Paulo Correia a écrit :
> Não querendo fazer propaganda, mas o brave browser tem várias coisas 
> para melhorar sua privacidade.

E várias para piorar:

https://pt.wikipedia.org/wiki/Brave_(navegador)#Recepção_da_crítica

Melhor evitar e ficar no Iridium ou Firefox com extensões como μBlock
ou μMatrix.



-- 
+55 (61) 3546 7191  gTalk: xmpp:leand...@jabber.org
+55 (61) 99302 2691   http://en.dutras.org/
BRAZIL GMT−3
https://useplaintext.email/#why-plaintext



Détecter si une imprimante est allumée

2019-09-30 Thread Seb


Bonjour,


Y a-t-il un moyen de déterminer, en ligne de commande, si une imprimante 
est allumée ou pas ?

(J'ai regardé sans succès lpadmin, lpstat et cupsctl.)


Merci pour vos pistes !
Seb.



Sig attribution (Re: Debian 10 freezes upon shutdown, reboot and logout)

2019-09-30 Thread rhkramer
On Sunday, September 29, 2019 11:31:55 PM Beco wrote:
> > "I know you think you understand what you thought I said but I'm not sure
> > you realize that what you heard is not what I meant" -- Alan Greenspan

Interesting.  I'm almost sure that somebody else said that before Greenspan 
(or something very similar), but I'm not ready to go googling atm.



Re: Authentication for telnet.

2019-09-30 Thread Dan Ritter
Andy Smith wrote: 
> 
> Is it a case that the hosts you are dealing with are too
> underpowered CPU-wise to cope with SSH's encryption?
> 

For what it's worth, I used to routinely SSH in to an appliance running
on an extremely underpowered CPU (by today's standards), a 30 MHz MIPS
core. The initial setup of the session could take an obnoxiously long
time -- 15 to 20 seconds -- but everything was smooth after that.

-dsr-



Regenerating package configuration non-interactively?

2019-09-30 Thread Brian Candler

Hello,

After cloning virtual machines, I want to reconfigure packages in a 
fully automated fashion.  In short, I've tried using 
"debian-set-selections" followed by "dpkg-reconfigure -f 
noninteractive", but it isn't actually changing the configuration.


Here's a concrete example.

Suppose I have installed postfix, preseeded in a particular way, then I 
want to reconfigure it for a new hostname.  If I do the following 
interactively:


    dpkg-reconfigure -p high postfix

then everything is fine: I get prompted with dialogs for the new mail 
server configuration type and mailname, and then the relevant files get 
updated and written out.


    root@foo1:~# dpkg-reconfigure -p high postfix
*    changing /etc/mailname to foo2.lxd**
**    setting myorigin**
**    setting relayhost:**
**    setting inet_interfaces: all*

*Postfix is now set up with the changes above.* If you need to make 
changes, edit
    /etc/postfix/main.cf (and others) as needed.  To view Postfix 
configuration

    values, see postconf(1).
...

Now I want to do this in a non-interactive script.  So I try:

    root@foo1:~# debconf-set-selections < postfix postfix/mailname string foo3.lxd
    > EOS
    root@foo1:~# dpkg-reconfigure -f noninteractive postfix

*    Postfix configuration was untouched.*  If you need to make changes, 
edit
    /etc/postfix/main.cf (and others) as needed.  To view Postfix 
configuration

    values, see postconf(1).
    ...

Nothing is updated.  I have tried tracing the code through and I've got 
stuck.  I can see these messages come from 
/var/lib/dpkg/info/postfix.postinst.  It does some magic to check if a 
particular attribute has changed (e.g. "db_fget postfix/mailname 
changed").  The db_fget and db_fset functions are from 
/usr/share/debconf/confmodule which is doing some very low-level _db_cmd 
stuff.  It seems to be talking over FD 3 to set or test which attributes 
have changed.


My best guess is: the noninteractive frontend is saying "nope, this 
setting has not been changed".


What I'm trying to avoid is duplicating all the config generation logic 
from the postinst script.  Whereas with postfix it would be a relatively 
simple job of writing out /etc/mailname and running "postconf" for a few 
settings, with other packages it's much more tricky (e.g. 
request-tracker4 is another one I'm working on)


So in summary: is there a general way for an already-installed package, 
to tell debconf either that specific setting(s) should be considered 
changed, or to reconfigure the package from scratch as if it were a new 
installation?


Thanks,

Brian.

P.S. The authoritative documentation I found was:

https://manpages.debian.org/testing/debconf-doc/debconf.7.en.html
https://manpages.debian.org/testing/debconf/dpkg-reconfigure.8.en.html
https://manpages.debian.org/testing/debconf-doc/debconf-devel.7.en.html

The latter mentions flags (FSET/FGET), and the "seen" flag in 
particular, but not the "changed" flag.




Re: apache only servers text page

2019-09-30 Thread Carl

On 9/29/19 11:28 PM, Dave wrote:

Our apache2 is only severing text or code pages instead of html pages.

apache did have a "ForceType of text/plain remarking out did not solve
the problem.

.pl files on the server are also served are code.

text/html - is used in all scripts, and it is located in the mime.types

we use sublime to edit all of our .pl or .html pages.

please advise.


Did you restart apache after making the change?

Did you grep the Apache configuration directory for other instances of 
"text/plain"?


--
Carl Fink
c...@finknetwork.com



Re: killall ne kille plus ?

2019-09-30 Thread Seb


Bonjour,


Le passage de Debian 9 à Debian 10 semble avoir modifié le comportement 
de killall. Exemple:


~>ps auxw | grep simplescreen
seb  13630  2.3  0.7 393012 64192 pts/31   Sl+  15:31   0:00
simplescreenrecorder

~>killall simplescreenrecorder
simplescreenrecorder: no process found

~>killall -e simplescreenrecorder
simplescreenrecorder: no process found

~>kill 13630
~>


À en juger par le manuel de killall(1) fournie dans Sid, à la 
description de l'option -e (--exact) le comportement de la commande 
devient?  curieux?  dès lors que le nom du processus dépasse 15 
caractères.  Avec cette information en tête, les commandes suivantes 
sont tombées en marche :

$ killall simplescreenrec
$ killall -e simplescreenrec


Aaaahh... Merci !!

killall ne m'a pas l'air très solide à l'usage.  Quand je peux, je 
préfère me référer à un fichier PID dans les scripts. Apparemment, à 
moins de préciser un --statsfile particulier, simplescreenrecorder(1) va 
crééer par défaut un fichier /dev/shm/simplescreenrecorder-stats-PID, si 
j'en croie son manuel.  Il y a peut-être moyen de travailler avec ça ?


Après avoir lancé simplescreenrecorder, /dev/shm reste vide.

(Et pkill ne tue pas non plus simplescreenrecorder.)


Seb.


Re: Hard disks auto-spinning-down

2019-09-30 Thread B




On 9/29/19 4:30 AM, Mark Fletcher wrote:

Any thoughts on where I might look to find settings that can be tweaked
to make it spin down when idle?



See sdparm and hdparm tools. hdparm is probably the wrong tool because 
it's for internal drives connected to IDE/ATA/SATA busses. The reason 
sdparm works for USB drives is because of SCSI-over-USB emulation. See 
man page for more info.


The best way to do it is with a udev rule that will run some commands 
when the USB device gets plugged in. Otherwise the device resets it's 
config each time you plug it in.


Here's an actual example from my system:

-->cat /etc/udev/rules.d/86-Seagate-4TB-usb-disk-sleep.rules

ACTION=="add", SUBSYSTEM=="block", ENV{ID_SERIAL_SHORT}=="NA8E4BKU", 
RUN+="/usr/local/sbin/udev-set-usb-hdd-spindown.sh"




-->cat /usr/local/sbin/udev-set-usb-hdd-spindown.sh
#!/bin/bash

PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin"

# Seagate USB3 4TB disk drive.
DISK_DEV=/dev/disk/by-id/usb-Seagate_Expansion_Desk_NA8E4BKU-0:0
if [[ -e "$DISK_DEV" ]] ; then
    logger "Setting spindown on disk drive: $DISK_DEV"
    sdparm --flexible -6 --set SCT=4000 $DISK_DEV
    sdparm --flexible -6 --set STANDBY=1 $DISK_DEV
fi ; unset DISK_DEV


There's a convoluted reason why I call the script instead of just 
running the commands in the udev rule itself. If possible I'd tell you 
to just use a udev rule and skip the external script. Do what's right 
for you.


There might be some GUI tool out there that will do this for you but 
that's how I do it. See man pages and google for more hints. Good luck.





Re: Debian Installer, Manual Partitioning is a Joke

2019-09-30 Thread Tony van der Hoff
On 29/09/2019 21:32, Liam O'Toole wrote:
> On Sun, 29 Sep, 2019 at 10:56:54 -0400, Wayne Sallee wrote:
>> Debian really needs to work on the manual partitioning part of the 
>> installation.
>>
>> It's absolutely pathetic.
>>
>> Wayne Sallee
>> wa...@waynesallee.com
>> http://www.WayneSallee.com
>>
> 
> Thank you for your contribution. I look forward to reading your
> proposals for improving Debian, and how you intend to contribute.
> 

Don't feed the trolls.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: L'actualització del kernel no arrenca

2019-09-30 Thread Orestes Mas



El 30 de setembre de 2019 5:14:29 CEST, Jordi Fontich  
ha escrit:
>Missatge de Jordi Fontich  del dia dg., 29 de
>set.
>2019 a les 20:39:
>
>>
>>
>> Missatge de Jordi Fontich  del dia dg., 29
>de
>> set. 2019 a les 19:17:
>>
>>>
>>>
>>>
>>> He trobat la següent informació:
>> En la instal·lació de linux-image-4.15.0-64-generic, em diu que està
>> instal·la. Veig que depèn de linux-base (4.5ubuntu1~16.04.1), que no
>està
>> instal·lat. Aquest paquet és de xenial i no de bionic, la versió del
>qual
>> és 4.5ubuntu1. A més a més també surt que hi ha un conflicte amb
>> linux-image-unsigned-4.15.0-64-generic.
>>
>> Alguna idea de com continuar?
>>
>> Em sembla que ja començo a comprendre què ha passat. Vaig instal·lar
>l'Scribus des dels backports, però desprès no vaig desactivar-los.
>Suposo
>que les actualitzacions les està instal·lant des dels backports i per
>això
>tinc aquests problemes.
>
>Com ho puc solucionar? Desinstalo les actualitzacions dels nuclis dels
>backports?
>
>Jordi

Malgrat que dius que portes 15 anys remenant sistemes GNU/Linux, ja has 
comprovat que tinguis prou espai al /boot per tots els kernels?

Aquest suggeriment no pretén menystenir les teves habilitats, eh? Jo també 
porto molts anys i més d'un cop hi he caigut de quatre potes :-)

Cordialment,
Orestes.

-- 
Enviat des del meu dispositiu Android amb el K-9 Mail. Disculpeu la brevetat.



Re: sistema de ficheros

2019-09-30 Thread David Guillermo
Yo lo tengo muy claro, XFS... Los resultados siempre me han sido
positivos y la recuperación de datos igual... EXT4 por lo contrario
no.

Suerte


David Guillermo

Blog:   blog.guilgo.es

Twitter:   j0d3

CPU   :   AMD Phenom(tm) II X6 1045T Processor

OS :   Gentoo Base System GNU/Linux

Kernel:   linux-3.8.8-gentoo

Linux user  :   #408522

Entre todos podemos poner fin a los ficheros adjuntos en formato Microsoft Word.
-:-


El lun., 30 sept. 2019 a las 10:02, miguel angel gonzalez
() escribió:
>
> Bueno,
> La capa de seguridad (raid) la lleva el personal del cpd, lo tendrá, esa 
> parte me preocupa menos.
> Complicada tu pregunta, lo quiero todo, claro, pero prefiero la velocidad en 
> escritura.
> Creo que me decantaré por EXT4. Muchas gracias a todos.
> Saludos.
>
>
> El sáb., 28 sept. 2019 17:53, Galvatorix Torixgalva 
>  escribió:
>>
>> Hola,
>>
>> todo sistema de archivos tiene sus pros y sus contras, sencillamente algunos 
>> son mas eficientes que otros dependiendo de para que lo vayamos a usar.
>>
>> si lo que quieres es eficiencia y seguridad (como mencionas en tu mensaje) 
>> usa sistemas de RAID por hardware. Un sistema de RAID 5 (por poner un 
>> ejemplo) es bastante seguro y no muy caro (para lo que hace).
>>
>> "mayor velocidad de lectura pero menor velocidad de escritura?, mayor 
>> velocidad de escritura pero menor velocidad de lectura?, misma velocidad de 
>> lectura que de escritura?, debe llevar journaling?"
>>
>> cual es tu primera prioridad?, la lectura, la escritura, la velocidad o la 
>> recuperacion frente a desastres?. dificil elejir, verdad?. normalmente 
>> queremos varias cosas o incluso todas. De ahi lo de los sistemas RAID por 
>> hardware.
>>
>> Un saludo
>>
>>
>>
>> Libre de virus. www.avg.com



Re: sistema de ficheros

2019-09-30 Thread miguel angel gonzalez
Bueno,
La capa de seguridad (raid) la lleva el personal del cpd, lo tendrá, esa
parte me preocupa menos.
Complicada tu pregunta, lo quiero todo, claro, pero prefiero la velocidad
en escritura.
Creo que me decantaré por EXT4. Muchas gracias a todos.
Saludos.


El sáb., 28 sept. 2019 17:53, Galvatorix Torixgalva <
galvatorix2...@gmail.com> escribió:

> Hola,
>
> todo sistema de archivos tiene sus pros y sus contras, sencillamente
> algunos son mas eficientes que otros dependiendo de para que lo vayamos a
> usar.
>
> si lo que quieres es eficiencia y seguridad (como mencionas en tu mensaje)
> usa sistemas de RAID por hardware. Un sistema de RAID 5 (por poner un
> ejemplo) es bastante seguro y no muy caro (para lo que hace).
>
> "mayor velocidad de lectura pero menor velocidad de escritura?, mayor
> velocidad de escritura pero menor velocidad de lectura?, misma velocidad de
> lectura que de escritura?, debe llevar journaling?"
>
> cual es tu primera prioridad?, la lectura, la escritura, la velocidad o la
> recuperacion frente a desastres?. dificil elejir, verdad?. normalmente
> queremos varias cosas o incluso todas. De ahi lo de los sistemas RAID por
> hardware.
>
> Un saludo
>
>
>
>
> 
>  Libre
> de virus. www.avg.com
> 
> <#m_9148247168703380978_m_-3313309086153409435_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


Re: systemd pulled in by libgimp-2.0 in buster

2019-09-30 Thread Reco
Hi.

On Mon, Sep 30, 2019 at 08:53:24AM +0200, deloptes wrote:
> few days ago tested upgrade in buster for a new build server and had to
> install libgimp2.0-dev which installed libgimp2.0 which pulled systemd I
> think over policykit.

Does not reproduce:

# dpkg -S /sbin/init
sysvinit-core: /sbin/init 
# apt install libgimp2.0-dev -s
Reading package lists... Done
Building dependency tree  
Reading state information... Done
The following additional packages will be installed:
  gir1.2-gegl-0.4 gir1.2-json-1.0 libamd2 libbabl-0.1-0 libbabl-dev libblas3 
libcamd2 libccolamd2 libcholmod3 libcolamd2
  libexiv2-14 libgegl-0.4-0 libgegl-common libgegl-dev libgexiv2-2 libgfortran5 
libgimp2.0 libilmbase23 libjson-glib-dev
  liblapack3 libmetis5 libopenexr23 libraw19 libsuitesparseconfig5 libswscale5 
libumfpack5
Suggested packages:
  exiv2 libgimp2.0-doc libjson-glib-doc
Recommended packages:
  gimp-data
The following NEW packages will be installed:
  gir1.2-gegl-0.4 gir1.2-json-1.0 libamd2 libbabl-0.1-0 libbabl-dev libblas3 
libcamd2 libccolamd2 libcholmod3 libcolamd2
  libexiv2-14 libgegl-0.4-0 libgegl-common libgegl-dev libgexiv2-2 libgfortran5 
libgimp2.0 libgimp2.0-dev libilmbase23
  libjson-glib-dev liblapack3 libmetis5 libopenexr23 libraw19 
libsuitesparseconfig5 libswscale5 libumfpack5
$ dpkg -l systemd | grep sys
un  systemd  (no description available)

Reco



systemd pulled in by libgimp-2.0 in buster

2019-09-30 Thread deloptes
Hi,
few days ago tested upgrade in buster for a new build server and had to
install libgimp2.0-dev which installed libgimp2.0 which pulled systemd I
think over policykit.

It was ask 1-2 weeks ago what is pulling systemd in buster. I wonder if
there is a way to avoid it and keep old init but having libgimp on the
system.

Thank you in advance



Re: L'actualització del kernel no arrenca

2019-09-30 Thread Narcis Garcia
__
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 30/9/19 a les 5:14, Jordi Fontich ha escrit:
> 
> 
> Missatge de Jordi Fontich  > del dia dg., 29 de set. 2019 a les 20:39:
> 
> 
> 
> Missatge de Jordi Fontich  > del dia dg., 29 de set. 2019 a les
> 19:17:
> 
> 
> 
> 
> He trobat la següent informació:
> En la instal·lació de linux-image-4.15.0-64-generic, em diu que està
> instal·la. Veig que depèn de linux-base (4.5ubuntu1~16.04.1), que no
> està instal·lat. Aquest paquet és de xenial i no de bionic, la
> versió del qual és 4.5ubuntu1. A més a més també surt que hi ha un
> conflicte amb linux-image-unsigned-4.15.0-64-generic.
> 
> Alguna idea de com continuar?
> 
> Em sembla que ja començo a comprendre què ha passat. Vaig instal·lar
> l'Scribus des dels backports, però desprès no vaig desactivar-los.
> Suposo que les actualitzacions les està instal·lant des dels backports i
> per això tinc aquests problemes.
> 
> Com ho puc solucionar? Desinstalo les actualitzacions dels nuclis dels
> backports?

Segons la meva experiència, de forma predeterminada, el tenir els
«backports» habilitats en repositori només fa que puguis instal·lar
backports quan ho demanes expressament. Per exemple:

$ apt -t buster-backports install scribus



Re: Authentication for telnet.

2019-09-30 Thread David
On Mon, 30 Sep 2019 at 15:55, Tixy  wrote:
> On Mon, 2019-09-30 at 14:43 +1000, David wrote:

> > A final puzzle is that I vaguely recall from other
> > messages that you use something named Oberon.

> It came up in the discussion of why he breaks threads every time he
> posts to this list. The X-Mailer header in his emails says 'Oberon
> Mail' and it seems that MUA doesn't set In-Reply-To or References like
> it should do.

Ah yeah, thanks for the reminder. And furthermore ...

On Mon, 30 Sep 2019 at 08:15,  wrote:
> From: Reco  Date: Sat, 28 Sep 2019 19:23:45 +0300

> > I have to ask - what are you trying to achieve?

> An interactive shell session with minimal overhead. (Or maximal
> efficiency.)  The telnet client in the Oberon subsystem is noticeably
> faster than competitors.

I now notice that the reason that "Oberon" was lurking somewhere in
my mind as a possible relevant factor is because Peter had in fact
mentioned it earlier in this discussion.



Re: RStudio in Buster

2019-09-30 Thread Reco
Hi.

On Sun, Sep 29, 2019 at 10:34:17PM +0100, Mark Fletcher wrote:
> The most recent package they provide is aiming at Stretch -- they don't 
> seem to have produced a Buster version yet.

It says otherwise here [1]:

Studio 1.2.5001 - Ubuntu 18/Debian 10 (64-bit)

and here [2]:

Supported branches:
Debian buster (stable)

> The Stretch-facing package installs into Buster without error, but then 
> fails when you try to launch it because it has a dependency on 
> libssl1.0.2 and Buster uses libssl1.1 (and presumably this dependency 
> isn't recorded at the package level)

Again, dpkg disagrees with you:

$ dpkg -I /tmp/rstudio-1.2.5001-amd64.deb  | grep Dep
 Depends: libedit2, libssl1.0.0 | libssl1.0.2 | libssl1.1, libclang-dev, 
libxkbcommon-x11-0,  libc6 (>= 2.7)


> If one downloads libssl1.0.2 from the Debian package pool and installs 
> it, it appears to install OK and RStudio starts working -- but, what 
> damage / compromise is that likely to have done to the system? Is it OK 
> to do this? Should one take other steps to prevent libssl1.0.2 being 
> used by other applications?

I suggest you to update your RStudio package and to forget about
libssl1.0.

Reco

[1] https://rstudio.com/products/rstudio/download/

[2] https://cran.rstudio.com/bin/linux/debian/



xfce and hybrid sleep: only in menu?

2019-09-30 Thread Andrea Borgia

Hi.

I saw that the power menu now has support for hybrid sleep and have 
verified that it works reliably on my system (tracking "testing").


Therefore I wanted to make this mode the default when closing the lid but 
I can't seem to find this option in the power settings.


What gives? :)

Andrea.



Re: RStudio in Buster

2019-09-30 Thread deloptes
Mark Fletcher wrote:

> If one downloads libssl1.0.2 from the Debian package pool and installs
> it, it appears to install OK and RStudio starts working -- but, what
> damage / compromise is that likely to have done to the system? Is it OK
> to do this? Should one take other steps to prevent libssl1.0.2 being
> used by other applications?

Usually one application is linked to specific version of one library, but it
depends how the software is being compiled. This is also true for the
library itself. In the case with libssl1.0.2 you are may be lucky that
there is no broken dependency in libssl1.0.2 too and you can use it.

What one can do to safely isolate one library is to extract that
library "dpkg -x .deb " and then set explicit
LD_LIBRARY_PATH for the application or even LD_PRELOAD for the library.