Re: [systemd-devel] systemd - how to run system service by user target

2016-10-19 Thread Kamil Jońca
Lennart Poettering writes: > On Wed, 19.10.16 12:46, Kamil Jońca (kjo...@o2.pl) wrote: > >> >> Assume we have openvpn.service. >> This service neccessary only when I want to connect to my work from >> home. >> >> Is it possible to make user target which will be

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

2016-10-19 Thread Nathan Williams
Fwiw, if you're using Chef, the impending release of v3 of the systemd cookbook has a machine_image and a machine resource, which use importd and nspawn under the hood. On Wed, Oct 19, 2016, 3:45 PM Lennart Poettering wrote: > On Thu, 13.10.16 01:09, Brian Kroth

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

2016-10-19 Thread Lennart Poettering
On Thu, 13.10.16 10:22, Samuel Williams (space.ship.travel...@gmail.com) wrote: > I'm not sure if this belongs in machinectl, but it would be interesting to > explore some kind of deployment mechanism. e.g. machinectl deploy > local-container-name ssh://remote-server:container-name because I'm

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

2016-10-19 Thread Lennart Poettering
On Wed, 12.10.16 15:29, Samuel Williams (space.ship.travel...@gmail.com) wrote: > Hello. > > I've been thinking about how I could use systemd-nspawn containers. > > Ideally, we have a local container which can then be pushed to one or more > VPS instances. > > An example workflow might look

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

2016-10-19 Thread Lennart Poettering
On Thu, 13.10.16 01:09, Brian Kroth (bpkr...@gmail.com) wrote: > Seems really dependent upon the container layout as to what's the most > appropriate way of doing that. For instance, if the underlying fs of the > source container is something like btrfs or zfs you could imagine doing a >

Re: [systemd-devel] keyscript support in systemd-cryptsetup

2016-10-19 Thread Lennart Poettering
On Wed, 19.10.16 16:10, Ryan Castellucci (ryan.castellucci+systemd-de...@gmail.com) wrote: > It looks like my use case could be supported with a "Password Agent", and > it seems that it would be possible to wrap the existing keyscript stuff > (though the interface is much more complicated). > >

Re: [systemd-devel] keyscript support in systemd-cryptsetup

2016-10-19 Thread Ryan Castellucci
It looks like my use case could be supported with a "Password Agent", and it seems that it would be possible to wrap the existing keyscript stuff (though the interface is much more complicated). How should a password agent be started? Is there a way to disable particular password agents? On Wed,

Re: [systemd-devel] systemd 210 - mount/umount/remount

2016-10-19 Thread Lennart Poettering
On Fri, 14.10.16 12:06, Michael Hirmke (camp...@mike.franken.de) wrote: > 1. How can I prevent systemd from mounting a manually unmounted >partition? The partiton should be mounted automatically during system >start, though. There were some changes related to this in more recent versions

Re: [systemd-devel] BUG: Huge Problem: systemd does not mount all filesystems on Boot

2016-10-19 Thread Lennart Poettering
On Fri, 14.10.16 11:11, Juergen Sauer (juergen.sa...@automatix.de) wrote: > Moin, > > Systemd 231, Archlinux current > > The concept is /home is to be mounted from nfs server. Works. > For performance reasons (email thunderbird, kde/plasma 5.8.x i.e odr > gnome are unusable if home is pure nfs)

Re: [systemd-devel] keyscript support in systemd-cryptsetup

2016-10-19 Thread Lennart Poettering
On Wed, 19.10.16 15:28, Ryan Castellucci (ryan.castellucci+systemd-de...@gmail.com) wrote: > Systemd broke a use case that people were actively using, and cryptsetup > comes with scripts to support. Humm, the keyscript thing was a Debian-specific extension. It was never supported on systemd or

Re: [systemd-devel] keyscript support in systemd-cryptsetup

2016-10-19 Thread Ryan Castellucci
Systemd broke a use case that people were actively using, and cryptsetup comes with scripts to support. There were complaints about this four years ago, you rejected a patch that would have resolved it, and it still has not been addressed. If you won't merge the patch that addresses this, can

Re: [systemd-devel] systemd - how to run system service by user target

2016-10-19 Thread Lennart Poettering
On Wed, 19.10.16 12:46, Kamil Jońca (kjo...@o2.pl) wrote: > > Assume we have openvpn.service. > This service neccessary only when I want to connect to my work from > home. > > Is it possible to make user target which will be automatically run this > service? Whenever a user logs in it will get

Re: [systemd-devel] keyscript support in systemd-cryptsetup

2016-10-19 Thread Lennart Poettering
On Wed, 19.10.16 11:20, Ryan Castellucci (ryan.castellucci+systemd-de...@gmail.com) wrote: > What will it take to get keyscript support in systemd-cryptsetup fixed? > > This is a nasty regression for people who were using that functionality, > and it necessitating some pretty ugly workarounds.

[systemd-devel] keyscript support in systemd-cryptsetup

2016-10-19 Thread Ryan Castellucci
What will it take to get keyscript support in systemd-cryptsetup fixed? This is a nasty regression for people who were using that functionality, and it necessitating some pretty ugly workarounds. I understand from previous threads that there's an aversion to restoring this without some more

[systemd-devel] systemd - how to run system service by user target

2016-10-19 Thread Kamil Jońca
Assume we have openvpn.service. This service neccessary only when I want to connect to my work from home. Is it possible to make user target which will be automatically run this service? KJ -- http://wolnelektury.pl/wesprzyj/teraz/ Alas, I am dying beyond my means. -- Oscar