Allow short “sessions” for a user with systemdLogout user with systemdUser systemd PulseAudio...

Is it alright to say good afternoon Sirs and Madams in a panel interview?

Would getting a natural 20 with a penalty still count as a critical hit?

Pocket Clarketech

Why can't I see 1861 / 1871 census entries on Freecen website when I can see them on Ancestry website?

Photoshop older default brushes

Icon is not displayed in lwc

Polar contour plot in Mathematica?

Quick destruction of a helium filled airship?

Rotate List by K places

Output with the same length always

Replacing old plug-in 220V range with new hardwire 3-wire electric cooktop: remove outlet or add a plug?

Why does this image of cyclocarbon look like a nonagon?

Programming a recursive formula into Mathematica and find the nth position in the sequence

When and which board game was the first to be ever invented?

Regression when x and y each have uncertainties

Heyawacky: Ace of Cups

Ending a line of dialogue with "?!": Allowed or obnoxious?

What's a good pattern to calculate a variable only when it is used the first time?

Has there ever been a truly bilingual country prior to the contemporary period?

What is the purpose/function of this power inductor in parallel?

Can anybody tell me who this Pokemon is?

What would cause a nuclear power plant to break down after 2000 years, but not sooner?

How does the illumination of the sky from the sun compare to that of the moon?

Adding things to bunches of things vs multiplication



Allow short “sessions” for a user with systemd


Logout user with systemdUser systemd PulseAudio serviceTrouble with dbus and systemd/userHow to disable useless “audit success” log entries in dmesgsystemd service with timer as usersystemd user cannot get user group's abilityHow are PAM sessions applied to systemd user services?journald for systemd user servicesPulseAudio fails to launch in system mode in CentOS 7sudo Replace Current Process?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I'm testing a new gitlab runner I've setup.



If a project just has a very short CI job (or one that fails very quickly, which is probably more realistic outside of testing the setup) systemd starts reporting that "user@999.service" failed, 999 being the uid of gitlab-runner. The job ran as it should, and if it make it slower (e.g. by adding a sleep to it), nothing fails.



Searching for the error leads me to believe it just systemd trying to do something everytime a new "session" starts for that user, and deciding it must be broken because it exits so soon multiple times in a very short period of time. How do I allow that, preferably just for this one user?










share|improve this question

























  • There is a StartLimitBurst=5 by default, which restricts restarts to 5 in 10 seconds, but I don't think it applies to slice and scope Units.

    – meuh
    2 days ago











  • I know there are options to configure how many restarts are acceptable for normal services, but this is not a normal service, and if possible I only want to edit it for this one user.

    – Henrik
    2 days ago


















1















I'm testing a new gitlab runner I've setup.



If a project just has a very short CI job (or one that fails very quickly, which is probably more realistic outside of testing the setup) systemd starts reporting that "user@999.service" failed, 999 being the uid of gitlab-runner. The job ran as it should, and if it make it slower (e.g. by adding a sleep to it), nothing fails.



Searching for the error leads me to believe it just systemd trying to do something everytime a new "session" starts for that user, and deciding it must be broken because it exits so soon multiple times in a very short period of time. How do I allow that, preferably just for this one user?










share|improve this question

























  • There is a StartLimitBurst=5 by default, which restricts restarts to 5 in 10 seconds, but I don't think it applies to slice and scope Units.

    – meuh
    2 days ago











  • I know there are options to configure how many restarts are acceptable for normal services, but this is not a normal service, and if possible I only want to edit it for this one user.

    – Henrik
    2 days ago














1












1








1








I'm testing a new gitlab runner I've setup.



If a project just has a very short CI job (or one that fails very quickly, which is probably more realistic outside of testing the setup) systemd starts reporting that "user@999.service" failed, 999 being the uid of gitlab-runner. The job ran as it should, and if it make it slower (e.g. by adding a sleep to it), nothing fails.



Searching for the error leads me to believe it just systemd trying to do something everytime a new "session" starts for that user, and deciding it must be broken because it exits so soon multiple times in a very short period of time. How do I allow that, preferably just for this one user?










share|improve this question














I'm testing a new gitlab runner I've setup.



If a project just has a very short CI job (or one that fails very quickly, which is probably more realistic outside of testing the setup) systemd starts reporting that "user@999.service" failed, 999 being the uid of gitlab-runner. The job ran as it should, and if it make it slower (e.g. by adding a sleep to it), nothing fails.



Searching for the error leads me to believe it just systemd trying to do something everytime a new "session" starts for that user, and deciding it must be broken because it exits so soon multiple times in a very short period of time. How do I allow that, preferably just for this one user?







systemd users gitlab






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









HenrikHenrik

3,7791 gold badge5 silver badges22 bronze badges




3,7791 gold badge5 silver badges22 bronze badges
















  • There is a StartLimitBurst=5 by default, which restricts restarts to 5 in 10 seconds, but I don't think it applies to slice and scope Units.

    – meuh
    2 days ago











  • I know there are options to configure how many restarts are acceptable for normal services, but this is not a normal service, and if possible I only want to edit it for this one user.

    – Henrik
    2 days ago



















  • There is a StartLimitBurst=5 by default, which restricts restarts to 5 in 10 seconds, but I don't think it applies to slice and scope Units.

    – meuh
    2 days ago











  • I know there are options to configure how many restarts are acceptable for normal services, but this is not a normal service, and if possible I only want to edit it for this one user.

    – Henrik
    2 days ago

















There is a StartLimitBurst=5 by default, which restricts restarts to 5 in 10 seconds, but I don't think it applies to slice and scope Units.

– meuh
2 days ago





There is a StartLimitBurst=5 by default, which restricts restarts to 5 in 10 seconds, but I don't think it applies to slice and scope Units.

– meuh
2 days ago













I know there are options to configure how many restarts are acceptable for normal services, but this is not a normal service, and if possible I only want to edit it for this one user.

– Henrik
2 days ago





I know there are options to configure how many restarts are acceptable for normal services, but this is not a normal service, and if possible I only want to edit it for this one user.

– Henrik
2 days ago










0






active

oldest

votes














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f535739%2fallow-short-sessions-for-a-user-with-systemd%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f535739%2fallow-short-sessions-for-a-user-with-systemd%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...