Re: Inicialização amigável no Debian Buster

2019-09-06 Thread elementar
Ola Aguinaldo, segue abaixo a wiki do debian sobre o splash
"inicialização gráfica"Link: https://wiki.debian.org/pt/plymouth
Obs.: O nome do  tema do Debian 10 "Buster" é futureprototype
Em ter, 2019-09-03 às 23:26 +, Aguinaldo Alves escreveu:
> Amigos da Comunidade Debian,
> Tenho procurado na internet respostas, mas não encontrei nenhuma que
> atendesse minhas expectativas.
> 
> Dilema: Formatei meu computador de trabalho e instalei o Debian 10
> "Buster". Antes da instalação, baixei a live DVD e usei o sistema. Na
> inicialização da live DVD não aparece o grub e nem a lista de
> carregamento dos serviços, etc mas quando instalei no HD, quando
> vou iniciar, aparece o grub e todas aquelas letras. Isso tem causado
> incomodo nos usuários. Pensei em instalar uma inicialização amigável
> como da live DVD, mas não tenho achado referências na net.
> 
> Alguém, pode ajudar, por favor?
> 
> grande abraço a todos.


Re: usr merge apparently breaks amanda

2019-09-06 Thread Gene Heskett
On Friday 06 September 2019 14:32:29 John Hasler wrote:

> Gene writes:
> > Firewall rule?  I haven't run iptables on any of these machines
> > since forever but with systemd taking over, I've no clue how to
> > disable it if it is running.  htop see's nothing that looks like
> > iptables, has it been renamed?
>
> Iptables is not a daemon.  It is a tool for installing and
> administering kernel filtering rules.  It runs once at bootup and then
> exits when a firewall has been installed.
>
> Systemd can install a set of firewall rules at bootup but I don't
> think it does anything by default.
>
> The default Debian firewall rules are wide open.

Good, I haven't touched them that I know of. I have gone to the machine 
and found a blank screen, and no response to the usual keyboard stuff. 
Only the power switch down, count to 10, back up, slow reboot, 
culminating in the usual xfce4 login screen.
Probably with the 2 SSD's unmounted, I need to attack /etc/fstab and fix 
that. They were mounted and usable when amanda came calling.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: usr merge apparently breaks amanda

2019-09-06 Thread Gene Heskett
On Friday 06 September 2019 13:39:43 Charles Curley wrote:

> On Fri, 06 Sep 2019 18:30:30 +0100
>
> Tixy  wrote:
> > Is the problem being talked about here different to amanda usr-merge
> > bug 939411 [1] which I saw that mentioned in another thread [2] ?
> >
> > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411
> > [2] https://lists.debian.org/debian-user/2019/09/msg00219.html
>
> They are different. And, as Gene was involved in the discussion on the
> Amanda hackers list that lead to 93411, I trust he has made
> appropriate adjustments to his installation.

I've made several adjustments, with zero end effect Charles. The clues, 
dim and smoky as they are, seem to be pointing to something that kills 
the networking, without actually logging a single error in 
the /var/log/amanda tree. If and when we find it, its gonna be a head 
slapper for sure.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: usr merge apparently breaks amanda

2019-09-06 Thread Gene Heskett
On Friday 06 September 2019 13:30:30 Tixy wrote:

> On Fri, 2019-09-06 at 13:12 -0400, Gene Heskett wrote:
> > On Friday 06 September 2019 11:52:15 Pascal Hambourg wrote:
> > > Le 06/09/2019 à 16:39, Gene Heskett a écrit :
> > > > On Friday 06 September 2019 10:20:14 Greg Wooledge wrote:
> > > >> I could very easily see amanda itself breaking from usrmerge,
> > > >> if
> >
> > it
> >
> > > >> contains programs that try to invoke commands using their full
> > > >> paths (e.g. /bin/rm -f ...).
> > >
> > > Why would that break ? Old paths are still valid, this is the
> >
> > purpose
> >
> > > of the symlinks.
> > >
> > > Before usr merge :
> > > /bin/rm -> ok
> > > /usr/bin/rm -> ko
> > >
> > > After usr merge :
> > > /bin/rm -> ok
> > > /usr/bin/rm -> ok
> > >
> > > Unless something is unable to follow symlinks.
> > >
> > > > FAILURE DUMP SUMMARY:
> > > >picnc / lev 0  FAILED [data timeout]
> > > >picnc / lev 0  FAILED [[request failed: No route to host]]
> > > >picnc / lev 0  FAILED [dumper TRYAGAIN: [request failed: No
> >
> > route
> >
> > > > to host]]
> > >
> > > This is a network error (ARP or NDP address resolution failure). I
> > > wonder what it has to do with usr merge.
> >
> > Good question. Network is working fine on that machine, until amanda
> > touches it. Amanda's own logs on that machine look normal.
> >
> > And I am running out of hair. Ideas to check next appreciated.
>
> Is the problem being talked about here different to amanda usr-merge
> bug 939411 [1] which I saw that mentioned in another thread [2] ?
>
The manifestation matches, but having read thru amanda's tools own logs, 
on that machine, I am not so sure we've pointed the finger in the right 
direction. From the emailed backup report, it looks as if its crashed 
the instant amanda touches it. But the amanda tool's own logs don't show 
any errors.  But the network is gone, stopping the backup.  So are all 
my ssh -Y logins, but they look as if the keyboard isn't sending if 
already logged in, but starting another login gets a no route to host 
msg.

I think one thing is guaranteed, when I or someone else finds it, it will 
be a forehead slapper.

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411
> [2] https://lists.debian.org/debian-user/2019/09/msg00219.html


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Pascal Hambourg

Le 06/09/2019 à 21:05, Charles Curley a écrit :


Fresh install:

root@jhegaala:~# ll /sbin/depmod /usr/sbin/depmod
lrwxrwxrwx 1 root root 9 Feb  9  2019 /sbin/depmod -> /bin/kmod*
lrwxrwxrwx 1 root root 9 Feb  9  2019 /usr/sbin/depmod -> /bin/kmod*

Upgraded:

root@hawk:~# ll /sbin/depmod /usr/sbin/depmod
ls: cannot access '/usr/sbin/depmod': No such file or directory
lrwxrwxrwx 1 root root 9 Feb  9  2019 /sbin/depmod -> /bin/kmod*


depmod has been in /sbin for ages. What kind of crazy program would 
expect it to be in /usr/sbin ?



Going back to the OP, it appears he has the option to supply the full
path to depmod; perhaps he should try that.


The OP tried to run the script calling depmod as a standard user. The 
user $PATH missing /sbin caused the error. Anyway depmod itself would 
have failed without root privileges.




Re: stretch: amd64, no dmesg when usb stuff plugged in

2019-09-06 Thread Gene Heskett
On Friday 06 September 2019 12:53:54 Charles Curley wrote:

> On Fri, 6 Sep 2019 10:44:45 -0400
>
> Gene Heskett  wrote:
> > I found it. A staples brand usb hub that has served on the end of an
> > extension cable, as a place to plugin the dongles for the
> > keyboard/mouse for the last 8 or so years was doing funkity things
> > to udev. Replaced with another off brand slow hub with power buttons
> > for each socket, and the system is back to something resembling
> > normal operation.
>
> Good job.
>
> Here is what may be going on: the USB spec requires that plugs make .5
> amps (I think) available to devices. Hubs which do not use an external
> power supply cannot supply that to all the devices on that hub, so
> they do wonky things. So if you must have a USB hub, get one with an
> external power source.

It (the staples branded hub) has been running without external power for 
5 or 6 years, with up to 2 keyboard/mouse dongles and a card writer 
plugged in maybe 5% of that 5 or 6 years. And a fresh one, different 
make, non-powered, is working just fine.  I've no clue how much current 
its drawing but I'd have to say under .2 amps based on the fact that its 
generating no detectable heat. The one I took out had been making about 
1 watts worth of heat that I had just noticed over the last couple of 
months. I had also been losing that keyboard, and rarely the mouse too. 
And I was blaming that on the kernel, but it did not get better 
switching to the same kernel w/o the preempt-rt build, so next time I 
reboot I'll go back to the preempt-rt version and tell the linuxcnc 
developers I found the problem, if it doesn't recur in a week.

But I've no clue how long it will be before a buster compatible linuxcnc 
comes out, some python stuff it depends on has been removed from buster, 
requiring write-arounds.

Thanks Charles.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Charles Curley
On Fri, 6 Sep 2019 13:47:19 -0500
David Wright  wrote:

> Bear in mind that depmod itself has been a symlink for quite a while.

And still is. However, if the symlink you're expecting isn't there...

Fresh install:

root@jhegaala:~# ll /sbin/depmod /usr/sbin/depmod
lrwxrwxrwx 1 root root 9 Feb  9  2019 /sbin/depmod -> /bin/kmod*
lrwxrwxrwx 1 root root 9 Feb  9  2019 /usr/sbin/depmod -> /bin/kmod*
root@jhegaala:~# 

Upgraded:

root@hawk:~# ll /sbin/depmod /usr/sbin/depmod
ls: cannot access '/usr/sbin/depmod': No such file or directory
lrwxrwxrwx 1 root root 9 Feb  9  2019 /sbin/depmod -> /bin/kmod*
root@hawk:~# 

Going back to the OP, it appears he has the option to supply the full
path to depmod; perhaps he should try that.



-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = 38DD CE9F 9725 42DD E29A  EB11 7514 6D37 A332 10CB
https://charlescurley.com



Re: error while doing apt-get update

2019-09-06 Thread Sven Joachim
On 2019-09-06 21:59 +0530, Tapas Mishra wrote:

> I am getting some error while doing
> debian@debian:~$ sudo apt-get update
> [sudo] password for debian:
> Get:1 http://security-cdn.debian.org/debian-security buster/updates
> InRelease [39.1 kB]
> Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
> Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 
> kB]
> Reading package lists... Done
> E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
> InRelease' changed its 'Label' value from 'Debian-Security' to
> 'Debian'
> N: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
> InRelease' changed its 'Version' value from '10' to ''
> E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
> InRelease' changed its 'Suite' value from 'stable' to 'stable-updates'
> E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
> InRelease' changed its 'Codename' value from 'buster' to
> 'buster-updates'
> N: This must be accepted explicitly before updates for this repository
> can be applied. See apt-secure(8) manpage for details.

This is rather strange.  The new values for these fields in the
buster-updates repository look correct, I wonder how the old ones got
there.

> debian@debian:/etc/apt$ cat sources.list
> #
>
> # deb cdrom:[Official Debian GNU/Linux Live 10.0.0 gnome
> 2019-07-06T10:51]/ buster main
>
> #deb cdrom:[Official Debian GNU/Linux Live 10.0.0 gnome
> 2019-07-06T10:51]/ buster main
>
> deb http://deb.debian.org/debian/ buster main
> deb-src http://deb.debian.org/debian/ buster main
>
> deb http://security.debian.org/debian-security buster/updates main
> deb-src http://security.debian.org/debian-security buster/updates main
>
> # buster-updates, previously known as 'volatile'
> deb http://deb.debian.org/debian/ buster-updates main
> deb-src http://deb.debian.org/debian/ buster-updates main
>
> # This system was installed using small removable media
> # (e.g. netinst, live or single CD). The matching "deb cdrom"
> # entries were disabled at the end of the installation process.
> # For information about how to configure apt package sources,
> # see the sources.list(5) manual.

This sources.list file looks good to me.

> What should I  check?

There should be a file
/var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease.
If it exists, can you please show its first 15 lines?

Cheers,
   Sven



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread David Wright
On Fri 06 Sep 2019 at 10:48:43 (-0600), Charles Curley wrote:
> On Fri, 6 Sep 2019 19:23:53 +0530
> Tapas Mishra  wrote:
> 
> > What is the location of the "depmod" program on your
> > machine? Use of uninitialized value $gOption{"default"} in numeric eq
> > (==) at ./vmware-install.pl line 866,  line 1.
> 
> The answer is, that depends.
> 
> On a Debian 10 (buster) machine that was upgraded from Debian 9
> (stretch), it is at:
> 
> root@hawk:~# which depmod 
> /sbin/depmod
> root@hawk:~# 
> 
> On a freshly installed Debian 10, it is at:
> 
> root@jhegaala:~# which depmod 
> /usr/sbin/depmod
> root@jhegaala:~# 
> 
> 
> According to the package, it should be at:
> 
> root@hawk:~# apt-file search depmod | grep depmod$
> kmod: /sbin/depmod
> root@hawk:~#
> 
> This is due to something called "merged usr", described at
> https://www.debian.org/releases/buster/amd64/release-notes/ch-whats-new.en.html#merged-usr
> Follow the link there for more explanation.
> 
> This has hit the amanda packages, and I filed a bug,
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411 for that
> package. You might do the same for your package.

Bear in mind that depmod itself has been a symlink for quite a while.
Looking at jessie:

$ cat /etc/debian_version
8.11
$ ls -l /sbin/depmod
lrwxrwxrwx 1 root root 9 Sep 27  2014 /sbin/depmod -> /bin/kmod
$ ls -l /bin/kmod
-rwxr-xr-x 1 root root 182036 Sep 27  2014 /bin/kmod
$ 

Cheers,
David.



Re: usr merge apparently breaks amanda

2019-09-06 Thread David Wright
On Fri 06 Sep 2019 at 11:39:43 (-0600), Charles Curley wrote:
> On Fri, 06 Sep 2019 18:30:30 +0100
> Tixy  wrote:
> 
> > Is the problem being talked about here different to amanda usr-merge
> > bug 939411 [1] which I saw that mentioned in another thread [2] ?
> > 
> > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411
> > [2] https://lists.debian.org/debian-user/2019/09/msg00219.html
> 
> They are different. And, as Gene was involved in the discussion on the
> Amanda hackers list that lead to 93411, I trust he has made appropriate
> adjustments to his installation.

If this is a new problem, is this something to do with apparmor?
(The syslink-following problem, not Gene's network failure.)

Cheers,
David.



Re: usr merge apparently breaks amanda

2019-09-06 Thread John Hasler
Gene writes:
> Firewall rule?  I haven't run iptables on any of these machines since
> forever but with systemd taking over, I've no clue how to disable it
> if it is running.  htop see's nothing that looks like iptables, has it
> been renamed?

Iptables is not a daemon.  It is a tool for installing and administering
kernel filtering rules.  It runs once at bootup and then exits when a
firewall has been installed.

Systemd can install a set of firewall rules at bootup but I don't think
it does anything by default.

The default Debian firewall rules are wide open.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: usr merge apparently breaks amanda

2019-09-06 Thread Charles Curley
On Fri, 06 Sep 2019 18:30:30 +0100
Tixy  wrote:

> Is the problem being talked about here different to amanda usr-merge
> bug 939411 [1] which I saw that mentioned in another thread [2] ?
> 
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411
> [2] https://lists.debian.org/debian-user/2019/09/msg00219.html

They are different. And, as Gene was involved in the discussion on the
Amanda hackers list that lead to 93411, I trust he has made appropriate
adjustments to his installation.

-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com



Re: usr merge apparently breaks amanda

2019-09-06 Thread Tixy
On Fri, 2019-09-06 at 13:12 -0400, Gene Heskett wrote:
> On Friday 06 September 2019 11:52:15 Pascal Hambourg wrote:
> 
> > Le 06/09/2019 à 16:39, Gene Heskett a écrit :
> > > On Friday 06 September 2019 10:20:14 Greg Wooledge wrote:
> > >> I could very easily see amanda itself breaking from usrmerge, if
> it
> > >> contains programs that try to invoke commands using their full
> > >> paths (e.g. /bin/rm -f ...).
> >
> > Why would that break ? Old paths are still valid, this is the
> purpose
> > of the symlinks.
> >
> > Before usr merge :
> > /bin/rm -> ok
> > /usr/bin/rm -> ko
> >
> > After usr merge :
> > /bin/rm -> ok
> > /usr/bin/rm -> ok
> >
> > Unless something is unable to follow symlinks.
> >
> > > FAILURE DUMP SUMMARY:
> > >picnc / lev 0  FAILED [data timeout]
> > >picnc / lev 0  FAILED [[request failed: No route to host]]
> > >picnc / lev 0  FAILED [dumper TRYAGAIN: [request failed: No
> route
> > > to host]]
> >
> > This is a network error (ARP or NDP address resolution failure). I
> > wonder what it has to do with usr merge.
> 
> Good question. Network is working fine on that machine, until amanda 
> touches it. Amanda's own logs on that machine look normal.
> 
> And I am running out of hair. Ideas to check next appreciated.

Is the problem being talked about here different to amanda usr-merge
bug 939411 [1] which I saw that mentioned in another thread [2] ?

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411
[2] https://lists.debian.org/debian-user/2019/09/msg00219.html

-- 
Tixy



[Solved] buster: multiple instances of konqueror?

2019-09-06 Thread Étienne Mollier
D. R. Evans, on 2019-09-05:
> Étienne Mollier wrote on 9/5/19 1:38 PM:
> > $ konqueror . # brings up a new window showing the CWD
>
> If I map "alt-S" to "konqueror " instead of just
> "konqueror" then it seems perfectly happy to start multiple instances.
>
> So the problem is solved -- if not understood -- and I thank you for this 
> clue.

You are welcome, I hope you won't mind if I append a little
"[Solved]" marker in the "Subject:" field in that case.  :)


[... rewinding ...]
> > On my side, the window manager happily brings up the first
> > konqueror window having been started, and the "konqueror"
> > command gives back the hand to the shell, instead of spawning a
> > new window, which I believe is the expected behaviour ?
>
> I'm afraid that I don't understand what you are asking.

Nevermind, I was merely wondering what was the behaviour you
were expecting "physically" on your screen.  I supposed you
wanted to spawn new windows, but was not sure 100%.  Given your
new "alt-S" key binding, I tend to believe I hit bull's eye
(although we're still talking about Buster.  ;)

> > According to my few tests and browsing diverse konqueror related
> > documents, it would seem that running several konqueror
> > processes is technically prevented by various means, probably
> > on purpose.
>
> I wonder why? [...]

That is an hypothesis, I am not a kdevelopper at all, but having
a single process, a single entry point, for doing desktop
integration tasks, for instance receiving a request for opening
a PDF, is probably easier when you know in advance where to put
your PDF opening request to.

There is the DESIGN file at the root of konqueror source code,
giving an overview of the way the program functions and
interacts with other parts of the system (the file is dated from
2007, but I suppose the idea remains).  The program kfclient is
a command you can use to open almost any file, and it tries to
connect to existing running konqueror processes when it exists.
This change of behaviour /might/ be a side effect of that
general policy.

> I've used konqueror since the old Mandrake days (somewhere around 2002 is my
> best guess). Multiple instances have always worked fine before on my systems.
> I find the change very mysterious... and the lack of documentation anywhere I
> can find to justify, or even describe this new behaviour, equally puzzling.

Cool, I started with GNU/Linux with the later version Mandriva
2007, when I was a teenager, and did work a bit with konqueror,
on KDE 3.5.  I /only/ begun using Debian with Lenny, but I
digress.

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




signature.asc
Description: OpenPGP digital signature


Re: usr merge apparently breaks amanda

2019-09-06 Thread Gene Heskett
On Friday 06 September 2019 11:58:15 Greg Wooledge wrote:

> On Fri, Sep 06, 2019 at 05:52:15PM +0200, Pascal Hambourg wrote:
> > Le 06/09/2019 à 16:39, Gene Heskett a écrit :
> > > On Friday 06 September 2019 10:20:14 Greg Wooledge wrote:
> > > > I could very easily see amanda itself breaking from usrmerge, if
> > > > it contains programs that try to invoke commands using their
> > > > full paths (e.g. /bin/rm -f ...).
> >
> > Why would that break ? Old paths are still valid, this is the
> > purpose of the symlinks.
> >
> > Before usr merge :
> > /bin/rm -> ok
> > /usr/bin/rm -> ko
> >
> > After usr merge :
> > /bin/rm -> ok
> > /usr/bin/rm -> ok
>
> I was too hasty in writing my example.  An actual example of something
> that fails is a hard-coded /usr/bin/ command in a buster package,
> assuming that usrmerge will be performed -- and it fails on systems
> that did *not* perform it.
>
> Nevertheless, if Gene were to present a logfile error with a pathname
> and a "no such file or directory" message, or "command not found", or
> something similar, that could be an indicator to look at usrmerge.
>
> > Unless something is unable to follow symlinks.
> >
> > > FAILURE DUMP SUMMARY:
> > >picnc / lev 0  FAILED [data timeout]
> > >picnc / lev 0  FAILED [[request failed: No route to host]]
> > >picnc / lev 0  FAILED [dumper TRYAGAIN: [request failed: No
> > > route to host]]
> >
> > This is a network error (ARP or NDP address resolution failure). I
> > wonder what it has to do with usr merge.
>
> Agreed.

No such errors are logged by amanda's own tools on that machine. I just 
spent over an hour reading thru them after grep failed to find an error 
or or fail in the lot of them.

ip a output looks normal after a reboot. But its offline as soon as 
amanda starts.  Firewall rule?  I haven't run iptables on any of these 
machines since forever but with systemd taking over, I've no clue how to 
disable it if it is running.  htop see's nothing that looks like 
iptables, has it been renamed?

Thanks

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: stretch: amd64, no dmesg when usb stuff plugged in

2019-09-06 Thread Charles Curley
On Fri, 6 Sep 2019 10:44:45 -0400
Gene Heskett  wrote:

> I found it. A staples brand usb hub that has served on the end of an 
> extension cable, as a place to plugin the dongles for the
> keyboard/mouse for the last 8 or so years was doing funkity things to
> udev. Replaced with another off brand slow hub with power buttons for
> each socket, and the system is back to something resembling normal
> operation.

Good job.

Here is what may be going on: the USB spec requires that plugs make .5
amps (I think) available to devices. Hubs which do not use an external
power supply cannot supply that to all the devices on that hub, so they
do wonky things. So if you must have a USB hub, get one with an
external power source.

-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com



Re: usr merge apparently breaks amanda

2019-09-06 Thread Gene Heskett
On Friday 06 September 2019 11:52:15 Pascal Hambourg wrote:

> Le 06/09/2019 à 16:39, Gene Heskett a écrit :
> > On Friday 06 September 2019 10:20:14 Greg Wooledge wrote:
> >> I could very easily see amanda itself breaking from usrmerge, if it
> >> contains programs that try to invoke commands using their full
> >> paths (e.g. /bin/rm -f ...).
>
> Why would that break ? Old paths are still valid, this is the purpose
> of the symlinks.
>
> Before usr merge :
> /bin/rm -> ok
> /usr/bin/rm -> ko
>
> After usr merge :
> /bin/rm -> ok
> /usr/bin/rm -> ok
>
> Unless something is unable to follow symlinks.
>
> > FAILURE DUMP SUMMARY:
> >picnc / lev 0  FAILED [data timeout]
> >picnc / lev 0  FAILED [[request failed: No route to host]]
> >picnc / lev 0  FAILED [dumper TRYAGAIN: [request failed: No route
> > to host]]
>
> This is a network error (ARP or NDP address resolution failure). I
> wonder what it has to do with usr merge.

Good question. Network is working fine on that machine, until amanda 
touches it. Amanda's own logs on that machine look normal.

And I am running out of hair. Ideas to check next appreciated.

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Charles Curley
On Fri, 6 Sep 2019 19:23:53 +0530
Tapas Mishra  wrote:

> What is the location of the "depmod" program on your
> machine? Use of uninitialized value $gOption{"default"} in numeric eq
> (==) at ./vmware-install.pl line 866,  line 1.

The answer is, that depends.

On a Debian 10 (buster) machine that was upgraded from Debian 9
(stretch), it is at:

root@hawk:~# which depmod 
/sbin/depmod
root@hawk:~# 

On a freshly installed Debian 10, it is at:

root@jhegaala:~# which depmod 
/usr/sbin/depmod
root@jhegaala:~# 


According to the package, it should be at:

root@hawk:~# apt-file search depmod | grep depmod$
kmod: /sbin/depmod
root@hawk:~#

This is due to something called "merged usr", described at
https://www.debian.org/releases/buster/amd64/release-notes/ch-whats-new.en.html#merged-usr
Follow the link there for more explanation.

This has hit the amanda packages, and I filed a bug,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411 for that
package. You might do the same for your package.

-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com



error while doing apt-get update

2019-09-06 Thread Tapas Mishra
Hi,
I am getting some error while doing
debian@debian:~$ sudo apt-get update
[sudo] password for debian:
Get:1 http://security-cdn.debian.org/debian-security buster/updates
InRelease [39.1 kB]
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 kB]
Reading package lists... Done
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Label' value from 'Debian-Security' to
'Debian'
N: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Version' value from '10' to ''
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Suite' value from 'stable' to 'stable-updates'
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Codename' value from 'buster' to
'buster-updates'
N: This must be accepted explicitly before updates for this repository
can be applied. See apt-secure(8) manpage for details.

debian@debian:/etc/apt$ cat sources.list
#

# deb cdrom:[Official Debian GNU/Linux Live 10.0.0 gnome
2019-07-06T10:51]/ buster main

#deb cdrom:[Official Debian GNU/Linux Live 10.0.0 gnome
2019-07-06T10:51]/ buster main

deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

What should I  check?
I am using Debian 10 in a virtualized environment (Vmware 15 workstation)
---
Thanks



Re: usr merge apparently breaks amanda

2019-09-06 Thread Greg Wooledge
On Fri, Sep 06, 2019 at 05:52:15PM +0200, Pascal Hambourg wrote:
> Le 06/09/2019 à 16:39, Gene Heskett a écrit :
> > On Friday 06 September 2019 10:20:14 Greg Wooledge wrote:
> > > 
> > > I could very easily see amanda itself breaking from usrmerge, if it
> > > contains programs that try to invoke commands using their full paths
> > > (e.g. /bin/rm -f ...).
> 
> Why would that break ? Old paths are still valid, this is the purpose of the
> symlinks.
> 
> Before usr merge :
> /bin/rm -> ok
> /usr/bin/rm -> ko
> 
> After usr merge :
> /bin/rm -> ok
> /usr/bin/rm -> ok

I was too hasty in writing my example.  An actual example of something
that fails is a hard-coded /usr/bin/ command in a buster package, assuming
that usrmerge will be performed -- and it fails on systems that did *not*
perform it.

Nevertheless, if Gene were to present a logfile error with a pathname
and a "no such file or directory" message, or "command not found", or
something similar, that could be an indicator to look at usrmerge.

> Unless something is unable to follow symlinks.
> > FAILURE DUMP SUMMARY:
> >picnc / lev 0  FAILED [data timeout]
> >picnc / lev 0  FAILED [[request failed: No route to host]]
> >picnc / lev 0  FAILED [dumper TRYAGAIN: [request failed: No route to
> > host]]
> 
> This is a network error (ARP or NDP address resolution failure). I wonder
> what it has to do with usr merge.

Agreed.



Re: usr merge apparently breaks amanda

2019-09-06 Thread Pascal Hambourg

Le 06/09/2019 à 16:39, Gene Heskett a écrit :

On Friday 06 September 2019 10:20:14 Greg Wooledge wrote:


I could very easily see amanda itself breaking from usrmerge, if it
contains programs that try to invoke commands using their full paths
(e.g. /bin/rm -f ...).


Why would that break ? Old paths are still valid, this is the purpose of 
the symlinks.


Before usr merge :
/bin/rm -> ok
/usr/bin/rm -> ko

After usr merge :
/bin/rm -> ok
/usr/bin/rm -> ok

Unless something is unable to follow symlinks.

FAILURE DUMP SUMMARY:
   picnc / lev 0  FAILED [data timeout]
   picnc / lev 0  FAILED [[request failed: No route to host]]
   picnc / lev 0  FAILED [dumper TRYAGAIN: [request failed: No route to
host]]


This is a network error (ARP or NDP address resolution failure). I 
wonder what it has to do with usr merge.




Re: debconf20 serà a Israel (!!??)

2019-09-06 Thread alex

A 2019-09-03 08:41, Alex Muntada escrigué:

Hola Àlex,


Veieu factible organitzar una MiniDebConf a Europa a les
mateixes dates?


--
https://boycottdebconf20.org/
https://twitter.com/hashtag/BoycottDebian


No sé si organitzar un esdeveniment oficial de Debian casa gaire
amb fer una campanya de boicot contra Debian. Si vols organitzar
alguna alternativa a la debconf, et recomano que ho plantegi en
des d'un punt de vista positiu i no com un boicot.

Per exemple: fent una crida dirigida a la gent que no vagi a la
debconf per trobar-se en un lloc alternatiu em sembla una bona
idea; demanar a la gent que no vagi a Israel no m'ho sembla.

Salut,
Alex



Gràcies Àlex



Re: stretch: amd64, no dmesg when usb stuff plugged in

2019-09-06 Thread Gene Heskett
On Thursday 05 September 2019 19:11:42 Gene Heskett wrote:

> Greetings all;
>
> So what utility thats supposed to monitor that, has taken a holiday?
>
> Thanks All.
>
> Cheers, Gene Heskett

I found it. A staples brand usb hub that has served on the end of an 
extension cable, as a place to plugin the dongles for the keyboard/mouse 
for the last 8 or so years was doing funkity things to udev. Replaced 
with another off brand slow hub with power buttons for each socket, and 
the system is back to something resembling normal operation.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: usr merge apparently breaks amanda

2019-09-06 Thread Gene Heskett
On Friday 06 September 2019 10:20:14 Greg Wooledge wrote:

> On Fri, Sep 06, 2019 at 10:06:39AM -0400, Gene Heskett wrote:
> > Greetings all;
> >
> > I don't have a good reason to object to the usr merge, but its
> > causing amanda to crash the systems that have had this modification.
>
> This is the part where you show us the error messages from the log
> files that support your claims.
>
> Or, simply file a bug report, include said error messages in the bug
> report, and tell us here on debian-user the bug number, with a warning
> that other users may encounter the same issues if they perform the
> usrmerge step.
>
> > I am trying tonight, an exclude scheme that should stop the crashing
> > if indeed that is what is doing it. But if it works, that means your
> > 3 links to the old address will not be backed up either, so we need
> > a better idea. Open to suggestions.
>
> I suggest showing some DETAILS.
>
> I could very easily see amanda itself breaking from usrmerge, if it
> contains programs that try to invoke commands using their full paths
> (e.g. /bin/rm -f ...).  That would be a bug in amanda, easily
> diagnosed, and... maybe fixed, maybe not, Debian developers have a
> long history of not fixing things.
>
> But your claim that this causes the entire *system* to crash is an
> extraordinary assertion, which requires at least a TEENY TINY BIT of
> proof.

How about this snippet from the email received from amanda, for last 
nights attempt by amanda to backup a debian-arm net install on an 
rpi-3b?  It apparently killed the system with the first touch.

FAILURE DUMP SUMMARY:
  picnc / lev 0  FAILED [data timeout]
  picnc / lev 0  FAILED [[request failed: No route to host]]
  picnc / lev 0  FAILED [dumper TRYAGAIN: [request failed: No route to 
host]]
  picnc /boot lev 0  FAILED [[request failed: No route to host]]
  picnc /boot lev 0  FAILED [dumper TRYAGAIN: [request failed: No route 
to host]]
  picnc /boot lev 0  FAILED [[request failed: No route to host]]
  picnc /boot lev 0  FAILED [dumper TRYAGAIN: [request failed: No route 
to host]]
  picnc /media/workpi1 lev 0  FAILED [[request failed: No route to host]]
  picnc /media/workpi1 lev 0  FAILED [dumper TRYAGAIN: [request failed: 
No route to host]]
  picnc /media/workpi1 lev 0  FAILED [[request failed: No route to host]]
  picnc /media/workpi1 lev 0  FAILED [dumper TRYAGAIN: [request failed: 
No route to host]]
  picnc /media/backuppi lev 0  FAILED [[request failed: No route to 
host]]
  picnc /media/backuppi lev 0  FAILED [dumper TRYAGAIN: [request failed: 
No route to host]]
  picnc /media/backuppi lev 0  FAILED [[request failed: No route to 
host]]
  picnc /media/backuppi lev 0  FAILED [dumper TRYAGAIN: [request failed: 
No route to host]]
  picnc /media/bootpi lev 0  FAILED [[request failed: No route to host]]
  picnc /media/bootpi lev 0  FAILED [dumper TRYAGAIN: [request failed: No 
route to host]]
  picnc /media/bootpi lev 0  FAILED [[request failed: No route to host]]
  picnc /media/bootpi lev 0  FAILED [dumper TRYAGAIN: [request failed: No 
route to host]]
  picnc /media/work120 lev 0  FAILED [[request failed: No route to host]]
  picnc /media/work120 lev 0  FAILED [dumper TRYAGAIN: [request failed: 
No route to host]]
  picnc /media/work120 lev 0  FAILED [[request failed: No route to host]]
  picnc /media/work120 lev 0  FAILED [dumper TRYAGAIN: [request failed: 
No route to host]]

It was running normally half an hour before the amanda run started.

I've now added excludes of ./bin, ./sbin, and ./lib and so that the / 
entry in the disklist will skip them, and in turn added a full path/to 
dle for each as separate disklist entry's, but that will result, if it 
works, of missing the backup of the links themselves.  Other workarounds 
and suggestions will be appreciated and checked.

Thank you for the civil reply.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Looking for suggestions of a "modern" desktop that runs Debian

2019-09-06 Thread Joe Pfeiffer
Rogério Brito  writes:

> Dear people,
>
> As all my computers are quite old so far (including the ones that I
> use to develop my packages and contribute to Debian), I would like to
> get a "modern" desktop that is able to keep up with compiling stuff
> and doing basic web surfing/web and typing texts in Emacs.
>
> Unfortunately, I have assembled computers way, way, way back then and
> I don't know which processors should go with which motherboards and so
> on.
>
> I would gladly appreciate some help choosing a computer (or computer
> parts) that has a configuration along the following lines:
>
> * Is able to run Debian without any problems (I am willing to use
> something that requires firmware from non-free, but not proprietary
> drivers)
> * Is a budget system (I'm short on money, unfortunately)
> * Is silent, with as little fans as possible
> * Has the ability to have 16GB or 32GB of memory (this is one of the
> parts where I am willing to focus spending the money)
> * Has a processor like a modern AMD Ryzen 5 or whatever is similar in
> Intel-land (the 2nd part where I am willing to focus spending the
> money)
> * I don't care too much about video cards; As long as it can drive a
> Full HD monitor, I am satisfied. Integrated card with the CPU is
> perfectly ok with me (and, actually, preferred if that would make the
> final cost of the computer lower).
>
> Any recommendations are more than welcome,
>
> Rogério Brito.

Don't underestimate how quiet a fan can be -- I recently switched the
fan/heatsink that came with my CPU for a "be quiet! BK010 Shadow Rock
Slim" CPU cooler, and my machine is now nearly silent.  My air
conditioning vents are louder (but, I'll mention that since I live in
the desert I have evaporative air conditioning, so my AC vents have to
move quite a bit of air).



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Tapas Mishra
Dan Ritter 


> What should I do to proceed from here?
>It's in /sbin/depmod, and you will need to be root to do
anything useful with it.
>sudo ./vmware-install.pl
>might work.

Yes that did worked. Thanks for pointing that out.

Erwan David 

>It seems to me that vmware on recent linux prefers the open-vm-tools
>package.

Yes that is correct I had installed open-vm-tools only before trying
the vmware tools.
But I was not able to copy paste a folder from host OS(Windows 10) to
guest OS (Debian).
So I I wanted to try Vmware-tools but this thing (drag and drop or
copy folder from Windows10 to Debian10
has not worked either in open-vm-tools orVmware-tools install package by vendor)
---
Thanks

On Fri, Sep 6, 2019 at 7:51 PM MAS Jean-Louis  wrote:
>
> Le 06/09/2019 à 15:53, Tapas Mishra a écrit :
>
> > I am trying to install Vmware tools in Debian 10 on Vmware workstation.
> > The place where I am stuck is following messages.
>
> Alternative answer
>
> apt install open-vm-tools
>
> Regards
>
> --
> Jean Louis Mas
>
>



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread MAS Jean-Louis
Le 06/09/2019 à 15:53, Tapas Mishra a écrit :

> I am trying to install Vmware tools in Debian 10 on Vmware workstation.
> The place where I am stuck is following messages.

Alternative answer

apt install open-vm-tools

Regards

-- 
Jean Louis Mas




smime.p7s
Description: Signature cryptographique S/MIME


Re: usr merge apparently breaks amanda

2019-09-06 Thread Greg Wooledge
On Fri, Sep 06, 2019 at 10:06:39AM -0400, Gene Heskett wrote:
> Greetings all;
> 
> I don't have a good reason to object to the usr merge, but its causing 
> amanda to crash the systems that have had this modification.

This is the part where you show us the error messages from the log files
that support your claims.

Or, simply file a bug report, include said error messages in the bug
report, and tell us here on debian-user the bug number, with a warning
that other users may encounter the same issues if they perform the
usrmerge step.

> I am trying tonight, an exclude scheme that should stop the crashing if 
> indeed that is what is doing it. But if it works, that means your 3 
> links to the old address will not be backed up either, so we need a 
> better idea. Open to suggestions.

I suggest showing some DETAILS.

I could very easily see amanda itself breaking from usrmerge, if it
contains programs that try to invoke commands using their full paths
(e.g. /bin/rm -f ...).  That would be a bug in amanda, easily diagnosed,
and... maybe fixed, maybe not, Debian developers have a long history
of not fixing things.

But your claim that this causes the entire *system* to crash is an
extraordinary assertion, which requires at least a TEENY TINY BIT of
proof.



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Erwan David
Le 06/09/2019 à 15:53, Tapas Mishra a écrit :
> Hi,
> I am trying to install Vmware tools in Debian 10 on Vmware workstation.
> The place where I am stuck is following messages.
>
>
It seems to me that vmware on recent linux prefers the open-vm-tools
package.



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Dan Ritter
Tapas Mishra wrote: 
> Hi,
> I am trying to install Vmware tools in Debian 10 on Vmware workstation.
> The place where I am stuck is following messages.
> 
> 
> debian:~/vmware_tools/vmware-tools-distrib$ ls
> bin  caf  doc  etc  FILES  INSTALL  installer  lib  vgauth  vmware-install.pl
> debian@debian:~/vmware_tools/vmware-tools-distrib$ ./vmware-install.pl
> Setup is unable to find the "depmod" program on your machine. Please make sure
> it is installed. Do you want to specify the location of this program by hand?
> [yes] Use of uninitialized value $gOption{"default"} in numeric eq
> (==) at ./vmware-install.pl line 866.
> 
> 
> 
> What is the location of the "depmod" program on your
> machine? Use of uninitialized value $gOption{"default"} in numeric eq
> (==) at ./vmware-install.pl line 866,  line 1.
> 
> I pressed enter here thinking it might take default value but I was wrong 
> here.
> 
> The answer "" is invalid. It must be the complete name of a binary file.
> 
> Use of uninitialized value $gOption{"default"} in numeric eq (==) at
> ./vmware-install.pl line 2541,  line 2.
> What is the location of the "depmod" program on your
> machine? Use of uninitialized value $gOption{"default"} in numeric eq
> (==) at ./vmware-install.pl line 866,  line 2.
> 
> 
> What should I do to proceed from here?

It's in /sbin/depmod, and you will need to be root to do
anything useful with it.

sudo ./vmware-install.pl

might work.

-dsr-



usr merge apparently breaks amanda

2019-09-06 Thread Gene Heskett
Greetings all;

I don't have a good reason to object to the usr merge, but its causing 
amanda to crash the systems that have had this modification.

I am trying tonight, an exclude scheme that should stop the crashing if 
indeed that is what is doing it. But if it works, that means your 3 
links to the old address will not be backed up either, so we need a 
better idea. Open to suggestions.

Thanks.

 Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Tapas Mishra
Hi,
I am trying to install Vmware tools in Debian 10 on Vmware workstation.
The place where I am stuck is following messages.


debian:~/vmware_tools/vmware-tools-distrib$ ls
bin  caf  doc  etc  FILES  INSTALL  installer  lib  vgauth  vmware-install.pl
debian@debian:~/vmware_tools/vmware-tools-distrib$ ./vmware-install.pl
Setup is unable to find the "depmod" program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by hand?
[yes] Use of uninitialized value $gOption{"default"} in numeric eq
(==) at ./vmware-install.pl line 866.



What is the location of the "depmod" program on your
machine? Use of uninitialized value $gOption{"default"} in numeric eq
(==) at ./vmware-install.pl line 866,  line 1.

I pressed enter here thinking it might take default value but I was wrong here.

The answer "" is invalid. It must be the complete name of a binary file.

Use of uninitialized value $gOption{"default"} in numeric eq (==) at
./vmware-install.pl line 2541,  line 2.
What is the location of the "depmod" program on your
machine? Use of uninitialized value $gOption{"default"} in numeric eq
(==) at ./vmware-install.pl line 866,  line 2.


What should I do to proceed from here?
--
Thanks



Re: /etc/network/interfaces et inet6

2019-09-06 Thread MAS Jean-Louis
Le 04/09/2019 à 10:06, BERTRAND Joël a écrit :

> tap1 et tap2 n'existent pas encore (il faut du temps pour qu'ils
> montent). Mais visiblement, ce qui ne lui plaît pas, c'est "Waiting for
> DAD... Timed out". Or je suis en adressage IPv6 _statique_. Je ne vois
> pas trop ce que les paquets DAD viennnt faire ici.

J'ai un gag similaire tout récemment avec Debian 10 avec samba et le DAD
qui comme toi empêche le service de redémarrer.

Peut être est-ce lié à ce bug qui est réapparu :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705996

Personnellement je l'ai solutionné en ajoutant une ligne dans l'unit
systemd du service

ExecStartPre=/bin/sleep 3.

La solution proposée par Pascal me parait beaucoup plus propre.

Néanmoins, je vois que je pourrais a la place désactiver le DAD sur ces
serveurs spécifiquement avec la commande temporaire

echo 0 > /proc/sys/net/ipv6/conf/all/accept_dad

Ou avec une ligne dans un fichier de configuration sysctl.d

net.ipv6.conf.all.accept_dad=0

Sachant que comme toi je suis en IPv6 fixe et que l'autoconf et le ra
sont désactivés

Des objections ou des remarques ?

Cordialement

-- 
Jean Louis Mas



smime.p7s
Description: Signature cryptographique S/MIME


Install debian armhf on tablet "surface rt"

2019-09-06 Thread hans . ullrich
Hi folks,

I am trying to install debian on a Surface RT.

Being on 2/3rd on the way, I am now stuck, but an easy problem.

At the momant, I am t the ponit, that I can boot from an USB-stick. The 
USB-stick is loaded with grub (a special version for the Surface RT).

On the stick I put the installation iso-file.  I want to use an ISO, because 
when thuis is working, other live-images (like kali-linux) can be installed, 
too.

Booting is starting, grub is starting, after 10 seconds it shall boot the iso.

But at this point I am stuck.

As there is only a grub.cfg, I think there is an entry missing. When grub is 
wanting to boot, I get an error, pointing to "loopback"

What is wrong? This is the entry in grub:

snip ---

set timeout=10
set root='hd1,msdos2'
set isofile="/debian-10.0.0-armhf-xfce-CD-1.iso"
menuentry "Install OS" {
 loopback debian $isofile
}
insmod font

if loadfont ${prefix}/unicode.pf2
then
    insmod gfxterm
    set gfxmode=auto
    set gfxpayload=keep
    terminal_output gfxterm
else
    reboot
fi

 snap 


I am not sure, if  "hd1,msdos2" is correct, windows is showing it as drive D:\, 
what let me think, hd0 is the harddrive, hd1 is the usb-stick.

If I get the iso running, I will tell about my progress.

Thanks for any help and hints.

Best regards

Hans



Re: Looking for suggestions of a "modern" desktop that runs Debian

2019-09-06 Thread deloptes
Rogério Brito wrote:

> Any recommendations are more than welcome,

I bought one used Fujitsu C200 for about 170,- few years ago. It has
everything one would need incl. serial port - actually two of them.

Intel Core5 - 4CPU 8GB of mem (but I think it can handle up to 16)

I do not think it is necessary to buy very new hardware also because drivers
might be having problems for newer hardware.

regards



Re: tasksel

2019-09-06 Thread Paul Sutton
Hi All


thanks for the help on this,  I am slowly getting somewhere with this. 

For now, and with the help, I am going to get the option menu working,
so this allows a single option to be selected from the menu and run, 
then goes back to the menu for the user to choose the next option if needed.

Once I am more comfortable with this, I can look at doing something with
the checkbox component of whiptail etc.

Thanks again

Regards

Paul



On 31/08/2019 19:52, Paul Sutton wrote:



> On 31/08/2019 08:11, Paul Sutton wrote:
>> On 30/08/2019 18:11, Greg Wooledge wrote:
>>> On Fri, Aug 30, 2019 at 05:31:50PM +0100, Paul Sutton wrote:
 What tool is used to produce the graphical interface for programs such
 as tasksel
>>> A program named dialog, or whiptail which is basically "dialog lite".
>>> Both of these are in packages with the same name as the program.
>>>
>>> ii  dialog 1.3-20190211-1 amd64Displays user-friendly 
>>> dialog box
>>> ii  whiptail   0.52.20-8  amd64Displays user-friendly 
>>> dialog box
>> Cool thanks for this,  I will have a look.
>>
>> Regards
>>
>> Paul
>
> Another question
>
> Using whiptail and trying to add a gui wrapper around a shell script I
> wrote to add a menu to the update process.
>
> #!/bin/bash
> echo "This script MUST be run with root priviledges"
> echo
> echo "Enter number of the option you would like"
> echo
> OPTIONS="Update List Upgrade Autoremove Clean Quit"
> echo
> select opt in $OPTIONS; do
>     if [ "$opt" = "Update" ] ; then
>     echo Update
>     apt update
>     elif [ "$opt" = "List" ] ; then
>     echo "List Upgradable package"
>     apt upgrade
>     elif [ "$opt" = "Upgrade" ] ; then
>     echo "Upgrade packages"
>     apt upgrade -y
>     elif [ "$opt" = "Autoremove" ] ; then
>     echo "Autoremove packages"
>     apt autoremove
>     elif [ "$opt" = "Clean" ] ; then
>     echo "Clean Up"
>     apt clean
>     elif [ "$opt" = "Quit" ] ; then
>     echo "Thank you and goodbye"
>             exit
>     else
>     echo "bad option"
>     fi
>     done
>
>
> The above works fine
>
>
> I am now trying to create a checkbox option menu so that the user can
> choose which options are needed then when pressing ok these are executed
> in order.
>
>
> whiptail --title "Check list example" --checklist \
> "Choose user's permissions" 20 78 4 \
> "NET_OUTBOUND" "Allow connections to other hosts" ON \
> "NET_INBOUND" "Allow connections from other hosts" OFF \
> "LOCAL_MOUNT" "Allow mounting of local devices" OFF \
> "REMOTE_MOUNT" "Allow mounting of remote devices" OFF
>
> I am just struggling to figure out how to :
>
> take the above, if the user chooses say 1,2 and 4 then the commands 
> associated with those options are executed.
>
> so I could edit the above to say for the first option
>
> "UPDATE" "RUN apt update" OFF \
>
> Then if that option is selected it runs 
> apt update
>
> So another example I found to try and help me was
>
> #!/bin/bash
> DISTROS=$(whiptail --title "Test Checklist Dialog" --checklist \
> "Choose preferred Linux distros" 15 40 4 \
> "debian" "Venerable Debian" ON \
> "ubuntu" "Popular Ubuntu" OFF \
> "centos" "Stable CentOS" ON \
> "mint" "Rising Star Mint" OFF 3>&1 1>&2 2>&3)
>  
> exitstatus=$?
> if [ $exitstatus = 0 ]; then
> echo "Your favorite distros are:" $DISTROS
> else
> echo "You chose Cancel."
> fi
>
> But I am still confused as to how to actually take each selected option and 
> use if / else statements to do something with this.  I think the issue is I 
> don't really understand stderr properly or how to capture more than one 
> option.
>
> Been trying different things for about an hour, so can keep trying just not 
> getting very far. 
>
> So far I have come up with the following for what I trying to do.  So can add 
> / remove options to the checklist menu ok. 
>
> whiptail --title "Check list example" --checklist \
> "Choose user's permissions" 20 40 4 \
> "Hello" "Print Hello" OFF \
> "Goodbye" "Print Goodbye" OFF \
> "CYA" "Print cya" OFF \
>
> CHOICEs=$?
>
> echo $CHOICEs
> echo $?
>
> which just outputs for example 
>
> "Hello" "Goodbye"0
> 0
>
>
> https://en.wikibooks.org/wiki/Bash_Shell_Scripting/Whiptail is sort of useful 
> for getting menus up but not doing anything with the output, it seems to 
> assume people know how to do that confidently.
>
> Thanks
>
> Paul 
>
-- 
Paul Sutton
http://www.zleap.net
gnupg : 7D6D B682 F351 8D08 1893  1E16 F086 5537 D066 302D

https://fediverse.party/ - zl...@social.isurf.ca



Re: OT Top-posting y Bottom Posting

2019-09-06 Thread Abogado



El 29/8/19 a las 18:26, Paynalton escribió:



El jue., 22 ago. 2019 a las 6:17, Debian 
(>) escribió:


Sí.
Nosotros, los propios usuarios, con un acuerdo, podemos modificar las
normas.
Son normas de convivencia, no leyes escritas en piedra bajadas
desde lo
alto.

Lo que habla Fran, invidente, es algo que debe incorporarse en las
normas. No se me había pasado siquiera por la mente.

Podemos abrir un hilo con el párrafo a modificar de las normas y
llegar
a un consenso de redacción que incluya el tema de accesibilidad.

Yo, personalmente, soy editor de la Wiki Debian; tengo los permisos
necesarios; cosa que no es difícil de hacer, pero también en ellas
hay
que mantener ciertas normas.


Para hacer esto transparente y ordenado quiero proponer un proceso de 
decisión democrático. En la parte de recepción de propuestas sería muy 
útil que se pusiera la fuente del wiki en github para recibir las 
propuestas de modificación y la que resulte ganadora se integra, así 
sólo tendrías que copiar y pegar la fuente de regreso al wiki.


Sería posible que nos ayudaras con eso???


JAP



El 21/8/19 a las 19:19, juan escribió:
> |Accesibilidad ||es palabra mayor, debido a eso y al cambio
tecnológico antes mencionado
> por otro compañero ¿como es el método para modificar las normas
de esta
> lista? ¿hay uno?|
>
> |Posdata un poco off topic: Se agradece enormemente que no se usen
> signos extra alfabéticos ni las famosas x para el lenguaje
inclusivo,
> eso hace terriblemente ripiosa la lectura con moduladores de voz
como
> los que usa el compañero Fran y yo en ocasiones también, se puede
> construir lenguaje influyente usando solo trucos de redacción y
buscando
> sinónimos inclusivos que si no incluimos todos los generos pero
> excluimos a los ciegos, mal negocio, un día un ciego va a tirar su
> computadora por la ventana de tanta @, x, etc
> |
>



Hola

A mi personalmente me da lo mismo Top-posting o Bottom Posting. Lo que 
creo es que las normas se pueden modificar, no estamos en una 
dictadura,pero esa modificación debe ser por acuerdo entre todos y que 
esa norma acordada la cumplamos todos, y no como hasta ahora que unos 
hacen top-posting y otros Bottom-posting.


Saludos

--
Un saludo,
José Manuel
Gran Canaria/España

Si vas a escribir.. piensa en esto:
no digas nada que no sea mas precioso que el silencio!!!


Re: Looking for suggestions of a "modern" desktop that runs Debian

2019-09-06 Thread Roberto C . Sánchez
On Thu, Sep 05, 2019 at 06:49:10PM -0300, Rogério Brito wrote:
> Dear people,
> 
> As all my computers are quite old so far (including the ones that I
> use to develop my packages and contribute to Debian), I would like to
> get a "modern" desktop that is able to keep up with compiling stuff
> and doing basic web surfing/web and typing texts in Emacs.
> 
> Unfortunately, I have assembled computers way, way, way back then and
> I don't know which processors should go with which motherboards and so
> on.
> 
> I would gladly appreciate some help choosing a computer (or computer
> parts) that has a configuration along the following lines:
> 
> * Is able to run Debian without any problems (I am willing to use
> something that requires firmware from non-free, but not proprietary
> drivers)
> * Is a budget system (I'm short on money, unfortunately)
> * Is silent, with as little fans as possible
> * Has the ability to have 16GB or 32GB of memory (this is one of the
> parts where I am willing to focus spending the money)
> * Has a processor like a modern AMD Ryzen 5 or whatever is similar in
> Intel-land (the 2nd part where I am willing to focus spending the
> money)
> * I don't care too much about video cards; As long as it can drive a
> Full HD monitor, I am satisfied. Integrated card with the CPU is
> perfectly ok with me (and, actually, preferred if that would make the
> final cost of the computer lower).
> 
> Any recommendations are more than welcome,
> 
If you are looking for something that is already built, then I have very
good experience with System76, specifically with their laptops.  They
also have desktop/workstation systems available, they support Linux
(Ubuntu and their own variant, Pop_OS!), and they are very stong
supporters of completely open firmware.  It is my understanding (based
on their marketing communications) that they are pushing for fully open
firmware on all their offerings and that they are making progress to
achieve that.

The only thing is that they are locted in Colorado, USA.  According to
their shipping information page, in South America they ship to Colombia,
Perú, and Chile.  Based on your email I am assuming you are located in
Brazil, so this may present an obstacle if that is the case.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: bumblebee fails to disable discrete graphics card after upgrade nvidia driver to 430.40-2

2019-09-06 Thread Manu Baylac

Hi,

Exactly same problem here (bullseye uptodate).
Debian bumblebee wiki page (and other searches on the net) didn't help


More info :


$ systemctl status bumblebeed.service
  bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; 
vendor preset: enabled)

   Active: active (running) since Fri 2019-09-06 10:50:41 CEST; 6min ago
 Main PID: 947 (bumblebeed)
Tasks: 1 (limit: 4915)
   Memory: 24.7M
   CGroup: /system.slice/bumblebeed.service
   └─947 /usr/sbin/bumblebeed

sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419291] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419293] [ERROR][XORG] 
(EE) Segmentation fault at address 0x7f3873afa000

sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419296] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419298] [ERROR][XORG] 
(EE) Caught signal 11 (Segmentation fault). Server aborting

sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419301] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419304] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419308] [ERROR][XORG] 
(EE) Please also check the log file at "/var/log/Xorg.8.log" for additi

sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419311] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.426969] [ERROR][XORG] 
(EE) Server terminated with error (1). Closing log file.
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.426997] [ERROR]X did not 
start properly



$ cat  /var/log/Xorg.8.log

[   312.408] (II) Initializing extension GLX
[   312.408] (II) Initializing extension GLX
[   312.408] (II) Indirect GLX disabled.
[   312.408] (II) GLX: Another vendor is already registered for screen 0
[   312.408] (II) Initializing extension XFree86-VidModeExtension
[   312.408] (II) Initializing extension XFree86-DGA
[   312.408] (II) Initializing extension XFree86-DRI
[   312.408] (II) Initializing extension DRI2
[   312.408] (II) Initializing extension NV-GLX
[   312.408] (II) Initializing extension NV-CONTROL
[   312.415] (EE)
[   312.415] (EE) Backtrace:
[   312.418] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) 
[0x556f6ef4f2c9]
[   312.418] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 
(funlockfile+0x50) [0x7f387750377f]
[   312.418] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (memcpy+0x1f) 
[0x7f38773d003f]
[   312.418] (EE) 3: 
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.430.40 
(_nv043glcore+0x27ff39) [0x7f3876003339]
[   312.418] (EE) 4: 
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.430.40 
(_nv043glcore+0x28009d) [0x7f387600365d]
[   312.418] (EE) 5: 
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.430.40 
(_nv015glcore+0x49bb8) [0x7f3875ab5ba8]

[   312.418] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   312.419] (EE) 6: /usr/lib/nvidia/nvidia/libglxserver_nvidia.so 
(?+0x0) [0x7f3873a00d32]

[   312.419] (EE)
[   312.419] (EE) Segmentation fault at address 0x7f3873afa000
[   312.419] (EE)
Fatal server error:
[   312.419] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   312.419] (EE)
[   312.419] (EE)
Please consult the The X.Org Foundation support
 at http://wiki.x.org
 for help.
[   312.419] (EE) Please also check the log file at 
"/var/log/Xorg.8.log" for additional information.

[   312.419] (EE)
[   312.421] (EE) Server terminated with error (1). Closing log file.



Maybe a bug ?

Thanks !

--
Manu







Re: stretch: amd64, no dmesg when usb stuff plugged in

2019-09-06 Thread tomas
On Thu, Sep 05, 2019 at 08:10:07PM -0400, bw wrote:
> In-Reply-To: <201909051911.42570.ghesk...@shentel.net>
> 
> Why do you continue with this type of post?  It's a joke.  I'm shocked 
> that anybody even answers this stupidity.

If you don't like the thread, just keep out of it.

If yo've got difficulties managing your aggressions (we all do,
from time to time), I'd recommend a punching-ball.

Cheers
-- t


signature.asc
Description: Digital signature


Re: stretch: amd64, no dmesg when usb stuff plugged in

2019-09-06 Thread deloptes
Gene Heskett wrote:

> Which made no diff. Whatever is supposed to be monitoring for new usb
> connections is not. So what do I look at next?

I suggest do a default installation from scratch to a disk (I know you have
some) and try again. I guess you are messing too much with your system.

AFAIK it is the udev that is responsible, so 

kernel driver -> udev -> user space

so it is either udev or the driver that is messed up. The driver of course
handles the hardware, so to be able to help we should know what is the
hardware (PC and USB stick), kernel version, udev etc.

better do it on default stretch or buster, without your endless
customizations all over the place ;-).

I have experienced similar if you plug in USB2 into USB1 port, but it was
time ago. 

regards





Re: Looking for suggestions of a "modern" desktop that runs Debian

2019-09-06 Thread Rick Thomas
Have you looked at a NUC from Intel?

https://ark.intel.com/content/www/us/en/ark.html#@PanelLabel70407

I’ve got a couple of them and I’m very happy.
Rick

> On Sep 5, 2019, at 2:49 PM, Rogério Brito  wrote:
> 
> Dear people,
> 
> As all my computers are quite old so far (including the ones that I
> use to develop my packages and contribute to Debian), I would like to
> get a "modern" desktop that is able to keep up with compiling stuff
> and doing basic web surfing/web and typing texts in Emacs.
> 
> Unfortunately, I have assembled computers way, way, way back then and
> I don't know which processors should go with which motherboards and so
> on.
> 
> I would gladly appreciate some help choosing a computer (or computer
> parts) that has a configuration along the following lines:
> 
> * Is able to run Debian without any problems (I am willing to use
> something that requires firmware from non-free, but not proprietary
> drivers)
> * Is a budget system (I'm short on money, unfortunately)
> * Is silent, with as little fans as possible
> * Has the ability to have 16GB or 32GB of memory (this is one of the
> parts where I am willing to focus spending the money)
> * Has a processor like a modern AMD Ryzen 5 or whatever is similar in
> Intel-land (the 2nd part where I am willing to focus spending the
> money)
> * I don't care too much about video cards; As long as it can drive a
> Full HD monitor, I am satisfied. Integrated card with the CPU is
> perfectly ok with me (and, actually, preferred if that would make the
> final cost of the computer lower).
> 
> Any recommendations are more than welcome,
> 
> Rogério Brito.
> 
> -- 
> Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
> http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
> DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
>