Re: [DNG] Help needed:[Fwd: eudev: Methods to detect if running in a container.]

2021-02-20 Thread aitor

Hi,

On 20/2/21 22:28, Lorenz wrote:


And Lorenzo Puliti, maybe?

That would be me


:)

As far as I know, there is no runit-Debian specific list; however, if 
you are interested in runit and similar tools, there is the 
Supervision mailing list.

https://skarnet.org/lists.html 
It's not specific about Debian/Devuan, and much of the talk is about 
s6 nowadays, but many topics are still relevant for runit.


Thanks a lot for the link, i'll be there. Skarnet, yes... I talked with 
him in Amsterdam.


Cheers,

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Help needed:[Fwd: eudev: Methods to detect if running in a container.]

2021-02-20 Thread Lorenz via Dng
Il giorno mer 10 feb 2021 alle ore 23:25 aitor  ha
scritto:

>
>
> Il giorno dom 3 gen 2021 alle ore 10:41 aitor  ha
> scritto:
>
>> I don't know. But, as far as i know, this question arises from the
>> developers of runit.
>>
>
> Side question: where/who are the developers of runit?
>
> The original author of runit seems to be Gerrit Pape:
>
> http://smarden.org/runit/
> but other people like Dmitry Bogatov or Britney might be involved somehow
> in the project, at least as debian package mantainers.
>

Sadly Dmitry is no longer active as packager in Debian, he left after the
last GR :(

>
> And Lorenzo Puliti, maybe?
>

That would be me

> I'm planning extensive development for the next cycle (Debian/Bookworm) so
> we probably should coordinate at least to make sure that we don't step on
> each other foot
>
> Regards,
> Lorenzo
>
> Quoting Svante Signell:
>
>
>
>
> *> I'm trying to solve the problem of detecting if you are within a
> container, like > docker or LXC when running the eudev init script. If true
> udevd should not be > cstarted. The current version of eudev (3.2.9-4) has
> a buggy check for > containers, and people running runit as init have
> problems, see #392.*
>
> Maybe i misunderstood him and made up my mind that developers of runit
> were beyond this issue, while Svante was clearly referring to the users.
> Whatever the case, i also would like to know about a possible mailing list
> and we would meet each other there for sure :)
>

As far as I know, there is no runit-Debian specific list; however, if you
are interested in runit and similar tools, there is the Supervision mailing
list.
https://skarnet.org/lists.html
It's not specific about Debian/Devuan, and much of the talk is about s6
nowadays, but many topics are still relevant for runit.

> Cheers,
>
> Aitor.
>
Cheers,
Lorenzo
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] unsigned kernels - strange behaviour

2021-02-20 Thread aitor

Hi Erich,

On 20/2/21 10:59, Erich Minderlein via Dng wrote:

What are these unsigned packages for ?
I'm not pretty sure at this point, but they appear to be packages for 
the internal use by Debian Kernel Team  
during their test builds.
They do not usually provide mini-packages for debian-installer. Read the 
lines nº568-580 in debian/rules.real (see below [*]):


|install-udeb_$(ARCH): # Logically we should check for %-di here, but 
that would break test builds ifneq (,$(filter 
linux-image-%,$(packages_enabled))) dh_testdir dh_prep kernel-wedge 
install-files $(ABINAME) kernel-wedge check $(PACKAGE_NAMES) dh_fixperms 
ifeq ($(UDEB_UNSIGNED_TEST_BUILD),False) dh_gencontrol dh_builddeb endif 
endif # enabled This is because kernel-wedge doesn't expect any 
-unsigned suffix. Unsigned templates are signed by an additional 
rules.real: 
https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/signing_templates/rules.real 
 
|


|In gnuinos, i use the following workaround (||completely unorthodox):|

    dh_testdir
    dh_prep
    while read flavour; do \
        rm -f debian/linux-image-$(ABINAME)-$$flavour; \
        ln -s linux-image-$(ABINAME)-$$flavour-unsigned \
            debian/linux-image-$(ABINAME)-$$flavour; \
    done < <(awk '!/^#/ { print $$3 }' $(KW_CONFIG_DIR)/kernel-versions)
    kernel-wedge install-files $(ABINAME)
    kernel-wedge check $(PACKAGE_NAMES)
    dh_fixperms
    dh_gencontrol
    dh_builddeb

Cheers,

Aitor.

[*] 
https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/rules.real 



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] unsigned kernels - strange behaviour

2021-02-20 Thread Erich Minderlein via Dng

Hi

tonight my ansible stopped execution with the message

TASK [Reboot the box if kernel updated] 
fatal: [*$Hostname*]: FAILED! => {"changed": false, "elapsed": 0, "msg": "Running reboot with 
local connection would reboot the control node.", "rebooted": false}

Now there are no new kernels to install, because the system is up to date.
Last kernel install was Feb  7 06:49

/ ls -tlah vmlinuz*
lrwxrwxrwx 1 root root 28 Feb  7 06:49 vmlinuz -> boot/vmlinuz-4.19.0-14-amd64
lrwxrwxrwx 1 root root 28 Feb  7 06:49 vmlinuz.old -> 
boot/vmlinuz-4.19.0-13-amd64
/boot # ls -tlah vmlinuz*
-rw-r--r-- 1 root root 5.1M Jan 30 10:35 vmlinuz-4.19.0-14-amd64
-rw-r--r-- 1 root root 5.1M Nov 28 08:47 vmlinuz-4.19.0-13-amd64

looking at the kernels I find this
dpkg -l 'linux-image-*-unsigned'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version  Architecture Description
+++----=
un  linux-image-4.19.0-13-amd64-unsigned   (no 
description available)
un  linux-image-4.19.0-14-amd64-unsigned   (no 
description available)

aptitude shows
 Actions  Undo  Package  Resolver  Search  Options  Views  Help
C-T: Menu  ?: Help  q: Quit  u: Update  g: Preview/Download/Install/Remove Pkgs
aptitude 0.8.11 @ hostname
--\ Not Installed Packages (7)
...
  --\ kernel Kernel and kernel modules (6)
--\ main   The main Debian archive (6)
p linux-image-4.19.0-13-amd64-unsigned
4.19.160-2
p linux-image-4.19.0-13-cloud-amd64-unsigned  
4.19.160-2
p linux-image-4.19.0-13-rt-amd64-unsigned 
4.19.160-2
p linux-image-4.19.0-14-amd64-unsigned
4.19.171-2
p linux-image-4.19.0-14-cloud-amd64-unsigned  
4.19.171-2
p linux-image-4.19.0-14-rt-amd64-unsigned 
4.19.171-2
   
┌─┐
   │Really quit 
Aptitude?│
   │  [ Yes ][ No ] 
 │
   
└─┘
These packages are not installed on your computer.
This group contains 7 packages.

What are these unsigned packages for ?

Why does the system want install some unknown kernels as the actual signed 
package is already installed ?

Three month ago I had a strange collapse of my debian,
as the directory /usr was empty over night.
System was unusable and I made a fresh install of devuan instad of debian.
I planned this anyhow.
Is there something spooky going on ?
Is something compromised on this system ?

--
mit freundlichen Grüßen
with the best(e) regards

cordialement

Erich |\/|inderlei|\|

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng