[systemd-devel] [PATCH 1/1] tests: skip test for test-unit-file when executed without privileges

Christian Hesse list at eworm.de
Tue Jul 30 05:19:55 PDT 2013

Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> on Tue, 2013/07/30 13:52:
> On Tue, Jul 30, 2013 at 11:50:54AM +0200, Christian Hesse wrote:
> > Hello everybody,
> > 
> > for me this test fails and I think it is correct to skip it in case
> > permission is denied. Patch attached.
> It *is* an error in the installation or environment if
> unit files cannot be read.

Stupid me... Please ignore this request. ;)

I had a service file installed to /usr/lib/systemd/system/ with permissions
just set to 0600, thus making the test fail for unprivileged users.
Sorry for the noise.
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130730/bff5ac51/attachment-0001.pgp>

More information about the systemd-devel mailing list