---
man/systemd-analyze.xml |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index 960ae7d..c2ff9cc 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -102,7 +102,7 @@
I would like to document the native journald API with some usage
examples. Would this be best handled in the form of a man page,
comments in the main header file, or elsewhere?
--
David Strauss
| da...@davidstrauss.net
___
systemd-devel mailing list
Am Montag, den 25.06.2012, 15:31 +0200 schrieb Koen Kooi:
> Op 25 jun. 2012, om 15:25 heeft Paul Menzel het volgende geschreven:
> > how can I disable init.d scripts which systemd loads for compatibility
> > reasons?
> >
> >$ ls /etc/init.d/motd (or any other init.d script)
> >/e
Oh, and I'll look at PyString_AsStringAndSize in a bit. A Python 3
patch would be most welcome as a pull request on GitHub.
--
David Strauss
| da...@davidstrauss.net
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.free
Fixed on GitHub:
diff --git a/journald.c b/journald.c
index 0efc223..b106c52 100644
--- a/journald.c
+++ b/journald.c
@@ -17,6 +17,12 @@ journald_send(PyObject *self, PyObject *args) {
for (i = 0; i < argc; ++i) {
PyObject *item = PyTuple_GetItem(args, i);
char * stritem = P
I'll figure it out. :-)
On Jun 26, 2012 10:32 AM, "Zbigniew Jędrzejewski-Szmek"
wrote:
> On 06/26/2012 05:31 PM, Zbigniew Jędrzejewski-Szmek wrote:
> > PyObject *item = PyTuple_GetItem(args, i);
> > char * stritem = PyString_AsString(item);
> > iov[i].iov_base = stritem;
> > iov[i].iov_len = strl
On 06/26/2012 05:31 PM, Zbigniew Jędrzejewski-Szmek wrote:
> PyObject *item = PyTuple_GetItem(args, i);
> char * stritem = PyString_AsString(item);
> iov[i].iov_base = stritem;
> iov[i].iov_len = strlen(stritem);
>
> I think that there's a problem here -- PyString_AsString will return
> NULL if it
On 06/26/2012 10:31 AM, David Strauss wrote:
> I spent a bit of time on IRC earlier today trying to figure out how to
> log to journald fields using Python. Apparently, that requires use of
> the native journald C API.
>
> So, I wrote the necessary glue:
> https://github.com/davidstrauss/journald-
Hi,
any news if this can be accepted? Should I resend?
1/4 Move UnitType definitions from core/unit.c to shared/unit-name.c
2/4 systemctl: check the argument to -t for invalid values
3/4 Move UnitLoadState definitions from core/unit.c to shared/unit-name.c
4/4 systemctl: filter shown units by thei
Sebastian Tramp wrote:
> On Fri, May 04, 2012 at 10:23:25AM +0200, Sebastian Tramp wrote:
>> On Thu, May 03, 2012 at 12:29:04AM +0200, Lennart Poettering wrote:
>> > On Wed, 02.05.12 22:19, Sebastian Tramp (m...@sebastian.tramp.name)
>> > wrote:
>> >
>> > > Hi,
>> > >
>> > > I want to start some
On Mon, 25.06.12 22:50, Tom Gundersen (t...@jklm.no) wrote:
> ---
> man/systemd-user-sessions.service.xml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man/systemd-user-sessions.service.xml
> b/man/systemd-user-sessions.service.xml
> index 338b701..5c65eb1 100644
> --
On Mon, 25.06.12 23:04, Paul Menzel (paulepan...@users.sourceforge.net) wrote:
> index 69f9a27..e29c1a0 100644
> --- a/man/bootup.xml
> +++ b/man/bootup.xml
> @@ -73,7 +73,7 @@
> storage technologies backing them), and then
> (optionally) jumps back into the initr
On Tue, 26.06.12 01:52, David Strauss (da...@davidstrauss.net) wrote:
> diff --git a/src/systemd/sd-journal.h b/src/systemd/sd-journal.h
> index 85f8604..792e31f 100644
> --- a/src/systemd/sd-journal.h
> +++ b/src/systemd/sd-journal.h
> @@ -35,7 +35,7 @@ extern "C" {
> #endif
>
> /* Write to da
Gmail may have mangled the text with wrapping. Here is the same
trivial fix as an attachment.
--David
typo.patch
Description: Binary data
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/s
diff --git a/src/systemd/sd-journal.h b/src/systemd/sd-journal.h
index 85f8604..792e31f 100644
--- a/src/systemd/sd-journal.h
+++ b/src/systemd/sd-journal.h
@@ -35,7 +35,7 @@ extern "C" {
#endif
/* Write to daemon */
-int sd_journal_print(int piority, const char *format, ...)
__attribute__ ((for
I spent a bit of time on IRC earlier today trying to figure out how to
log to journald fields using Python. Apparently, that requires use of
the native journald C API.
So, I wrote the necessary glue:
https://github.com/davidstrauss/journald-python
You can install it using PIP or any preferred set
16 matches
Mail list logo