Debian Installer, Manual Partitioning is a Joke

2019-09-29 Thread Wayne Sallee

Debian really needs to work on the manual partitioning part of the installation.

It's absolutely pathetic.

Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com



Re: Debian Installer, Manual Partitioning is a Joke

2019-09-29 Thread Nicolas DOBIGEON

Your mail is a joke,
I think debian partitionning tool is the best i tried.
It's your taste but don't tell it's a joke.

Le 29/09/2019 à 16:56, Wayne Sallee a écrit :
Debian really needs to work on the manual partitioning part of the 
installation.


It's absolutely pathetic.

Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com




Re: Debian Installer, Manual Partitioning is a Joke

2019-09-29 Thread Wayne Sallee

  
  
What partitioning tool are you
  talking about?
  
  Wayne Sallee
  wa...@waynesallee.com
  http://www.WayneSallee.com



   Original Message 
  *Subject: *  Re: Debian Installer, Manual Partitioning is a Joke
  *From: * Nicolas Dobigeon 
  *To: * Wayne Sallee , Debian
  User 
  *CC: *
  *Date: *  2019-9-29  11:09 AM

Your
  mail is a joke,
  
  I think debian partitionning tool is the best i tried.
  
  It's your taste but don't tell it's a joke.
  
  
  Le 29/09/2019 à 16:56, Wayne Sallee a écrit :
  
  Debian really needs to work on the manual
partitioning part of the installation.


It's absolutely pathetic.


Wayne Sallee

wa...@waynesallee.com

http://www.WayneSallee.com

  
  
  


  




Re: Debian Installer, Manual Partitioning is a Joke

2019-09-29 Thread Linux-Fan

Wayne Sallee writes:


What partitioning tool are you talking about?

Wayne Sallee
mailto:wa...@waynesallee.com>wa...@waynesallee.com
http://www.WayneSallee.com>http://www.WayneSallee.com


When I think of the debian partitioning tool, I think of this one:

https://lists.debian.org/debian-boot/2014/04/pngqsHcq7etg4.png

It is very good in the sense that it exposes a lot of features (e.g. wrt.
RAID, Encryption and LVM) in a consistent user interface. At least it is
much more consistent, than interacting with the different software pieces
for RAID, Encryption, LVM separately.

It has worked well for me every time I used it and that was possibly ~30
times and at least three different Debian versions (I think I installed
lenny, squeeze, stretch). It has not stayed exactly the same between the
versions, but it does not change in ways that would confuse users which know
(any?) previous version.

I have seen a lot of other partitioning tools, integrated in installers and
outside of them. Outside installers, tools are often more focused on a
specific task (like Gparted to do partitions and partition tables but not
RAID setup etc) which means one would need to learn multiple tools to
achieve a working system. To learn how it works, I also setup MDADM-Raid
and LUKS-Encryption a few times by using the respective tools, but it was
much more involved than just relying on the installer. From my point of
view, the installer does such good a job at partitioning, that it would make
sense to have just that feature as a standalone program to call on systems
which are already installed [I know that I can boot the installer for this,
but partitioning without stopping unaffected services would be nice, too].

The other partitioning systems I have seen in installers were often quite
strange, because they tend to offer a "guided" mode like Debian, but in the
"manual" mode still do some (to me sometimes unexpected) things
automatically. E.g. if you install Windows 10, IIRC, there is a manual
partitioning step which automatically creates two partitions if you create
one for the system drive... Another style of installation is with the CentOS
installer: I think I like it acceptably well, too. But being a more "modern"
looking GUI program, I must admit that for the few times I have used that
installer's partitioning features (three times or so), I needed to figure
out how to "apply" my changes anew each time. Debian's dialog-driven wizard-
like interface requires a few more keystrokes, but makes indicates quite
clearly if it has taken a user's input or not, thus I think it is better-
suited for this critical but rarely-executed task.

[Note that I am not N. Dobigeon, just /my/ opinion on what the Debian
Partitioning tool and its merits are in case it might help to find out what
exactly is wrong about the partitioning step and how it can be improved...]

YMMV
Linux-Fan


*Subject: *  Re: Debian Installer, Manual Partitioning is a Joke
*From: * Nicolas Dobigeon

Your mail is a joke,
I think debian partitionning tool is the best i tried.
It's your taste but don't tell it's a joke.

Le 29/09/2019 à 16:56, Wayne Sallee a écrit :

Debian really needs to work on the manual partitioning part of the
installation.

It's absolutely pathetic.


[...]



Re: Debian Installer, Manual Partitioning is a Joke

2019-09-29 Thread Charles Curley
On Sun, 29 Sep 2019 10:56:54 -0400
Wayne Sallee  wrote:

> Debian really needs to work on the manual partitioning part of the
> installation.
> 
> It's absolutely pathetic.

Some more detail would be useful. For example,how would you do it
better?

Code submissions would be welcome.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Debian Installer, Manual Partitioning is a Joke

2019-09-29 Thread Dan Ritter
Wayne Sallee wrote: 
> Debian really needs to work on the manual partitioning part of the 
> installation.
> 
> It's absolutely pathetic.

Do you have specific suggestions for improvement?

-dsr-



bluetooth and Debian 10

2019-09-29 Thread Bruce Byfield
Yesterday, I finally got around to upgrading from Debian 9 to 10. After
I finished, my bluetooth speaker stopped working reliably. It does
always connect, and, when it does, it may or may not display in
pavucontrol and doesn't appear in phonon at all. When I change its
settings on the configuration tab of pavucontrol, the next time I open
pavulcontrol, it's turned off. Once or twice, I've managed to get
sound, but the same settings don't always work after I reboot.

The speaker links with my machine when it turns on, and is listed as
connected. It works with other computers and phones. Various utilities
like bluez provide no help. I've checked the alsa and pulseaudio
packages installed, and everything I need is there.

Can anyone suggest a solution? I'm sure I'm missing something obvious,
but I'm at a loss to suggest what. Any suggestions?

o
Bruce Byfield (on Pacific time) 604-421-7189
"Designing with LibreOffice": www.designingwithlibreoffice.com
Prentice Pieces: https://prenticepieces.com/



Re: bluetooth and Debian 10

2019-09-29 Thread deloptes
Bruce Byfield wrote:

> Can anyone suggest a solution? I'm sure I'm missing something obvious,
> but I'm at a loss to suggest what. Any suggestions?

it was asked recently already.

reported that removing the pairing and ~/.pulse or ~/.config/pulse after
which reboot and repair worked. 

Try first removing ~/.pulse and/or ~/.config/pulse before you login with
your user. if it does not help try unpair, remove  ~/.pulse and/or
~/.config/pulse and pair again.





Re: Rescuing hard disks

2019-09-29 Thread Mark Fletcher
On Fri, Sep 27, 2019 at 01:41:58PM +0100, Jonathan Dowland wrote:
> On Mon, Sep 23, 2019 at 03:11:07PM +0500, Alexander V. Makartsev wrote:
> > If I understood this right, you have two disks with data and they were
> > previously configured as RAID1 volume.
> > What make\model RAID-controller do you use? Because "cages" by
> > themselves offer only SATA\SAS ports for disks to connect them.
> > RAID functionality is provided by OS (software RAID), or RAID-controller
> > (hardware RAID).
> 
> This is indeed, key to providing a useful answer. Reading between the lines,
> I suspect OP is using Hardware RAID, and most likely, they've lost their
> data.
> 
Nope, as mentioned earlier in the thread, very glad to report no such 
loss occurred. The first advice in this thread was right, and recreating 
the partition table destroyed by the hardware RAID in the cage fixed it. 
The filesystem in the partition hadn't been touched.

Mark



Hard disks auto-spinning-down

2019-09-29 Thread Mark Fletcher
Since a fresh install of buster, an external USB3 hard disk cage from 
Terramaster that I own is not automatically spinning down the disks in 
it when they go unused for a time.

I used a previous generation of the cage with Stretch previously, it 
spun down the disks when they were not in use (actually a little too 
quickly for my taste) reliably and I don't recall doing anything to make 
that happen.

Any thoughts on where I might look to find settings that can be tweaked 
to make it spin down when idle? A friend of mine uses the same cage with 
a Mac and says it spins down when not in use, so I feel like I should be 
able to do it somehow.

The only thing I can think of that I've tweaked since installing buster 
is to disable suspend, as I didn't want the whole computer suspending 
when I was away for a bit, as this computer does a lot of background 
processing. I wonder if I overdid that and disabled something I should 
have left enabled? The solution to that problem involved disabling a 
couple of systemd targets.

I just re-googled that problem because I couldn't remember what targets 
I disabled -- and now I see on the wiki that they are sleep.target 
hibernate.target suspend.target and hybrid-sleep.target. The wiki says 
to do "systemctl mask" on those targets but I suspect I followed someone 
else's advice and did "systemctl disable" on those targets.

Any link to this problem? Otherwise where should I look?

Thanks

Mark



Re: Differences between apt-listchanges/unattended-upgrades/apticron/cron-apt

2019-09-29 Thread l0f4r0
Hi,

Thank you very much Dan & Jonas and sorry for the delay...

I think it's pretty clearer now for me.

So in case I want to
A) be notified should there be any new upgrade available
B) have my security packages be ugraded automatically and be notified
C) receive an email with the list of changes 
I will need to install
* apticron for A) and configure /etc/apticron/apticron.conf* unattended-upgrade 
for B) and configure both /etc/apt/apt.conf.d/20auto-upgrades and 
/etc/apt/apt.conf.d/50unattended-upgrades
* apt-listchanges for C) and configure /etc/apt/listchanges.conf

I bet cron-apt (still with apt-listchanges) can do all of this but the 
configuration seems more complex/tricky.

Is that all correct please?
Best regards,
l0f4r0

10 sept. 2019 à 19:05 de l0f...@tuta.io:

> Hello,
>
> Can somebody explain to me the differences between apt-listchanges, 
> unattended-upgrades, apticron and cron-apt please?
>
> I have the following feeling:
> * apt-listchanges: its main purpose is to indicate what's new between 
> different packages versions. So it's handy to learn that new packages are 
> available with an email alert (is it triggered automatically as soon as apt 
> update finds something new?)
>
> * unattended-upgrades: its main purpose is to upgrade your machine 
> automatically. Personally, I use it to update my db & upgrade my vulnerable 
> packages only (btw it triggers apt-listchanges)
>
> Am I correct? Why would I need apticron & cron-apt then (I have Debian 9)?
>
> Thanks in advance!
> l0f4r0
>



Re: Debian Installer, Manual Partitioning is a Joke

2019-09-29 Thread Liam O'Toole
On Sun, 29 Sep, 2019 at 10:56:54 -0400, Wayne Sallee wrote:
> Debian really needs to work on the manual partitioning part of the 
> installation.
> 
> It's absolutely pathetic.
> 
> Wayne Sallee
> wa...@waynesallee.com
> http://www.WayneSallee.com
> 

Thank you for your contribution. I look forward to reading your
proposals for improving Debian, and how you intend to contribute.



RStudio in Buster

2019-09-29 Thread Mark Fletcher
Hello

The RStudio application, a popular IDE-like tool for programming in R, 
is not to my knowledge packaged in the mainstream Debian repositories. 
The makers of RStudio, however, provide a package which can be 
downloaded from their website for installation in Debian.

The most recent package they provide is aiming at Stretch -- they don't 
seem to have produced a Buster version yet.

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

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

Thanks

Mark



Re: Authentication for telnet.

2019-09-29 Thread peter
From: Reco 
Date: Sat, 28 Sep 2019 19:23:45 +0300
> I have to ask - what are you trying to achieve?

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

> ... your request seems to be awfully close to (in)famous A/B 
> problem, ...

I might have read about the A/B Problem years ago but don't recall or 
understand well enough.

> telnetd(8), "-a" and "-L" parameters.

Just had a look at the parameters (again?) and don't have a clear idea 
to set them.  Tips welcome.  

Regards,   ... Peter E.


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



Re: Authentication for telnet.

2019-09-29 Thread Andy Smith
Hello,

On Sun, Sep 29, 2019 at 02:36:02PM -0700, pe...@easthope.ca wrote:
> From: Reco 
> > I have to ask - what are you trying to achieve?
> 
> An interactive shell session with minimal overhead. (Or maximal 
> efficiency.)  The telnet client in the Oberon subsystem is noticeably 
> faster than competitors.

Because such a thing is hideously insecure, it has fallen into
disuse and SSH is the name of the game these days, Even if you do
not require the security of SSH, the mere fact that SSH is
ubiquitous means that you may have an easier time using SSH for
this. Have you tried SSH and found it lacking somehow?

Is it a case that the hosts you are dealing with are too
underpowered CPU-wise to cope with SSH's encryption?

I am old enough to remember how we used to remotely manage machines
before SSH was invented: rlogin. You can still install rlogin on
Debian, and by crafting a suitable $HOME/.rhosts file you can
provide passwordless plain text login capability. "man rlogin" and
"man 5 rhosts" should get you going. I still think it is a really
bad idea unless SSH is totally out of the question.

Finally, it is possible to spawn a shell on a particxular port with
socat and then use socat at the other end to connect to it, to
provide an interactive shell session again with no authentication or
encryption. See:


https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/#method2usingsocat

> > ... your request seems to be awfully close to (in)famous A/B 
> > problem, ...
> 
> I might have read about the A/B Problem years ago but don't recall or 
> understand well enough.

It's when someone has a problem, and they think a particular method
will solve it, so they ask about that method rather than the problem
itself. They risk missing a much better solution because they
focussed on the particular method they knew of.

Cheers,
Andy

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



Re: Authentication for telnet.

2019-09-29 Thread Andy Smith
On Sun, Sep 29, 2019 at 10:51:22PM +, Andy Smith wrote:
> On Sun, Sep 29, 2019 at 02:36:02PM -0700, pe...@easthope.ca wrote:
> > An interactive shell session with minimal overhead. (Or maximal 
> > efficiency.)

> I am old enough to remember how we used to remotely manage machines
> before SSH was invented: rlogin.

Oh, I see now that you were interested in passwordless equivalent of
"telnet localhost".

It is confusing why you would need to do this to localhost as you
could just type "bash" (or dash or zsh or whatever) to get a new
shell. So it would help our understanding if you were to explain
what your use case is for this new interactive shell session.

If you are in some sort of graphical desktop then as you already
say, the usual method is just to open a new terminal emulator.

On the console you could switch to a new virtual console
ctrl+alt+F1, F2, F3 etc. That would have a login prompt though.
Would that solution be good enough if it was automatically logged in
as your user?

If you are just trying to execute things as another use then su or
sudo may be more appropriate. "sudo -u anotheruser -s" gets you an
interactive shell session as anotheruser, and can be configured to
be passwordless if you like.

I mentioned rlogin. With rlogin you can still use it over localhost
to switch between users in a passwordless manner. So too could SSH,
of course. If it's only to the same host though it seems overkill
compared to su or sudo.

So I think we really do still need to know more about your use case.

Cheers,
Andy

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



Debian 10 freezes upon shutdown, reboot and logout

2019-09-29 Thread Beco
Hi,

I'm currently having issues with a LENOVO ideapad320.

Using Stretch was smooth. But this weekend I've updated to Buster and I'm
having trouble to shutdown the system.
Rebooting also freezes.

Watchdog says the CPU number #something is 22 seconds froze.

I usually don't use "logout" since it is my personal laptop and I only uses
KDE, but I've decided to give i3wm a try and because of that I discovered
that not only shutdown and reboot hangs the system, but also logout.

I need to finish shutdown with SysReq commands everytime to sync, umount
and turn off.

Not sure what logs I need to look, but kern.log shows nouveau driver having
problems. Not much to go after, but may be a tip.
Also, I've tried to add ACPI=force to grub, just in case, to test. Nothing
changed.

A small detail: my var partition is separated from the root. I'm telling
this because in the old system ever reboot gave me a "unable to umount
var". But it was ok. When I installed Stretch in 2018 I researched the
problem and it was only a warning from journal.conf that could be solved by
using "volatile". Anyway, I even considered to move /var to the root just
to test, but after reading more about the problem I decided not to pursue
this way.

It must be something else... Maybe I could try to remove nouveau just to
test. But since removing and adding nouveau is really hard, and the video
is working great, I want to check with you guys first for more fresh ideas.

Has anyone had trouble shutting down Buster? What other options do I have
to try to find the problem and a possible solution? Any other logs may be
of interest?

Thanks.

Bèco,
-- Linux user since it was called "just a hobby" (by L. Torvald)



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex&search=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: PCmanFM does not recognize android device

2019-09-29 Thread riveravaldez
On 9/24/19, mb  wrote:
> Hi!
> Since i upgraded my system to buster (64Bit + lxde) PCmanFM does not
> recognize my android cell-phone when connected via usb cable.
> The error message is:
> "The name :1.53 was not provided by any .service files"
> i just realized the error message occures right after i connect to usb
> and before i select "use connection for data - transfer" in android.
>
> i also tried this:
> "mtp://[12d1:107e]/"
> in pcmanfm's address bar and received the error message:
> "no matching udev device found"
> followed by:
> "the mentioned location is not mounted".
>
> Any ideas?
>

Probably best to contact PCmanFM developers. Doesn't seems like a
Debian-related problem, isn't?

Best regards!



Re: Authentication for telnet.

2019-09-29 Thread peter
From: Andy Smith 
Date: Sun, 29 Sep 2019 22:51:22 +
> Is it a case that the hosts you are dealing with ...

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

Localhost; not hosts.

Also,
From: peasth...@shaw.ca
Date: Mon, 14 Jun 2010 11:03:50 -0700
> ... inside my Shorewalled network.

From: Andy Smith 
Date: Sun, 29 Sep 2019 22:51:22 +
> Is it a case that the hosts you are dealing with are too
> underpowered CPU-wise to cope with SSH's encryption?

From: peasth...@shaw.ca
Date: Mon, 14 Jun 2010 11:03:50 -0700
> ... telnet opens in about 1 s. ... ssh requires about 15 s.  

Any computer built since 1990 should be able to run 
a plain old terminal session.

Regards, ... P.



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



apache only servers text page

2019-09-29 Thread Dave

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

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

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

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

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

please advise.



Re: Debian 10 freezes upon shutdown, reboot and logout

2019-09-29 Thread Beco
Some updates on testing I'm doing:

$ init 1
also hangs

Booting from grub using init 3 gave me a single chance to reboot without
hanging, other variables being acpi=off. But somehow I was not able to
reproduce the behaviour.

Messages appearing on screen when init 3 was running, or in kernel.log:

---
TTM Buffer eviction failed
nouveau DRM failed idle channel 0
---


Now the messages below appear while the shutting down (or rebooting) is
running its course, so I have no terminal at hand. Just the notifications
scrolling:
(I took a picture with a mobile and wrote them by hand. Forgive any typos
or abbreviations)

after init 1 or reboot or shutdown actually

INFO: rcu_sched detected stalls on CPUs/tasks:
rcu: $3-...0: (0 ticks this GP) idle=51a/1/0x4
rcu: $(detected by 6, t=5252 jiffies, g...)
NMI watchdog: Watchdog detected hard LOCKUP on cpu 3
INFO: rcu_sched detected expedited stalls on CPUs/tasks:
rcu: blocking rcu_node structures:
watchdog: BUG: soft lockup - CPU#5 stuck for 23s! [systemd:1]
...
repeats in an endless loop
...

INFO: task irq/87-ELANO611:556 blocked for more than 120 seconds
Tainted: GWOEL4.19.0-6-amd64 #1 Debian 4.19.67-2+deb10u1
echo 0 > /proc/sys/kernel/hung_task_timeout_secs disables this message
...
repeats for other tasks (haveged, systemd-logind, wpa_supplicant, dhclient,
QQm1Thread, GlobalQueue, gdbus, ...)
...



i2c_transfer+0x51...
elan_i2c_get_report+0x1c...
? __switch_to+0x8c/0x440...
elan_isr+0x4b...
? __schedule+0x2aa...
? __wake_up_common_lock+...
? irq_finalize_oneshot
irq_thread_fn+0x1f...
kthread+0x112
ret_from_fork+...
watchdog: BUG: soft lockup...
Modules linked in: ufs qnx4 hfsplus hfs minix vfat msdos fat jfs xfs dm_mod
pc sst_ssp snd_hda_ext_core snd_soc_acpi_intel_match x86_pkg_temp_thermal
btbcm irqbypass videobuf2_vmalloc btintel ideapad_l... pcspkr xor btrfs ecb
zstd_decompre... xtables autofs4 media pcc_cpufreq...
CPU: 5 PID:: 1 Comm: systemd Tainted: G
Hardware name: LENOVO 81G3/LNVNB161216, BIOS 6JCN23WW 01/23/2018
RIP: 0010:smp_call_function_many+0x1f8/0x250
Code: c7 e8 6c 3f 5f 00...
RAX: 0003 RBX: 9e RCX: fff...
RDX: 0001 RSI:  RDI: fff9e...
RBP:  R08:  R09:
R10:...  R11:... R12:...
R13:... R14: R15:...
FS:... GS:... knlGS:...
CS: ... DS: ... ES: ... CRO:
CR2:  CR3:... CR4:
Call Trace:
? tcp_v6_pre_connect...
? add_nops...
on_each_cpu...
text_poke_bp
__jump_label_transform...
arch_jump_label...
__jump_label_update...
__static_key_slow_dec_cpu...
__cgroup_bpf_detach...
__cgroup_bpf_prog_detach...
__x64_sys_bpf...
do_syscall_64+0x53/0x110
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:
...
repeat, different memory dump
...
Task dump for CPU 3:
Xorg R running task
Call Trace:
? nvif_object_fini...
?nouveaus_vmm_fini
?nouveau_cli_fini
?nouveau_drm_postcl...
?drm_file_free.part
?drm_release+...
?__fput
?task_work_run...
?do_exit
?handle_mm_fault
?do_group_exit
?__x64_sys_exit_group...
do_syscall_64+0x53/0x110
entry_SYSCALL_64_after_hwframe+0x44/0xa9


--


I would prefer to read that on logs instead of a mobile picture... Not sure
yet what logs to look (or maybe turn on)

dmesg shows only the starting process, not the hanging avenue when trying
to shutdown.

Thanks for any help or tip.

Att.,
Beco






On Sun, 29 Sep 2019 at 21:27, Beco  wrote:

>
> Hi,
>
> I'm currently having issues with a LENOVO ideapad320.
>
> Using Stretch was smooth. But this weekend I've updated to Buster and I'm
> having trouble to shutdown the system.
> Rebooting also freezes.
>
> Watchdog says the CPU number #something is 22 seconds froze.
>
> I usually don't use "logout" since it is my personal laptop and I only
> uses KDE, but I've decided to give i3wm a try and because of that I
> discovered that not only shutdown and reboot hangs the system, but also
> logout.
>
> I need to finish shutdown with SysReq commands everytime to sync, umount
> and turn off.
>
> Not sure what logs I need to look, but kern.log shows nouveau driver
> having problems. Not much to go after, but may be a tip.
> Also, I've tried to add ACPI=force to grub, just in case, to test. Nothing
> changed.
>
> A small detail: my var partition is separated from the root. I'm telling
> this because in the old system ever reboot gave me a "unable to umount
> var". But it was ok. When I installed Stretch in 2018 I researched the
> problem and it was only a warning from journal.conf that could be solved by
> using "volatile". Anyway, I even considered to move /var to the root just
> to test, but after reading more about the problem I decided not to pursue
> this way.
>
> It must be something else... Maybe I could try to remove nouveau just to
> test. But since removing and adding nouveau is really hard, and the video
> is working great, I want to check with you guys first for more fresh ideas.
>
> Has anyone had trouble shutting down Buster? What other options do I have
> to try to find the problem and 

Re: Authentication for telnet.

2019-09-29 Thread David
On Sun, 29 Sep 2019 at 01:33,  wrote:

> Opening a terminal emulator in default configuration on localhost,
> LXTerminal for example, doesn't require authentication.  Can telnet
> work similarly?  Ie. "telnet localhost" succeeds without login.

Ok, the guessing game continues, we're all trying to help you
but no-one has a clue what the actual question is, or why, so
I'll take a turn...

About lxterminal:

lxterminal runs a GUI application on your host. It
uses libc so that your CPU can communicate directly with
your keyboard and screen in the most efficient way possible
in GUI land.

About telnet:

telnet manpage says
"""
used for interactive communication with another
host using the TELNET protocol
"""
So telnet ... is a tool for using a *network* protocol to
communicate with a *remote* host.

So that's not efficient at all. Every keystroke goes via the
network stack, requiring individual client and server
processes, see https://en.wikipedia.org/wiki/Telnet

The guessing game:

So the first puzzle is why you seem to be in some way
comparing two vastly different things, lxterminal and
telnet.

The second puzzle is why you have a legitimate reason
to 'telnet localhost' because none of us can think of
a good reason. So until you tell us what the good reason
is then it appears to us that you are doing something
apparently ridiculous due to ignorance (yours or ours).
This is a crucial question, please don't skip it if you reply.

The third puzzle is whether or not you have a telnet
server running on localhost and allowed by any firewall.
Because you wrote that

> "telnet localhost" succeeds without login.

Please show what output do you get when you run
'telnet localhost'. Does it succeed now without login,
or is that your unachieved goal?

The fourth puzzle is what actually is your actual question.
You wrote:
> Can this be accomplished by configuration of PAM ?

But it's unclear what the word "this" in that sentence
actually refers to.

A final puzzle is that I vaguely recall from other
messages that you use something named Oberon.
I'm totally ignorant about Oberon, so I looked at
wikipedia [1] which says that Oberon it is an operating
sytem with an unusual user interface.
So I feel a need to ask, is Oberon involved here?
Is this question about software provided by the Debian
project? Because that is the unspoken assumption here,
and if that is not the case then then our answers might
be completely irrelevant.

[1] https://en.wikipedia.org/wiki/Oberon_(operating_system)



Re: Authentication for telnet.

2019-09-29 Thread Tixy
On Mon, 2019-09-30 at 14:43 +1000, David wrote:
[...]
> A final puzzle is that I vaguely recall from other
> messages that you use something named Oberon.

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

> I'm totally ignorant about Oberon, so I looked at
> wikipedia [1] which says that Oberon it is an operating
> sytem with an unusual user interface.
> So I feel a need to ask, is Oberon involved here?

-- 
Tixy



Re: Authentication for telnet.

2019-09-29 Thread Reco
On Sun, Sep 29, 2019 at 02:36:02PM -0700, pe...@easthope.ca wrote:
> From: Reco 
> Date: Sat, 28 Sep 2019 19:23:45 +0300
> > I have to ask - what are you trying to achieve?
> 
> An interactive shell session with minimal overhead. (Or maximal 
> efficiency.)  The telnet client in the Oberon subsystem is noticeably 
> faster than competitors.

apt install xterm.
Or press Ctrl+Alt+F2, no software installation required.


> > ... your request seems to be awfully close to (in)famous A/B 
> > problem, ...
> 
> I might have read about the A/B Problem years ago but don't recall or 
> understand well enough.

You ask how to do an "A" while what you really need is to do "B", but
you don't tell about "B" at all. AKA Perl's "XY" problem - [1].


> > telnetd(8), "-a" and "-L" parameters.
> 
> Just had a look at the parameters (again?) and don't have a clear idea 
> to set them.  Tips welcome.  

telnetd -a none -L /bin/bash

Reco

[1] https://www.perlmonks.org/?node=XY+Problem



Re: RStudio in Buster

2019-09-29 Thread deloptes
Mark Fletcher wrote:

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

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

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





xfce and hybrid sleep: only in menu?

2019-09-29 Thread Andrea Borgia

Hi.

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


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


What gives? :)

Andrea.



Re: RStudio in Buster

2019-09-29 Thread Reco
Hi.

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

It says otherwise here [1]:

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

and here [2]:

Supported branches:
Debian buster (stable)

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

Again, dpkg disagrees with you:

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


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

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

Reco

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

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



Re: Authentication for telnet.

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

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

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

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

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

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

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

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