Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Sun, Nov 10, 2013 at 10:17 PM, Lennart Poettering lenn...@poettering.net wrote: On Sat, 09.11.13 12:56, Thomas H.P. Andersen (pho...@gmail.com) wrote: On Tue, Nov 5, 2013 at 3:22 AM, Kay Sievers k...@vrfy.org wrote: On Fri, Nov 1, 2013 at 4:50 PM, Kay Sievers k...@vrfy.org wrote: [update] Simon, Zbigniew, Marc-Antoine you still work/plan to work on the stuff listed below? Please let us know. Thanks, Kay - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - pam_systemd Zbigniew: I'll do pam_systemd - systemctl Marc-Antoine Perennou: I've goy it nearly half finished by now, should be done by next week end. - systemd Lennart: I am going to work on systemd itself. Is the port of systemd started? I have I patch that highlights in the plot how much of systemd's startup time is spent on setting up security modules. It touches some parts in src/core. Should I wait with the commit to avoid conflicting with the big sd-port commit? I plan to start working on porting PID 1 over tomorrow or so. But of course this will primarily focus only on the dbus bits, the rest should stay relatively stable anyway. Just because I have a bigger commit in the works other folks shouldn't stop commiting things, really... The start/finish timestamps for the security setup are added to the dbus interface so I knew that it would conflict. Anyway, I will commit it tonight, thanks. For the curious here is a few plots after with the extra info from different computers/vm: VM: https://people.gnome.org/~thomashpa/plots/vm.svg SSD: https://people.gnome.org/~thomashpa/plots/ssd.svg HDD: https://people.gnome.org/~thomashpa/plots/hdd.svg The final patch uses the description Setting up security module instead of just Security. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Tue, Nov 5, 2013 at 3:22 AM, Kay Sievers k...@vrfy.org wrote: On Fri, Nov 1, 2013 at 4:50 PM, Kay Sievers k...@vrfy.org wrote: [update] Simon, Zbigniew, Marc-Antoine you still work/plan to work on the stuff listed below? Please let us know. Thanks, Kay - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - pam_systemd Zbigniew: I'll do pam_systemd - systemctl Marc-Antoine Perennou: I've goy it nearly half finished by now, should be done by next week end. - systemd Lennart: I am going to work on systemd itself. Is the port of systemd started? I have I patch that highlights in the plot how much of systemd's startup time is spent on setting up security modules. It touches some parts in src/core. Should I wait with the commit to avoid conflicting with the big sd-port commit? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Tue, Nov 5, 2013 at 3:22 AM, Kay Sievers k...@vrfy.org wrote: [update] Simon, are you still work/plan to work on loginctl? Please let us know. Thanks, Kay - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - systemctl Marc-Antoine Perennou: I've goy it nearly half finished by now, should be done by next week end. - systemd Lennart: I am going to work on systemd itself. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Fri, Nov 1, 2013 at 4:50 PM, Kay Sievers k...@vrfy.org wrote: [update] Simon, Zbigniew, Marc-Antoine you still work/plan to work on the stuff listed below? Please let us know. Thanks, Kay - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - pam_systemd Zbigniew: I'll do pam_systemd - systemctl Marc-Antoine Perennou: I've goy it nearly half finished by now, should be done by next week end. - systemd Lennart: I am going to work on systemd itself. - test-inhibit.c ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On 10/30/2013 03:48 AM, Kay Sievers wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - timedatectl - systemd-logind - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - localectl Kay will do that next - hostnamectl - pam_systemd Zbigniew: I'll do pam_systemd - systemctl I'll have a look at systemctl. Seems like a good way to get familiar with the new API. Might take me some days to finish it though. Daniel ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Sunday, November 3, 2013, Daniel Mack wrote: On 10/30/2013 03:48 AM, Kay Sievers wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.orgjavascript:; wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - timedatectl - systemd-logind - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - localectl Kay will do that next - hostnamectl - pam_systemd Zbigniew: I'll do pam_systemd - systemctl I'll have a look at systemctl. Seems like a good way to get familiar with the new API. Might take me some days to finish it though. Daniel Yep, I've goy it nearly half finished by now, should be done by next week end. Marc-Antoine ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On 11/03/2013 03:12 PM, Marc-Antoine Perennou wrote: On Sunday, November 3, 2013, Daniel Mack wrote: On 10/30/2013 03:48 AM, Kay Sievers wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org javascript:; wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - timedatectl - systemd-logind - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - localectl Kay will do that next - hostnamectl - pam_systemd Zbigniew: I'll do pam_systemd - systemctl I'll have a look at systemctl. Seems like a good way to get familiar with the new API. Might take me some days to finish it though. Daniel Yep, I've goy it nearly half finished by now, should be done by next week end. Ah, sorry. Missed your post on that. Alright, I'll trash my bits then and let you finished your work :) Daniel ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Wed, 30.10.13 23:08, Kay Sievers (k...@vrfy.org) wrote: On Wed, Oct 30, 2013 at 3:48 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - systemd-logind I am knee-deep in converting logind now. - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - hostnamectl Peeters Simon's (patch on the list, needs rebase) - pam_systemd Zbigniew: I'll do pam_systemd - systemctl - systemd And then I am going to work on systemd itself. systemctl is still up for grabs! Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Fri, Nov 1, 2013 at 4:44 PM, Lennart Poettering lenn...@poettering.net wrote: [update] - systemd-logind Lennart: I am knee-deep in converting logind now. - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - hostnamectl Peeters Simon's (patch on the list, needs rebase) - pam_systemd Zbigniew: I'll do pam_systemd - systemctl Marc-Antoine Perennou: I'll do systemctl if noone else wants to. - systemd Lennart: And then I am going to work on systemd itself. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Wed, Oct 30, 2013 at 3:48 AM, Kay Sievers k...@vrfy.org wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - timedatectl I will do timedatectl - systemd-logind - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - localectl Kay will do that next - hostnamectl - pam_systemd Zbigniew: I'll do pam_systemd - systemctl - systemd ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Wed, Oct 30, 2013 at 3:48 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - systemd-logind - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - hostnamectl Peeters Simon's (patch on the list, needs rebase) - pam_systemd Zbigniew: I'll do pam_systemd - systemctl - systemd ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Wed, Oct 30, 2013 at 5:36 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: On 30 October 2013 11:48, Kay Sievers k...@vrfy.org wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. I have some work in progress for hostnamectl Simon Peeters sent this to the list, but you probably noticed that already. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On 31 October 2013 07:10, Kay Sievers k...@vrfy.org wrote: On Wed, Oct 30, 2013 at 5:36 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: On 30 October 2013 11:48, Kay Sievers k...@vrfy.org wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. I have some work in progress for hostnamectl Simon Peeters sent this to the list, but you probably noticed that already. Thanks, Kay Yep, saw that. I'll do systemctl if noone else wants to. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - timedatectl - systemd-logind - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - localectl Kay will do that next - hostnamectl - pam_systemd Zbigniew: I'll do pam_systemd - systemctl - systemd ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On 30 October 2013 11:48, Kay Sievers k...@vrfy.org wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - timedatectl - systemd-logind - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - localectl Kay will do that next - hostnamectl - pam_systemd Zbigniew: I'll do pam_systemd - systemctl - systemd ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel I have some work in progress for hostnamectl ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
sorry for te confusion in my previous mail, i meant: I'll take a shot at hostnamectl (probably loginctl afterwards) and my hostnamectl patches are actualy just finished (i will mail them in a couple of minutes) Simon 2013/10/30 Marc-Antoine Perennou marc-anto...@perennou.com: On 30 October 2013 11:48, Kay Sievers k...@vrfy.org wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - timedatectl - systemd-logind - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - localectl Kay will do that next - hostnamectl - pam_systemd Zbigniew: I'll do pam_systemd - systemctl - systemd ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel I have some work in progress for hostnamectl ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
2013/10/23 Kay Sievers k...@vrfy.org: Most of the original plan outlined a couple of months ago is still valid: http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html We now have all the major pieces to port to the new library available in the systemd tree. Converting tools is half way mechanical replacing, the other half rewriting the bus hookup. Things get a lot shorter and more readable, and the bus-related code is usually less than half the size. The core piece of services which export things to the bus look like this now: http://cgit.freedesktop.org/systemd/systemd/tree/src/locale/localed.c#n1040 To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - systemd-analyze thomasandersen kay: ok. I could attempt to do a sd-bus patch for it since I am doing other changes there anyway? - timedatectl - systemd-machined - machinectl pending patch from Tom: http://lists.freedesktop.org/archives/systemd-devel/2013-October/013772.html - systemd-logind - loginctl - localectl Kay will do that next - hostnamectl I'll take a shot at this (probably loginctl afterwards) - pam_systemd - systemctl - systemd Simon ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
Most of the original plan outlined a couple of months ago is still valid: http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html We now have all the major pieces to port to the new library available in the systemd tree. Converting tools is half way mechanical replacing, the other half rewriting the bus hookup. Things get a lot shorter and more readable, and the bus-related code is usually less than half the size. The core piece of services which export things to the bus look like this now: http://cgit.freedesktop.org/systemd/systemd/tree/src/locale/localed.c#n1040 To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - systemd-analyze thomasandersen kay: ok. I could attempt to do a sd-bus patch for it since I am doing other changes there anyway? - timedatectl - systemd-machined - machinectl pending patch from Tom: http://lists.freedesktop.org/archives/systemd-devel/2013-October/013772.html - systemd-logind - loginctl - localectl Kay will do that next - hostnamectl - pam_systemd - systemctl - systemd Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Wed, Oct 23, 2013 at 01:22:39AM +0200, Kay Sievers wrote: Most of the original plan outlined a couple of months ago is still valid: http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html We now have all the major pieces to port to the new library available in the systemd tree. Converting tools is half way mechanical replacing, the other half rewriting the bus hookup. Things get a lot shorter and more readable, and the bus-related code is usually less than half the size. The core piece of services which export things to the bus look like this now: http://cgit.freedesktop.org/systemd/systemd/tree/src/locale/localed.c#n1040 To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - systemd-analyze thomasandersen kay: ok. I could attempt to do a sd-bus patch for it since I am doing other changes there anyway? - timedatectl - systemd-machined - machinectl pending patch from Tom: http://lists.freedesktop.org/archives/systemd-devel/2013-October/013772.html - systemd-logind - loginctl - localectl Kay will do that next - hostnamectl - pam_systemd I'll do pam_systemd — I want to understand how it works ;) - systemctl - systemd Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
Just to be clear, this is step b/, i.e. systemd will still use dbus-daemon? Is there an ETA for when kdbus will land in the kernel, i.e. step c/? 2013/10/23 Kay Sievers k...@vrfy.org: Most of the original plan outlined a couple of months ago is still valid: http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html We now have all the major pieces to port to the new library available in the systemd tree. Converting tools is half way mechanical replacing, the other half rewriting the bus hookup. Things get a lot shorter and more readable, and the bus-related code is usually less than half the size. The core piece of services which export things to the bus look like this now: http://cgit.freedesktop.org/systemd/systemd/tree/src/locale/localed.c#n1040 To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - systemd-analyze thomasandersen kay: ok. I could attempt to do a sd-bus patch for it since I am doing other changes there anyway? - timedatectl - systemd-machined - machinectl pending patch from Tom: http://lists.freedesktop.org/archives/systemd-devel/2013-October/013772.html - systemd-logind - loginctl - localectl Kay will do that next - hostnamectl - pam_systemd - systemctl - systemd Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus
On Wed, Oct 23, 2013 at 1:55 AM, Michael Biebl mbi...@gmail.com wrote: Just to be clear, this is step b/, i.e. systemd will still use dbus-daemon? Yes. Only the link-dependency on the current D-Bus library will go, but the runtime dependency on the daemon will stay as it is. Is there an ETA for when kdbus will land in the kernel, i.e. step c/? No specific plan, rough idea is mid of next year; earliest. The official answer though, as always is: when it's ready. :) Some stuff has changed from the original mail, we might not touch/port libdbus to kdbus, but only provide a socket-activated bridging process with systemd. This bridge will take care of the raw socket format of the current libdbus. It will also allow to run java, c#, ... clients which never used libdbus but did their own raw socket communication. Gdbus though is still expected to get a native kdbus interface. Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel