Re: [systemd-devel] Method to solve a "ordering cycle"

2015-09-08 Thread Daniel Spannbauer
Am 09/07/2015 um 02:29 PM schrieb Daniel Spannbauer: > Am 09/07/2015 um 01:56 PM schrieb Lennart Poettering: >> On Mon, 07.09.15 08:10, Daniel Spannbauer (d...@marco.de) wrote: >> >>> Am 09/06/2015 um 03:50 PM schrieb Lennart Poettering: On Wed, 02.09.15 17:08, Daniel Spannbauer

Re: [systemd-devel] Method to solve a "ordering cycle"

2015-09-08 Thread Daniel Spannbauer
Am 09/08/2015 um 08:51 AM schrieb Daurnimator: > On 8 September 2015 at 16:16, Daniel Spannbauer wrote: >> Can I test the system without rebooting it to >> find ordering cycles? > Try `systemd-analyze verify myfile.someunit` Hmmm, this works only for one service. Can I also analyze

Re: [systemd-devel] Possible confusion with socket activation and daemon own configuration

2015-09-08 Thread Francis Moreau
On 09/07/2015 11:28 AM, Richard Maw wrote: > On Sun, Sep 06, 2015 at 12:43:51PM +0200, Francis Moreau wrote: >> How is this handled ? Should we put a big warning in sshd_config to hint >> user to configure ListenAddress in sshd.socket in the case socket >> activation is used ? > >> Or should sshd

[systemd-devel] "File exists warning" on first boot

2015-09-08 Thread Johan x Lundin
Hello, On a fresh boot (no /etc/machine-id yet), I'm getting: systemd[1]: Failed to populate /etc with preset unit settings, ignoring: File exists The files that systemd is complaining about are installed by systemd itself (/etc/systemd/system/getty.target.wants/getty@tty1.service and

Re: [systemd-devel] Method to solve a "ordering cycle"

2015-09-08 Thread Daurnimator
On 8 September 2015 at 16:16, Daniel Spannbauer wrote: > Can I test the system without rebooting it to > find ordering cycles? Try `systemd-analyze verify myfile.someunit` ___ systemd-devel mailing list

Re: [systemd-devel] Cannot start service due to 'systemd-tty-ask-password-agent --watch' not answering

2015-09-08 Thread Yeela Kaplan
- Original Message - > From: "Lennart Poettering" > To: "Yeela Kaplan" > Cc: systemd-devel@lists.freedesktop.org, "Oved Ourfali" > Sent: Sunday, September 6, 2015 4:56:29 PM > Subject: Re: [systemd-devel] Cannot start

Re: [systemd-devel] Possible confusion with socket activation and daemon own configuration

2015-09-08 Thread Richard Maw
On Tue, Sep 08, 2015 at 10:05:05AM +0200, Francis Moreau wrote: > On 09/07/2015 11:28 AM, Richard Maw wrote: > > On Sun, Sep 06, 2015 at 12:43:51PM +0200, Francis Moreau wrote: > >> How is this handled ? Should we put a big warning in sshd_config to hint > >> user to configure ListenAddress in

Re: [systemd-devel] Cannot start service due to 'systemd-tty-ask-password-agent --watch' not answering

2015-09-08 Thread Yeela Kaplan
- Original Message - > From: "Lennart Poettering" > To: "Yeela Kaplan" > Cc: systemd-devel@lists.freedesktop.org, "Oved Ourfali" , > "Dan Kenigsberg" > Sent: Tuesday, September 8, 2015 1:45:54 PM >

Re: [systemd-devel] Cannot start service due to 'systemd-tty-ask-password-agent --watch' not answering

2015-09-08 Thread Lennart Poettering
On Tue, 08.09.15 05:51, Yeela Kaplan (ykap...@redhat.com) wrote: > > This is really a misconception about what > > systemd-tty-ask-password-agent actually does. It's job is to bring > > password queries from system components to the screen while you wait > > for systemctl to finish. This is

[systemd-devel] /dev or /tmp disappears when program is running

2015-09-08 Thread Steven Shiau
Dear systemd developers, I encountered a very weird issue, i.e. the /dev or /tmp disappears when program is running. The client system is nfsroot (diskless), running on the Debian Sid with Linux kernel 4.1.0-2-amd64. The PXE/NFS server is a Debian Live system running NFS server by unfs3 [1], its

[systemd-devel] .nspawn settings files

2015-09-08 Thread Alexey Shabalin
2015-09-08 16:32 GMT+03:00 David Herrmann : > Hi > > Here's the next version of systemd, v226: > * nspawn learnt support for .nspawn settings files, that may > accompany the image files or directories of containers, and > may contain additional settings for the

Re: [systemd-devel] [PATCH] udev: build by-path identifiers for ATA

2015-09-08 Thread David Milburn
Hi Lennart, On 09/06/2015 05:48 AM, Lennart Poettering wrote: On Fri, 04.09.15 10:59, David Milburn (dmilb...@redhat.com) wrote: Please file this issue as github PR: https://github.com/systemd/systemd Ok, did that. +static struct udev_device *handle_scsi_ata(struct udev_device

[systemd-devel] [ANNOUNCE] systemd v226

2015-09-08 Thread David Herrmann
Hi Here's the next version of systemd, v226: https://github.com/systemd/systemd/archive/v226.tar.gz As usual, many bug-fixes and cleanups, but also a rather large set of new features this time, including support for unified cgroups, many DHCP improvements, extensions to the polkit

Re: [systemd-devel] /dev or /tmp disappears when program is running

2015-09-08 Thread Lennart Poettering
On Tue, 08.09.15 20:45, Steven Shiau (ste...@nchc.org.tw) wrote: > Dear systemd developers, > I encountered a very weird issue, i.e. the /dev or /tmp disappears when > program is running. > The client system is nfsroot (diskless), running on the Debian Sid with > Linux kernel 4.1.0-2-amd64. The

Re: [systemd-devel] containers again

2015-09-08 Thread Richard Maw
On Tue, Sep 08, 2015 at 04:14:58PM +0200, Michał Zegan wrote: > Hello. > > Before you stated that containers are not a security feature right > now. It is required to manually shift uids/gids on images etc. Yes. Also, if you uid-shift the container's root directory, using `--private-users`

Re: [systemd-devel] Possible confusion with socket activation and daemon own configuration

2015-09-08 Thread Francis Moreau
On 09/08/2015 12:09 PM, Richard Maw wrote: > On Tue, Sep 08, 2015 at 10:05:05AM +0200, Francis Moreau wrote: >> On 09/07/2015 11:28 AM, Richard Maw wrote: >>> On Sun, Sep 06, 2015 at 12:43:51PM +0200, Francis Moreau wrote: How is this handled ? Should we put a big warning in sshd_config to

[systemd-devel] The $network LSB facility in initscripts

2015-09-08 Thread Michael Chapman
Hi all, I was looking into how the $network LSB facility name was handled by systemd-sysv-generator, in particular with its interaction with network-pre.target. I think the generator might be missing a couple of cases. Currently we have "Provides: $network" translated into:

Re: [systemd-devel] Cannot start service due to 'systemd-tty-ask-password-agent --watch' not answering

2015-09-08 Thread Lennart Poettering
On Tue, 08.09.15 07:56, Yeela Kaplan (ykap...@redhat.com) wrote: > > > Thank you for your response. > > > I have tried running: strace -f systemctl --no-ask-password start > > > supervdsmd.service > > > and it still reproduces. > > > but now intead of: > > > bash(3448)─┬─pstree(3625) > > >

Re: [systemd-devel] /dev or /tmp disappears when program is running

2015-09-08 Thread Steven Shiau
On 9/8/2015 PM 10:05, Lennart Poettering wrote: On Tue, 08.09.15 20:45, Steven Shiau (ste...@nchc.org.tw) wrote: Dear systemd developers, I encountered a very weird issue, i.e. the /dev or /tmp disappears when program is running. The client system is nfsroot (diskless), running on the Debian

Re: [systemd-devel] Cannot start service due to 'systemd-tty-ask-password-agent --watch' not answering

2015-09-08 Thread Yeela Kaplan
- Original Message - > From: "Lennart Poettering" > To: "Yeela Kaplan" > Cc: systemd-devel@lists.freedesktop.org, "Oved Ourfali" , > "Dan Kenigsberg" > Sent: Tuesday, September 8, 2015 4:48:31 PM >

Re: [systemd-devel] Cannot start service due to 'systemd-tty-ask-password-agent --watch' not answering

2015-09-08 Thread Yeela Kaplan
- Original Message - > From: "Lennart Poettering" > To: "Yeela Kaplan" > Cc: systemd-devel@lists.freedesktop.org, "Oved Ourfali" , > "Dan Kenigsberg" > Sent: Tuesday, September 8, 2015 6:23:56 PM >

Re: [systemd-devel] Cannot start service due to 'systemd-tty-ask-password-agent --watch' not answering

2015-09-08 Thread Lennart Poettering
On Tue, 08.09.15 11:29, Yeela Kaplan (ykap...@redhat.com) wrote: > > Hmm? You wrote earlier that systemctl was hanging. Is it hanging or > > isn't it hanging? > > I'm sorry, I used the wrong word. > I meant that it is not blocking. > But it also does not start the service. > So eventually,

Re: [systemd-devel] Cannot start service due to 'systemd-tty-ask-password-agent --watch' not answering

2015-09-08 Thread Yeela Kaplan
- Original Message - > From: "Lennart Poettering" > To: "Yeela Kaplan" > Cc: systemd-devel@lists.freedesktop.org, "Oved Ourfali" , > "Dan Kenigsberg" > Sent: Tuesday, September 8, 2015 6:51:30 PM >

[systemd-devel] containers again

2015-09-08 Thread Michał Zegan
Hello. Before you stated that containers are not a security feature right now. It is required to manually shift uids/gids on images etc. What are other known problems with containers that use ALL namespaces? Like if not counting the problem of uid allocation and manual shifting of them.

[systemd-devel] systemd 225: cannot override nspawn service

2015-09-08 Thread crequill
Hi, With systemd 225 on an archlinux, I cannot override a nspawn service anymore. Example: One container named ci-container, declared as this : # ls -al /etc/systemd/system/machines.target.wants/ total 8 drwxr-xr-x 2 root root 4096 8 sept. 16:06 . drwxr-xr-x 8 root root 4096 8 sept. 16:06 ..

Re: [systemd-devel] Possible confusion with socket activation and daemon own configuration

2015-09-08 Thread Simon McVittie
On 08/09/15 13:55, Francis Moreau wrote: > On 09/08/2015 12:09 PM, Richard Maw wrote: >> I understood that the common configuration for socket activated sshd was to >> have a sshd.service for if you want it to always be running, and a pair of >> sshd@.service and sshd.socket. > > Ah no, with this