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

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

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

2021-02-10 Thread aitor
Hi Lorentz, On 9/2/21 13:48, Lorenz wrote: Few months ago I sent a patch for needrestart, and there is a function (line 66) there to detect if it's running in a container; i'm not sure that is something that was not already mentioned and discarded here, but maybe it's worth checking. I

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

2021-02-10 Thread Lorenz via Dng
Few months ago I sent a patch for needrestart, and there is a function (line 66) there to detect if it's running in a container; i'm not sure that is something that was not already mentioned and discarded here, but maybe it's worth checking. Il giorno dom 3 gen 2021 alle ore 10:41 aitor ha

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

2021-01-03 Thread aitor
Hi Daniel, On 1/4/20 9:07, Daniel Abrecht via Dng wrote: Hi, What's the point of trying to detect if eudev is run in a container? Is it just to not start it in that case? Would it just fail to start in them otherwise? Is that actually a problem? And could eudev not just be uninstalled in a

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

2020-04-01 Thread Daniel Abrecht via Dng
Hi, What's the point of trying to detect if eudev is run in a container? Is it just to not start it in that case? Would it just fail to start in them otherwise? Is that actually a problem? And could eudev not just be uninstalled in a container? In any case, I don't like the idea of doing hacks

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

2020-03-31 Thread Hendrik Boom
On Wed, Apr 01, 2020 at 09:42:56AM +1100, Ralph Ronnquist via Dng wrote: > Note that the inode number is per file system. If you make a file as an ext4 > image, then its root will have inode=2 as well. You can verify that by > mounting > the file somewhere and then stat that somewhere; or even

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

2020-03-31 Thread Ralph Ronnquist via Dng
Note that the inode number is per file system. If you make a file as an ext4 image, then its root will have inode=2 as well. You can verify that by mounting the file somewhere and then stat that somewhere; or even chroot into that file system (if set up), and use "stat /". Ralph. aitor_czr wrote

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

2020-03-30 Thread aitor_czr
On 30/3/20 20:00, tom wrote: OpenRC natively supports detecting what kind of environment it running in. Be it baremetal, LXC, etc. Perhaps you could use that or at least look at the source code for it. Thanks a lot, tom. ___ Dng mailing list

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

2020-03-30 Thread tom
On Mon, 30 Mar 2020 16:37:40 + aitor_czr wrote: > Hi, > > On 30/3/20 14:09, g4sra via Dng wrote: > > Fails to identify a Devuan Guest which has its own partition > > running in a VM hosted by Fedora. > > Are you referring to the *raw* host hard disk from a guest? > >

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

2020-03-30 Thread aitor_czr
Hi, On 30/3/20 14:09, g4sra via Dng wrote: Fails to identify a Devuan Guest which has its own partition running in a VM hosted by Fedora. Are you referring to the *raw* host hard disk from a guest? http://www.virtualbox.org/manual/ch09.html#rawdisk Aitor.

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

2020-03-30 Thread g4sra via Dng
On 30/03/2020 16:18, aitor_czr wrote: > Hi Svante, > > On 19/2/20 15:17, Svante Signell via Dng wrote: >> Hello, >> >> No replies so far from the devuan-dev list. Maybe with a larger audience I >> can >> get some help! >> >> Thanks! > Checking� whether the *inode* number of the primary

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

2020-03-30 Thread aitor_czr
Hi Svante, On 19/2/20 15:17, Svante Signell via Dng wrote: Hello, No replies so far from the devuan-dev list. Maybe with a larger audience I can get some help! Thanks! Checking  whether the *inode* number of the primary directory in the standard filesystem hierarchy used in the most

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

2020-02-21 Thread Aitor
Hi again, On 21/2/20 12:18, aitor wrote: Hi, En 19 de febrero de 2020 20:36:31 aitor escribió: Sorry, but i haven't any computer to hand so far :( My system can't start X sessions due to the full /home partition (not enough space in my /dev/sda5) and the virtual ttys don't work. Gparted

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

2020-02-21 Thread aitor
Hi, En 19 de febrero de 2020 20:36:31 aitor escribió: Sorry, but i haven't any computer to hand so far :( My system can't start X sessions due to the full /home partition (not enough space in my /dev/sda5) and the virtual ttys don't work. Gparted cannot mount the partition, and

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

2020-02-19 Thread aitor
Hi again Svante, En 19 de febrero de 2020 19:48:02 aitor escribió: En 19 de febrero de 2020 18:42:34 aitor escribió: Hi again, En 19 de febrero de 2020 17:11:28 aitor escribió: Hi Svante, En 19 de febrero de 2020 16:16:39 Svante Signell via Dng escribió: Hello, No replies so

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

2020-02-19 Thread aitor
En 19 de febrero de 2020 18:42:34 aitor escribió: Hi again, En 19 de febrero de 2020 17:11:28 aitor escribió: Hi Svante, En 19 de febrero de 2020 16:16:39 Svante Signell via Dng escribió: Hello, No replies so far from the devuan-dev list. Maybe with a larger audience I can get

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

2020-02-19 Thread aitor
Hi again, En 19 de febrero de 2020 17:11:28 aitor escribió: Hi Svante, En 19 de febrero de 2020 16:16:39 Svante Signell via Dng escribió: Hello, No replies so far from the devuan-dev list. Maybe with a larger audience I can get some help! Thanks! -- eudev: Methods to

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

2020-02-19 Thread aitor
Hi Svante, En 19 de febrero de 2020 16:16:39 Svante Signell via Dng escribió: Hello, No replies so far from the devuan-dev list. Maybe with a larger audience I can get some help! Thanks! -- eudev: Methods to detect if running in a container. De: Svante Signell

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

2020-02-19 Thread Svante Signell via Dng
Hello, No replies so far from the devuan-dev list. Maybe with a larger audience I can get some help! Thanks! --- Begin Message --- Hello, 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