Re: [systemd-devel] How to deploy systemd-nspawn containers and use for deployment

2016-10-12 Thread Chris Bell
On 2016-10-11 22:29, Samuel Williams wrote: For step 2, what would be the best practice. Rsync the local container to the remote container? That's worked fine for me so far. Just to state the obvious: makes sure the container is stopped before using rsync. __

[systemd-devel] TTL for systemd -> EL7

2016-10-12 Thread Chris Bell
Hey everyone, Not sure if this is the right place to ask, but I figured someone here or at RH would know. What's the TTL for systemd updates on EL7? My Arch box runs 231, but our EL7 (RHEL7.2) boxes are only at 219, where it has been (if I'm not mistaken) since the 7.0 release. Any idea on whe

Re: [systemd-devel] TTL for systemd -> EL7

2016-10-12 Thread Chris Bell
On 2016-10-12 09:28, Reindl Harald wrote: Am 12.10.2016 um 15:08 schrieb Chris Bell: Not sure if this is the right place to ask no Sorry box runs 231, but our EL7 (RHEL7.2) boxes are only at 219, where it has been (if I'm not mistaken) since the 7.0 release not true, there whe

Re: [systemd-devel] TTL for systemd -> EL7

2016-10-12 Thread Chris Bell
On 2016-10-12 11:26, Chris Bell wrote: On 2016-10-12 09:28, Reindl Harald wrote: Am 12.10.2016 um 15:08 schrieb Chris Bell: Not sure if this is the right place to ask no Sorry I'll unsub so this doesn't happen again. Sorry again fo

Re: [systemd-devel] Console screen blanks while long running service executes

2015-08-12 Thread Chris Bell
On 2015-08-12 20:19, Harry Goldschmitt wrote: I just modified my grub kernel command line to add the consoleblank=0 parameter. That isn't the problem. First consoleblank is the kernel screensaver and according to the documentation it kicks in after 15 minutes by default. What I see is a few kern

[systemd-devel] SHM parameters on nspawn containers

2015-08-26 Thread Chris Bell
Hello all, I'm attempting to run GitLab (with postgresql) on a CentOS 7 container with systemd-nspawn. Postgre keeps failing, because it tries to allocate more shared memory than the container seems to allow. I cannot use sysctl to write the kernel.shmmax and kernel.shmall properties, since /

Re: [systemd-devel] SHM parameters on nspawn containers

2015-08-28 Thread Chris Bell
On 2015-08-26 20:28, Florian Koch wrote: Ohne way is to use an More recent Kernel, with 3.16+ the Kernel defaults for These values where changed to unlimeted This worked. I booted the host with a 4.1 kernel, and the values were appropriately high. Thanks! On 2015-08-27 18:18, Lennart Poette

Re: [systemd-devel] bootctl: default mount point for the ESP partition.

2015-09-01 Thread Chris Bell
On 2015-09-01 14:23, Kay Sievers wrote: On Tue, Sep 1, 2015 at 8:08 PM, Tomasz Torcz wrote: On Tue, Sep 01, 2015 at 05:47:57PM +0100, Simon McVittie wrote: On 01/09/15 17:21, Goffredo Baroncelli wrote: AIUI, /boot/efi also makes it a bit easier to have the ESP remain unmounted or read-only whe

[systemd-devel] Machinectl shell/login do not attach to console

2015-10-05 Thread Chris Bell
Hi all, I have an Arch machine with systemd 226, running an Arch container, also with systemd 226. For whatever reason in 225, `machinectl login` stopped working correctly, and in 226 `machinectl login` does not work properly. It attaches to the machine, but does not seem to redirect stdin and

Re: [systemd-devel] Machinectl shell/login do not attach to console

2015-10-12 Thread Chris Bell
On 2015-10-05 12:30, Chris Bell wrote: I have an Arch machine with systemd 226, running an Arch container, also with systemd 226. For whatever reason in 225, `machinectl login` stopped working correctly, and in 226 `machinectl login` does not work properly. It attaches to the machine, but does

Re: [systemd-devel] Machinectl shell/login do not attach to console

2015-10-14 Thread Chris Bell
On 2015-10-12 12:35, arnaud gaboury wrote: On Mon, Oct 5, 2015 at 2:30 PM, Chris Bell wrote: Hi all, I have an Arch machine with systemd 226, which arch version exactly? I had the same issue with 226. It is gone with 226-3. setup: Arch host running Fedora container. 226-3 on host and guest

Re: [systemd-devel] Machinectl shell/login do not attach to console

2015-10-16 Thread Chris Bell
On 2015-10-14 15:58, Lennart Poettering wrote: On Mon, 05.10.15 12:30, Chris Bell (cwb...@narmos.org) wrote: Hi all, I have an Arch machine with systemd 226, running an Arch container, also with systemd 226. For whatever reason in 225, `machinectl login` stopped working correctly, and in

Re: [systemd-devel] Machinectl shell/login do not attach to console

2015-10-16 Thread Chris Bell
On 2015-10-16 13:55, Chris Bell wrote: On 2015-10-14 15:58, Lennart Poettering wrote: On Mon, 05.10.15 12:30, Chris Bell (cwb...@narmos.org) wrote: Hi all, I have an Arch machine with systemd 226, running an Arch container, also with systemd 226. For whatever reason in 225, `machinectl

[systemd-devel] Overriding WantedBy and Alias directives

2015-10-16 Thread Chris Bell
Hello, I currently have a systemd unit that I have to reference a lot which has a rather long name. I would prefer to be able to reference this unit as a short alias. Example: I have a container unit called 'systemd-nspawn@gitlab.service' and I would like to be able to refer to it as simply

[systemd-devel] systemctl edit via polkit results in access denied

2015-10-16 Thread Chris Bell
Hello, I have configured polkit to allow my user to manage basically everything in systemd without requiring sudo or root. Enabling, disabling, reloading, etc all work as expected. However, 'systemctl edit' does not. It does not deny permission for me to use the function, but it fails when tr

Re: [systemd-devel] systemctl edit via polkit results in access denied

2015-10-16 Thread Chris Bell
On 2015-10-16 15:41, Mantas Mikulėnas wrote: On Fri, Oct 16, 2015 at 5:44 PM, Chris Bell wrote: Is there a way for polkit to correct or temporarily override these permissions? Or should I use ACLs to grant write permission to my user for those directories? The problem is that `systemctl edit

Re: [systemd-devel] Machinectl shell/login do not attach to console

2015-10-16 Thread Chris Bell
On 2015-10-16 14:01, Chris Bell wrote: On 2015-10-16 13:55, Chris Bell wrote: On 2015-10-14 15:58, Lennart Poettering wrote: On Mon, 05.10.15 12:30, Chris Bell (cwb...@narmos.org) wrote: Hi all, I have an Arch machine with systemd 226, running an Arch container, also with systemd 226. For

Re: [systemd-devel] Overriding WantedBy and Alias directives

2015-10-16 Thread Chris Bell
On 2015-10-16 18:30, Andrei Borzenkov wrote: 16.10.2015 17:41, Chris Bell пишет: [Install] WantedBy= # To clear out previous wantedby params, though this doesn't seem to work like that. Documentation doesn't say it should, so I'm not surprised.

[systemd-devel] Setting Environment Configuration (Affinity) for Slices

2015-10-19 Thread Chris Bell
Hi all, Is there a way to set an affinity for an entire slice? Say, for example, I have system-webhosted.slice, but I only want the services running within system-webhosted.slice to run on cores 5-8. I can set this individually per service (systemd.exec man page), but it does not indicate tha

Re: [systemd-devel] Setting Environment Configuration (Affinity) for Slices

2015-10-19 Thread Chris Bell
On 2015-10-19 16:54, Lennart Poettering wrote: On Mon, 19.10.15 11:58, Chris Bell (cwb...@narmos.org) wrote: Is there a way to set an affinity for an entire slice? No there is not. But it's definitely our intention to add this, and expose the "cpuset" cgroup cont

Re: [systemd-devel] Setting Environment Configuration (Affinity) for Slices

2015-10-19 Thread Chris Bell
On 2015-10-19 17:16, Chris Bell wrote: Basically, I have a number of services that may or may not be running at any given time, based on the whims of the users. All of these services are hosted services of some type, and occasionally they have been known to eat all CPU cores, lagging everything

Re: [systemd-devel] Setting Environment Configuration (Affinity) for Slices

2015-10-19 Thread Chris Bell
On 2015-10-19 17:24, Lennart Poettering wrote: On Mon, 19.10.15 17:16, Chris Bell (cwb...@narmos.org) wrote: >However, I just had a long chat with Tejun Heo about this, and we came >to the conclusion that's probably safe to expose a minimal subset of >cpuset now, and reus

Re: [systemd-devel] Setting Environment Configuration (Affinity) for Slices

2015-10-19 Thread Chris Bell
On 2015-10-19 14:15, Lennart Poettering wrote: On Mon, 19.10.15 17:37, Chris Bell (cwb...@narmos.org) wrote: >I was mostly wondering about the env var issue you raised... > >>I also think it would be convenient in some cases to be able to use the >>'Nice' and

[systemd-devel] Create complete dependency/boot organization map?

2015-10-23 Thread Chris Bell
Hi all, I was wondering, is there any way to create a complete dependency/ordering map for my entire systemd system? Basically, I'd like to be able to see, relatively clearly, what targets are reached and when, what services are wanted/required by the target, and some dependencies between services

Re: [systemd-devel] Create complete dependency/boot organization map?

2015-10-23 Thread Chris Bell
On 2015-10-23 12:23, Andrei Borzenkov wrote: 23.10.2015 19:02, Chris Bell пишет: Hi all, I was wondering, is there any way to create a complete dependency/ordering map for my entire systemd system? For starting something "systemd --test" shows all static dependencies pu

Re: [systemd-devel] Create complete dependency/boot organization map?

2015-10-23 Thread Chris Bell
On 2015-10-23 12:29, Tomasz Torcz wrote: On Fri, Oct 23, 2015 at 12:02:18PM -0400, Chris Bell wrote: Hi all, I was wondering, is there any way to create a complete dependency/ordering map for my entire systemd system? Basically, I'd like to be able to see, relatively clearly, what target

[systemd-devel] systemd-analyze verify errors

2015-10-23 Thread Chris Bell
Hi all, First off, I apologize for starting so many threads here. I'm working on becoming intimately familiar with systemd and all its capabilities, and have run into numerous questions and issues. This list has been incredibly helpful, thank you all!! Now, the issue. When I use `systemd-ana

[systemd-devel] Stop Job for User Manager

2014-10-22 Thread Chris Bell
d-208, last December. I'm not even sure this is actually a 'bug'. For all I know, it's actually, legitimately, waiting for something. The problem is, I have no idea - and don't know how to find out - what it thinks it's waiting for. Any assistance to that end would also

Re: [systemd-devel] Stop Job for User Manager

2014-10-22 Thread Chris Bell
On Wed, Oct 22, 2014 at 10:49 AM, Chris Bell wrote: > Why 90 seconds? Can this duration be changed? Could I accomplish this with the `JobTimeoutSec' systemd parameter in the `user@.service' unit file? I can't seem to force my system to get stuck on a stop job at the moment

Re: [systemd-devel] Stop Job for User Manager

2014-10-23 Thread Chris Bell
sistance with this. If there's a better place to have this discussion, please let me know. Chris Bell Ph.D. Student University of South Florida College of Engineering Department of Computer Science and Engineering NarMOS Research Team On Wed, Oct 22, 2014 at 3:45 PM, Chris Bell wrote:

Re: [systemd-devel] [systemd-commits] man/pam_systemd.xml

2014-10-23 Thread Chris Bell
removed when the user has logged >+ out of all active sessions. If a user It's a bit more verbose, but I think it's more precise, and it completely sidesteps the 'singular they' debate (which I'll refrain from weighing in on)

Re: [systemd-devel] [systemd-commits] man/pam_systemd.xml

2014-10-24 Thread Chris Bell
On Fri, Oct 24, 2014 at 4:17 AM, Daniel Mack wrote: > Could you please send a patch that does that change? Here you go! >From 517599692ed194156e8277e310270f4407d0d124 Mon Sep 17 00:00:00 2001 From: Chris Bell Date: Fri, 24 Oct 2014 05:22:36 -0400 Subject: [PATCH] sidestepped gender-n