[systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread wolfgang.wagner
Hello list, after days of reading man-pages and searching the web i have no solution to my problem, and I am lost in the documentation. My system is Debian Jessie 8.5, upgraded from wheezy 7.11. With Debian wheezy all works fine, after the upgrade to jessie my postgresql-service does not start

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread killermoehre
Am 01.07.2016 um 16:44 schrieb wolfgang.wag...@riwa-gis.de: > Hello list, > > > > after days of reading man-pages and searching the web i have no solution > to my problem, and I am lost in the documentation. > > My system is Debian Jessie 8.5, upgraded from wheezy 7.11. With Debian > wheezy

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread Reindl Harald
Am 01.07.2016 um 16:44 schrieb wolfgang.wag...@riwa-gis.de: Modifications in section [Unit] like : ConditionPathExists=/mnt/daten/postgis Requires=mnt-daten-postgis.mount Before=mnt-daten-postgis.mount nonsense - you explicitly state that it should be startet *before* the mountpoint - when

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread Reindl Harald
please strip your quotes Am 01.07.2016 um 17:44 schrieb killermoehre: just drop a --- [Unit] ReuqiresMountsFor=/mnt/daten/postgis/9.4/main --- into »/etc/systemd/system/postgresql@9.4-main.service.d/wait-for-mountpoint.conf« (create directory and file if necessary) end everything should be

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread Simon McVittie
On 01/07/16 15:44, wolfgang.wag...@riwa-gis.de wrote: > Maybe it is caused by this (ssome lines before in journalctl-log): I don't know whether it's causal, but dependency loops are never good news. > Jul 01 16:09:57 postgis1 systemd[1]: Cannot add dependency job for unit >

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread Lennart Poettering
On Fri, 01.07.16 14:44, wolfgang.wag...@riwa-gis.de (wolfgang.wag...@riwa-gis.de) wrote: > My postgresql.service is this: (unmodified file) > [Unit] > Description=PostgreSQL RDBMS > > [Service] > Type=oneshot > ExecStart=/bin/true > ExecReload=/bin/true > RemainAfterExit=on > > [Install] >

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread Lennart Poettering
On Fri, 01.07.16 17:59, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: > This is fixed in testing (stretch); a backport of the version from > stretch, or introducing native systemd services locally, would probably > help. See for

[systemd-devel] [PATCH] vconsole-setup: updates & fixes

2016-07-01 Thread Michal Soltys
This patch updates vconsole helper to: - correctly handle fonts of heights different than 16 - avoid issues with setfont's -m option And adds: - new vc_max tunable, so user can set how many consoles should be adjusted - iutf8 flag is now set/reset as necessary Short revised code flow overview:

[systemd-devel] vconsole-setup updates & fixes

2016-07-01 Thread Michal Soltys
Hi, This patch fixes issues I mentioned in http://permalink.gmane.org/gmane.comp.sysutils.systemd.devel/36874 And on top of that adds few simple features: - new vc_max tunable, so user can set how many consoles should be adjusted - iutf8 is also being [un]set (per-console) I tried to keep

Re: [systemd-devel] [PATCH] vconsole-setup: updates & fixes

2016-07-01 Thread systemd github import bot
Patchset imported to github. To create a pull request, one of the main developers has to initiate one via: -- Generated by https://github.com/haraldh/mail2git

Re: [systemd-devel] Use of namespaced cgroups (aka Docker in systemd-nspawn containers)

2016-07-01 Thread Lennart Poettering
On Mon, 27.06.16 16:58, Lee Hambley (lee.hamb...@gmail.com) wrote: > Hi List, > > My company is currently conducting research into the most viable container > technology that fits our stack (CentOS based) and given our already > widespread reliance on systemd, I have a personal stake in

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread killermoehre
Am 01.07.2016 um 17:29 schrieb killermoehre: > Am 01.07.2016 um 16:44 schrieb wolfgang.wag...@riwa-gis.de: >> Hello list, >> >> >> >> after days of reading man-pages and searching the web i have no solution >> to my problem, and I am lost in the documentation. >> >> My system is Debian Jessie

Re: [systemd-devel] Use of namespaced cgroups (aka Docker in systemd-nspawn containers)

2016-07-01 Thread Chris Kühl
On Mon, Jun 27, 2016 at 4:58 PM, Lee Hambley wrote: > Hi List, > > My company is currently conducting research into the most viable container > technology that fits our stack (CentOS based) and given our already > widespread reliance on systemd, I have a personal stake in