Re: Firefox Has Disabled FVD Speed Dial

2021-11-23 Thread deloptes
David wrote:

> A few seconds web search finds this:
> https://discourse.mozilla.org/t/fvd-speed-dial-stopped-working/39165

also after upgrades since perhaps 1-2 years it is creating new profile by
default and one should go to about:profiles and select the old one as
default.

BR

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



All mailing list

2021-11-23 Thread Shannon Allen
I don’t know how to become to set up a mailing list what in the hell is going 
on here



Re: Firefox Has Disabled FVD Speed Dial

2021-11-23 Thread David
On Wed, 24 Nov 2021 at 12:37, Stephen P. Molnar  wrote:
>
> Upgrading Firefox has managed to Disable FVD Speed Dial, as far as I
> know, without warning
>
> Thia leaves me in a position of loosing several hundred web pages that I
> have painfully collected over many years.
>
> Are there any solutions to this problem?

A few seconds web search finds this:
  https://discourse.mozilla.org/t/fvd-speed-dial-stopped-working/39165



Firefox Has Disabled FVD Speed Dial

2021-11-23 Thread Stephen P. Molnar
Upgrading Firefox has managed to Disable FVD Speed Dial, as far as I 
know, without warning


Thia leaves me in a position of loosing several hundred web pages that I 
have painfully collected over many years.


Are there any solutions to this problem?

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1



[HS] dnsmasq

2021-11-23 Thread NoSpam



Le 23/11/2021 à 20:30, benoit a écrit :

Le mardi 23 novembre 2021 à 19:22, NoSpam  a écrit :


Bonsoir


C'est la résolution des noms qui ne fonctionne pas, ton resolv-file ne

doit pas être renseigné et/ou tu n'envoies pas les DNS aux clients DHCP


Est-e qu'il y a quelque chose à faire du côté des la machines clientes ?


Forcément, si le DHCP n'est pas fonctionnel, chaque client doit avoir sa 
liste de serveur-s DNS.


En fait ton problème n'est pas dnsmasq: comme est définie ton 
organisation tu auras le problème avec n'importe quel client ou logiciel 
DNS/DHCP.




[HS] dnsmasq

2021-11-23 Thread NoSpam



Le 23/11/2021 à 20:06, benoit a écrit :

Le mardi 23 novembre 2021 à 19:22, NoSpam  a écrit :

C'est la résolution des noms qui ne fonctionne pas, ton resolv-file ne

doit pas être renseigné et/ou tu n'envoies pas les DNS aux clients DHCP


Pour l'instant je n'ai pas encore essayé le DHCP.
J'ai seulement branché un ordi avec une ip statique pour tester la config.

Je vois dans la doc que le
resolv-file=/etc/resolv.dnsmasq

Mais je n'ai pas ce fichier qui liste les serveurs de noms auxquels dnsmasq 
doit s'adresser.
Il n'y en a pas par défaut avec le paquet d'installation ?
Non, les développeurs ne connaissent pas les DNS des futurs utilisateurs 
! Ce fichier est à renseigner en fonction du FAI et/ou réseau local

[...]

PS: un tag [HS] serait le bienvenue

--

Daniel




Re: psutils: any known opensource prepress viewers for its output?

2021-11-23 Thread Tom Browder
On Tue, Nov 23, 2021 at 15:04 Tom Browder  wrote:

> On Tue, Nov 23, 2021 at 13:30 Henning Follmann 
> wrote:
> …
>
> maybe Scribus?
>
>
> I’ll look closer—a quick look didn’t show anything, and I have used it
> before to rearrange pdf.
>

Looks like a WIP.

-Tom


Re: How to use intel gpu via nvidia gpu (without connecting monitor to the intel gpu)?

2021-11-23 Thread Brian
On Tue 23 Nov 2021 at 21:01:34 +0300, nikita stepanov wrote:

> How to use intel gpu via nvidia gpu (without connecting monitor to the
> intel gpu)?

The mind boggles!

-- 
Brian.



Re: psutils: any known opensource prepress viewers for its output?

2021-11-23 Thread Tom Browder
On Tue, Nov 23, 2021 at 13:30 Henning Follmann 
wrote:
…

maybe Scribus?


I’ll look closer—a quick look didn’t show anything, and I have used it
before to rearrange pdf.

Thanks.

-Tom


Re : Re: dnsmasq

2021-11-23 Thread benoit
Le mardi 23 novembre 2021 à 19:22, NoSpam  a écrit :

> Bonsoir
>
>
> C'est la résolution des noms qui ne fonctionne pas, ton resolv-file ne
>
> doit pas être renseigné et/ou tu n'envoies pas les DNS aux clients DHCP
>
Est-e qu'il y a quelque chose à faire du côté des la machines clientes ?



Re: psutils: any known opensource prepress viewers for its output?

2021-11-23 Thread Henning Follmann
On Tue, Nov 23, 2021 at 05:21:32AM -0600, Tom Browder wrote:
> 'psutils' provides a way to generate a prepress layout for multipage
> printing, cutting, and binding of booklets and books.
> 
> Can anyone recommend a program running on Linux (or other OS) to view it
> (or its PDF form) in its prepress layout?
> 
> Thanks.
> 
> -Tom

maybe Scribus?

-H

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



Re : Re: dnsmasq

2021-11-23 Thread benoit
Le mardi 23 novembre 2021 à 19:22, NoSpam  a écrit :
>
> C'est la résolution des noms qui ne fonctionne pas, ton resolv-file ne
>
> doit pas être renseigné et/ou tu n'envoies pas les DNS aux clients DHCP
>

Pour l'instant je n'ai pas encore essayé le DHCP.
J'ai seulement branché un ordi avec une ip statique pour tester la config.

Je vois dans la doc que le
resolv-file=/etc/resolv.dnsmasq

Mais je n'ai pas ce fichier qui liste les serveurs de noms auxquels dnsmasq 
doit s'adresser.
Il n'y en a pas par défaut avec le paquet d'installation ?


> [...]
>
> PS: un tag [HS] serait le bienvenue
>
> --
>
> Daniel



Re: Machine won't power off after upgrade to bullseye.

2021-11-23 Thread Brian
On Tue 23 Nov 2021 at 18:56:23 +, Tim Woodall wrote:

> On Tue, 23 Nov 2021, Brian wrote:
> 
> > On Tue 23 Nov 2021 at 18:02:03 +, Tim Woodall wrote:
> > 
> > > I have an old machine that I've just upgraded to bullseye. Now that it's
> > > upgraded it does not power off when I do halt -p.
> > 
> > What happens with 'poweroff'?
> > 
> 
> What is the difference between poweroff and halt -p? I thought calling
> halt as poweroff just defaulted the -p. halt -p is one less keystroke
> :-)

The differnce is maybe immaterial. You tried the command. It didn't
work, as Tixy explained and forecast? Now you are into the nitty-gritty.

-- 
Brian.



How to use intel gpu via nvidia gpu (without connecting monitor to the intel gpu)?

2021-11-23 Thread nikita stepanov
How to use intel gpu via nvidia gpu (without connecting monitor to the intel 
gpu)?

Re: Machine won't power off after upgrade to bullseye.

2021-11-23 Thread Tim Woodall

On Tue, 23 Nov 2021, Brian wrote:


On Tue 23 Nov 2021 at 18:02:03 +, Tim Woodall wrote:


I have an old machine that I've just upgraded to bullseye. Now that it's
upgraded it does not power off when I do halt -p.


What happens with 'poweroff'?



What is the difference between poweroff and halt -p? I thought calling
halt as poweroff just defaulted the -p. halt -p is one less keystroke
:-)



Re: Machine won't power off after upgrade to bullseye.

2021-11-23 Thread Tixy
On Tue, 2021-11-23 at 18:37 +, Brian wrote:
> On Tue 23 Nov 2021 at 18:02:03 +, Tim Woodall wrote:
> 
> > I have an old machine that I've just upgraded to bullseye. Now that it's
> > upgraded it does not power off when I do halt -p.
> 
> What happens with 'poweroff'?
> 

Probably the same as with 'halt -p' because 'halt', 'poweroff' and
'reboot' are symlinks to the same program and according to the man page
the -p option means "Power-off the machine, regardless of which one of
the three commands is invoked".

-- 
Tixy




Re: Offtopic: Transfer a programm from DOS to Linux

2021-11-23 Thread Nate Bargmann
I spoke with a friend about this yesterday who was in the area and has
done quite a bit using SDR as a radio amateur.  He passed along these
links:

https://etd.ohiolink.edu/apexprod/rws_etd/send_file/send?accession=wright1608139109925131=inline
https://www.rtl-sdr.com/using-an-rtl-sdr-rf-fingerprinting-and-deep-learning-to-authenticate-rf-devices/
https://www.rtl-sdr.com/identifying-transmitters-with-ctcss-fingerprinting/

The second link is interesting as it focuses on RF devices that are
commonly found such as IoT sensors, keyfobs, and other common RF
transmitting devices beyond two-way radio transmitters.  In other words,
this tech should have applicability in network security, to bring it
back on topic a bit.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: Machine won't power off after upgrade to bullseye.

2021-11-23 Thread Brian
On Tue 23 Nov 2021 at 18:02:03 +, Tim Woodall wrote:

> I have an old machine that I've just upgraded to bullseye. Now that it's
> upgraded it does not power off when I do halt -p.

What happens with 'poweroff'?

-- 
Brian.



Re: dnsmasq

2021-11-23 Thread NoSpam

Bonsoir

Le 23/11/2021 à 18:08, benoit a écrit :

Bonsoir !

Je n'arrives pas à bien configurer dnsmasq, si je branche un ordi 
derrière le réseau interne et que je ping par ex : kde.org

ping: unknown host kde.org

Mais si je ping son ip, ça fonctionne...
Comment débuger ce qui ne va pas ?


C'est la résolution des noms qui ne fonctionne pas, ton resolv-file ne 
doit pas être renseigné et/ou tu n'envoies pas les DNS aux clients DHCP


[...]

PS: un tag [HS] serait le bienvenue

--
Daniel



Machine won't power off after upgrade to bullseye.

2021-11-23 Thread Tim Woodall

I have an old machine that I've just upgraded to bullseye. Now that it's
upgraded it does not power off when I do halt -p.

I see the following error: (copied so hopefully no typos)

Will now halt.
[  183.942475] ACPI BIOS Error (bug): Could not resolve symbol 
[\_SB.PCI0.LPCB.TPM.PTS], AE_NOT_FOUND (20200925/psargs-330)
[  183.942946] ACPI Error: Aborting method \_PTS due to previous error 
(AE_NOT_FOUND) (20200925/psparse-529)
[  183.943586] reboot: Power down

I found this old bug:

https://bugzilla.kernel.org/show_bug.cgi?id=199117

While this may well be a bios bug, I've never had this problem before.
Now I've got it on two different (older machines)

I'll try downgrading the kernel back to 4.19 but has anyone else seen
anything like this?

Tim.



dnsmasq

2021-11-23 Thread benoit
Bonsoir !

Je n'arrives pas à bien configurer dnsmasq, si je branche un ordi derrière le 
réseau interne et que je ping par ex : kde.org
ping: unknown host kde.org

Mais si je ping son ip, ça fonctionne...
Comment débuger ce qui ne va pas ?

Merci d'avance
--
Benoit

Sent with [ProtonMail](https://protonmail.com/) Secure Email.

Re: Broken UEFI Dual boot : Debian 12 + encrypted Debian 11

2021-11-23 Thread David Wright
On Tue 23 Nov 2021 at 16:50:30 (+0100), Yvan Masson wrote:
> Le 23/11/2021 à 13:57, Yvan Masson a écrit :
> > I have a laptop with two drive, historically installed with an
> > encrypted Debian 11 booting in UEFI mode (done with Debian
> > Installer).
> > 
> > I just installed Debian 12 without encryption in a small
> > partition. Unfortunately, I can not boot Debian 11 anymore,
> > grub-efi only shows the Debian 12 install.
> > 
> > Any help to make both install boot would greatly appreciated.
> > Being able to boot Debian 11 only would also be great if the dual
> > boot is not possible.

It sounds like when you installed 12, your encrypted partition for 11
was still locked, and so the os-prober couldn't find it. When in 12,
you need to unlock 11 and then update grub so it can include 11 in its menu.

> I found first an answer for the second question : the wiki
> (https://wiki.debian.org/GrubEFIReinstall) explains exactly how to
> recover from such issue. This is what I did and I can now only boot on
> my encrypted Debian 11.
> 
> For the first question, I found different solutions on AskUbuntu 
> (https://askubuntu.com/questions/617045/how-do-i-install-two-independent-ubuntu-installations-on-a-single-hard-drive-wit)
> : I chose the method with two EFI partitions, because it seems easier
> to me (but this might no be true). If you do this, do not forget to
> modify /etc/fstab so that each install uses the proper EFI partition.

I've no experience with doing that. I've always set up grub-install
to point to the device that contains /boot belonging to the system
I want to boot up by default, and then used update-grub to make that
/boot/grub/grub.cfg aware of all the systems on the machine (but
they all need to be visible so that they get entries added). This
latter grub.cfg will boot this same system by default.

Cheers,
David.



Re: Broken UEFI Dual boot : Debian 12 + encrypted Debian 11

2021-11-23 Thread Yvan Masson

Le 23/11/2021 à 13:57, Yvan Masson a écrit :

Hi list,

I have a laptop with two drive, historically installed with an encrypted 
Debian 11 booting in UEFI mode (done with Debian Installer).


I just installed Debian 12 without encryption in a small partition. 
Unfortunately, I can not boot Debian 11 anymore, grub-efi only shows the 
Debian 12 install.


Any help to make both install boot would greatly appreciated. Being able 
to boot Debian 11 only would also be great if the dual boot is not 
possible.
I found first an answer for the second question : the wiki 
(https://wiki.debian.org/GrubEFIReinstall) explains exactly how to 
recover from such issue. This is what I did and I can now only boot on 
my encrypted Debian 11.


For the first question, I found different solutions on AskUbuntu 
(https://askubuntu.com/questions/617045/how-do-i-install-two-independent-ubuntu-installations-on-a-single-hard-drive-wit) 
: I chose the method with two EFI partitions, because it seems easier to 
me (but this might no be true). If you do this, do not forget to modify 
/etc/fstab so that each install uses the proper EFI partition.


Regards,
Yvan



OpenPGP_signature
Description: OpenPGP digital signature


Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-23 Thread David Wright
On Tue 23 Nov 2021 at 07:51:32 (-0500), Greg Wooledge wrote:
> On Tue, Nov 23, 2021 at 12:05:37PM +, Jonathan Dowland wrote:
> > On Mon, Nov 22, 2021 at 11:39:46AM -0500, Greg Wooledge wrote:
> > > I don't know the exact time that I closed the login shell on tty2.  It
> > > *could* have been at exactly 11:19:00 but that seems like a suspiciously
> > > round number (and a suspiciously long time after I started the service).
> > 
> > You don't, but your system(d) does: the system instance, not the user
> > instance.
> > 
> > From my "journalctl --follow" output, after a "su -" and then
> > immediately after closing the resulting shell:
> > 
> > Nov 23 12:03:27 coil su[1330250]: pam_unix(su-l:session): session 
> > closed for user root
> 
> Nov 22 11:18:27 unicorn systemd[1604310]: Started Sleep command for testing.
> Nov 22 11:18:50 unicorn login[1604301]: pam_unix(login:session): session 
> closed>
> Nov 22 11:18:50 unicorn systemd[1]: getty@tty2.service: Succeeded.
> Nov 22 11:18:50 unicorn systemd[1]: session-7634.scope: Succeeded.
> Nov 22 11:18:50 unicorn systemd[1]: getty@tty2.service: Scheduled restart 
> job, >
> Nov 22 11:18:50 unicorn systemd-logind[611]: Session 7634 logged out. Waiting 
> f>
> Nov 22 11:18:50 unicorn systemd[1]: Stopped Getty on tty2.
> Nov 22 11:18:50 unicorn systemd[1]: Started Getty on tty2.
> Nov 22 11:18:50 unicorn systemd-logind[611]: Removed session 7634.
> Nov 22 11:18:50 unicorn pulseaudio[1604331]: Error opening PCM device 
> front:1: >
> Nov 22 11:18:50 unicorn systemd[1604310]: pulseaudio.service: Succeeded.
> Nov 22 11:19:00 unicorn systemd[1]: Stopping User Manager for UID 1004...
> 
> This basically confirms my guesswork: the "User Manager" isn't stopped
> immediately when the last login session is closed.  There's some delay.
> Maybe it's the next time the clock reads *:00 or maybe it's 10 seconds.

It looks like you can set it here:

$ grep 1min /etc/systemd/system.conf 
#DefaultTimerAccuracySec=1min
$ man systemd-system.conf | grep -A7 DefaultTimerAccuracySec 
   DefaultTimerAccuracySec=
   Sets the default accuracy of timer units. This controls the global 
default
   for the AccuracySec= setting of timer units, see systemd.timer(5) for
   details.  AccuracySec= set in individual units override the global 
default
   for the specific unit. Defaults to 1min. Note that the accuracy of 
timer
   units is also affected by the configured timer slack for PID 1, see
   TimerSlackNSec= above.

$ 

> Nov 22 11:19:00 unicorn systemd[1]: Stopping User Manager for UID 1004...
> Nov 22 11:19:00 unicorn systemd[1604310]: Stopped target Main User Target.
> Nov 22 11:19:00 unicorn systemd[1604310]: Stopping D-Bus User Message Bus...
> Nov 22 11:19:00 unicorn systemd[1604310]: Stopping Multimedia Service...
> Nov 22 11:19:00 unicorn systemd[1604310]: Stopping Sleep command for 
> testing...
> Nov 22 11:19:00 unicorn systemd[1604310]: dbus.service: Succeeded.
> Nov 22 11:19:00 unicorn systemd[1604310]: Stopped D-Bus User Message Bus.
> Nov 22 11:19:00 unicorn systemd[1604310]: sleeper.service: Succeeded.
> Nov 22 11:19:00 unicorn systemd[1604310]: Stopped Sleep command for testing.
> [...]
> 
> It seems to do what's desired.  That's the important takeaway.

Cheers,
David.



Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-23 Thread David Wright
On Mon 22 Nov 2021 at 16:14:37 (-0500), Greg Wooledge wrote:
> On Mon, Nov 22, 2021 at 02:45:28PM -0600, David Wright wrote:
> > I implied in my first post that a background job started in .xsession
> > would be killed when the X server terminated, be that by reaching the
> > end of the .xsession script (if you prefer that expression), or by
> > killing the X server (which abandons the rest of the .xsession script).
> > But I think this applies only if it maps a window, hence the need to
> > kill it, as shown in your example above, and absent from my post.
> 
> The .xsession file is executed as a shell script, either under sh or bash
> or some other shell, depending on the permissions on the file, the user's
> login account's shell, the shebang (if any) inside the .xsession file,
> and possibly other factors.  Let's assume sh or bash, because I don't
> want to make blanket statements about other shells.  I don't know how
> they all work.
> 
> If you run a non-X background job from a shell script (including .xsession),
> and the script terminates, the background job will keep running.  That is,
> unless you've specifically taken steps to arrange for something to kill
> that background job.  It will not happen automatically.

You're right, and that's the correction I was making above.

> In the event of an X client run as a background job, that X client will
> be forcefully killed when the X server shuts down.
> 
> So, at least some parts of the paragraph quoted above are correct.
> X client programs will always be killed (by termination of the X server).
> 
> You've also claimed that "zapping" the X server, as opposed to exiting
> the window manager in the normal manner, causes the .xsession script to
> be killed prematurely.  I have my doubts about this, but I am not going
> to test it.  First and foremost, because it's a *real* pain in the ass
> to log out and back in and get everything set back up the way I like.
> Second, because Debian hasn't configured X with a "zap" option by default
> in a very long time, and I don't feel like changing my X configuration
> to put a deprecated "zap" option back into it.
> 
> I don't immediately see any reason why "zapping" the X server would kill
> the .xsession shell script.  As far as I know, it should continue
> running just like any other shell script.  The only reasons it would
> exit are:
> 
> (1) You've reached the end of the script.
> (2) You've called "exit".
> (3) You've used "exec" to replace the shell with some other program, such
> as a window manager.
> (4) You've used "set -e" or an equivalent option, and one of your commands
> exited with a nonzero status in a context where set -e will trigger
> and kill the shell.
> 
> I suspect you've run across one of the above cases, without realizing it.

Well, that would be a welcome correction—and one less thing to worry about.

> On Mon, Nov 22, 2021 at 02:45:43PM -0600, David Wright wrote:
> > I haven't looked for differences that might have arisen since systemd
> > entered upon the scene (and I've yet to work my way through your
> > addition to this subthread), but in looking through /etc/X11/ to see
> > what x-session-manager might be, I see that Xsession.d has a twin,
> > Xreset.d, called from Xreset. This says it's for "when a user log[s]
> > out from a display manager", which might be what the OP is doing
> > "when I log out [and] it [unison] is orphaned and not terminated".
> 
> I don't consider that a valid solution to the problem, because there is no
> equivalent at the user level.  Anything that goes into /etc/X11/Xreset.d/
> is executed *as root* when *any* user's display manager X session
> terminates.
> 
> That's just unacceptable.  Primarily because it applies to all users, not
> just the one user who wants it.  Secondarily because it runs as root
> instead of the user whose session is ending.  Third (tertiar[il]y-something?)
> because it only applies to DM sessions, not startx.

I can't argue with your teriary reason. The other two shouldn't matter
because (1) the script can check for which user it is, in $USER, and
(2) then runuser as that user.

Cheers,
David.



Re: Impossible to verify GPG signature on Debian Release file

2021-11-23 Thread john doe

On 11/23/2021 1:49 PM, deloptes wrote:

john doe wrote:


What am I missing?


this specific key seems not to be available on the debian keyserver
try keyserver.ubuntu.com, you can find the key there



Thank you.

--
John Doe



Re: PHP fast-cgi en mod_php

2021-11-23 Thread Vincent Lammens

On 23/11/2021 12:52, Paul van der Vlis wrote:

Hoi,

Ik moet een server met php en Apache overzetten naar een nieuwe
virtuele machine. Maar ik heb vooral ervaring met mod_php.

Ik overweeg de klant te vragen of het geen mod_php mag worden. Klant is
een bedrijfje met PHP programmeurs. Zal het voor hen veel uitmaken?
Moet er bijvoorbeeld code worden gewijzigd?

Of is het voor mij eigenlijk reuze simpel om fcgi te gaan gebruiken?
Wellicht gewoon libapache2-mod-fcgid installeren?
Zijn er dingen waaraan je moet denken bij fcgi ?

Het gaat om een VM met maar 1 website, geen hoge belasting.

Groet,
Paul




Hey Paul,

Voor de code die op de website draait, is er geen verschil of er mod_php 
of fcgi gebruikt word, het grootste verschil zit hem in hoe apache de 
PHP files verwerkt, maar een echt groot performanceverschil is er ook 
niet voor de meeste sites.


Aangezien het gaat om een VM met 1 website, zonder hoge belasting, zou 
ik doen zoals je zelf overweegt en de klant vragen of er geen gebruik 
kan gemaakt worden van mod_php.


--
Met vriendelijke groeten

Vincent Lammens
https://vincentlammens.be
GPG: 8307 2DFF 4EB0 301A



Broken UEFI Dual boot : Debian 12 + encrypted Debian 11

2021-11-23 Thread Yvan Masson

Hi list,

I have a laptop with two drive, historically installed with an encrypted 
Debian 11 booting in UEFI mode (done with Debian Installer).


I just installed Debian 12 without encryption in a small partition. 
Unfortunately, I can not boot Debian 11 anymore, grub-efi only shows the 
Debian 12 install.


Any help to make both install boot would greatly appreciated. Being able 
to boot Debian 11 only would also be great if the dual boot is not possible.


Below is a reworked `lsblk` output:

sda
|-sda1 -> a data partition
|-sda2 -> D12 /
`-sda3 -> D12 swap
sdb
|-sdb1 -> EFI partition
|-sdb2 -> D11 /boot
`-sdb3
  `-luks-73072c13-9ffa-4b03-b82b-91db0c063069
|-crypt-root -> D11 /
|-crypt-swap -> D11 swap
`-crypt-home -> D11 /home


$ sudo tree /boot/efi/
/boot/efi/
└── EFI
└── debian
├── BOOTX64.CSV
├── fbx64.efi
├── grub.cfg
├── grubx64.efi
├── mmx64.efi
└── shimx64.efi


$ sudo efibootmgr
BootCurrent: 
Timeout: 0 seconds
BootOrder: ,0001
Boot* debian
Boot0001* UEFI: Flash


Regards,
Yvan



OpenPGP_signature
Description: OpenPGP digital signature


what to do with USB stick that gives badblocks errors

2021-11-23 Thread deloptes
I'm sure there are many ideas around, but I want to hear your opinion

so there is one USB stick that I noticed started mocking about errors when
booting off.
I ran badblocks (without options) and then with -s -n and this produced a
slightly different output.
Is the output resulting from the options or is something really wrong with
the USB

Should I throw it away?

If no should I try reformat it

thanks & regards


-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0


usb32_SanDisk_badblocks.diff.gz
Description: application/gzip


Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-23 Thread Greg Wooledge
On Tue, Nov 23, 2021 at 12:05:37PM +, Jonathan Dowland wrote:
> On Mon, Nov 22, 2021 at 11:39:46AM -0500, Greg Wooledge wrote:
> > I don't know the exact time that I closed the login shell on tty2.  It
> > *could* have been at exactly 11:19:00 but that seems like a suspiciously
> > round number (and a suspiciously long time after I started the service).
> 
> You don't, but your system(d) does: the system instance, not the user
> instance.
> 
> From my "journalctl --follow" output, after a "su -" and then
> immediately after closing the resulting shell:
> 
>   Nov 23 12:03:27 coil su[1330250]: pam_unix(su-l:session): session 
> closed for user root

Nov 22 11:18:27 unicorn systemd[1604310]: Started Sleep command for testing.
Nov 22 11:18:50 unicorn login[1604301]: pam_unix(login:session): session closed>
Nov 22 11:18:50 unicorn systemd[1]: getty@tty2.service: Succeeded.
Nov 22 11:18:50 unicorn systemd[1]: session-7634.scope: Succeeded.
Nov 22 11:18:50 unicorn systemd[1]: getty@tty2.service: Scheduled restart job, >
Nov 22 11:18:50 unicorn systemd-logind[611]: Session 7634 logged out. Waiting f>
Nov 22 11:18:50 unicorn systemd[1]: Stopped Getty on tty2.
Nov 22 11:18:50 unicorn systemd[1]: Started Getty on tty2.
Nov 22 11:18:50 unicorn systemd-logind[611]: Removed session 7634.
Nov 22 11:18:50 unicorn pulseaudio[1604331]: Error opening PCM device front:1: >
Nov 22 11:18:50 unicorn systemd[1604310]: pulseaudio.service: Succeeded.
Nov 22 11:19:00 unicorn systemd[1]: Stopping User Manager for UID 1004...

This basically confirms my guesswork: the "User Manager" isn't stopped
immediately when the last login session is closed.  There's some delay.
Maybe it's the next time the clock reads *:00 or maybe it's 10 seconds.

Nov 22 11:19:00 unicorn systemd[1]: Stopping User Manager for UID 1004...
Nov 22 11:19:00 unicorn systemd[1604310]: Stopped target Main User Target.
Nov 22 11:19:00 unicorn systemd[1604310]: Stopping D-Bus User Message Bus...
Nov 22 11:19:00 unicorn systemd[1604310]: Stopping Multimedia Service...
Nov 22 11:19:00 unicorn systemd[1604310]: Stopping Sleep command for testing...
Nov 22 11:19:00 unicorn systemd[1604310]: dbus.service: Succeeded.
Nov 22 11:19:00 unicorn systemd[1604310]: Stopped D-Bus User Message Bus.
Nov 22 11:19:00 unicorn systemd[1604310]: sleeper.service: Succeeded.
Nov 22 11:19:00 unicorn systemd[1604310]: Stopped Sleep command for testing.
[...]

It seems to do what's desired.  That's the important takeaway.



Re: Impossible to verify GPG signature on Debian Release file

2021-11-23 Thread deloptes
john doe wrote:

> What am I missing?

this specific key seems not to be available on the debian keyserver
try keyserver.ubuntu.com, you can find the key there

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-23 Thread Jonathan Dowland

On Mon, Nov 22, 2021 at 11:39:46AM -0500, Greg Wooledge wrote:

I don't know the exact time that I closed the login shell on tty2.  It
*could* have been at exactly 11:19:00 but that seems like a suspiciously
round number (and a suspiciously long time after I started the service).


You don't, but your system(d) does: the system instance, not the user
instance.

From my "journalctl --follow" output, after a "su -" and then
immediately after closing the resulting shell:

Nov 23 12:03:27 coil su[1330250]: pam_unix(su-l:session): session 
closed for user root


--
Please do not CC me for listmail.

  Jonathan Dowland
✎j...@debian.org
   https://jmtd.net



PHP fast-cgi en mod_php

2021-11-23 Thread Paul van der Vlis
Hoi,

Ik moet een server met php en Apache overzetten naar een nieuwe
virtuele machine. Maar ik heb vooral ervaring met mod_php.

Ik overweeg de klant te vragen of het geen mod_php mag worden. Klant is
een bedrijfje met PHP programmeurs. Zal het voor hen veel uitmaken?
Moet er bijvoorbeeld code worden gewijzigd?

Of is het voor mij eigenlijk reuze simpel om fcgi te gaan gebruiken?
Wellicht gewoon libapache2-mod-fcgid installeren?
Zijn er dingen waaraan je moet denken bij fcgi ?

Het gaat om een VM met maar 1 website, geen hoge belasting.

Groet,
Paul


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



Re: [HS] Envoi de mail vers Hotmail/Outlook/Live bloqués !

2021-11-23 Thread Jacques

Le 23/11/2021 à 09:32, JUPIN Alain a écrit :

Bonjour,

Merci pour l'info du relai SMTP (à laquelle j'avais pensé, même si je 
préfère éviter), mais à priori, mon hébergeur (OVH) ne semble pas 
fournir cette possibilité.
Je vais tester de relayer en passant par le SMTP de Free (vu que c'est 
mon FAI chez moi).




Bonjour,

Attention en SMTP port 25 sans authentification ça ne marchera pas: ton 
fai va refuser de relayer ton message, il va falloir passer par 
submission (smtp:587 + authentification).


Tu trouveras un exemple de configuration postfix sur:
https://www.linuxbabe.com/mail-server/postfix-transport-map-relay-map-flexible-email-delivery

(sans oublier de déclarer les adresses serveurs mail sortant de ton fai 
dans les déclarations spf de ton domaine, comme l'a précisé Frédéric 
dans son message)


Bonne journée



psutils: any known opensource prepress viewers for its output?

2021-11-23 Thread Tom Browder
'psutils' provides a way to generate a prepress layout for multipage
printing, cutting, and binding of booklets and books.

Can anyone recommend a program running on Linux (or other OS) to view it
(or its PDF form) in its prepress layout?

Thanks.

-Tom


Re: [HS] Envoi de mail vers Hotmail/Outlook/Live bloqués !

2021-11-23 Thread Frédéric ROBERT

On 11/23/21 8:32 AM, JUPIN Alain wrote:

Bonjour,

Merci pour l'info du relai SMTP (à laquelle j'avais pensé, même si je 
préfère éviter), mais à priori, mon hébergeur (OVH) ne semble pas 
fournir cette possibilité.
Je vais tester de relayer en passant par le SMTP de Free (vu que c'est 
mon FAI chez moi).


Bonjour,

Comment allez-vous ? Ne pas oublier d'ajouter les adresses ip de Free 
dans votre entrée txt pour le spf


Bonne journée,

--
Frédéric ROBERT



Re: Re : [HS] Utilisation d'une alimentation universelle de PC portable

2021-11-23 Thread BERTRAND Joël
Hugues Larrive a écrit :
> ‐‐‐ Original Message ‐‐‐
> 
> Le lundi 22 novembre 2021 à 20:35, BERTRAND Joël 
>  a écrit :
> 
> k6dedi...@free.fr">--protonsignature--k6dedi...@free.fr a écrit :
> 
>> Bonjour,
>> 
>> En cas de doute, il est possible d'envisager de faire un montage 
>> avec une diode zenner qui régulera le courant à la tension 
>> souhaitée. Il existe aussi des régulateurs tout prêts dans le 
>> commerce. Bien préciser la tension de sortie et l’ampérage 
>> utilisé. Pur réguler de 19V à 18V, il n'y aura pas de grosse 
>> émission de chaleur si le composant est bien dimensionné quant à 
>> l’ampérage.
> 
> 50W = 3A/19V (aux rendements des convertisseurs internes près). À 
> la limite mettre deux diodes classiques en séries, mais pas une 
> Zener (qui encaisserait de toute façon 3W) et qui n'est pas 
> précise. Une Zener, ça commence à être utilisable à partir de
> 5,1V. Avant, c'est assez folklorique, les caractéristiques étant
> assez loin de la théorie (la tension inverse fluctue beaucoup en
> fonction du courant, raison pour laquelle on mettra toujours trois
> diodes Si en série plutôt qu'une Zener de 2V en inverse).
> 
> En tant que concepteur électronique, je déconseille, mais chacun 
> fait ce qu'il veut.
> 
> JKB
> 
> S'il y en a qui sont intéressé par l'électronique, voilà comment on
> fait un vrai régulateur linéaire de puissance avec seulement 3 
> composants : 
> https://gitlab.com/luiz.villa/ownwall/raw/master/0-Documentation/Inter
nship_report_(FR)_v4.2.pdf
>
>
> 
Section 3.7 - figure 3.3
> 
> Dans ce circuit le courant qui traverse la zener est constant. On 
> comprend aisément pourquoi la tension de sortie (à l'émetteur de 
> Q1) ne peut dépasser la tension de la zener. Notez que le Vbe de Q1
> vient se soustraire à la tension de la zener.
> 
> R4 représente la charge. D2 et V2 ne font pas partie du
> régulateur, ce circuit sert de bootstrap dans une alimentation
> réversible (bidirectionnelle en courant)...
> 
> On comprend aisément pourquoi la tension de sortie (à l'émetteur
> de Q1) ne peut dépasser la tension de la zener. Par contre la
> tension d'entrée doit obligatoirement être au moins 0,6V au dessus
> de la tension de sortie.
> 
> @+
> 

Bonjour,

Si on veut vraiment rentrer dans le détail, ça ne fonctionne pas
correctement. Pourquoi ?

Je suis d'accord, c'est un montage que l'on trouve malheureusement
partout. Il fonctionne avec des composants idéaux et des tensions
d'entrée fixes.

Le courant de base de Q1 varie en fonction du courant d'émetteur (le
beta de ces transistors est moyen et on est souvent dans les 10 à 15).
Lorsque la charge varie, le courant va donc varier sensiblement dans D1
et il y aura une fluctuation de la tension de sortie loin d'être
négligeable surtout pour les faibles valeurs de Vz.

Ça fonctionne à peu près si la charge est fixe. Si derrière cela se
trouve un régulateur à découpage un peu inductif, ça peut même le
détruire.

Si on veut faire proprement, on polarise la Zener à courant constant
(donc en aval et non en amont) et, surtout, on utilise un feedback pour
éviter les oscillations parasites en provenance de la charge. On peut
arriver à ceci :

http://loubardes.de-charybde-en-scylla.fr/media/blogs/loubardes/filament
_1500ma_r2.png

Q2 est un driver de base pour limiter la variation de courant dans Q3.
Q4/Q6/D6 se comporte comme si une Zener était à la place de Q4,
mais la tension d'émetteur de Q4 reste stable quel que soit le courant
traversant (la Zener est côté aval, donc polarisée par une tension
régulée, Q6 est là pour que le courant de base de Q6 ne varie
quasiment pas en fonction de la tension d'entrée du montage.). Q3
règle la tension de sortie, Q5/R6 coupe la régulation en cas de
dépassement du courant max de consigne. R2 et R11 ne sont pas là pour
faire joli mais pour équilibrer les courants dans Q1 et Q7. Les
courants dans tous les transistors (sauf Q1 et Q7) étant faibles, il
n'y a pas besoin de compenser en température sauf à vouloir avoir
quelque chose de très précis.

Bien cordialement,

JKB



Re: [HS] Envoi de mail vers Hotmail/Outlook/Live bloqués !

2021-11-23 Thread JUPIN Alain

Bonjour,

Merci pour l'info du relai SMTP (à laquelle j'avais pensé, même si je 
préfère éviter), mais à priori, mon hébergeur (OVH) ne semble pas 
fournir cette possibilité.
Je vais tester de relayer en passant par le SMTP de Free (vu que c'est 
mon FAI chez moi).


PS : Comme dit initialement, ici il s'agit de serveur dédié, chez OVH ou 
Scaleway


Alain JUPIN
Lumières d'Ici ... et d'Ailleurs 
Le 23/11/2021 à 01:05, Charles Plessy a écrit :

Le Mon, Nov 22, 2021 at 07:16:06PM +0100, JUPIN Alain a écrit :

J'ai un serveur de mail (sur serveur dédié OVH) pour notre petite structure,
hébergeant Postfix, Amavis, OpenDKIM et OpenDMARC pour les domaines
concernés.
Problème : les messages a destination de Microsoft (live.com et .fr,
homail.com et fr, outlook.com et fr ...) sont directement refusés à la
connection !

Bonjour,

lorsque je m'hébergeais à la maison certains destinataires refusaient
catégoriquement tout message provenant d'une IP assignée au domicile
d'un particulier.

La seule solution que j'avais trouvé était de configurer Postfix pour
qu'il passe par le serveur SMTP de mon fournisseur d'accès, pour ces
destinataires uniquement.

Dans `main.cf`, j'ai ajouté:

 transport_maps = hash:/etc/postfix/transport

Et dans ce fichier des lignes comme:

 gmx.de smtp:[mail.asahi-net.or.jp]

De mémoire, il faut lancer une commande grenre `postmap` pour que la
configuration ou ses changements soient pris en compte.

Plus de détails dans la page de manuel transport(5).

Bonne chance !

Charles