Re: terminal with right-click = paste?

2019-04-10 Thread Peter Wiersig
Lee  writes:
>
> How does one tell if putty (0.67-3+deb9u1) has all the security fixes
> that are in 0.71?

I think that's what p.d.o is trying to communicate with the bold red
[SECURITY] badge I cut out while pasting the info.

Peter



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, David Wright wrote:
> On Wed 10 Apr 2019 at 17:21:06 (-0400), Lee wrote:
>> On 4/10/19, Dan Ritter wrote:
>> > Lee wrote:
>> >> On 4/10/19, Dan Ritter wrote:
>> >> > Lee wrote:
>> >> >> I installed the xfce version of debian 9 & have a terminal icon on
>> >> >> the
>> >> >> menu bar that starts xfce4-terminal
>> >> >>
>> >> >> Is there some way to configure xfce4-terminal so that a right mouse
>> >> >> click pastes text?
>> >> >> What I have now is right-click brings up a menu where I have to
>> >> >> left
>> >> >> click on paste.  ick.
>> >> >
>> >> > Middle button is probably set to paste right now.
>> >>
>> >> It is!!  So how do I change that setting so that right click is set to
>> >> paste?
>> >
>> > You don't! The programmers didn't include that.
>>
>> wow.  just.. wow.  I wonder if that omission has anything to do with
>> the xterm popcon graph showing about 100K users & xfce4-terminal
>> about 28K
>>
>> > You can change your button mapping for all of X with xmodmap.
>>
>> but then everywhere I expect a right click to pull up a menu won't -
>> correct?
>>
>> Oh well... I'll give xterm a try.
>
> I have a mouse with a wheel, but pressing it (as opposed to scrolling
> it) is very unreliable. I have changed the middle-click method from
> pressing the wheel to the old-fashioned way of dealing with 2-button
> mice: pressing both buttons at once.
>
> AFAIK this change is at the level of X and doesn't depend on the term.
> Here are the steps I used. You might need to tweak the filename
> ~/.xsession for a DE as I use just startx and fvwm. For setting stuff
> automatically, you need to ascertain the name of your X startup file.

I don't know enough to appreciate all this, much less comment on it,
but still, it looks amazing!

$ find / -name xinput 2>/dev/null
$

so another package I need to install..

.. which breaks the login process for me :(

$ echo xinput > ~/.xsession

logout, try to log in, get a blank screen for a few seconds & I'm back
at the login screen again.

ssh in from my windows machine, rm .xsession, and I can log in on the
debian machine again.

Dunno if this means anything, but the last few lines in .xsession-errors.old are
dbus-update-activation-environment: setting GDMSESSION=lightdm-xsession
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting QT_XCB_FORCE_SOFTWARE_OPENGL=1
dbus-update-activation-environment: setting
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting PWD=/home/lee
⎡ Virtual core pointer  id=2[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointerid=4[slave  pointer  (2)]
⎜   ↳ ImPS/2 Generic Wheel Mouseid=9[slave  pointer  (2)]
⎣ Virtual core keyboard id=3[master keyboard (2)]
↳ Virtual core XTEST keyboard   id=5[slave  keyboard (3)]
↳ Power Button  id=6[slave  keyboard (3)]
↳ Power Button  id=7[slave  keyboard (3)]
↳ AT Translated Set 2 keyboard  id=8[slave  keyboard (3)]

Why does putting 'xinput' in my .xsession keep me from being able to
log in & it works just fine for you?

Thanks,
Lee

>
> At the end of ~/.xsession I routinely put
> xinput
> which lists the devices in ~/.xsession-errors which I copy into my
> configuration archive. But you can just type
> $ xinput at any commandline in X:
> ⎡ Virtual core pointerid=2[master pointer  (3)]
> ⎜   ↳ Virtual core XTEST pointer  id=4[slave  pointer  (2)]
> ⎜   ↳ Logitech M325   id=10   [slave  pointer  (2)]
> ⎜   ↳ SynPS/2 Synaptics TouchPad  id=14   [slave  pointer  (2)]
> ⎜   ↳ ELAN Touchscreenid=9[slave  pointer  (2)]
> ⎣ Virtual core keyboard   id=3[master keyboard (2)]
> ↳ Virtual core XTEST keyboard id=5[slave  keyboard (3)]
> ↳ Power Buttonid=6[slave  keyboard (3)]
> ↳ Video Bus   id=7[slave  keyboard (3)]
> ↳ Power Buttonid=8[slave  keyboard (3)]
> ↳ Lenovo EasyCamera   id=11   [slave  keyboard (3)]
> ↳ Ideapad extra buttons   id=12   [slave  keyboard (3)]
> ↳ AT Translated Set 2 keyboardid=13   [slave  keyboard (3)]
> $
>
> Having read that list, I add lines for devices that might interest me
> in a similar way (in ~/.xsession-9-wren¹), and again you can type this
> at a commandline:
> $ xinput list-props "Logitech M325"
> Device 'Logitech M325':
>   Device Enabled (141):   1
>   Coordinate Transformation Matrix (143): 0.30, 0.00, 0.00,
> 0.00, 0.30, 0.00, 0.00, 0.00, 1.00
>   libinput Accel Speed (281): 0.00
>   libinput Accel Speed Default (282): 0.00
>   libinput Accel 

Re: terminal with right-click = paste?

2019-04-10 Thread Peter Wiersig
Lee  writes:
>
> But again.. wow.  And not in a good way.  Install putty on debian, run
> putty, right click on the putty menu bar (title bar?) and the menu is
> lacking _anything_ to do with how putty behaves.

I never tried PuTTY on linux, but I also grew up with X so middle mouse
paste is my default operandus.

Under Windows the menu is also available with Ctrl-Rightclick in PuTTY,
maybe that behaves the same?

Under Linux a right click on the titlebar is window manager dependant
behaviour (same as with windows, but PuTTY hooks into MS API).

> Not being able to change things on the fly with the
> debian version of putty is .. disappointing at best.

I only saw screenshots of linux PuTTY but the settings menu was featured
in the Gnome Desktop screenshot.

Peter



Wondering how long it takes for a package to move from stable-p-u to stable

2019-04-10 Thread Luke Picciau
I have been tracking this package 
https://tracker.debian.org/pkg/ca-certificates-java for about a month 
because the package version 20170929~deb9u1 which is in stable has a bug 
which is blocking my docker image builds. Version 20170929~deb9u2 should 
fix it but the package has been in stable-p-u for a while now. How long 
usually does it take for a package to move from stable-p-u to stable? 
And is there any way I can install just that one package as the newer 
version on debian stretch without changing the repos to testing for the 
whole OS?



Re: Wondering how long it usually takes for a package to move from stable-p-u

2019-04-10 Thread Jerome BENOIT
Hello,

On 11/04/2019 05:59, Luke Picciau wrote:
> I have been tracking this package 
> https://tracker.debian.org/pkg/ca-certificates-java for about a month 
> because the package version 20170929~deb9u1 which is in stable has a bug 
> which is blocking my docker image builds. Version 20170929~deb9u2 should 
> fix it but the package has been in stable-p-u for a while now. How long 
> usually does it take for a package to move from stable-p-u to stable?


You have to bear in mind that currently Debian is terminating a cycle.
 
> And is there any way I can install just that one package as the newer 
> version on debian stretch without changing the repos to testing for the 
> whole OS?

I guess that the best you can do is to build your own package from the debian 
source material.

hth,
Jerome
> 



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, arne wrote:
> On Wed, 10 Apr 2019 16:37:15 -0400
> Lee wrote:
>
>> On 4/10/19, Alexander V. Makartsev wrote:
>> > On 11.04.2019 0:41, Lee wrote:
>>  [...]
>>  [...]
>>
>> But how do you get something into the paste buffer without using the
>> mouse?
>>
>> Left double-click to select a "word" & right click to paste is pretty
>> much automatic for me now - which is why I'm looking for a xfce4
>> terminal replacement
>>
>
> I fell in love with terminator
>
> sudo apt install terminator
>
> double left button click = copy
>
> middle button click = paste
> (when no middle button available, I think xorg has the possibility to
> workaround with left and right
> button simultaneous)
>
> right button click = options
>
> on fluxbox it works like a charme

That looks interesting - thanks for the link

Lee



Re: terminal with right-click = paste?

2019-04-10 Thread Alexander V. Makartsev
On 11.04.2019 1:37, Lee wrote:
> On 4/10/19, Alexander V. Makartsev  wrote:
>> On 11.04.2019 0:41, Lee wrote:
>>> I installed the xfce version of debian 9 & have a terminal icon on the
>>> menu bar that starts xfce4-terminal
>>>
>>> Is there some way to configure xfce4-terminal so that a right mouse
>>> click pastes text?
>>> What I have now is right-click brings up a menu where I have to left
>>> click on paste.  ick.
>>>
>>> How do I find out what other terminal programs are already installed
>>> that I can try?
>>>
>>> What terminal programs are available that have a 'right click pastes
>>> text' option _and_ has a scroll bar that is
>>> 1. easily visible
>>> 2. goes up/down a page at a time when left-clicking above/below the scroll
>>> bar
>>> 3. has up/down buttons on the scroll bar that scrolls a line at a time
>>> when clicking on the button
>>>
>>> Thanks
>>> Lee
>>>
>> Try keyboard shortcuts instead.
>> Shift+Ctrl+V - Paste
>> It's more convenient IMO, you won't move your hands away from keyboard
>> and simply continue typing after paste.
> But how do you get something into the paste buffer without using the mouse?
That depends of course. I use 'vim' to edit files and 'tmux' [1], so
most of the time I copy text from terminal (from opened man pages,
sample config files, output of another command in another terminal
section, ssh sessions, etc) using keyboard shortcuts.
These programs encourage you (and make it possible) to use more of a
keyboard and much less of a mouse.
> Left double-click to select a "word" & right click to paste is pretty
> much automatic for me now - which is why I'm looking for a xfce4
> terminal replacement
>
> Thanks anyway tho
> Lee
>

[1] https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄ 



Wondering how long it usually takes for a package to move from stable-p-u

2019-04-10 Thread Luke Picciau
I have been tracking this package 
https://tracker.debian.org/pkg/ca-certificates-java for about a month 
because the package version 20170929~deb9u1 which is in stable has a bug 
which is blocking my docker image builds. Version 20170929~deb9u2 should 
fix it but the package has been in stable-p-u for a while now. How long 
usually does it take for a package to move from stable-p-u to stable? 
And is there any way I can install just that one package as the newer 
version on debian stretch without changing the repos to testing for the 
whole OS?



Re: 'synaptic' removed from buster

2019-04-10 Thread David Wright
On Wed 10 Apr 2019 at 19:41:44 (-0400), Lee wrote:
> On 4/10/19, Nazar Zhuk wrote:
> > On 4/10/19 10:58 AM, David Wright wrote:
> >> On Sat 06 Apr 2019 at 08:42:31 (+0100), Jonathan Dowland wrote:
> >>> On Fri, Apr 05, 2019 at 09:39:23PM -0500, David Wright wrote:
> >
>  Given a straight toss-up though, I think synaptic has to give way
>  because
>  there are plenty of alternatives. I'd never heard of it until a few
>  people
>  started mentioning it here, and I'd never consider using it myself on X
>  except
>  as an ordinary user.
> >>>
> >>> The severity of the bug in synaptic (which is what has caused its
> >>> autoremoval)
> >>> would not be "serious" if the default desktop was not Wayland. So
> >>> changing
> >>> *that*, would mean synaptic could be reintroduced.
> >>
> >> So Debian should have its policy dictated by bugs in an unrelated
> >> package. Seems an odd strategy.
> >
> > If a change (Wayland default) is introducing issues to a stable (in a
> > generic sense) system, shouldn't the change be postponed until the
> > issues are resolved? Perhaps with the help from the change proponents.
> 
> My understanding is that
>   sudo synaptic
> not working for anybody other than root is a desired feature of
> Wayland - not something that would or should be fixed.
> 
> But I'm also under the impression that logging in as root & running
> synaptic works, so removing synaptic altogether still seems a bit
> excessive.

I would be surprised if wayland itself, and whatever it's being
supported by, will allow you to run them as root. That's not the
direction things are moving in, securitywise.

Cheers,
David.



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, bw wrote:
> In-Reply-To:  pcu-...@mail.gmail.com>
>
>>
>>altho lxterm, uxterm and xterm all create a tiny window with the font
>>size so small they're damn near unusable.  And no obvious menu I can
>>find to change the font size, window size or anything, so more man
>>page spelunking for me.
>
> xterm is good, but yeah it is not very useful out of the box.  There are
> menus, most of the time you can get them by holding down ctrl and using
> either mouse button.

That's something I would have never guessed.  Hold down the  key
+ right click and hold _inside_ the xterm window and I get a menu that
lets me select "large" as a font size.  So at least the xterm window
contents are readable now.

No option to save that setting, but still.. progress, so thank you!

> I never tried to remap the middle mouse paste, I think that is part of
> the x server,  not necessarily the particular terminal.

I'm hoping there's something along the lines of
  XTerm*rightMouseButton: paste
that I can put into an X resource file and have right click = paste
inside an xterm window & right click anywhere else still be the
default action.

>  It probably could
> be done but if you could gravitate to shift-ins and middle mouse click to
> paste it might serve you well.

Maybe someday, but for now I'm still of the opinion that the computer
should change to accommodate my work style - not the other way around.

> Let people know what you find out.  Especially if you get any good
> .Xresources settings or find good documentation about this.

Nope - I haven't found anything yet.  Hopefully because I'm still too
close to the bottom of the X windows learning curve.

> It is fairly
> rare to find good documentation on these settings IME.  The xterm FAQ is
> huge and worth looking thru, but hard to find out exactly who does what
> sometimes.
>
> https://invisible-island.net/xterm/xterm.faq.html

Thanks - I'll check it out.

Lee



Re: 'synaptic' removed from buster

2019-04-10 Thread David Wright
On Thu 11 Apr 2019 at 00:34:04 (+0200), Nazar Zhuk wrote:
> On 4/10/19 10:58 AM, David Wright wrote:
> > On Sat 06 Apr 2019 at 08:42:31 (+0100), Jonathan Dowland wrote:
> > > On Fri, Apr 05, 2019 at 09:39:23PM -0500, David Wright wrote:
> 
> > > > Given a straight toss-up though, I think synaptic has to give way 
> > > > because
> > > > there are plenty of alternatives. I'd never heard of it until a few 
> > > > people
> > > > started mentioning it here, and I'd never consider using it myself on X 
> > > > except
> > > > as an ordinary user.
> > > 
> > > The severity of the bug in synaptic (which is what has caused its 
> > > autoremoval)
> > > would not be "serious" if the default desktop was not Wayland. So changing
> > > *that*, would mean synaptic could be reintroduced.
> > 
> > So Debian should have its policy dictated by bugs in an unrelated
> > package. Seems an odd strategy.
> 
> If a change (Wayland default) is introducing issues to a stable (in a
> generic sense) system, shouldn't the change be postponed until the
> issues are resolved? Perhaps with the help from the change proponents.

I don't think it's an issue that'll be resolved in the direction you
intend. It's the enforcement of a security model that has guided most
of us for years: not running GUI applications as root.

The normal way of circumventing this is to have a non-GUI program that
performs all the work running as root, with a connection to a GUI
client program that runs as the user/administrator.

I'm not in a position to know whether running programs like gparted is
secure enough if the network is disconnected while it is running on,
say, a live system. But for synaptic, it might be written in such a
way that you can get the resolver to run with your friendly interface
as an ordinary user, and then use apt-get, say, to install the list
of packages that synaptic has come up with. Does the latter have a
dry-run option (like -s in apt-get, demonstrated here:)?

$ apt-get -s install synaptic
NOTE: This is only a simulation!
  apt-get needs root privileges for real execution.
  Keep also in mind that locking is deactivated,
  so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  docbook-xml libcairo-perl libept1.5.0 libglib-perl libgtk2-perl libpango-perl 
libpcre2-8-0
  librarian0 libvte-2.91-0 libvte-2.91-common rarian-compat sgml-data
Suggested packages:
  docbook docbook-dsssl docbook-xsl docbook-defguide libfont-freetype-perl 
libgtk2-perl-doc
  perlsgml w3-recs opensp libxml2-utils dwww apt-xapian-index 
software-properties-gtk
The following NEW packages will be installed:
  docbook-xml libcairo-perl libept1.5.0 libglib-perl libgtk2-perl libpango-perl 
libpcre2-8-0
  librarian0 libvte-2.91-0 libvte-2.91-common rarian-compat sgml-data synaptic
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Inst sgml-data (2.0.10 Debian:9.8/stable [all])
[… snipped most of the install and configure lines …]
Conf rarian-compat (0.8.1-6+b1 Debian:9.8/stable [amd64])
$ 

Cheers,
David.



Re: terminal with right-click = paste?

2019-04-10 Thread arne
On Thu, 11 Apr 2019 03:27:44 +0200
arne  wrote:

> On Wed, 10 Apr 2019 16:37:15 -0400
> Lee  wrote:
> 
> > On 4/10/19, Alexander V. Makartsev  wrote:  
> > > On 11.04.2019 0:41, Lee wrote:
> >  [...]  
> >  [...]  
> > 
> > But how do you get something into the paste buffer without using the
> > mouse?
> > 
> > Left double-click to select a "word" & right click to paste is
> > pretty much automatic for me now - which is why I'm looking for a
> > xfce4 terminal replacement
> >   
> 
> I fell in love with terminator
> 
> sudo apt install terminator
> 
> double left button click = copy
> 
> middle button click = paste 
> (when no middle button available, I think xorg has the possibility to
> workaround with left and right button simultaneous)
> 
> right button click = options
> 
> on fluxbox it works like a charme

and when you right click, choose Preferences, puTTY style paste, you
will have your right click paste.

Shift middle click gives you Preferences then.

Thanks for pointing out, I hate middle button clicks!

I will investigate for the swap in X.



Re: terminal with right-click = paste?

2019-04-10 Thread David Wright
On Wed 10 Apr 2019 at 17:21:06 (-0400), Lee wrote:
> On 4/10/19, Dan Ritter  wrote:
> > Lee wrote:
> >> On 4/10/19, Dan Ritter  wrote:
> >> > Lee wrote:
> >> >> I installed the xfce version of debian 9 & have a terminal icon on the
> >> >> menu bar that starts xfce4-terminal
> >> >>
> >> >> Is there some way to configure xfce4-terminal so that a right mouse
> >> >> click pastes text?
> >> >> What I have now is right-click brings up a menu where I have to left
> >> >> click on paste.  ick.
> >> >
> >> > Middle button is probably set to paste right now.
> >>
> >> It is!!  So how do I change that setting so that right click is set to
> >> paste?
> >
> > You don't! The programmers didn't include that.
> 
> wow.  just.. wow.  I wonder if that omission has anything to do with
> the xterm popcon graph showing about 100K users & xfce4-terminal
> about 28K
> 
> > You can change your button mapping for all of X with xmodmap.
> 
> but then everywhere I expect a right click to pull up a menu won't - correct?
> 
> Oh well... I'll give xterm a try.

I have a mouse with a wheel, but pressing it (as opposed to scrolling
it) is very unreliable. I have changed the middle-click method from
pressing the wheel to the old-fashioned way of dealing with 2-button
mice: pressing both buttons at once.

AFAIK this change is at the level of X and doesn't depend on the term.
Here are the steps I used. You might need to tweak the filename
~/.xsession for a DE as I use just startx and fvwm. For setting stuff
automatically, you need to ascertain the name of your X startup file.

At the end of ~/.xsession I routinely put
xinput
which lists the devices in ~/.xsession-errors which I copy into my
configuration archive. But you can just type
$ xinput at any commandline in X:
⎡ Virtual core pointer  id=2[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointerid=4[slave  pointer  (2)]
⎜   ↳ Logitech M325 id=10   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPadid=14   [slave  pointer  (2)]
⎜   ↳ ELAN Touchscreen  id=9[slave  pointer  (2)]
⎣ Virtual core keyboard id=3[master keyboard (2)]
↳ Virtual core XTEST keyboard   id=5[slave  keyboard (3)]
↳ Power Button  id=6[slave  keyboard (3)]
↳ Video Bus id=7[slave  keyboard (3)]
↳ Power Button  id=8[slave  keyboard (3)]
↳ Lenovo EasyCamera id=11   [slave  keyboard (3)]
↳ Ideapad extra buttons id=12   [slave  keyboard (3)]
↳ AT Translated Set 2 keyboard  id=13   [slave  keyboard (3)]
$ 

Having read that list, I add lines for devices that might interest me
in a similar way (in ~/.xsession-9-wren¹), and again you can type this
at a commandline:
$ xinput list-props "Logitech M325"
Device 'Logitech M325':
Device Enabled (141):   1
Coordinate Transformation Matrix (143): 0.30, 0.00, 0.00, 
0.00, 0.30, 0.00, 0.00, 0.00, 1.00
libinput Accel Speed (281): 0.00
libinput Accel Speed Default (282): 0.00
libinput Accel Profiles Available (283):1, 1
libinput Accel Profile Enabled (284):   1, 0
libinput Accel Profile Enabled Default (285):   1, 0
libinput Natural Scrolling Enabled (286):   0
libinput Natural Scrolling Enabled Default (287):   0
libinput Send Events Modes Available (262): 1, 0
libinput Send Events Mode Enabled (263):0, 0
libinput Send Events Mode Enabled Default (264):0, 0
libinput Left Handed Enabled (288): 0
libinput Left Handed Enabled Default (289): 0
libinput Scroll Methods Available (290):0, 0, 1
libinput Scroll Method Enabled (291):   0, 0, 0
libinput Scroll Method Enabled Default (292):   0, 0, 0
libinput Button Scrolling Button (293): 2
libinput Button Scrolling Button Default (294): 2
libinput Middle Emulation Enabled (295):1
libinput Middle Emulation Enabled Default (296):0
Device Node (265):  "/dev/input/event16"
Device Product ID (266):1133, 16394
libinput Drag Lock Buttons (297):   
libinput Horizontal Scroll Enabled (298):   1
$ 

Your list would look different even with the same hardware because
mine shows the effect of the mouse commands I have already added
to ~/.xsession:
# Pointers tend to be too sensitive.
# Leave the last number as 1: the other numbers are ratio'd with it.
xinput --set-prop "Logitech M325" "Coordinate Transformation Matrix" .3, 0, 0, 
0, .3, 0, 0, 0, 1
# My mouse wheel is very unreliable for button 2, so use buttons 1&3.
xinput --set-prop "Logitech M325" "libinput Middle Emulation Enabled" 1

Now I can use either a wheel press or a both-button-click to paste.
The wheel still scrolls.


Re: terminal with right-click = paste?

2019-04-10 Thread arne
On Wed, 10 Apr 2019 16:37:15 -0400
Lee  wrote:

> On 4/10/19, Alexander V. Makartsev  wrote:
> > On 11.04.2019 0:41, Lee wrote:  
>  [...]  
>  [...]  
> 
> But how do you get something into the paste buffer without using the
> mouse?
> 
> Left double-click to select a "word" & right click to paste is pretty
> much automatic for me now - which is why I'm looking for a xfce4
> terminal replacement
> 

I fell in love with terminator

sudo apt install terminator

double left button click = copy

middle button click = paste 
(when no middle button available, I think xorg has the possibility to 
workaround with left and right
button simultaneous)

right button click = options

on fluxbox it works like a charme



Re: How could I install ecryptfs-utils on Buster

2019-04-10 Thread David Christensen

On 4/10/19 1:32 AM, Pierre Fourès wrote:

Le ven. 5 avr. 2019 à 22:08, David Christensen
 a écrit :


AFAIK dm-crypt is the canonical disc encryption technology on Linux (see
crypttab(5) and cryptsetup(8)).  I like the fact that it operates at the
device level, so everything on an encrypted disc or partition is
automatically and inescapably encrypted.  File system level encryption,
such as ecryptfs(7), might make sense for cloud directories or
sneaker-net media.  I use ccrypt(1) for individual files, but vim(1) has
an encrypted mode that is very appealing for certain use-cases.



Indeed, I've planned to give a serious look at it, especially to
encrypt the disks of the servers we rent in remote data-centers, but I
haven't took the time yet for it. And when occurred the requirement to
crypt the virtual machines, I found ecryptfs an easier thing to set
up.

I also found ecryptfs a better fit for my requirements.

Indeed, I like the fact that I, as an administrator, am not able to
access the files of "my" users. I encrypt their home folder then set
the requirement to change the password on their first login (with
'chage -d 0 $user'), might it be their physical desktops or their
virtual instances. Thus I'm sure I won't ever be able to look into
their files without them allowing me. This is known of everybody. This
is a double edged sword. They have to take full responsibility to
backup somewhere their files as I can't help them if anything goes
wrong (and if anything goes wrong I just provide them a new physical
or virtual instance and wipe the problematic one), and at the same
time it is relieving me from the possibility to be able to see
everything everywhere. In a previous company, as not being the system
administrator, I never liked this fact that somebody could access all
files behind all user's backs. I recall one who did that to an user to
look into their personal files (which shouldn't had be there in the
first place, admittedly) and I really disliked the « God mode »
situation offered to system administrators. Now that I administer the
desktops, I went really concerned to lower, by design, my scope of
abilities. I didn't want to rely on my will power and my word of mouth
about this situation. I wanted it to be established by design.
Ciphering user's space with ecryptfs allows me to lock me out very
nicely and easily from this possibility. I haven't found this to be
possible with dm-crypt in an easy and user-friendly way.

Nonetheless, if it's possible to achieve such objective with dm-crypt,
I would really appreciate some pointers about how to do it.


How about enfs, gocryptfs, and/or libpam-mount?

2019-04-10 17:48:09 dpchrist@po ~
$ apt-cache search fuse encrypt
afflib-tools - Advanced Forensics Format Library (utilities)
camo - SSL/TLS image proxy to prevent mixed-content warnings
encfs - encrypted virtual filesystem
gocryptfs - Encrypted overlay filesystem written in Go.
libpam-mount - PAM module that can mount volumes for a user session


David



Re: terminal with right-click = paste?

2019-04-10 Thread bw
In-Reply-To: 

>
>altho lxterm, uxterm and xterm all create a tiny window with the font
>size so small they're damn near unusable.  And no obvious menu I can
>find to change the font size, window size or anything, so more man
>page spelunking for me.

xterm is good, but yeah it is not very useful out of the box.  There are 
menus, most of the time you can get them by holding down ctrl and using 
either mouse button.

I never tried to remap the middle mouse paste, I think that is part of 
the x server,  not necessarily the particular terminal.  It probably could 
be done but if you could gravitate to shift-ins and middle mouse click to 
paste it might serve you well.  They both seem to "usually" be a reliable 
way to work, if your clipboard is set to "synchronize with selection."

Let people know what you find out.  Especially if you get any good 
.Xresources settings or find good documentation about this.  It is fairly 
rare to find good documentation on these settings IME.  The xterm FAQ is 
huge and worth looking thru, but hard to find out exactly who does what 
sometimes.

https://invisible-island.net/xterm/xterm.faq.html

good luck,
bw



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, Dan Ritter wrote:
> Lee wrote:
>> On 4/10/19, Peter Wiersig  wrote:
>> > Lee writes:
>> >
>> > Package: putty (0.67-3+deb9u1)
>> > Telnet/SSH client for X
>> >
>> > https://packages.debian.org/stretch/putty
>>
>> Now there's a blast from the past!  I used to love putty but $WORK
>> decided using it was a no-no.  In any case,
>> https://www.chiark.greenend.org.uk/~sgtatham/putty/
>>  2019-03-16 PuTTY 0.71 released
>> PuTTY 0.71, released today, includes a large number of security fixes,
>> many of which were found by the recent EU-funded HackerOne bug bounty.
>>
>> How does one tell if putty (0.67-3+deb9u1) has all the security fixes
>> that are in 0.71?
>
> Excellent question.
>
> https://packages.debian.org/search?suite=all=names=putty
>
> can send you to
>
> https://metadata.ftp-master.debian.org/changelogs//main/p/putty/putty_0.67-3+deb9u1_changelog
>
> which has this as the most recent entry:
>
> putty (0.67-3+deb9u1) stretch-security; urgency=high
>
>   * Backport security fixes from 0.71:
<.. snip ..>

Cool - I'll try to remember to check the changelog in the future.

But again.. wow.  And not in a good way.  Install putty on debian, run
putty, right click on the putty menu bar (title bar?) and the menu is
lacking _anything_ to do with how putty behaves.

Install putty on windows, run putty, right click on the putty menu bar
& there's a 'Change Settings' option that lets me change the font or
font size on the fly, colors, cursor, window size, enable/disable
logging, etc.  Not being able to change things on the fly with the
debian version of putty is .. disappointing at best.

Lee



Re: 'synaptic' removed from buster

2019-04-10 Thread Lee
On 4/10/19, Nazar Zhuk wrote:
> On 4/10/19 10:58 AM, David Wright wrote:
>> On Sat 06 Apr 2019 at 08:42:31 (+0100), Jonathan Dowland wrote:
>>> On Fri, Apr 05, 2019 at 09:39:23PM -0500, David Wright wrote:
>
 Given a straight toss-up though, I think synaptic has to give way
 because
 there are plenty of alternatives. I'd never heard of it until a few
 people
 started mentioning it here, and I'd never consider using it myself on X
 except
 as an ordinary user.
>>>
>>> The severity of the bug in synaptic (which is what has caused its
>>> autoremoval)
>>> would not be "serious" if the default desktop was not Wayland. So
>>> changing
>>> *that*, would mean synaptic could be reintroduced.
>>
>> So Debian should have its policy dictated by bugs in an unrelated
>> package. Seems an odd strategy.
>
> If a change (Wayland default) is introducing issues to a stable (in a
> generic sense) system, shouldn't the change be postponed until the
> issues are resolved? Perhaps with the help from the change proponents.

My understanding is that
  sudo synaptic
not working for anybody other than root is a desired feature of
Wayland - not something that would or should be fixed.

But I'm also under the impression that logging in as root & running
synaptic works, so removing synaptic altogether still seems a bit
excessive.

Lee



Re: Tracking the next Stable release

2019-04-10 Thread Francisco M Neto
On Wed, 2019-04-10 at 22:59 +0200, deloptes wrote:
> Is Buster in freeze now? If so I would rather start preparing for an
> upgrade.

Yes, the freeze began March 12.

-- 
[]'s,

Francisco M Neto

GPG: 4096R/D692FBF0


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


Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, Dan Ritter wrote:
> Lee wrote:
>> > You don't! The programmers didn't include that.
>>
>> wow.  just.. wow.  I wonder if that omission has anything to do with
>> the xterm popcon graph showing about 100K users & xfce4-terminal
>> about 28K
>
> Probably more to do with the fact that xterm comes as a default
> with all X11 installations.
>
>> > You can change your button mapping for all of X with xmodmap.
>>
>> but then everywhere I expect a right click to pull up a menu won't -
>> correct?
>
> Correct. If you swap your middle button with your right button,
> they will be consistently swapped.

Thanks for saving me the trouble of figuring out how to swap mouse
buttons & testing.  Having to press the mouse wheel button to pull up
a menu is a non-starter.

Lee



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, bw wrote:
> In-Reply-To:  =lvhgogonk...@mail.gmail.com>
>
>>>Lee
> 
>>How do I find out what other terminal programs are already installed
>>that I can try?
> 
>
> Most of them still seem to register with the debian alternatives system,
> but no guarantee.
>
> $ update-alternatives --list x-terminal-emulator
> /usr/bin/koi8rxterm
> /usr/bin/konsole
> /usr/bin/lxterm
> /usr/bin/uxterm
> /usr/bin/xterm

Thanks for that - yet another command to add to my notes.
$ update-alternatives --list x-terminal-emulator
/usr/bin/koi8rxterm
/usr/bin/lxterm
/usr/bin/uxterm
/usr/bin/xfce4-terminal.wrapper
/usr/bin/xterm

altho lxterm, uxterm and xterm all create a tiny window with the font
size so small they're damn near unusable.  And no obvious menu I can
find to change the font size, window size or anything, so more man
page spelunking for me.

> I don't think I recall seeing right-click to paste, how did you get used
> to that?

Microsoft Windows.  My recollection is putty could be configured to
set right-click to paste.  With cygwin mintty it's trivially easy to
set the right mouse button to be 'paste'.  As is setting the "double
click selects a word" word definition characters.  Or at least I
remember it being trivially easy .. maybe that option was removed from
the menu?

In any case, my idea of 'how things should work' has been shaped by
using MS windows & windows programs.  It wasn't until Windows 10 that
I even tried setting up a linux machine at home.

>  Why can't you continue to use the term that got you used to it?

I could, but I'd rather stop using Windows.  Altho lately I keep
asking myself if the Windows 10 spyware/operating-system-as-a-service
is _really_ all that horrible.

Regards,
Lee



Re: terminal with right-click = paste?

2019-04-10 Thread Dan Ritter
Lee wrote: 
> On 4/10/19, Peter Wiersig  wrote:
> > Lee  writes:
> >
> > Package: putty (0.67-3+deb9u1)
> > Telnet/SSH client for X
> >
> > https://packages.debian.org/stretch/putty
> 
> Now there's a blast from the past!  I used to love putty but $WORK
> decided using it was a no-no.  In any case,
> https://www.chiark.greenend.org.uk/~sgtatham/putty/
>  2019-03-16 PuTTY 0.71 released
> PuTTY 0.71, released today, includes a large number of security fixes,
> many of which were found by the recent EU-funded HackerOne bug bounty.
> 
> How does one tell if putty (0.67-3+deb9u1) has all the security fixes
> that are in 0.71?

Excellent question.

https://packages.debian.org/search?suite=all=names=putty

can send you to

https://metadata.ftp-master.debian.org/changelogs//main/p/putty/putty_0.67-3+deb9u1_changelog

which has this as the most recent entry:

putty (0.67-3+deb9u1) stretch-security; urgency=high

  * Backport security fixes from 0.71:
- In random_add_noise, put the hashed noise into the pool,
  not the raw
  noise.
- New facility for removing pending toplevel callbacks.
- CVE-2019-9898: Fix one-byte buffer overrun in
  random_add_noise().
- uxnet: clean up callbacks when closing a NetSocket.
- sk_tcp_close: fix memory leak of output bufchain.
- Fix handling of bad RSA key with n=p=q=0.
- Sanity-check the 'Public-Lines' field in ppk files.
- Introduce an enum of the uxsel / select_result flags.
- CVE-2019-9895: Switch to using poll(2) in place of
  select(2).
- CVE-2019-9894: RSA kex: enforce the minimum key length.
- CVE-2019-9897: Fix crash on ESC#6 + combining chars + GTK
  + odd-width
  terminal.
- CVE-2019-9897: Limit the number of combining chars per
  terminal cell.
- minibidi: fix read past end of line in rule W5.
- CVE-2019-9897: Fix crash printing a width-2 char in a
  width-1
  terminal.

 -- Colin Watson   Tue, 02 Apr 2019
19:32:53 +0100



Re: 'synaptic' removed from buster

2019-04-10 Thread Nazar Zhuk

On 4/10/19 10:58 AM, David Wright wrote:

On Sat 06 Apr 2019 at 08:42:31 (+0100), Jonathan Dowland wrote:

On Fri, Apr 05, 2019 at 09:39:23PM -0500, David Wright wrote:



Given a straight toss-up though, I think synaptic has to give way because
there are plenty of alternatives. I'd never heard of it until a few people
started mentioning it here, and I'd never consider using it myself on X except
as an ordinary user.


The severity of the bug in synaptic (which is what has caused its autoremoval)
would not be "serious" if the default desktop was not Wayland. So changing
*that*, would mean synaptic could be reintroduced.


So Debian should have its policy dictated by bugs in an unrelated
package. Seems an odd strategy.


If a change (Wayland default) is introducing issues to a stable (in a 
generic sense) system, shouldn't the change be postponed until the 
issues are resolved? Perhaps with the help from the change proponents.


--
Nazar



Re: terminal with right-click = paste?

2019-04-10 Thread Dan Ritter
Lee wrote: 
> > You don't! The programmers didn't include that.
> 
> wow.  just.. wow.  I wonder if that omission has anything to do with
> the xterm popcon graph showing about 100K users & xfce4-terminal
> about 28K

Probably more to do with the fact that xterm comes as a default
with all X11 installations.

> > You can change your button mapping for all of X with xmodmap.
> 
> but then everywhere I expect a right click to pull up a menu won't - correct?

Correct. If you swap your middle button with your right button,
they will be consistently swapped.

-dsr- 



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, Dan Ritter  wrote:
> Lee wrote:
>> On 4/10/19, Dan Ritter  wrote:
>> > Lee wrote:
>> >> I installed the xfce version of debian 9 & have a terminal icon on the
>> >> menu bar that starts xfce4-terminal
>> >>
>> >> Is there some way to configure xfce4-terminal so that a right mouse
>> >> click pastes text?
>> >> What I have now is right-click brings up a menu where I have to left
>> >> click on paste.  ick.
>> >
>> > Middle button is probably set to paste right now.
>>
>> It is!!  So how do I change that setting so that right click is set to
>> paste?
>
> You don't! The programmers didn't include that.

wow.  just.. wow.  I wonder if that omission has anything to do with
the xterm popcon graph showing about 100K users & xfce4-terminal
about 28K

> You can change your button mapping for all of X with xmodmap.

but then everywhere I expect a right click to pull up a menu won't - correct?

Oh well... I'll give xterm a try.

Thanks
Lee



Re: How to build linux kernal package

2019-04-10 Thread deloptes
Thomas Nyberg wrote:

> 1. If someone here knows the specific issue with the linux package, what
> am I doing wrong here?
> 2. Is there a general procedure e.g. `debian/rules build && debian/rules
> binary` which _should_ work (in other words if it doesn't work, it's a
> bug). Or is the specific build procedure package dependent?
> 3. If the procedure is package dependent, where is it documented? I
> guess there must be scripts somewhere on some build servers that build
> this...are they accessible somewhere?
> 
> Let me know if you'd like more information. Thanks for any help!

I do not know about the debian kernel, but I download the kernel source from
kernel.org. I copy the config and do make oldconfig ... there are questions
to be answered regarding newer modules or functionality. Finally I do make
deb-pkg -j4. The -j4 is to let make use my 4 CPUs. Few minutes later I have
a new kernel.
The advantage is that I enable only drivers that I need and I have a recent
kernel. Disadvantage is that it needs testing. Meanwhile I optimized a
config for all machine types around and I upgrade only if there are bugs
fixed for those machines architecture.

For your problem though you can try

$ apt source linux-image-$(uname -r)
$ cd linux-4.9.144
$ debuild -uc -us -b -j4 

regards



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, Peter Wiersig  wrote:
> Lee  writes:
>>
>> How do I find out what other terminal programs are already installed
>> that I can try?
>
> Installed? I don't know your package list
> Installable? see below.
>
>> What terminal programs are available that have a 'right click pastes
>> text' option _and_ has a scroll bar that is
>> 1. easily visible
>> 2. goes up/down a page at a time when left-clicking above/below the scroll
>> bar
>> 3. has up/down buttons on the scroll bar that scrolls a line at a time
>> when clicking on the button
>
> Package: putty (0.67-3+deb9u1)
> Telnet/SSH client for X
>
> https://packages.debian.org/stretch/putty

Now there's a blast from the past!  I used to love putty but $WORK
decided using it was a no-no.  In any case,
https://www.chiark.greenend.org.uk/~sgtatham/putty/
 2019-03-16 PuTTY 0.71 released
PuTTY 0.71, released today, includes a large number of security fixes,
many of which were found by the recent EU-funded HackerOne bug bounty.

How does one tell if putty (0.67-3+deb9u1) has all the security fixes
that are in 0.71?

Thanks
Lee



Re: Tracking the next Stable release

2019-04-10 Thread deloptes
Francisco M Neto wrote:

> There is no defined number, I think. If I'm not mistaken it happens when
> the Release Team decides the bugs in that list - if any - are not relevant
> enough to extend the freeze any longer

Is Buster in freeze now? If so I would rather start preparing for an
upgrade.

thanks



Re: terminal with right-click = paste?

2019-04-10 Thread Dan Ritter
Lee wrote: 
> On 4/10/19, Dan Ritter  wrote:
> > Lee wrote:
> >> I installed the xfce version of debian 9 & have a terminal icon on the
> >> menu bar that starts xfce4-terminal
> >>
> >> Is there some way to configure xfce4-terminal so that a right mouse
> >> click pastes text?
> >> What I have now is right-click brings up a menu where I have to left
> >> click on paste.  ick.
> >
> > Middle button is probably set to paste right now.
> 
> It is!!  So how do I change that setting so that right click is set to paste?

You don't! The programmers didn't include that.

You can change your button mapping for all of X with xmodmap.

-dsr-



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, Dan Ritter  wrote:
> Lee wrote:
>> I installed the xfce version of debian 9 & have a terminal icon on the
>> menu bar that starts xfce4-terminal
>>
>> Is there some way to configure xfce4-terminal so that a right mouse
>> click pastes text?
>> What I have now is right-click brings up a menu where I have to left
>> click on paste.  ick.
>
> Middle button is probably set to paste right now.

It is!!  So how do I change that setting so that right click is set to paste?

> If you have a
> wheel, it's probably set to to click in as the middle button.
> Otherwise, left+right together may be middle button.
>
> Finally, you can put this in your .Xresources:
>
> XTerm*VT100.Translations: \
> #override BackSpace: string(0x08) \n\
>   Delete:string(0x1b) string("[3~") \n\
>   ~Shift ~Ctrl ~Meta :
> insert-selection(PRIMARY,CUT_BUFFER0) \n\
>   ~Ctrl ~Meta :  ignore() \n\
>   ~Shift ~Ctrl ~Meta :
> insert-selection(PRIMARY,CUT_BUFFER0) \n\
>   :  select-end(PRIMARY,CLIPBOARD,CUT_BUFFER0)
>
> and run actual xterm.

Is there anything in your XTerm*VT100.Translations that means 'right
mouse button'?
If I do go with xterm I'll read up on .Xresources, but in the mean
time I'm not seeing anything in your snippet that even remotely looks
like 'mouse button'

>> How do I find out what other terminal programs are already installed
>> that I can try?
>
> dpkg --get-selections|grep term
> is close but not definitive

looks like xterm is my only other already installed option
$ dpkg --get-selections | grep term
ncurses-terminstall
xfce4-terminal  install
xterm   install

Thanks
Lee



Re: terminal with right-click = paste?

2019-04-10 Thread Lee
On 4/10/19, Alexander V. Makartsev  wrote:
> On 11.04.2019 0:41, Lee wrote:
>> I installed the xfce version of debian 9 & have a terminal icon on the
>> menu bar that starts xfce4-terminal
>>
>> Is there some way to configure xfce4-terminal so that a right mouse
>> click pastes text?
>> What I have now is right-click brings up a menu where I have to left
>> click on paste.  ick.
>>
>> How do I find out what other terminal programs are already installed
>> that I can try?
>>
>> What terminal programs are available that have a 'right click pastes
>> text' option _and_ has a scroll bar that is
>> 1. easily visible
>> 2. goes up/down a page at a time when left-clicking above/below the scroll
>> bar
>> 3. has up/down buttons on the scroll bar that scrolls a line at a time
>> when clicking on the button
>>
>> Thanks
>> Lee
>>
> Try keyboard shortcuts instead.
> Shift+Ctrl+V - Paste
> It's more convenient IMO, you won't move your hands away from keyboard
> and simply continue typing after paste.

But how do you get something into the paste buffer without using the mouse?

Left double-click to select a "word" & right click to paste is pretty
much automatic for me now - which is why I'm looking for a xfce4
terminal replacement

Thanks anyway tho
Lee



Re: terminal with right-click = paste?

2019-04-10 Thread Peter Wiersig
Lee  writes:
>
> How do I find out what other terminal programs are already installed
> that I can try?

Installed? I don't know your package list
Installable? see below.

> What terminal programs are available that have a 'right click pastes
> text' option _and_ has a scroll bar that is
> 1. easily visible
> 2. goes up/down a page at a time when left-clicking above/below the scroll bar
> 3. has up/down buttons on the scroll bar that scrolls a line at a time
> when clicking on the button

Package: putty (0.67-3+deb9u1)
Telnet/SSH client for X

https://packages.debian.org/stretch/putty

also available in jessie or buster

Peter



Re: terminal with right-click = paste?

2019-04-10 Thread Dan Ritter
Lee wrote: 
> I installed the xfce version of debian 9 & have a terminal icon on the
> menu bar that starts xfce4-terminal
> 
> Is there some way to configure xfce4-terminal so that a right mouse
> click pastes text?
> What I have now is right-click brings up a menu where I have to left
> click on paste.  ick.

Middle button is probably set to paste right now. If you have a
wheel, it's probably set to to click in as the middle button.
Otherwise, left+right together may be middle button.

Finally, you can put this in your .Xresources:

XTerm*VT100.Translations: \
#override BackSpace: string(0x08) \n\
  Delete:string(0x1b) string("[3~") \n\
  ~Shift ~Ctrl ~Meta :
insert-selection(PRIMARY,CUT_BUFFER0) \n\
  ~Ctrl ~Meta :  ignore() \n\
  ~Shift ~Ctrl ~Meta :
insert-selection(PRIMARY,CUT_BUFFER0) \n\
  :  select-end(PRIMARY,CLIPBOARD,CUT_BUFFER0)

and run actual xterm.

> How do I find out what other terminal programs are already 

installed
> that I can try?

dpkg --get-selections|grep term
is close but not definitive

-dsr-



Re: terminal with right-click = paste?

2019-04-10 Thread Alexander V. Makartsev
On 11.04.2019 0:41, Lee wrote:
> I installed the xfce version of debian 9 & have a terminal icon on the
> menu bar that starts xfce4-terminal
>
> Is there some way to configure xfce4-terminal so that a right mouse
> click pastes text?
> What I have now is right-click brings up a menu where I have to left
> click on paste.  ick.
>
> How do I find out what other terminal programs are already installed
> that I can try?
>
> What terminal programs are available that have a 'right click pastes
> text' option _and_ has a scroll bar that is
> 1. easily visible
> 2. goes up/down a page at a time when left-clicking above/below the scroll bar
> 3. has up/down buttons on the scroll bar that scrolls a line at a time
> when clicking on the button
>
> Thanks
> Lee
>
Try keyboard shortcuts instead.
Shift+Ctrl+V - Paste
It's more convenient IMO, you won't move your hands away from keyboard
and simply continue typing after paste.


-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄ 



terminal with right-click = paste?

2019-04-10 Thread Lee
I installed the xfce version of debian 9 & have a terminal icon on the
menu bar that starts xfce4-terminal

Is there some way to configure xfce4-terminal so that a right mouse
click pastes text?
What I have now is right-click brings up a menu where I have to left
click on paste.  ick.

How do I find out what other terminal programs are already installed
that I can try?

What terminal programs are available that have a 'right click pastes
text' option _and_ has a scroll bar that is
1. easily visible
2. goes up/down a page at a time when left-clicking above/below the scroll bar
3. has up/down buttons on the scroll bar that scrolls a line at a time
when clicking on the button

Thanks
Lee



Re: Fwd: Security Installation Method

2019-04-10 Thread Dan Ritter
Arun Vasudevan wrote: 
> HI Could you please help on this
> 
> On Wed, Apr 10, 2019 at 7:37 PM Dan Ritter  wrote:
> 
> > Arun Vasudevan wrote:
> > > Hi
> > >
> >
> > Please address replies to the group, so that other people can
> > assist and can be helped in future.
> >
> > -dsr-



Re: XDM maakt cli-weergave in de war

2019-04-10 Thread Rutger van Sleen
On 10-04-2019 20:28, Vincent Zweije wrote:
> Ik proef toch een localization probleempje. Dat is vaak door de
> environment variabelen gestuurd. Dus probeer eens in de twee omgevingen:
> 
> #startx
> printenv | sort -o env-startx.txt
> 
> #xdm
> printenv | sort -o env-xdm.txt
> 
> en vergelijk de files. Misschien geeft dat een hint wat er anders is.

Helaas. Ter vermaak heb ik de bestanden bijgevoegd. :)

Bij het starten van de X-sessie wordt in beide gevallen ~/.xsessionrc
geladen, waar ik ~/.xprofile in aanroep, die weer ~/.profile source'd,
waar ik de locales variabelen in heb staan.
COLORFGBG=default;default
COLORTERM=rxvt-xpm
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_STARTUP_ID=i3/i3-sensible-terminal/7064-0-flaming_TIME49744508
DISPLAY=:0
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
HOME=/home/djslash
HOSTNAME=flaming
HUSHLOGIN=FALSE
INVOCATION_ID=f978b14654b24397b57174291eb5c696
JOURNAL_STREAM=9:52795
LANG=en_US.utf8
LANGUAGE=en_US:en
LC_ADDRESS=nl_NL.utf8
LC_COLLATE=nl_NL.utf8
LC_CTYPE=en_US.utf8
LC_IDENTIFICATION=nl_NL.utf8
LC_MEASUREMENT=nl_NL.utf8
LC_MONETARY=nl_NL.utf8
LC_NAME=nl_NL.utf8
LC_NUMERIC=nl_NL.utf8
LC_PAPER=nl_NL.utf8
LC_TELEPHONE=nl_NL.utf8
LC_TIME=nl_NL.utf8
LESS=-R
LOGNAME=djslash
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MAIL=/var/mail/djslash
OLDPWD=/home/djslash
PAGER=less
PATH=/home/djslash/.local/bin:/home/djslash/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PWD=/home/djslash
QT_ACCESSIBILITY=1
SHELL=/bin/zsh
SHLVL=2
SSH_AGENT_PID=7063
SSH_AUTH_SOCK=/tmp/ssh-ITMrdSxUhs1z/agent.7023
TERM=rxvt-unicode-256color
USER=djslash
_=/usr/bin/printenv
WINDOWID=31457289
WINDOWPATH=2
XAUTHORITY=/home/djslash/.Xauthority
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_ID=10
XDG_SESSION_TYPE=tty
XDG_VTNR=2
COLORFGBG=default;default
COLORTERM=rxvt-xpm
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_STARTUP_ID=i3/i3-sensible-terminal/21594-1-flaming_TIME36711436
DISPLAY=:0
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
HOME=/home/djslash
HOSTNAME=flaming
LANG=en_US.utf8
LANGUAGE=en_US:en
LC_ADDRESS=nl_NL.utf8
LC_COLLATE=nl_NL.utf8
LC_CTYPE=en_US.utf8
LC_IDENTIFICATION=nl_NL.utf8
LC_MEASUREMENT=nl_NL.utf8
LC_MONETARY=nl_NL.utf8
LC_NAME=nl_NL.utf8
LC_NUMERIC=nl_NL.utf8
LC_PAPER=nl_NL.utf8
LC_TELEPHONE=nl_NL.utf8
LC_TIME=nl_NL.utf8
LESS=-R
LOGNAME=djslash
LSCOLORS=Gxfxcxdxbxegedabagacad

Re: XDM maakt cli-weergave in de war

2019-04-10 Thread Vincent Zweije
On Wed, Apr 10, 2019 at 11:11:36AM +0200, Rutger van Sleen wrote:

> Sinds kort ben ik XDM gaan gebruiken als display manager. Ik wil
> namelijk graag dat er meerdere Xservers gestart worden na het booten.
> Dat maakt het mogelijk dat mijn gezin simpel een andere VT kan pakken,
> zonder dat ik na hoef te denken over switch-user mogelijkheden.
>
> Deze setup draai ik op Debian testing (aka buster), zowel op mijn
> desktop-machine als op mijn laptop.
>
> Het probleem dat ik omschrijf in het subject, komt alleen voor op mijn
> laptop. Waarom ik denk dat het door XDM komt? Omdat het niet gebeurt als
> ik bijvoorbeeld de Xserver start met `startx`. Dit is belangrijk, omdat
> in theorie er geen verschil zou moeten zijn tussen de twee methodes en
> mijn eigen configuratie[1] dus in principe werkt. Ik gebruik i3wm als
> window manager.
>
> Het probleem is: als de sessie gestart is met XDM, en ik open dan een
> terminal (urxvt of xterm, maakt niet uit) om `man man` te lezen, zie ik
> op sommige plekken dat er letters of tekens er gek uit zien. Een andere
> ervaring is dat als ik `alsamixer` of `ncmpcpp` in deze terminal
> gebruik, het er goed uit ziet. Echter, ik heb meerdere cli dingen, zoals
> `ncmpcpp` en `lnav`, die ik in screen draai. Daar ziet het er niet goed
> uit. Daar waar lijntjes moeten zijn, staan allemaal â-tjes bijvoorbeeld
> (zie [2]). Echter toont een `weechat` dit gedrag niet, maar heeft ook
> een paar quirks zoals het niet goed weergeven van é-tjes (ook te zien in
> gelinkte screenshot).

Ik proef toch een localization probleempje. Dat is vaak door de
environment variabelen gestuurd. Dus probeer eens in de twee omgevingen:

#startx
printenv | sort -o env-startx.txt

#xdm
printenv | sort -o env-xdm.txt

en vergelijk de files. Misschien geeft dat een hint wat er anders is.

Vincent.
-- 
Vincent Zweije| "If you're flamed in a group you
  | don't read, does anybody get burnt?"
[Xhost should be taken out and shot] |-- Paul Tomblin on a.s.r.


signature.asc
Description: PGP signature


Re: XDM maakt cli-weergave in de war

2019-04-10 Thread Rutger van Sleen
On 4/10/19 8:09 PM, Geert Stappers wrote:
> On Wed, Apr 10, 2019 at 12:40:48PM +0200, Rutger van Sleen wrote:
*knip*
>> Ik ben juist van LightDM afgestapt, omdat het me totaal niet lukte om
>> daarmee te behalen wat ik wou.
> > Omschrijven wat je wilt kan vaak al een uitdaging opzich zijn. In

Ik wil graag dat als ik mijn X-sessie start via XDM, dat mijn
cli-weergave er 'normaal' uit ziet.

>> als ik ingelogd ben op VT7, dat mijn vrouw simpelweg naar VT8 kan
> lees ik "multi seat" als in 
> https://en.wikipedia.org/wiki/Multiseat_configuration
> Maar of dat de bedoeling is, is me niet duidelijk.

Nee, ik schreef al, zelfde hardware.

1 stoel, 1 toetsenbord, 1 muis, 1 laptop-scherm (bij mijn
desktop-machine wel 2 monitoren). Maar dus wel meerdere
Xserver-instanties, zodat degene die in de stoel zit, gebruik kan maken
van een eigen instantie.

Het is dus *geen* multiseat- situatie.



Re: From installation DVD to original ISO file

2019-04-10 Thread Thomas Schmitt
Hi,

> Doing it that way also yields
>https://packages.debian.org/stretch/libcdio-utils

Note the different names "isoinfo" <-> "iso-info".
These programs take different options and put out different text formats.
"iso-info" does not tell the size.

Your command
  COUNT=$(isoinfo -d -i /dev/cdrom)
looks questionable, though.

A program run here prints multiple lines of which the right one needs to
be picked and stripped of its prefix text:

  COUNT=$(isoinfo -d -i /dev/cdrom | grep 'Volume size is: ' | sed -e 's/Volume 
size is: //')


> On the man page
> https://manpages.debian.org/stretch/util-linux/isosize.8.en.html
> I had seen:
> > The size of the file (or block device) holding an iso9660 filesystem
> > can be marginally larger than the actual size of the iso9660 filesystem.
> > One reason for this is that cd writers are allowed to add "run out"
> > sectors at the end of an iso9660 image.
>
> I wasn't sure if that meant it was not suitable for my purpose.

This paragraph is just an explanation why "isosize" is of use and
why its result can differ from the image file size or the readable
size of the medium.

(The last sentence is quite wrong. Run-out blocks are not readable. They can
 only cause the Linux TAO CD read-ahead error if the drive invites for it.
 Most optical media types pad up a burn session to the next multiple of
 16 or 32 blocks. Some types are random access media and offer their full
 capacity for reading rather than the size of the recently written ISO.
 Only CD-R[W] with write type SAO and DVD-R[W] with write type DAO reliably
 restrict the readable size to the written size.
)


Have a nice day :)

Thomas



Re: XDM maakt cli-weergave in de war

2019-04-10 Thread Geert Stappers
On Wed, Apr 10, 2019 at 12:40:48PM +0200, Rutger van Sleen wrote:
> On 4/10/19 12:04 PM, Paul van der Vlis wrote:
> > Op 10-04-19 om 11:11 schreef Rutger van Sleen:
> >> Hoi allemaal,
> >>
> >> Sinds kort ben ik XDM gaan gebruiken als display manager. Ik wil
> >> namelijk graag dat er meerdere Xservers gestart worden na het booten.
> >> Dat maakt het mogelijk dat mijn gezin simpel een andere VT kan pakken,
> >> zonder dat ik na hoef te denken over switch-user mogelijkheden.
> > 
> > Ik heb geen ervaring met XDM, maar heb in het verleden wel meerdere
> > Xservers gedraaid met GDM, volgens mij kan/kon dat dus wel. Dat was met
> > een multiseat configuratie, is dat ook wat jij doet?
> 
> Nee, het gaat puur om meerdere Xserver-instanties die werken met
> dezelfde hardware en configuratie. Dit zodat als ik ingelogd ben op VT7,
> dat mijn vrouw simpelweg naar VT8 kan om daar een eigen sessie te starten.
> 
> > Mijn ervaring is dat het echter nogal afhankelijk is van welke
> > videokaart(en) je gebruikt.
> 
> In dit geval dus niet.
> 
> > Wat ik je wil aanraden is eens te kijken naar LightDM als display manager.
> > 
> > Volgens mij gebruikt bijna niemand XDM en wordt het daarom niet zo
> > geweldig onderhouden. Maar ik kan me vergissen.
> 
> Ik ben juist van LightDM afgestapt, omdat het me totaal niet lukte om
> daarmee te behalen wat ik wou.
 
Omschrijven wat je wilt kan vaak al een uitdaging opzich zijn. In
> als ik ingelogd ben op VT7, dat mijn vrouw simpelweg naar VT8 kan
lees ik "multi seat" als in 
https://en.wikipedia.org/wiki/Multiseat_configuration
Maar of dat de bedoeling is, is me niet duidelijk.

Ik ben echter bang dat ik per ongeluk de gewenste setup heb ervaren.

VT7 reageerde niet snel genoeg, ik probeerde VT8, daar was wel wat.
Echter niet meer dan een "greeter" en heb nieuwe sessie gestart.
Later op de dag opnieuw vanuit screensaver naar VT8 en VT7 gezocht.
Toen vond ik de sessie van eerder op de dag. Ik herkende die aan
de namen van de terminal windows.

Hoe dat te reproduceren?Dat weet ik niet.


Waarmee was het?   XFCE   met zijn standaard DM. ( ik heb niets
extras ingestel tijdens de installatie )


> XDM heeft recentelijk weer een nieuwe versie uitgebracht[1] sinds een
> jaar of zeven. ;-) Zit alleen nog niet in Debian.
> 
> [1] https://lists.x.org/archives/xorg-announce/2019-March/002959.html
> 
> -- 
> Rutger van Sleen
> 
> { Geen WhatsApp, wel Signal - https://signal.org/ }
> 
> ~ https://selkof.net/ ~ https://djslash.org/ ~
> ~ Nederlandse Linux Gebruikers Groep - https://nllgg.nl/ ~
> ~ Bewonersorganisatie Oosterpark - https://oosterparkgroningen.nl/
> 

-- 
Groeten
Geert Stappers
-- 
Leven en laten leven



Re: Fwd: Security Installation Method

2019-04-10 Thread der.hans

Am 10. Apr, 2019 schwätzte Cindy Sue Causey so:

moin moin,


On 4/10/19, Dan Ritter  wrote:

Arun Vasudevan wrote:


Could you please help me to install the Security patches only to one of
my
Debian servers.




The usual method is:

sudo apt update
apt list --upgradable

# inspect the packages to make sure you want all of them. If
# not, don't proceed. You can install individual updates with
# sudo apt install PACKAGENAME

sudo apt upgrade

At the end of that, you will want to reboot if you installed a
new kernel.



This is a quick drive-by to wonder whether limiting the repositories
in /etc/apt/sources.list (before "apt upgrade") would additionally
help here, too?


This is essentially what I do.

I put security repos in /etc/apt/sources.list.d/security.list, then I use
only that for security updates.

sudo apt -o Dir::Etc::sourceparts=:: -o 
Dir::Etc::SourceList=/etc/apt/sources.list.d/security.list full-upgrade

ciao,

der.hans


Commenting the lines out instead of deleting is my chosen method of
operation just so I don't have to waste time tracking down how to put
what back in place *when* I change my mind. :)

Yes, I can't think of good examples, but I'm sure there are some to
show why everything should be updated instead of just security. :)

Cindy :)



--
#  https://www.LuftHans.com   https://www.PhxLinux.org
#  History is nothing but a collection of fables and useless trifles,
#  cluttered up with a mass of unnecessary figures and proper names.
#  -- Leo Tolstoy

Re: From installation DVD to original ISO file.

2019-04-10 Thread Richard Owlett

On 04/10/2019 11:41 AM, to...@tuxteam.de wrote:

On Wed, Apr 10, 2019 at 10:24:34AM -0500, Richard Owlett wrote:

I have BW limits such that I cannot download requires iso files.
Therefor I have purchased a complete set of installation DVDs.
I require that the MD5SUMS (etc) of the generated file match the original.

I went thru this a few years ago so I know care must be taken to
exactly match the file size.

The solutions I was given at the time revolved around using "isoinfo".
[E.G. > # COUNT=$(isoinfo -d -i /dev/cdrom)
 > # dd if=/dev/dvd bs=2048 status=progress count=$COUNT
conv=notrunc,noerror > disc.iso
]

I've gone in circles trying to find a package including it in
*current* Debian repository.

Is it available? If so where?
Is there a recommended alternative procedure?


Hm. There seem to be several 'isoinfo' (I'm assuming that isoinfo is
what your 'it' refers to):

   tomas@trotzki:~$ apt-file search isoinfo
   engrampa: /usr/lib/engrampa/engrampa/isoinfo.sh
   file-roller: /usr/lib/x86_64-linux-gnu/file-roller/isoinfo.sh
   genisoimage: /usr/bin/isoinfo
   genisoimage: /usr/share/man/man1/isoinfo.1.gz
   libguestfs-gobject-dev: /usr/include/guestfs-gobject/struct-isoinfo.h
   manpages-ja: /usr/share/man/ja/man8/isoinfo.8.gz
   manpages-pl: /usr/share/man/pl/man1/isoinfo.1.gz
   patool: /usr/lib/python2.7/dist-packages/patoolib/programs/isoinfo.py
   patool: /usr/lib/python3/dist-packages/patoolib/programs/isoinfo.py

I guess you're looking for the one in package 'genisoimage'. But my
crystal ball is somewhat cloudy...

Cheers
-- t



I hadn't thought of using "apt-file search ***".
Thanks




Re: From installation DVD to original ISO file

2019-04-10 Thread Richard Owlett

On 04/10/2019 10:58 AM, Thomas Schmitt wrote:

Hi,

Richard Owlett wrote:

The solutions I was given at the time revolved around using "isoinfo".
[...] I've gone in circles trying to find a package including it in
*current* Debian repository.


Isn't it in "genisoimage" ?

   https://packages.debian.org/stretch/amd64/genisoimage/filelist
has
   /usr/bin/isoinfo



My search methodology was faulty.
I hadn't thought of searching packages.debian.org for an included file.
Doing it that way also yields
   https://packages.debian.org/stretch/libcdio-utils
with interesting links at
   https://www.gnu.org/software/libcdio/projects.html




# COUNT=$(isoinfo -d -i /dev/cdrom)
# dd if=/dev/dvd bs=2048 status=progress count=$COUNT conv=notrunc,noerror > 
disc.iso
Is there a recommended alternative procedure?


   COUNT=$(expr $(/sbin/isosize /dev/cdrom) / 2048)

from package "util-linux".



On the man page
 https://manpages.debian.org/stretch/util-linux/isosize.8.en.html
I had seen:

The size of the file (or block device) holding an iso9660 filesystem
can be marginally larger than the actual size of the iso9660 filesystem.
One reason for this is that cd writers are allowed to add "run out"
sectors at the end of an iso9660 image. 


I wasn't sure if that meant it was not suitable for my purpose.


Thanks



Re: Fwd: Security Installation Method

2019-04-10 Thread Cindy Sue Causey
On 4/10/19, Dan Ritter  wrote:
> Arun Vasudevan wrote:
>> >
>> > Could you please help me to install the Security patches only to one of
>> > my
>> > Debian servers.
>>
>
> The usual method is:
>
> sudo apt update
> apt list --upgradable
>
> # inspect the packages to make sure you want all of them. If
> # not, don't proceed. You can install individual updates with
> # sudo apt install PACKAGENAME
>
> sudo apt upgrade
>
> At the end of that, you will want to reboot if you installed a
> new kernel.


This is a quick drive-by to wonder whether limiting the repositories
in /etc/apt/sources.list (before "apt upgrade") would additionally
help here, too?

Commenting the lines out instead of deleting is my chosen method of
operation just so I don't have to waste time tracking down how to put
what back in place *when* I change my mind. :)

Yes, I can't think of good examples, but I'm sure there are some to
show why everything should be updated instead of just security. :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with birdseed *



Promotional material (presentations)

2019-04-10 Thread Paul Sutton
Hi

I have sent a message to pr...@debian.org with regard to submitting a
presentation on Debian for review, while I got a successful delivery
report, I then got another e-mail saying it had failed.
dnorw...@portalus.com (generated from pr...@debian.org)

I don't know if this e-mail has reached its destination or not.

I just wondered if anyone here perhaps deals with publicity materials
and would be able to advise or review a submission please. The latest
presentation here (
https://wiki.debian.org/Presentations#For_latex-beamer ) is dated 2013.

Just thought I would ask here for some advice.

Thanks you for your time.

Paul


-- 
Paul Sutton
http://www.zleap.net
https://www.linkedin.com/in/zleap/
gnupg : 7D6D B682 F351 8D08 1893  1E16 F086 5537 D066 302D



Re: From installation DVD to original ISO file.

2019-04-10 Thread tomas
On Wed, Apr 10, 2019 at 10:24:34AM -0500, Richard Owlett wrote:
> I have BW limits such that I cannot download requires iso files.
> Therefor I have purchased a complete set of installation DVDs.
> I require that the MD5SUMS (etc) of the generated file match the original.
> 
> I went thru this a few years ago so I know care must be taken to
> exactly match the file size.
> 
> The solutions I was given at the time revolved around using "isoinfo".
> [E.G. > # COUNT=$(isoinfo -d -i /dev/cdrom)
> > # dd if=/dev/dvd bs=2048 status=progress count=$COUNT
> conv=notrunc,noerror > disc.iso
> ]
> 
> I've gone in circles trying to find a package including it in
> *current* Debian repository.
> 
> Is it available? If so where?
> Is there a recommended alternative procedure?

Hm. There seem to be several 'isoinfo' (I'm assuming that isoinfo is
what your 'it' refers to):

  tomas@trotzki:~$ apt-file search isoinfo
  engrampa: /usr/lib/engrampa/engrampa/isoinfo.sh
  file-roller: /usr/lib/x86_64-linux-gnu/file-roller/isoinfo.sh
  genisoimage: /usr/bin/isoinfo
  genisoimage: /usr/share/man/man1/isoinfo.1.gz
  libguestfs-gobject-dev: /usr/include/guestfs-gobject/struct-isoinfo.h
  manpages-ja: /usr/share/man/ja/man8/isoinfo.8.gz
  manpages-pl: /usr/share/man/pl/man1/isoinfo.1.gz
  patool: /usr/lib/python2.7/dist-packages/patoolib/programs/isoinfo.py
  patool: /usr/lib/python3/dist-packages/patoolib/programs/isoinfo.py

I guess you're looking for the one in package 'genisoimage'. But my
crystal ball is somewhat cloudy...

Cheers
-- t


signature.asc
Description: Digital signature


Re: 'synaptic' removed from buster

2019-04-10 Thread David Wright
On Sat 06 Apr 2019 at 08:42:31 (+0100), Jonathan Dowland wrote:
> On Fri, Apr 05, 2019 at 09:39:23PM -0500, David Wright wrote:
> >   "Why not make a [Conflicts:] with Wayland / Gnome? It's not
> >possible to make sure that synaptic installs on a [Conflicts:]
> >that would remove Wayland?"
> > 
> > This is probably the easiest option to support as it should be
> > possible to implement just by adding a line to the two Packages
> > files for the architectures affected.
> 
> This is not a proper use of Conflicts:.
> 
> Xorg and Wayland stuff can be installed side-by-side. Synaptic works fine on
> Gnome/Xorg. A conflicts: against Gnome would be nonsensical; a conflicts:
> against Wayland would prevent installing Wayland on a system that has Synaptic
> already, even if there was no intention to use them together; or prevent
> Synaptic installing on a system with Wayland present, even if it wasn't in 
> use.

I think you're right, so perhaps NEWS.Debian is the way to go.

> > Given a straight toss-up though, I think synaptic has to give way because
> > there are plenty of alternatives. I'd never heard of it until a few people
> > started mentioning it here, and I'd never consider using it myself on X 
> > except
> > as an ordinary user.
> 
> The severity of the bug in synaptic (which is what has caused its autoremoval)
> would not be "serious" if the default desktop was not Wayland. So changing
> *that*, would mean synaptic could be reintroduced.

So Debian should have its policy dictated by bugs in an unrelated
package. Seems an odd strategy.

Cheers,
David.



Re: retour expérience sur Buster ??

2019-04-10 Thread Étienne Mollier
Bruno Volpi, au 2019-04-10 :
> le menu s'affiche toujours dans la barre de titre de
> l'application en style menu déroulant.

Bonjour,

Pour ce point, en m'inspirant de votre procédure initiale,
j'arrive à basculer entre « menu déroulant » et « barre de
menu » :

Clic menu « K » (enfin, s'il s'appelle encore comme ça)
-> Configuration du système
-> Apparences des applications
-> Décorations de fenêtres
-> Onglet « Boutons »
-> Cliquer/glisser le menu d'applications depuis la
   barre de titre vers l'intérieur de la fenêtre
   schématisée dans le panneau de configuration
-> Appliquer
-> et éventuellement relancer les applications Qt.

Si ça ne vous permet pas d'atteindre une situation adaptée à
votre ergonomie, alors là je sèche.

Amicalement,
-- 
Étienne Mollier 



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Pierre L.
Le transit de données "hautement personnelles" transit pourtant en
ligne, en ayant en tête un bon nombre de services de l’État, et autres
prestataires... Bref, passons. Ce n'est pas raison pour tout mettre en
ligne, nous sommes d'accord ;) Avoir une certaine hygiène numérique est
assez essentielle.

Ceci dit, le mot "cloud" ne veut pas dire "partager". Je pense que cette
fausse idée probablement véhiculée par les médias (avis personnel)
fausse l'idée qu'on doit s'en faire.
Rien n'empêche d'installer Nextcloud sur ton réseau local
(uniquement!!!), sur un Raspberry Pi comme énoncé précédemment, et de
dire à tes clients de se connecter à ce serveur local.
Si tu n'ouvre aucun port dans ta box personnelle afin de laisser
l'extérieur (internet) venir dialoguer avec ton serveur, ce "cloud"
restera entièrement et uniquement dans ta sphère personnelle.

Cette solution permet à mon avis de gagner beaucoup de temps, et avoir
une certaine flexibilité en ce qui concerne les mises à jour /
corrections / synchronisations des contacts pour tous les comptes de la
petite famille sous le même toit (sur le même réseau domestique).

Après il est tout à fait compréhensible que le chalenge d'avoir un outil
"fabriqué maison" fonctionnant à merveille procurera une certaine
satisfaction :)
Bon fun ;)


Le 10/04/2019 à 15:09, Basile Starynkevitch a écrit :
> Recommanderiez vous à votre psy ou à votre médecin de mettre vos
> données médicales sur le cloud. Moi certainement pas! 




signature.asc
Description: OpenPGP digital signature


Re: From installation DVD to original ISO file

2019-04-10 Thread Thomas Schmitt
Hi,

Richard Owlett wrote:
> The solutions I was given at the time revolved around using "isoinfo".
> [...] I've gone in circles trying to find a package including it in
> *current* Debian repository.

Isn't it in "genisoimage" ?

  https://packages.debian.org/stretch/amd64/genisoimage/filelist
has
  /usr/bin/isoinfo


> # COUNT=$(isoinfo -d -i /dev/cdrom)
> # dd if=/dev/dvd bs=2048 status=progress count=$COUNT conv=notrunc,noerror > 
> disc.iso
> Is there a recommended alternative procedure?

  COUNT=$(expr $(/sbin/isosize /dev/cdrom) / 2048)

from package "util-linux".


Have a nice day :)

Thomas



Re: date(1) in stretch and buster

2019-04-10 Thread David Wright
On Wed 10 Apr 2019 at 13:26:39 (+0200), Vincent Lefevre wrote:
> On 2019-04-09 13:28:40 -0500, David Wright wrote:
> > On Tue 09 Apr 2019 at 15:38:43 (+0200), Vincent Lefevre wrote:
> > > On 2019-04-08 18:26:23 +0300, Reco wrote:
> > > > stretch$ TZ=UTC date
> > > > Mon Apr  8 15:22:02 UTC 2019
> > > > buster$ TZ=UTC date
> > > > Mon 08 Apr 2019 03:22:04 PM UTC
> > > 
> > > This is unrelated to your issue, but note that the correct TZ string
> > > for UTC is "UTC0", not "UTC". See
> > > 
> > >   http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html
> > 
> > I think it's unwise to write that here. AIUI GNU/linux date uses the
> > so-called 3rd format for timezones, which points into the time zone
> > database. There's an entry in that database for UTC, but not for UTC*.
> > And, of course, what would the civil name be for date to label that
> > timezone with? You can't use just "UTC".
> 
> UTC0 appears to be safer. Here's what I got in the past:
> 
> patate:~> TZ=UTC date; TZ=UTC0 date
> Mon Aug 13 00:35:53 CEST 2018
> Sun Aug 12 22:35:53 UTC 2018
> 
> just because a script was writing to /etc/localtime.

If that's the way you "fix" your broken configuration, why not use
a more indicative string so that people know your system's broken:

$ date; TZ=UTC date; TZ=UTC0 date; TZ=XXX date; TZ=XXX0 date
Wed Apr 10 10:48:36 CDT 2019
Wed Apr 10 15:48:36 UTC 2019
Wed Apr 10 15:48:36 UTC 2019
Wed Apr 10 15:48:36 XXX 2019
Wed Apr 10 15:48:36 XXX 2019
$ 

Cheers,
David.



From installation DVD to original ISO file.

2019-04-10 Thread Richard Owlett

I have BW limits such that I cannot download requires iso files.
Therefor I have purchased a complete set of installation DVDs.
I require that the MD5SUMS (etc) of the generated file match the original.

I went thru this a few years ago so I know care must be taken to exactly 
match the file size.


The solutions I was given at the time revolved around using "isoinfo".
[E.G. > # COUNT=$(isoinfo -d -i /dev/cdrom)
> # dd if=/dev/dvd bs=2048 status=progress count=$COUNT 
conv=notrunc,noerror > disc.iso

]

I've gone in circles trying to find a package including it in *current* 
Debian repository.


Is it available? If so where?
Is there a recommended alternative procedure?

TIA



Re: putty go slow

2019-04-10 Thread Michael Stone

On Wed, Apr 10, 2019 at 10:18:23AM -0400, rhkra...@gmail.com wrote:

Maybe, but I've bought things that I think are (5-port) switches (advertised
as such) for in the range of $10 in various sales or on ebay, and so far, have
no reason to doubt them.

I guess I'll have to really test in the near future.

Ok, just did a simple test -- on a 5-port switch, with 5 devices plugged in,
one powered off:
  * solid green lights on 4 ports (when no traffic) indicate the 4 devices that
are powered up
  * flashing green lights on 2 ports when data  being transferred

I believe it is a switch -- will check the other switch in service ...

Ok, same thing.


I haven't seen a true hub easily available anywhere in at least a 
decade. Most of the low end parts are built around the same couple of 
highly integrated chips (which are switches). The last generation of 
cheap "hubs" were actually partial bridges, to handle 10Mbps and 100Mbps 
devices.


Mike Stone



soluções para vários arquivos copia

2019-04-10 Thread Vitor Hugo
Estou com um cenário em que possuo vários arquivos (30 mil arquivos) 
*.doc,docx em uma maquina Windows, utiliza-se um programa para pesquisar 
na maquina estes arquivos pelo CPF, porem a pessoa quer mudar os 
arquivos para um servidor Linux em que as copias sejam feitas 
automaticamente e utilizar vários terminais Windows (10-20) terminais 
para puxar estes arquivos pelo programa que faz uma pesquisa no HD com o 
CPF.

A cada arquivos aberto e feito uma alteração nele ele deve estar 
disponível na rede para outras maquinas solicitar este arquivos atualizados.

Exemplo:

520.305.629-21.docx

Abre, altera, fica disponível automaticamente atualizado para outras 
maquina na rede.

Que tipo de solução Linux pode se utilizar neste cenário?



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Alexandre Goethals
Hello,

c'est MTP qui est utilisé pour la connexion USB. Cela demande
confirmation, mais il me semble que c'est gvfs qui rend accessible le
système de fichiers, qui est monté sous /run/user/$UID

On peut aussi utiliser le paquet jmtpfs pour monter le tout à
l'emplacement qu'on souhaite, il me semble.

J'en profite pour faire un léger HS: si quelqu'un connaît l'astuce pour
récupérer certains éléments, comme les SMS par exemple, du téléphone
pour les stocker sur son PC, je suis preneur. Tout ce que j'ai lu à ce
sujet sur le web mentionnait des applications tierces, ou des
fonctionnalités de sauvegarde d'Android, mais je souhaiterais, m'en
passer si c'est possible (j'utilise une version nightly de Lineage OS).

Le 10/04/2019 à 14:40, Basile Starynkevitch a écrit :
>
> On 4/10/19 9:45 AM, Pierre L. wrote:
>> Bonjour Basile,
>>
>> Samuel te propose d'utiliser une autre méthode que la ligne de commande,
>> via une solution "cloud".
>
> Je veux spécifiquement éviter toute utilisation d'une machine autre
> que mon PC Linux personnel (en particulier, une solution "cloud" ne me
> convient pas, si elle nécessite autre chose que mon PC Linux, par
> exemple un serveur cloud distant - quand bien même ce dernier
> tournerait sous Linux, et ceci pour des raisons de respect de la vie
> privée). Mais je suis prêt à installer des logiciels (même serveurs)
> sur mon poste Linux.
>
> Il me semble que d'autres messages sur cette même liste
> debian-user-french ont répondu, à peu près, à mon attente.
>
> Mais si quelqu'un m'indique le protocole de synchronisation utilisé
> sur un cable USB par mon téléphone Android, je suis preneur.
>
> Librement.
>
>



Re: putty go slow

2019-04-10 Thread Peter Wiersig
Michael Stone  writes:
> There's more debugging that could be done if needed, but for .01% I'd
> write it off as a momentary blip, maybe related to load during startup
> of a network service, and ignore it unless it started growing.

Yeah, currently I'm working as a monitoring specialist and after getting
the counters I ran the numbers and put my scale against the result.

I recently watched a conference talk[1] on network monitoring and the
consultant quoted the default settings of .01% for warning and .1% for
critical package errors when averaging the traffic over 15 minutes or
so, coming from the monitoring solution defaults, which we use here in
our datacenter.

Peter

[1] german presenter, english slides https://youtu.be/KiKOaeEaKis?t=377
english dubbed https://youtu.be/E9_S1rDJZIQ?t=371



Re: putty go slow

2019-04-10 Thread rhkramer
Oh, I should have mentioned that the switches I use are 10/100 megabit, not 
gigabit.  

(I'm not sure, but the switch built into my Edge Router might be Gigabit, but 
that device was closer to $50 (on sale, I'm fairly sure, although I bought it 
at a time when I was having problems with my LAN, so may have paid closer to 
list price).)

On Wednesday, April 10, 2019 10:18:23 AM rhkra...@gmail.com wrote:
> On Wednesday, April 10, 2019 06:00:01 AM Peter Wiersig wrote:
> > mick crane  writes:
> > > It's got "8 port switch" printed on it but if there is network activity
> > > all the lights seem to flash.
> > 
> > Ok, that simple you can't distinguish between hubs and switches:
> > If you connect a new device to your network, the switch has still to ask
> > for IP->MAC resolutions on unknown IPs, and broadcast packets need to be
> > transmitted on all ports.  But a file transfer for say a linux
> > distribution ISO should only be flickering 2 LEDs.
> > 
> > I found that there is a price point below which the device is no true
> > switch anymore and should be replaced.  Over here it's 50 EUR or so,
> > for your quoted 8 ports.  Correction: Probably lower at 35 EUR. Mazbe I
> > had more ports with that other price point.
> 
> Maybe, but I've bought things that I think are (5-port) switches
> (advertised as such) for in the range of $10 in various sales or on ebay,
> and so far, have no reason to doubt them.
> 
> I guess I'll have to really test in the near future.
> 
> Ok, just did a simple test -- on a 5-port switch, with 5 devices plugged
> in, one powered off:
>* solid green lights on 4 ports (when no traffic) indicate the 4 devices
> that are powered up
>* flashing green lights on 2 ports when data  being transferred
> 
> I believe it is a switch -- will check the other switch in service ...
> 
> Ok, same thing.



Re: Accessing USB storage attached to network router

2019-04-10 Thread rlharris

On 2019.04.10 08:01, Rodolfo Medina wrote:
I'm revisiting now this old thread in which I solved my problem...  Now 
I have
the problem again with my new router Zyxel VMG8823-B50B.  I can access 
the USB

stick via Nautilus:

...

but don't manage to mount the USB stick.  In /etc/fstab I have:


I use gnome-disks to mount and unmount USB sticks directly plugged in to 
my machine, which is running Stretch.




Re: putty go slow

2019-04-10 Thread rhkramer
On Wednesday, April 10, 2019 06:00:01 AM Peter Wiersig wrote:
> mick crane  writes:
> > It's got "8 port switch" printed on it but if there is network activity
> > all the lights seem to flash.
> 
> Ok, that simple you can't distinguish between hubs and switches:
> If you connect a new device to your network, the switch has still to ask
> for IP->MAC resolutions on unknown IPs, and broadcast packets need to be
> transmitted on all ports.  But a file transfer for say a linux
> distribution ISO should only be flickering 2 LEDs.
> 
> I found that there is a price point below which the device is no true
> switch anymore and should be replaced.  Over here it's 50 EUR or so,
> for your quoted 8 ports.  Correction: Probably lower at 35 EUR. Mazbe I
> had more ports with that other price point.

Maybe, but I've bought things that I think are (5-port) switches (advertised 
as such) for in the range of $10 in various sales or on ebay, and so far, have 
no reason to doubt them.

I guess I'll have to really test in the near future.

Ok, just did a simple test -- on a 5-port switch, with 5 devices plugged in, 
one powered off:
   * solid green lights on 4 ports (when no traffic) indicate the 4 devices 
that 
are powered up
   * flashing green lights on 2 ports when data  being transferred 

I believe it is a switch -- will check the other switch in service ...

Ok, same thing.



Re: putty go slow

2019-04-10 Thread Peter Wiersig
mick crane  writes:
> Just looking I had a misspelled entry in hosts file on windows for the 
> PC that is name server which can't have been helping matters.

No, but problems that arise from that manifest in different ways
contrary to what you posted in the initial mail.


> I'll get some decent cables, a couple of these the plastic clip has 
> broken off.

Here I would put my money, if I was betting where your problems come
from.  There's nothing nicer in the datacenter but to open a transport
bag for a fine new cable and click it in the patch port and the NIC of a
new installed machine, audible (lucky me if I can hear it) and tactile
feedback that send shivers of joy down my spine.

Post to here or a new thread if you need another idea, if that cable
swap doesn't help.  I hope it does.

Mick, have you ever read ESRs and Rick Moens howto on how to ask good questions?
http://www.catb.org/~esr/faqs/smart-questions.html

I ask because I almost skipped your initial post because of the way you
asked your question without giving us the technical background into your
setup, which is always hard to get, and during our exchange you'd always
skip past questions and give almost relevant info but with little to zero
context.

Have fun.

Peter



Re: How could I install ecryptfs-utils on Buster

2019-04-10 Thread Pierre Fourès
Le ven. 5 avr. 2019 à 17:07, Pierre Fourès  a écrit :
> I would like a « simple and easy » solution.

In the hope it may help someone or at least give some food for
thoughts, here is what I eventually did to fix my issue.

I use apt-cacher-ng. I first thought to log in the instance and grab
the package and install it manually via dpkg (and do this with all it
dependencies). My point was to revert back to what buster was before
the removal of this package. However, the versions of package
ecryptfs-utils are currently the same between stretch, buster and sid.
So the .deb file will stay in the pool of the mirrors at least until
debian stretch goes out from the LTS it hasn't entered yet. This is a
long time frame. I then thought to use a combo of wget and dpkg to
install it straight from the pool. I also identified this package
could also be removed from the pool if this package is updated in
debian stretch while still in the stable life-cycle of stretch and
included in a point release. There is not a big time-frame for it, and
if this would happen, I believe ecrypfs-utils would probably be
reintegrated in buster-backports. I then take the bet that it won't be
updated before stretch goes oldstable (which should only be some
months ahead) or if it is, ecryptfs should appears in
buster-backports. If not, I will have to find an other solution.

With that being said, I devised my solution relying on the fact that
ecryptfs utils will stay in stretch in order to stay in the pool. But,
instead of fiddling with wget and dpkg, wouldn't it be more efficient
to use the power of apt to install it and all of its dependencies ? I
went back to my idea to use the repository of stretch into the
instance of buster. With the rules of precedence set in apt, I
(almost) never can be able to mix my distrib with software from
stretch. The problem is sensible when mixing with forward versions of
Debian, but, to my understanding, can't occur when mixing with
backward versions of Debian. Please, correct me if I'm wrong.

If I use apt, it will look for the most recent version and take
precedence on the version of buster. But if it appears a package isn't
in the buster repository (like ecryptfs-utils), it might find it in
the stretch repository, and install it from there. While doing so, it
will look for the dependencies and install all of them. But while
looking to satisfy the dependencies, it will find them in the buster
repository and install the most recent of them. I'm then granted I
won't have an installation who slowly slip toward not being 100%
buster except one package or so.

I did the test and all went as expected. I got ecryptfs-utils being
installed with the four of its dependencies. One of them, keyutils, is
in 1.5.9-9 in stretch and 1.6.6 in buster. As expected, apt installed
the one from buster. After the install, I then had precisely the same
packages installed in the same versions as what it was before
ecryptfs-utils was removed from buster. This kind of satisfy my «
simple and easy » solution requirement.

I just have one minor consideration about this. It was about adding
stretch-security on top of it. In the case ecryptfs would be updated,
I would like to take this upgrade. But I'm not sure this would play
well regarding other packages being in the same version number between
stretch and buster. Thinking when stretch will be in LTS, a package
could get an update earlier in stretch than in buster. The package
would then be installed from the stretch-security updates instead of
the pending one in buster. Then when the buster package get released,
how would this all converge ? I'm not sure how all this would goes,
and I'm not willing to experiment, so I decided to leave off the
stretch-security repository and just use the buster one. Doing so,
only ecryptfs-utils (and its companion lib) won't get any security
updates. I will then manually look for updates on ecryptfs package and
decide what to do from there. I indeed subscribed to bug #765854 and
also to the tracker for package ecryptfs-utils for this purpose. I
will be notified by email if anything moves there before it hit the
repositories. If this would ever would happen, I guess I will have to
adjust this current fix for this situation. A simple update wouldn't
seem to be wise without more careful inspection of the situation. Thus
I guess I'm not loosing much on not having ecrypfs automatically
handled by security updates.

I hope I didn't missed anything who could jeopardize the situation,
but I'm pretty confident with all this, and happy how it turned out.
Indeed, I just added two lines before the 'apt-get install
ecryptfs-utils' command, here they are, simple and easy :

> echo "deb http://http.debian.net/debian/ stretch main contrib" >> 
> /etc/apt/sources.list
> apt-get update

Off course, I very welcome comments on all this if I overlooked something.

Regards,
Pierre.



Problem loading Debian 9.8.0

2019-04-10 Thread Patrick Gallagher
Hi Suppot,

I installed Debian 9.8.0 on my laptop using an iso DVD image and Virtualbox
6.0.4

https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/

I create a virtual drive of 50GB and loaded the ISO from a local folder on
my Laptop.

The installation went fine but when it went to boot the Virtual box
software but the Debian OS didn't load.

A black box opened up with a flashing cursor in the Top LHS.  It looks as
if its waiting for more files to be loaded before but it just sits there
doing nothing.

I have uninstalled it and reinstalled it again with no success.  I also
have tried installing an earlier version of debian but get the same
result.  I have checked every thing and it seems to be okay.  Virtual box
seems to be working okay and the top tab says Debian [Running]

Is it my laptop.  I am using a Panasonic Toughbook with windows 10 build
1803. .  it has a standard hard drive with 1TB  space. 16GB RAM.  I already
made one change to the bios enabling AMD-V.  Do I need to make any more.  I
can send more info on the laptop if required.

Any suggestions would be welcome.

Thanks,
Patrick


Re: putty go slow

2019-04-10 Thread Michael Stone

On Wed, Apr 10, 2019 at 03:01:51PM +0200, Peter Wiersig wrote:

I strive for local networks that would have single digit drops in 47m
packets and I'm willing to spend the money for the equipment to achieve
that.  My quoted ifconfig output comes from a rented server in some
datacenter where I don't have the power to choose anything HW related
apart from my price point for the server cost, and they almost reach my
goal in error counters.  I have no idea how critical micks hardware is
and what budget choices he makes.


A drop in that output indicates that the packet was lost on the local 
machine. It's not a hardware issue on the network so changing out pieces 
of the network isn't going to change it. If it was a higher percentage 
I'd look at whether a NIC with better offload was warranted, or a CPU 
upgrade, or whether the system was running network-related software that 
could be upgraded to something more efficient, etc. There's more 
debugging that could be done if needed, but for .01% I'd write it off as 
a momentary blip, maybe related to load during startup of a network 
service, and ignore it unless it started growing.


Mike Stone



Re: Fwd: Security Installation Method

2019-04-10 Thread Dan Ritter
Arun Vasudevan wrote: 
> Hello Team,
> 
> Any one help me here
> 
> -- Forwarded message -
> From: Moritz Muehlenhoff 
> Date: Wed, Apr 10, 2019 at 6:15 PM
> Subject: Re: Security Installation Method
> To: Arun Vasudevan 
> Cc: 
> 
> 
> On Wed, Apr 10, 2019 at 05:55:09PM +0530, Arun Vasudevan wrote:
> > Team,
> >
> > Could you please help me to install the Security patches only to one of my
> > Debian servers.
> 
> Please contact https://lists.debian.org/debian-user/ instead

The usual method is:

sudo apt update
apt list --upgradable

# inspect the packages to make sure you want all of them. If
# not, don't proceed. You can install individual updates with
# sudo apt install PACKAGENAME

sudo apt upgrade

At the end of that, you will want to reboot if you installed a
new kernel.

-dsr-



Re: putty go slow

2019-04-10 Thread mick crane

On 2019-04-10 14:01, Peter Wiersig wrote:

Michael Stone  writes:


On Wed, Apr 10, 2019 at 12:00:01PM +0200, Peter Wiersig wrote:

/sbin/ifconfig
enp0s25: flags=4163  mtu 1500
 inet 10.0.0.3  netmask 255.255.255.0  broadcast 10.0.0.255
 inet6 fe80::219:d1ff:fe41:c769  prefixlen 64  scopeid 
0x20

 ether 00:19:d1:41:c7:69  txqueuelen 1000  (Ethernet)
 RX packets 47732498  bytes 13998322190 (13.0 GiB)
 RX errors 0  dropped 5642  overruns 0  frame 0


Your errors are higher when your received packets are half of mine. 
But

still, 5k of of 47m is a error rate of 0.01%, so a hint, but not
conclusive.


5000 drops is insignificant, and you're having him waste his time
chasing something that isn't a problem.


No, I encouraged him to reboot the linux side of the puzzle, reproduce
his problem and then check the counters.  I doubt that that would 
entour

13 GiB datatransfers if the problem is reproducible, I got the
impression the problem is intermittend and I suggested he goes and 
swaps

the cables for about $10 and see if that helps or not.

I also stated that that error-rate is not the solution, and I guess 
that

I wont be able to help him solve this problem.  Dan thought the 5k
counter value would indicate a more serious problem.

I also asked for kernel messages regarding his network card, because I
think in his case the error might lie in the link negotiation or duplex
settings for the relevant machines.

I strive for local networks that would have single digit drops in 47m
packets and I'm willing to spend the money for the equipment to achieve
that.  My quoted ifconfig output comes from a rented server in some
datacenter where I don't have the power to choose anything HW related
apart from my price point for the server cost, and they almost reach my
goal in error counters.  I have no idea how critical micks hardware is
and what budget choices he makes.

You have a nice day please, Michael.  Thanks for your contribution to
debian btw.

Regards,
Peter


Just looking I had a misspelled entry in hosts file on windows for the 
PC that is name server which can't have been helping matters.
I'll get some decent cables, a couple of these the plastic clip has 
broken off.


mick
--
Key ID4BFEBB31



Fwd: Security Installation Method

2019-04-10 Thread Arun Vasudevan
Hello Team,

Any one help me here

-- Forwarded message -
From: Moritz Muehlenhoff 
Date: Wed, Apr 10, 2019 at 6:15 PM
Subject: Re: Security Installation Method
To: Arun Vasudevan 
Cc: 


On Wed, Apr 10, 2019 at 05:55:09PM +0530, Arun Vasudevan wrote:
> Team,
>
> Could you please help me to install the Security patches only to one of my
> Debian servers.

Please contact https://lists.debian.org/debian-user/ instead

Cheers,
Moritz


Re: Carnet du téléphone Android et Linux

2019-04-10 Thread cyrille
 > Je suis probablement assez motivé pour développer ce petit logiciel sous 
> Linux moi même, probablement sous licence GPLv3+. Ma tendre épouse 
> serait ravie, et pour une fois que je vais coder quelquechose pour elle, 
> moi aussi.
> 
> Mais j'ai alors besoin du format de ce fichier. Si j'ai bien compris, 
> c'est du VCARD. en.wikipedia.org/wiki/VCard
> 

Oui c'est du VCard normalement.

Pour la question du cloud, "nextcloud" est une solution open-source que vous 
pouvez installer sur un serveur chez vous. Dans ce cas, vous pouvez être 
totalement maitre de l'infrastructure traitant les données.

Cyrille



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread fab



Pour ce qui concerne mon foyer, les trois carnets d'adresse 
téléphoniques doivent évidemment être sauvegardés séparément.

je vois.

Tu peux remplacer le mot "cloud" par serveur perso (ou même ordi perso) 
et là ca va mieux ;) ?


f.

ps: inutile d'envoyer sur ma boite perso les messages destinés à la liste.



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Basile Starynkevitch



On 4/10/19 3:09 PM, Basile Starynkevitch wrote:


On 4/10/19 2:47 PM, fab wrote:


Je ne cherche explicitement pas à envoyer des données de contact 
téléphonique ailleurs que sur mon PC Linux.
ok. Pour bien comprendre, cela signifie donc que les carnets 
d'adresses vont continuer à diverger sur chacun des téléphones et 
ordis ?


Lorsque tu auras exporté/ré-importé avec succès tes 6 carnets 
d'adresse (3 tel + 3 ordi) sur ton ordi, tu vas créer une seule liste 
bien propre ? et ensuite, tu vas la réinjecter dans les 6 appareils ?
Et comme chacun continuera à inscrire des contacts dans son coin, tu 
referas l'opération plusieurs fois par an ?



Bien évidemment oui. Et les carnets d'adresse sont séparés: ma femme 
et moi ne partageons pas nos carnets d'adresse, même si ils ont des 
entrées en commun (tels que le téléphone de nos enfants, tous majeurs 
et de nos petits-enfants). Mon fils aîné est photographe (nos autres 
enfants habitent ailleurs, c'est le seul qui soit encore à la maison 
et dans quelques mois ou années il aura quitté le nid familial pour 
mener sa propre vie).



Lapsus: c'est évidemment notre fils cadet Matthieu qui habite encore à 
la maison (et il a hâte d'en partir et c'est sain). Il est photographe 
mais utilise son téléphone aussi bien professionnellement que 
personnellement. Nos autres enfants (plus vieux) habitent ailleurs. Je 
n'ai pas à a savoir comment Matthieu synchronise son carnet d'adresses. 
C'est son affaire.


(mais étant marié avec une psy, je suis fortement attaché à la notion de 
vie privée et de confidentialité médicale).



Librement

--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Basile Starynkevitch



On 4/10/19 2:47 PM, fab wrote:


Je ne cherche explicitement pas à envoyer des données de contact 
téléphonique ailleurs que sur mon PC Linux.
ok. Pour bien comprendre, cela signifie donc que les carnets 
d'adresses vont continuer à diverger sur chacun des téléphones et ordis ?


Lorsque tu auras exporté/ré-importé avec succès tes 6 carnets 
d'adresse (3 tel + 3 ordi) sur ton ordi, tu vas créer une seule liste 
bien propre ? et ensuite, tu vas la réinjecter dans les 6 appareils ?
Et comme chacun continuera à inscrire des contacts dans son coin, tu 
referas l'opération plusieurs fois par an ?



Bien évidemment oui. Et les carnets d'adresse sont séparés: ma femme et 
moi ne partageons pas nos carnets d'adresse, même si ils ont des entrées 
en commun (tels que le téléphone de nos enfants, tous majeurs et de nos 
petits-enfants). Mon fils aîné est photographe (nos autres enfants 
habitent ailleurs, c'est le seul qui soit encore à la maison et dans 
quelques mois ou années il aura quitté le nid familial pour mener sa 
propre vie).


Et ça pour une raison bien simple: ma femme (Corinne-Elisabeth) est 
psychologue & psychothérapeute libérale et utilise (par souci 
d'économie) le même téléphone mobile pour son métier et sa vie privée. 
Je ne veux surtout pas me mêler de son activité professionnelle, et elle 
la fait très bien toute seule. On comprendra aisément pourquoi elle ne 
veux pas mettre son carnet d'adresse sur le cloud: elle est tenue, et 
elle est sérieuse, à une forte confidentialité. Je n'ai même pas à 
connaître le nombre de ses patients (et surtout pas leur nom ou 
téléphone), et je ne le connais évidemment pas. De même, pour l'instant, 
notre fils (Matthieu) est photographe. Il a un carnet d'adresse 
professionnel. Pour les mêmes raisons économiques, il utilise son 
téléphone à la fois pour son métier et sa vie privée.


Et moi aussi j'utilise le même téléphone mobile pour mon métier et ma 
vie privée. Mais comme je suis ingénieur-chercheur en informatique et 
développeur de logiciel libre, mon carnet d'adresse à moi est le moins 
important de nous trois. Car l'essentiel de mes échanges professionnels 
se fait par mél (par par téléphone).


Par contre, je suis l'informaticien de la maison, et je m'occupe un peu 
de sauvegarder les données de ma chère et tendre (sans en connaître le 
contenu). Mais je ne lui proposerais jamais de les mettre sur le 
"cloud". Faut être sérieux. Quand moi j'allais voir une psy (il y a des 
années), j'aurais été horrifié d'apprendre que mon numéro téléphone 
connue par ma psy était "sur le cloud" (et à ma connaissance il ne 
l'était pas).


Le cloud, c'est sympa pour des données pas importantes. Mais pour des 
données plus ou moins médicales (celle d'une psy ou d'un médecin) il 
faut être sérieux. On n'est pas dans un monde de bisounours. Le simple 
fait pour un Monsieur ou une Madame X de consulter un ou une psy (par 
exemple mon épouse) est une donnée hautement confidentielle à mon sens. 
Et ma femme est une psy sérieuse (et donc je ne connais pas les valeurs 
possibles de X).


Recommanderiez vous à votre psy ou à votre médecin de mettre vos données 
médicales sur le cloud. Moi certainement pas!


Pour ce qui concerne mon foyer, les trois carnets d'adresse 
téléphoniques doivent évidemment être sauvegardés séparément.


Librement.

PS. J'ai choisi, mais en connaissance de cause, de mettre mon numéro de 
portable sur ma page web. Mais tout le monde ne fait pas ce choix là.


--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France



Accessing USB storage attached to network router

2019-04-10 Thread Rodolfo Medina
I'm revisiting now this old thread in which I solved my problem...  Now I have
the problem again with my new router Zyxel VMG8823-B50B.  I can access the USB
stick via Nautilus:

 $ nautilus smb://192.168.1.1

but don't manage to mount the USB stick.  In /etc/fstab I have:

 //192.168.1.1/mnt/usb1_sda1/mnt/shared cifs rw,user,noauto 0 0

but it asks for password and fails:

$ mount /mnt/shared/
Password for rodolfo@//192.168.1.1/mnt/usb1_sda1:  
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Please help whoever can.

Thanks,

Rodolfo



Re: putty go slow

2019-04-10 Thread Peter Wiersig
Michael Stone  writes:

> On Wed, Apr 10, 2019 at 12:00:01PM +0200, Peter Wiersig wrote:
>>> /sbin/ifconfig
>>> enp0s25: flags=4163  mtu 1500
>>>  inet 10.0.0.3  netmask 255.255.255.0  broadcast 10.0.0.255
>>>  inet6 fe80::219:d1ff:fe41:c769  prefixlen 64  scopeid 0x20
>>>  ether 00:19:d1:41:c7:69  txqueuelen 1000  (Ethernet)
>>>  RX packets 47732498  bytes 13998322190 (13.0 GiB)
>>>  RX errors 0  dropped 5642  overruns 0  frame 0
>>
>>Your errors are higher when your received packets are half of mine. But
>>still, 5k of of 47m is a error rate of 0.01%, so a hint, but not
>>conclusive.
>
> 5000 drops is insignificant, and you're having him waste his time 
> chasing something that isn't a problem.

No, I encouraged him to reboot the linux side of the puzzle, reproduce
his problem and then check the counters.  I doubt that that would entour
13 GiB datatransfers if the problem is reproducible, I got the
impression the problem is intermittend and I suggested he goes and swaps
the cables for about $10 and see if that helps or not.

I also stated that that error-rate is not the solution, and I guess that
I wont be able to help him solve this problem.  Dan thought the 5k
counter value would indicate a more serious problem.

I also asked for kernel messages regarding his network card, because I
think in his case the error might lie in the link negotiation or duplex
settings for the relevant machines.

I strive for local networks that would have single digit drops in 47m
packets and I'm willing to spend the money for the equipment to achieve
that.  My quoted ifconfig output comes from a rented server in some
datacenter where I don't have the power to choose anything HW related
apart from my price point for the server cost, and they almost reach my
goal in error counters.  I have no idea how critical micks hardware is
and what budget choices he makes.

You have a nice day please, Michael.  Thanks for your contribution to
debian btw.

Regards,
Peter



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread fab



Je ne cherche explicitement pas à envoyer des données de contact 
téléphonique ailleurs que sur mon PC Linux.
ok. Pour bien comprendre, cela signifie donc que les carnets d'adresses 
vont continuer à diverger sur chacun des téléphones et ordis ?


Lorsque tu auras exporté/ré-importé avec succès tes 6 carnets d'adresse 
(3 tel + 3 ordi) sur ton ordi, tu vas créer une seule liste bien propre 
? et ensuite, tu vas la réinjecter dans les 6 appareils ?
Et comme chacun continuera à inscrire des contacts dans son coin, tu 
referas l'opération plusieurs fois par an ?


f.



Profesjonalna Strona Internetowa na WordPress. Sprawdź.

2019-04-10 Thread M. Stok | Strony Online

Dzień dobry,



specjalizuję się w realizacji projektów nowoczesnych* Stron* Internetowych na 
*WordPress.
*


Będzie mi miło, jeśli wyrazicie Państwo zainteresowanie moją propozycją.



Aby to zrobić wystarczy odpisać "*TAK*" w odpowiedzi na tego e-mail’a.



Z pozdrowieniami,

Mariusz Stok
Dział Wdrożeń



Profesjonalna Strona Internetowa na WordPress. Sprawdź.

2019-04-10 Thread M. Stok | Strony Online

Dzień dobry,



specjalizuję się w realizacji projektów nowoczesnych* Stron* Internetowych na 
*WordPress.
*


Będzie mi miło, jeśli wyrazicie Państwo zainteresowanie moją propozycją.



Aby to zrobić wystarczy odpisać "*TAK*" w odpowiedzi na tego e-mail’a.



Z pozdrowieniami,

Mariusz Stok
Dział Wdrożeń



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Basile Starynkevitch



On 4/10/19 9:45 AM, Pierre L. wrote:

Bonjour Basile,

Samuel te propose d'utiliser une autre méthode que la ligne de commande,
via une solution "cloud".


Je veux spécifiquement éviter toute utilisation d'une machine autre que 
mon PC Linux personnel (en particulier, une solution "cloud" ne me 
convient pas, si elle nécessite autre chose que mon PC Linux, par 
exemple un serveur cloud distant - quand bien même ce dernier tournerait 
sous Linux, et ceci pour des raisons de respect de la vie privée). Mais 
je suis prêt à installer des logiciels (même serveurs) sur mon poste Linux.


Il me semble que d'autres messages sur cette même liste 
debian-user-french ont répondu, à peu près, à mon attente.


Mais si quelqu'un m'indique le protocole de synchronisation utilisé sur 
un cable USB par mon téléphone Android, je suis preneur.


Librement.


--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Basile Starynkevitch



On 4/10/19 11:57 AM, Daniel Caillibaud wrote:

Le 10/04/19 à 06:47, Basile Starynkevitch  a
écrit :

Mon problème concret, d'un point de vue d'informaticien, est en fait:
quelles actions concrètes (comment faire sur le téléphone, quelles
commandes taper sous Linux) faire pour transferer le carnet d'adresse
depuis le téléphone puis vers le téléphone; et sous quels formats (JSON,
XML, sqlite...) verrais-je les données du carnet d'adresse sur mon poste
Linux.

Une fois que j'ai compris tout ça, modifier le carnet d'adresse doit
être simple. Je me sens même capable, si c'était nécessaire, d'écrire
l'outil (en Qt ou techo web) facilitant la modification des données sur
le poste Linux.

Par exemple, la wikipage sur https://en.wikipedia.org/wiki/VCard m'est
parfaitement compréhensible. Ce que j'ignore, c'est quoi faire pour
avoir "un ensemble de vcard" sur mon poste Linux, et comment le
transférer depuis et vers mon téléphone.

Je pense que sur la durée un carnet d'adresse synchronisé automatiquement
(avec cardav, donc un client cardav partout où y'a le carnet d'adresse et
un serveur nextcloud ou webdav qq part) est le plus simple, chacun ayant
sur son tel et son PC le carnet d'adresse partagé et un autre local
éventuel.

Pour la solution manuelle, tu peux exporter depuis ton android tout ton
carnet d'adresse dans un fichier vcard (dans tes contacts, paramètres /
exporter) et t'envoyer ce fichier par mail (ou le récupérer sur le PC via
un branchement USB).

Ensuite, ce fichier vcard est du texte, tu peux le traiter avec les outils
habituels (awk & sed & co), mais c'est franchement fastidieux… (j'avais
essayé et j'ai laissé tomber).

Et si tu trouve un soft vraiment pratique d'édition ou de manipulation de
vcard ça m'intéresse (pour fusionner les doublons, harmoniser les n° de
téléphone avec des - souvent insérés un peu n'importe comment, remplacer
tous les 0x… par du +33x…, virer les doublons du même n° inséré N fois sur
le même contact, etc).



Je suis probablement assez motivé pour développer ce petit logiciel sous 
Linux moi même, probablement sous licence GPLv3+. Ma tendre épouse 
serait ravie, et pour une fois que je vais coder quelquechose pour elle, 
moi aussi.


Mais j'ai alors besoin du format de ce fichier. Si j'ai bien compris, 
c'est du VCARD. https://en.wikipedia.org/wiki/VCard


Librement

--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Basile Starynkevitch



On 4/10/19 11:25 AM, cyri...@bollu.be wrote:

Bonjour,

De mon côté, toutes ces solutions me semblent bien compliquées (même si je 
conviens qu'elles sont très efficaces; j'ai moi même un serveur Nextcloud pour 
faire ce genre de choses).

Il me semble que ta demande est plus de savoir comment faire pour récupérer tes 
contacts Android sur ton Linux, plutôt que de savoir quel outil utiliser pour 
les gérer/partager/synchroniser.

Pour récupérer tes contacts Android sur ton Linux il faut:

   1) Exporter tes contacts Android
   2) Les transférer sur ton Linux.

Pour la 1ère étape, le lien suivant devrait pouvoir t'aider: 
https://www.fonepaw.fr/solution/importer-exporter-contacts-android.html (Je 
pense que l'idéal serait de sauvegarder ton fichier d'export sur une carte SD 
dans ton téléphone).

Ensuite, il faut transférer ce fichier d'export sur ton Linux.

Pour ce faire, j'improvise un peu, mais j'imagine que les distributions assez 
récentes de Linux devraient monter automatiquement la carte SD de ton téléphone 
lorsque tu le connectes via un câble USB. Sinon, il te reste l'option de sortir 
la carte SD de ton téléphone et la mettre dans ton ordinateur linux (pour 
autant que tu aies un lecteur SD dessus). Une autre solution pourrait être 
d'envoyer ce fichier d'export par email (depuis ton téléphone android) et de 
récupérer cet email sur ton ordinateur linux.

Il y a sans doute encore d'autres solutions.

Une fois que tu as ce fichier d'export sur ton ordi Linux, je pense que tu 
devrais pouvoir t'en sortir (c'est un simple fichier texte). Mais, 
effectivement, il existe (surement) des softs qui peuvent t'aider à gérer tes 
doublons et synchroniser tout cela avec le reste de ta famille.



Merci, c'est en gros ce que je cherchais. Quelqu'un sait sous quel 
format ouvert est ce fichier d'export?


(je suis prêt à écrire un petit logiciel libre pour ma tendre moitié qui 
manipule ce fichier).


Je ne cherche explicitement pas à envoyer des données de contact 
téléphonique ailleurs que sur mon PC Linux.


Cordialement

--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France



Re: putty go slow

2019-04-10 Thread Michael Stone

On Wed, Apr 10, 2019 at 12:00:01PM +0200, Peter Wiersig wrote:

/sbin/ifconfig
enp0s25: flags=4163  mtu 1500
 inet 10.0.0.3  netmask 255.255.255.0  broadcast 10.0.0.255
 inet6 fe80::219:d1ff:fe41:c769  prefixlen 64  scopeid 0x20
 ether 00:19:d1:41:c7:69  txqueuelen 1000  (Ethernet)
 RX packets 47732498  bytes 13998322190 (13.0 GiB)
 RX errors 0  dropped 5642  overruns 0  frame 0


Your errors are higher when your received packets are half of mine. But
still, 5k of of 47m is a error rate of 0.01%, so a hint, but not
conclusive.


5000 drops is insignificant, and you're having him waste his time 
chasing something that isn't a problem.


Michael Stone



Re: date(1) in stretch and buster

2019-04-10 Thread Vincent Lefevre
On 2019-04-09 13:28:40 -0500, David Wright wrote:
> On Tue 09 Apr 2019 at 15:38:43 (+0200), Vincent Lefevre wrote:
> > On 2019-04-08 18:26:23 +0300, Reco wrote:
> > > stretch$ TZ=UTC date
> > > Mon Apr  8 15:22:02 UTC 2019
> > > buster$ TZ=UTC date
> > > Mon 08 Apr 2019 03:22:04 PM UTC
> > 
> > This is unrelated to your issue, but note that the correct TZ string
> > for UTC is "UTC0", not "UTC". See
> > 
> >   http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html
> 
> I think it's unwise to write that here. AIUI GNU/linux date uses the
> so-called 3rd format for timezones, which points into the time zone
> database. There's an entry in that database for UTC, but not for UTC*.
> And, of course, what would the civil name be for date to label that
> timezone with? You can't use just "UTC".

UTC0 appears to be safer. Here's what I got in the past:

patate:~> TZ=UTC date; TZ=UTC0 date
Mon Aug 13 00:35:53 CEST 2018
Sun Aug 12 22:35:53 UTC 2018

just because a script was writing to /etc/localtime.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



caractères illisibles (was: Mettre à jour la libc6)

2019-04-10 Thread Vincent Lefevre
On 2019-04-09 20:25:59 +0200, Yahoo wrote:
> Bon c'est bon,
> 
> pour une raison qui m'??chappe Thunderbird m'a configur?? l'envoi de mail en
> encodage Occidental(ISO-8859-1), mais c'est quand m??me mieux en UTF-8.
> 
> donc re re voici le texte :
[...]

Ce n'est en fait pas un problème d'encodage au niveau du mail,
c'est juste que tes caractères non ASCII sont tranformés en "??"
quelque part avant l'envoi du mail.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: XDM maakt cli-weergave in de war

2019-04-10 Thread Rutger van Sleen
On 4/10/19 12:04 PM, Paul van der Vlis wrote:
> Hoi Rutger,
> 
> Op 10-04-19 om 11:11 schreef Rutger van Sleen:
>> Hoi allemaal,
>>
>> Sinds kort ben ik XDM gaan gebruiken als display manager. Ik wil
>> namelijk graag dat er meerdere Xservers gestart worden na het booten.
>> Dat maakt het mogelijk dat mijn gezin simpel een andere VT kan pakken,
>> zonder dat ik na hoef te denken over switch-user mogelijkheden.
> 
> Ik heb geen ervaring met XDM, maar heb in het verleden wel meerdere
> Xservers gedraaid met GDM, volgens mij kan/kon dat dus wel. Dat was met
> een multiseat configuratie, is dat ook wat jij doet?

Nee, het gaat puur om meerdere Xserver-instanties die werken met
dezelfde hardware en configuratie. Dit zodat als ik ingelogd ben op VT7,
dat mijn vrouw simpelweg naar VT8 kan om daar een eigen sessie te starten.

> Mijn ervaring is dat het echter nogal afhankelijk is van welke
> videokaart(en) je gebruikt.

In dit geval dus niet.

> Wat ik je wil aanraden is eens te kijken naar LightDM als display manager.
> 
> Volgens mij gebruikt bijna niemand XDM en wordt het daarom niet zo
> geweldig onderhouden. Maar ik kan me vergissen.

Ik ben juist van LightDM afgestapt, omdat het me totaal niet lukte om
daarmee te behalen wat ik wou.

XDM heeft recentelijk weer een nieuwe versie uitgebracht[1] sinds een
jaar of zeven. ;-) Zit alleen nog niet in Debian.

[1] https://lists.x.org/archives/xorg-announce/2019-March/002959.html

-- 
Rutger van Sleen

{ Geen WhatsApp, wel Signal - https://signal.org/ }

~ https://selkof.net/ ~ https://djslash.org/ ~
~ Nederlandse Linux Gebruikers Groep - https://nllgg.nl/ ~
~ Bewonersorganisatie Oosterpark - https://oosterparkgroningen.nl/



Re: Graphics::Magick

2019-04-10 Thread mick crane

On 2019-04-10 10:41, Curt wrote:

On 2019-04-10, mick crane  wrote:


How do I install PerlMagick as a subordinate package of GraphicsMagick 
?


apt search perlmagick
perlmagick/testing,testing 8:6.9.10.23+dfsg-2 all
   Perl interface to ImageMagick -- dummy package


I believe what you need now is 'libimage-magick-perl'.

https://packages.debian.org/buster/libimage-magick-perl

I think.


It's libgraphics-magick-perl I needed which was listed but apt said was 
unavailable earlier

Is installed now and is like a hundred times faster than Image::Magick


mick



--
Key ID4BFEBB31



Re: XDM maakt cli-weergave in de war

2019-04-10 Thread Paul van der Vlis
Hoi Rutger,

Op 10-04-19 om 11:11 schreef Rutger van Sleen:
> Hoi allemaal,
> 
> Sinds kort ben ik XDM gaan gebruiken als display manager. Ik wil
> namelijk graag dat er meerdere Xservers gestart worden na het booten.
> Dat maakt het mogelijk dat mijn gezin simpel een andere VT kan pakken,
> zonder dat ik na hoef te denken over switch-user mogelijkheden.

Ik heb geen ervaring met XDM, maar heb in het verleden wel meerdere
Xservers gedraaid met GDM, volgens mij kan/kon dat dus wel. Dat was met
een multiseat configuratie, is dat ook wat jij doet?

Mijn ervaring is dat het echter nogal afhankelijk is van welke
videokaart(en) je gebruikt.

Wat ik je wil aanraden is eens te kijken naar LightDM als display manager.

Volgens mij gebruikt bijna niemand XDM en wordt het daarom niet zo
geweldig onderhouden. Maar ik kan me vergissen.

Groeten,
Paul

-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: putty go slow

2019-04-10 Thread Peter Wiersig
mick crane  writes:
> On 2019-04-09 07:46, Peter Wiersig wrote:
>> 
>> Is anything else connected to this hub?  If your problems occur, is
>> anything else using the hub concurrently?  Can you reduce the
>> connections only to server and client and maybe a internet uplink?
>> Network printers can do unimaginably bad things in regard to hubs, and
>> even switches.

A second time to point you to a possible problem with network printers.
If you can reproduce the problem and then try to reproduce without the
network printer you might have possible solution.  I came across a best
practice lately to isolate network printers to their own broadcast
segments (VLAN/bridges) and concur.

>> Can you change the hub to a real switch?
>> 
>>> but I think it might be a hub.
>>> Perhaps that is the culprit ?
>> 
>> Perhaps. Check the "ifconfig" output on the Linux side, maybe reset the
>> server, connect from windows and if you're having problems check the
>> dmesg output regarding the interface.
>> 
> how do I tell if it's a switch or a hub ?
> I thought a switch sends data over the required port but a hub sends 
> over all the ports ?

Correct, after a learning phase.

> It's got "8 port switch" printed on it but if there is network activity 
> all the lights seem to flash.

Ok, that simple you can't distinguish between hubs and switches:
If you connect a new device to your network, the switch has still to ask
for IP->MAC resolutions on unknown IPs, and broadcast packets need to be
transmitted on all ports.  But a file transfer for say a linux
distribution ISO should only be flickering 2 LEDs.

I found that there is a price point below which the device is no true
switch anymore and should be replaced.  Over here it's 50 EUR or so,
for your quoted 8 ports.  Correction: Probably lower at 35 EUR. Mazbe I
had more ports with that other price point.

> /sbin/ifconfig
> enp0s25: flags=4163  mtu 1500
>  inet 10.0.0.3  netmask 255.255.255.0  broadcast 10.0.0.255
>  inet6 fe80::219:d1ff:fe41:c769  prefixlen 64  scopeid 0x20
>  ether 00:19:d1:41:c7:69  txqueuelen 1000  (Ethernet)
>  RX packets 47732498  bytes 13998322190 (13.0 GiB)
>  RX errors 0  dropped 5642  overruns 0  frame 0

Your errors are higher when your received packets are half of mine. But
still, 5k of of 47m is a error rate of 0.01%, so a hint, but not
conclusive.

Does the system have any kernel messages for enp0s25 since the last
boot-up?  Alternatively produce new messages by disconnecting the
cable for about 5 seconds and reconnect the network cable. 

> I've got a Buster PC with apache2, cups, dovecot, roundcube as mail and 
> print server.
> a Buster PC I mess about on, a win 10 PC and a printer all connected to 
> the "switch"
> the gateway is a PC with pfsense on it which is connected to "switch" 
> and its other network card connected to ISP router thing.
>
> Maybe the sluggishness I sometimes observed is Windows updating itself ?

Is your network speed near your downlink speed?  Do you have more than
one Windows 10 machine connected to your network?  I doubt that you can
saturate your windows 10 network interface (probably 1 gbps) with enough
bandwidth so that you could see detoriation in a ssh connection, even
less possible if your devices adhere to QoS packet hints.

>> For reference, here's my output:
>> 
>> eth0: flags=4163  mtu 1500
>> inet 217.172.177.159  netmask 255.255.255.0  broadcast 
>> 217.172.177.255
>> ether 00:19:66:f1:43:9e  txqueuelen 1000  (Ethernet)
>> RX packets 81994186  bytes 14753508445 (13.7 GiB)
>> RX errors 14  dropped 0  overruns 14  frame 0
>> TX packets 107524155  bytes 14836289080 (13.8 GiB)
>> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>> 
>> 
>> Take note of the 2nd line of RX and TX status lines, there should be no
>> counters there, in my case 14 overruns in regard to 819 million packets
>> is a very low error rate.

and indeed I misread my number and it's a magnitude lower. 81.9m as
Celejar noted.

but mick's error-rate is 2-3 magitudes higher.

>> If in doubt verify that both sides are set to auto-negotiate and 
>> replace both wires from the machines to the hub with new cables.

Like I said, invest in a new set of cables and see if things get better.
You don't need to buy gold-plated ones, but it shouldn't be factory
dropout quality either.

Peter



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Daniel Caillibaud
Le 10/04/19 à 06:47, Basile Starynkevitch  a
écrit :
> Mon problème concret, d'un point de vue d'informaticien, est en fait: 
> quelles actions concrètes (comment faire sur le téléphone, quelles 
> commandes taper sous Linux) faire pour transferer le carnet d'adresse 
> depuis le téléphone puis vers le téléphone; et sous quels formats (JSON, 
> XML, sqlite...) verrais-je les données du carnet d'adresse sur mon poste 
> Linux.
> 
> Une fois que j'ai compris tout ça, modifier le carnet d'adresse doit 
> être simple. Je me sens même capable, si c'était nécessaire, d'écrire 
> l'outil (en Qt ou techo web) facilitant la modification des données sur 
> le poste Linux.
> 
> Par exemple, la wikipage sur https://en.wikipedia.org/wiki/VCard m'est 
> parfaitement compréhensible. Ce que j'ignore, c'est quoi faire pour 
> avoir "un ensemble de vcard" sur mon poste Linux, et comment le 
> transférer depuis et vers mon téléphone.

Je pense que sur la durée un carnet d'adresse synchronisé automatiquement
(avec cardav, donc un client cardav partout où y'a le carnet d'adresse et
un serveur nextcloud ou webdav qq part) est le plus simple, chacun ayant
sur son tel et son PC le carnet d'adresse partagé et un autre local
éventuel.

Pour la solution manuelle, tu peux exporter depuis ton android tout ton
carnet d'adresse dans un fichier vcard (dans tes contacts, paramètres /
exporter) et t'envoyer ce fichier par mail (ou le récupérer sur le PC via
un branchement USB).

Ensuite, ce fichier vcard est du texte, tu peux le traiter avec les outils
habituels (awk & sed & co), mais c'est franchement fastidieux… (j'avais
essayé et j'ai laissé tomber).

Et si tu trouve un soft vraiment pratique d'édition ou de manipulation de
vcard ça m'intéresse (pour fusionner les doublons, harmoniser les n° de
téléphone avec des - souvent insérés un peu n'importe comment, remplacer
tous les 0x… par du +33x…, virer les doublons du même n° inséré N fois sur
le même contact, etc).

J'avais cherché y'a qq temps et visiblement y'avait que les éditeurs de
contact des soft de mail qui faisaient ça, et je les trouve vraiment pas
pratiques (testé thunderbird, claws, evolution et un autre oublié depuis).

-- 
Daniel

Bien écouter c'est presque répondre.
Marivaux



Re: Graphics::Magick

2019-04-10 Thread Curt
On 2019-04-10, mick crane  wrote:
>
> How do I install PerlMagick as a subordinate package of GraphicsMagick ?
>
> apt search perlmagick
> perlmagick/testing,testing 8:6.9.10.23+dfsg-2 all
>Perl interface to ImageMagick -- dummy package

I believe what you need now is 'libimage-magick-perl'.

https://packages.debian.org/buster/libimage-magick-perl

I think.

> mick
>





Re: Carnet du téléphone Android et Linux

2019-04-10 Thread cyrille
Bonjour,

De mon côté, toutes ces solutions me semblent bien compliquées (même si je 
conviens qu'elles sont très efficaces; j'ai moi même un serveur Nextcloud pour 
faire ce genre de choses). 

Il me semble que ta demande est plus de savoir comment faire pour récupérer tes 
contacts Android sur ton Linux, plutôt que de savoir quel outil utiliser pour 
les gérer/partager/synchroniser.

Pour récupérer tes contacts Android sur ton Linux il faut: 

  1) Exporter tes contacts Android
  2) Les transférer sur ton Linux.

Pour la 1ère étape, le lien suivant devrait pouvoir t'aider: 
https://www.fonepaw.fr/solution/importer-exporter-contacts-android.html (Je 
pense que l'idéal serait de sauvegarder ton fichier d'export sur une carte SD 
dans ton téléphone).

Ensuite, il faut transférer ce fichier d'export sur ton Linux. 

Pour ce faire, j'improvise un peu, mais j'imagine que les distributions assez 
récentes de Linux devraient monter automatiquement la carte SD de ton téléphone 
lorsque tu le connectes via un câble USB. Sinon, il te reste l'option de sortir 
la carte SD de ton téléphone et la mettre dans ton ordinateur linux (pour 
autant que tu aies un lecteur SD dessus). Une autre solution pourrait être 
d'envoyer ce fichier d'export par email (depuis ton téléphone android) et de 
récupérer cet email sur ton ordinateur linux. 

Il y a sans doute encore d'autres solutions.

Une fois que tu as ce fichier d'export sur ton ordi Linux, je pense que tu 
devrais pouvoir t'en sortir (c'est un simple fichier texte). Mais, 
effectivement, il existe (surement) des softs qui peuvent t'aider à gérer tes 
doublons et synchroniser tout cela avec le reste de ta famille.

Cyrille

Samy Mezani – Wed, 10. April 2019 10:38
> Bonjour,
> 
> Tu peux aussi utiliser un serveur perso (Raspberry Pi par exemple), y 
> installer Debian (Raspbian en l'occurence), et un serveur CardDAV 
> (Baikal par exemple). Tu peux installer Yunohost si tu le souhaites pour 
> faciliter l'installation et la configuration.
> 
> L'extension CardBook sur Thunderbird facilite la gestion et la 
> synchronisation des contacts à distance.
> 
> Sur mon smartphone, j'utilise DAVx⁵, qui remplace DAVDroid avec les 
> dernières versions de LineageOS/Android.
> 
> Ça fonctionne très bien chez moi depuis plusieurs années, et en plus ton 
> serveur perso peut te servir pour plein d'autres choses (agenda, échange 
> de fichiers, etc.)
> 
> Bonne réflexion
> 
> Samy



XDM maakt cli-weergave in de war

2019-04-10 Thread Rutger van Sleen
Hoi allemaal,

Sinds kort ben ik XDM gaan gebruiken als display manager. Ik wil
namelijk graag dat er meerdere Xservers gestart worden na het booten.
Dat maakt het mogelijk dat mijn gezin simpel een andere VT kan pakken,
zonder dat ik na hoef te denken over switch-user mogelijkheden.

Deze setup draai ik op Debian testing (aka buster), zowel op mijn
desktop-machine als op mijn laptop.

Het probleem dat ik omschrijf in het subject, komt alleen voor op mijn
laptop. Waarom ik denk dat het door XDM komt? Omdat het niet gebeurt als
ik bijvoorbeeld de Xserver start met `startx`. Dit is belangrijk, omdat
in theorie er geen verschil zou moeten zijn tussen de twee methodes en
mijn eigen configuratie[1] dus in principe werkt. Ik gebruik i3wm als
window manager.

Het probleem is: als de sessie gestart is met XDM, en ik open dan een
terminal (urxvt of xterm, maakt niet uit) om `man man` te lezen, zie ik
op sommige plekken dat er letters of tekens er gek uit zien. Een andere
ervaring is dat als ik `alsamixer` of `ncmpcpp` in deze terminal
gebruik, het er goed uit ziet. Echter, ik heb meerdere cli dingen, zoals
`ncmpcpp` en `lnav`, die ik in screen draai. Daar ziet het er niet goed
uit. Daar waar lijntjes moeten zijn, staan allemaal â-tjes bijvoorbeeld
(zie [2]). Echter toont een `weechat` dit gedrag niet, maar heeft ook
een paar quirks zoals het niet goed weergeven van é-tjes (ook te zien in
gelinkte screenshot).

Het is *niet* een ncurses-issue, want `man` en `lnav` zijn geen
ncurses-depending applicaties.

Nog iets anders, ik kan mijn compose-key niet meer gebruiken in de terminal.

Wat is al gecheckt (en hou in je achterhoofd dat mijn setup in principe
werkt als de sessie anders gestart wordt):
- fonts
- $TERM (zowel buiten als in screen)
- locales (staat allemaal op utf8)
- xdm gepurged en opnieuw geïnstalleerd
- xorg-logfiles tussen xdm en startx methodes vergeleken, maar niks gevonden

Iemand ideeën?


[1] https://gitlab.com/DjSlash/dotfiles
[2] https://cal.selkof.net/index.php/s/jkP7rzF9CsqAGWF (link vervalt 10-5)

--
Rutger



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Samy Mezani

Bonjour,

Tu peux aussi utiliser un serveur perso (Raspberry Pi par exemple), y 
installer Debian (Raspbian en l'occurence), et un serveur CardDAV 
(Baikal par exemple). Tu peux installer Yunohost si tu le souhaites pour 
faciliter l'installation et la configuration.


L'extension CardBook sur Thunderbird facilite la gestion et la 
synchronisation des contacts à distance.


Sur mon smartphone, j'utilise DAVx⁵, qui remplace DAVDroid avec les 
dernières versions de LineageOS/Android.


Ça fonctionne très bien chez moi depuis plusieurs années, et en plus ton 
serveur perso peut te servir pour plein d'autres choses (agenda, échange 
de fichiers, etc.)


Bonne réflexion

Samy



Re: How could I install ecryptfs-utils on Buster

2019-04-10 Thread Pierre Fourès
Le ven. 5 avr. 2019 à 22:08, David Christensen
 a écrit :
>
> AFAIK dm-crypt is the canonical disc encryption technology on Linux (see
> crypttab(5) and cryptsetup(8)).  I like the fact that it operates at the
> device level, so everything on an encrypted disc or partition is
> automatically and inescapably encrypted.  File system level encryption,
> such as ecryptfs(7), might make sense for cloud directories or
> sneaker-net media.  I use ccrypt(1) for individual files, but vim(1) has
> an encrypted mode that is very appealing for certain use-cases.
>

Indeed, I've planned to give a serious look at it, especially to
encrypt the disks of the servers we rent in remote data-centers, but I
haven't took the time yet for it. And when occurred the requirement to
crypt the virtual machines, I found ecryptfs an easier thing to set
up.

I also found ecryptfs a better fit for my requirements.

Indeed, I like the fact that I, as an administrator, am not able to
access the files of "my" users. I encrypt their home folder then set
the requirement to change the password on their first login (with
'chage -d 0 $user'), might it be their physical desktops or their
virtual instances. Thus I'm sure I won't ever be able to look into
their files without them allowing me. This is known of everybody. This
is a double edged sword. They have to take full responsibility to
backup somewhere their files as I can't help them if anything goes
wrong (and if anything goes wrong I just provide them a new physical
or virtual instance and wipe the problematic one), and at the same
time it is relieving me from the possibility to be able to see
everything everywhere. In a previous company, as not being the system
administrator, I never liked this fact that somebody could access all
files behind all user's backs. I recall one who did that to an user to
look into their personal files (which shouldn't had be there in the
first place, admittedly) and I really disliked the « God mode »
situation offered to system administrators. Now that I administer the
desktops, I went really concerned to lower, by design, my scope of
abilities. I didn't want to rely on my will power and my word of mouth
about this situation. I wanted it to be established by design.
Ciphering user's space with ecryptfs allows me to lock me out very
nicely and easily from this possibility. I haven't found this to be
possible with dm-crypt in an easy and user-friendly way.

Nonetheless, if it's possible to achieve such objective with dm-crypt,
I would really appreciate some pointers about how to do it.

Regards,
Pierre.



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread fab

'lut,


Il faudra alors configurer quelque peu l'ordi et le téléphone pour
qu'ils puissent se mettre à jour via ce serveur Nextcloud (chez toi ou
distant chez quelqu'un de confiance). J'imagine que bien du monde dans
cette liste de discussion ici saura te guider si besoin.
Sur tes téléphones android, tu peux utiliser le middleware DavDroid qui 
est téléchargeable gratuitement à partir de F-Droid.


Ensuite, tu pourras utiliser les applis de base du téléphone 
(contact+calendrier) pour communiquer avec ton serveur nextcloud ou 
owncloud.


Sur ton ordi, tu peux utiliser thunderbird comme client pour les 
contacts et le calendrier.


Un (petit) point sur lequel on peut être embêté. Si tu utilises un 
serveur perso pour ton instance owncloud/nextcloud, il est préférable 
d'avoir un certificat ssl véritable plutôt que d'autosigner ton 
certificat. Dans ce dernier cas, tu pourras avoir des soucis pour 
l'utilisation sur tes téléphones car il faut, installer soi même le 
certificat, ce qui est (très) chiant.


Donc, pour résumer:

1ère étape: installer ou utiliser une instance de nextcloud ou owncloud 
sur un serveur perso ou mutualisé avec certificat SSL tout comme il 
faut. Si tu as le choix, privilégie mysql (ou mariadb) à sqlite comme 
base de données.


2nde étape: sur ton interface web (nextcloud/owncloud), créer les 
agendas et carnets d'adresse qui vont bien en fonction des utilisateurs 
que tu as créés au préalable. Perso, pour la maison, nous avons 3 
utilisateurs sur owncloud et plusieurs calendriers par personne 
(sport_perso, taf, ...), plus un calendrier commun. En revanche, nous 
avons fait le choix d'un seul carnet d'adresse commun avec des groupes à 
l'intérieur de celui-ci: amis/amis_nat/amis_fab/sport/ziq/... en sachant 
qu'un contact peut appartenir à plusieurs groupes. C'est utile lors des 
recherche sur les clients android et linux.


3ème étape: installer davdroid sur chaque téléphone et thunderbird sur 
chaque poste gnu/linux.


4ème étape: rapatrier les carnets d'adresse existant des téléphones et 
ordis sur le serveur OC/NC.
A partir des téléphones, tu vas dans tes contacts et tu peux modifier, 
contacts par contact, leur appartenance: soit en dur sur le téléphone, 
soit sur la carte sim, soit... sur le serveur distant OC/NC. Et le tour 
est joué. Il te restera à faire le ménage sur le serveur pour gérer les 
doublons et autres dénomination douteuses.


Désolé d'être aussi rapide et de ne pas être exhaustif. Depuis environ 4 
ans, nous utilisons cette solution à la maison et elle a survécu très 
facilement aux changements de téléphones ou ordis.


Bon courage!

f.





Re: build vs install

2019-04-10 Thread Brad Rogers
On Tue, 9 Apr 2019 17:35:50 -0400
Lee  wrote:

Hello Lee,

>I thought systemd was the new way to start services.  Having ttcp

Oh, I see what you mean.  It's probably all that.  I just meant about
config files.  Lack of explanation on my part.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
If Adolf Hitler flew in today, they'd send a limousine anyway
(White Man) In Hammersmith Palais - The Clash


pgpict1N_nuSQ.pgp
Description: OpenPGP digital signature


Re: build vs install

2019-04-10 Thread Brad Rogers
On Tue, 9 Apr 2019 18:05:42 -0500
David Wright  wrote:

Hello David,

>On Tue 09 Apr 2019 at 20:25:20 (+0100), Brad Rogers wrote:
>> For some years now, Grub (well, Grub2) has used a binary format for
>> configs.  
>Really, which ones? I can't find any.

Muddled thinking my end.  Sorry.  It doesn't, of course.  Don't really
know where that thought came from.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
An old custom to sell your daughter
Hong Kong Garden - Siouxsie & The Banshees


pgpWTWR6IAQZM.pgp
Description: OpenPGP digital signature


Re: Graphics::Magick

2019-04-10 Thread mick crane

On 2019-04-10 08:46, mick crane wrote:
I don't know if you are supposed to get this perl stuff with apt or 
from cpan.

got Image::Imlib2 to do useful things
and I have Image::Magick but I'm struggling translating the syntax
from ImageMagick to Image::Magick

the GraphicsMagick web pages seemed a little clearer
Graphics::Magick doesn't seem to be on cpan
installed graphicsmagick with apt
the graphicmagick webpage says
"PerlMagick is installed by default by installing GraphicsMagick.
Installing PerlMagick as a subordinate package of GraphicsMagick is
the best way to avoid problems."

How do I install PerlMagick as a subordinate package of GraphicsMagick 
?


apt search perlmagick
perlmagick/testing,testing 8:6.9.10.23+dfsg-2 all
  Perl interface to ImageMagick -- dummy package


I should have added that if I
use Graphics::Magick;

I get "Can't locate Graphics/Magick.pm"




--
Key ID4BFEBB31



Graphics::Magick

2019-04-10 Thread mick crane
I don't know if you are supposed to get this perl stuff with apt or from 
cpan.

got Image::Imlib2 to do useful things
and I have Image::Magick but I'm struggling translating the syntax from 
ImageMagick to Image::Magick


the GraphicsMagick web pages seemed a little clearer
Graphics::Magick doesn't seem to be on cpan
installed graphicsmagick with apt
the graphicmagick webpage says
"PerlMagick is installed by default by installing GraphicsMagick. 
Installing PerlMagick as a subordinate package of GraphicsMagick is the 
best way to avoid problems."


How do I install PerlMagick as a subordinate package of GraphicsMagick ?

apt search perlmagick
perlmagick/testing,testing 8:6.9.10.23+dfsg-2 all
  Perl interface to ImageMagick -- dummy package

mick

--
Key ID4BFEBB31



Re: Carnet du téléphone Android et Linux

2019-04-10 Thread Pierre L.
Bonjour Basile,

Samuel te propose d'utiliser une autre méthode que la ligne de commande,
via une solution "cloud".
Nextcloud ( nextcloud.com ) est le nom d'un package qu'on peut installer
chez soi (sur un serveur perso par exemple) et qui fournira des services
de synchronisation entre nos différents matériels connectés.
Si on est pas très féru pour installer un serveur Nextcloud, il existe
des gens sympas qui en proposent certainement gratuitement (à fouiner !).
Ensuite une fois qu'on a un serveur Nextcloud disponible, nos matériels
"clients" pourront centraliser les agendas et répertoires téléphoniques
vers ce serveur. Le but étant d'avoir les même infos synchronisées aussi
bien sur ton ordi, que sur ton téléphone.
Donc en gros, les infos modifiées dans tes contacts via un client sur
ordi (ou l'interface web de Nextcloud disponible via le serveur), seront
automatiquement mises à jour sur ton téléphone qui récupèrera les
modifications.

Je pense qu'on peut faire un parallèle avec IMAP si tu connais, pour les
mails. Ce protocole qui te permet de voir ta boite mail de manière
"identique" sur différents ordis/terminaux. Mails envoyés/reçus sont
synchronisés entre tous ces clients connectés au compte mail.

Il faudra alors configurer quelque peu l'ordi et le téléphone pour
qu'ils puissent se mettre à jour via ce serveur Nextcloud (chez toi ou
distant chez quelqu'un de confiance). J'imagine que bien du monde dans
cette liste de discussion ici saura te guider si besoin.

Espérant avoir correctement et si possible simplement exposé cette
notion de "cloud" (via Nextcloud) proposée par Samuel.
En gros l'outil pouvant répondre à ton besoin existe déjà sous une autre
forme que la ligne de commandes ;)


Le 10/04/2019 à 06:47, Basile Starynkevitch a écrit :
> Une fois que j'ai compris tout ça, modifier le carnet d'adresse doit
> être simple. Je me sens même capable, si c'était nécessaire, d'écrire
> l'outil (en Qt ou techo web) facilitant la modification des données
> sur le poste Linux. 




signature.asc
Description: OpenPGP digital signature


How to build linux kernal package

2019-04-10 Thread Thomas Nyberg

Hello,

Here is some system information:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux 9.8 (stretch)
Release:9.8
Codename:   stretch

I'm trying to rebuild the currently installed linux kernal package from 
source and am running into some issues. I've been reading the debian 
policy here:



https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules

I did the following steps:

$ apt source linux-image-$(uname -r)
$ cd linux-4.9.144
$ DEB_BUILD_OPTIONS="parallel=4" debian/rules build

This results in a lot of stuff being printed, but the following is most 
interesting:


	make[3]: Leaving directory 
'/home/twn/src/linux/linux-4.9.144/debian/build/build_amd64_rt_amd64'

debian/bin/buildcheck.py debian/build/build_amd64_rt_amd64 amd64 rt 
amd64
ABI is not completely versioned!  Refusing to continue.

[ ... I CUT OUT SOME STUFF ... ]

	debian/rules.real:190: recipe for target 
'debian/stamps/build_amd64_rt_amd64' failed

make[2]: *** [debian/stamps/build_amd64_rt_amd64] Error 1
make[2]: Leaving directory '/home/twn/src/linux/linux-4.9.144'
	debian/rules.gen:394: recipe for target 
'build-arch_amd64_rt_amd64_real' failed

make[1]: *** [build-arch_amd64_rt_amd64_real] Error 2
make[1]: Leaving directory '/home/twn/src/linux/linux-4.9.144'
debian/rules:41: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2

So I guess I have a few questions:

1. If someone here knows the specific issue with the linux package, what 
am I doing wrong here?
2. Is there a general procedure e.g. `debian/rules build && debian/rules 
binary` which _should_ work (in other words if it doesn't work, it's a 
bug). Or is the specific build procedure package dependent?
3. If the procedure is package dependent, where is it documented? I 
guess there must be scripts somewhere on some build servers that build 
this...are they accessible somewhere?


Let me know if you'd like more information. Thanks for any help!

Cheers,
Thomas