[opensuse-packaging] Start service or application at build time?
Hello, i have a question to packaging. Is it allowed to start a service or application in build time to test some things? Particularly when the service is running farther when an error rise up and the build was stop. Imho this should not be done. But iss it generally forbidden? -- Regards Eric -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Feb 27 2019, Eric Schirra <ecsos@opensuse.org> wrote:
Is it allowed to start a service or application in build time to test some things?
As long as you can run the test as an unprivileged user, anything is possible. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 2019-02-27 09:19, schrieb Andreas Schwab:
On Feb 27 2019, Eric Schirra <ecsos@opensuse.org> wrote:
Is it allowed to start a service or application in build time to test some things?
As long as you can run the test as an unprivileged user, anything is possible.
Okay. Anything is possible. But was is, when on error the service doesn't stop and run father? May that this is no problem on public obs. But when i use osc build local the service run father. And what is when the service connects to other services over internet? Regards Eric -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wednesday 2019-02-27 12:07, Eric Schirra wrote:
Okay. Anything is possible. But was is, when on error the service doesn't stop and run father? May that this is no problem on public obs. But when i use osc build local the service run father.
This is why a standard build tries to run inside a virtual machine such that it gets killed. Even with containers that is generally the case (except that /usr/bin/build seems to have rather broken support for containers last time I checked).
And what is when the service connects to other services over internet?
Also no deal: the container/virtual machine has no network routes. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 2019-02-27 20:09, schrieb Jan Engelhardt:
On Wednesday 2019-02-27 12:07, Eric Schirra wrote:
Okay. Anything is possible. But was is, when on error the service doesn't stop and run father? May that this is no problem on public obs. But when i use osc build local the service run father.
This is why a standard build tries to run inside a virtual machine such that it gets killed. Even with containers that is generally the case (except that /usr/bin/build seems to have rather broken support for containers last time I checked).
And what is when the service connects to other services over internet?
Also no deal: the container/virtual machine has no network routes.
Normaly user build packages local with osc build ... Or not? Local the service will run father and service connect to internet. From this perspectiv. Is this allowed? I speak about local build! -- Regards Eric -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Eric Schirra
-
Jan Engelhardt