Re: [systemd-devel] [RFC 05/12] gfx: add sd-gfx library with unifont section

2013-11-30 Thread Shawn Landden
On Sat, Nov 30, 2013 at 9:28 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Nov 27, 2013 at 07:48:40PM +0100, David Herrmann wrote: >> As a first step, we add the required header+build-chain and add the >> font-handling. To avoid heavy font-pipelines in systemd, we only provide >> a statically-s

Re: [systemd-devel] [RFC 05/12] gfx: add sd-gfx library with unifont section

2013-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 27, 2013 at 07:48:40PM +0100, David Herrmann wrote: > As a first step, we add the required header+build-chain and add the > font-handling. To avoid heavy font-pipelines in systemd, we only provide > a statically-sized fallback-font based on GNU-Unifont. Hi David, I don't think that GNU-

Re: [systemd-devel] [RFC 11/12] gfx: add unbuilt GL test

2013-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 27, 2013 at 07:48:46PM +0100, David Herrmann wrote: > The test-gl helper shows how sd_gfx_card can be used to get a full OpenGL > context on the device. It is not added to the build-tools as it requires > mesa and might break on Khronos header-updates (yes, they break API *and* > ABI co

Re: [systemd-devel] [PATCH] fix regression of read_full_file() in fileio.c

2013-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Nov 30, 2013 at 08:02:27PM -0800, Shawn Landden wrote: > my e93c33d4aa broke this stupidly > --- > src/shared/fileio.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/shared/fileio.c b/src/shared/fileio.c > index ac1b409..ede8819 100644 > --- a/src/shared/fileio.c > +++ b/src

[systemd-devel] [PATCH] fix regression of read_full_file() in fileio.c

2013-11-30 Thread Shawn Landden
my e93c33d4aa broke this stupidly --- src/shared/fileio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/fileio.c b/src/shared/fileio.c index ac1b409..ede8819 100644 --- a/src/shared/fileio.c +++ b/src/shared/fileio.c @@ -240,6 +240,7 @@ int read_full_file(const char *fn, char **co

Re: [systemd-devel] [PATCH] systemctl: add "systemctl cat"

2013-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Nov 30, 2013 at 04:09:26PM -0800, Shawn Landden wrote: > --- > TODO | 2 - > man/systemctl.xml | 9 > src/shared/fileio.c | 73 ++- > src/shared/fileio.h | 1 + > src/shared/util.c | 2 + > src/syste

Re: [systemd-devel] build broken on clang

2013-11-30 Thread Shawn Landden
On Sat, Nov 30, 2013 at 5:46 PM, Greg KH wrote: > On Sun, Dec 01, 2013 at 12:38:44AM +0100, Thomas H.P. Andersen wrote: >> Hi, >> >> Since 777d7a6123cbb192a8ff9e4ac5c05b1da84b4217 the build is broken on clang: >> >> src/libsystemd-bus/bus-control.c:686:41: error: fields must have a >> constant siz

Re: [systemd-devel] build broken on clang

2013-11-30 Thread Greg KH
On Sun, Dec 01, 2013 at 12:38:44AM +0100, Thomas H.P. Andersen wrote: > Hi, > > Since 777d7a6123cbb192a8ff9e4ac5c05b1da84b4217 the build is broken on clang: > > src/libsystemd-bus/bus-control.c:686:41: error: fields must have a > constant size: 'variable length array in structure' extension will

Re: [systemd-devel] [systemd-commits] 4 commits - catalog/systemd-fr.catalog catalog/systemd-ru.catalog configure.ac Makefile.am po/.gitignore po/LINGUAS po/ru.po

2013-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 29, 2013 at 02:45:21PM -0500, Colin Walters wrote: > On Fri, 2013-11-29 at 02:39 +0100, Lennart Poettering wrote: > > On Thu, 28.11.13 00:54, Zbigniew Jędrzejewski-Szmek > > (zbys...@kemper.freedesktop.org) wrote: > > > Instead we should add some code to macro.h which turns off the th

[systemd-devel] [PATCH] systemctl: add "systemctl cat"

2013-11-30 Thread Shawn Landden
--- TODO | 2 - man/systemctl.xml | 9 src/shared/fileio.c | 73 ++- src/shared/fileio.h | 1 + src/shared/util.c | 2 + src/systemctl/systemctl.c | 107 ++ 6 file

[systemd-devel] build broken on clang

2013-11-30 Thread Thomas H.P. Andersen
Hi, Since 777d7a6123cbb192a8ff9e4ac5c05b1da84b4217 the build is broken on clang: src/libsystemd-bus/bus-control.c:686:41: error: fields must have a constant size: 'variable length array in structure' extension will never be supported uint8_t buffer[sz];

Re: [systemd-devel] systemd unit to launch perl script/service launches the script but doesn't exit the unit

2013-11-30 Thread jen142
Hi, > amavisd goes to 'background' when started – notice these parts of the > log: > > > amavis[7130]: starting. /usr/local/sbin/amavisd at… > > amavis[7131]: Net::Server: Process Backgrounded > > > > 7131 ?Ss 0:00 /usr/local/sbin/amavisd (master) Well, that's obvious now that you po

Re: [systemd-devel] systemd unit to launch perl script/service launches the script but doesn't exit the unit

2013-11-30 Thread Mantas Mikulėnas
On Sat, Nov 30, 2013 at 10:02 PM, wrote: > Hi > > THanks for the pointers. Using type=simple, and removing the unneeded > cmds, the unit for the 'smtpprox' perl daemon works exactly as expected! > > As a next step, I'm attempting to extend the same method that just > worked to another perl-daemo

Re: [systemd-devel] systemd unit to launch perl script/service launches the script but doesn't exit the unit

2013-11-30 Thread jen142
Hi THanks for the pointers. Using type=simple, and removing the unneeded cmds, the unit for the 'smtpprox' perl daemon works exactly as expected! As a next step, I'm attempting to extend the same method that just worked to another perl-daemon -- the more complex 'amavisd'. @ manual launch

Re: [systemd-devel] [PATCH 0/1] bus: make sure we always return valid error messages

2013-11-30 Thread Lennart Poettering
On Sat, 30.11.13 19:08, Lennart Poettering (lenn...@poettering.net) wrote: > < 0 → temporarily const, deep copies necessary to keep around, no free() on > free > 0 → forever const, shallow copy OK, no free() on free > > 0 → dynamic, deep copy always, free() on free > > I'll make the necessary

Re: [systemd-devel] DBus signal on unit start/stop

2013-11-30 Thread Lennart Poettering
On Sat, 30.11.13 14:18, Ragnar Thomsen (rthoms...@gmail.com) wrote: > Dear systemd developers, > > I am developing a KDE-based frontend for systemd. I currently have a list of > units retrieved via DBus through the ListUnits method. However, the list is > static at the moment. I want it to auto

[systemd-devel] [PATCH 2/2] nspawn: --populate with dynamic libs and one-file scripts

2013-11-30 Thread Shawn Landden
the whitelist of dynamic linker paths comes from clang --- src/nspawn/elf.c| 174 ++- src/nspawn/elf.h| 14 +++- src/nspawn/nspawn.c | 191 +--- src/shared/util.c | 80 ++ sr

[systemd-devel] [PATCH 1/2] nspawn: --populate to run static binaries on empty target directory

2013-11-30 Thread Shawn Landden
nspawn has been called "chroot on steroids". Continue that tradition by supporting target directories that are not root directories. This patch handles the simple case: a static binary. --- Makefile.am| 2 + man/systemd-nspawn.xml | 11 + src/nspawn/elf.c | 127 +

Re: [systemd-devel] [PATCH 0/1] bus: make sure we always return valid error messages

2013-11-30 Thread Lennart Poettering
On Sat, 30.11.13 10:45, Djalal Harouni (tix...@opendz.org) wrote: > Hi list, > > The sd_bus_error_copy() is used by bus clients to copy sd_bus_error > containt. If the 'need_free' field of the sd_bus_error struct of the > source is false, then strdup() will be avoided and the 'name' and > 'messag

[systemd-devel] DBus signal on unit start/stop

2013-11-30 Thread Ragnar Thomsen
Dear systemd developers, I am developing a KDE-based frontend for systemd. I currently have a list of units retrieved via DBus through the ListUnits method. However, the list is static at the moment. I want it to auto-update when units get e.g. started/stopped. I can monitor when units get load

[systemd-devel] [PATCH 1/1] bus: make sure we always return valid error messages

2013-11-30 Thread Djalal Harouni
The sd_bus_error_copy() is used by bus clients to copy sd_bus_error containt. If the 'need_free' field of the sd_bus_error struct of the source is false, then strdup() will be avoided and the 'name' and 'message' pointer fields of the destination are set to the sources's fields. This will be true f

[systemd-devel] [PATCH 0/1] bus: make sure we always return valid error messages

2013-11-30 Thread Djalal Harouni
Hi list, The sd_bus_error_copy() is used by bus clients to copy sd_bus_error containt. If the 'need_free' field of the sd_bus_error struct of the source is false, then strdup() will be avoided and the 'name' and 'message' pointer fields of the destination are set to the sources's fields. This will