[systemd-devel] Drop systemd-ui

Shawn Landden shawnlandden at gmail.com
Tue Mar 31 10:58:23 PDT 2015


On Tue, Mar 31, 2015 at 7:19 AM, Dimitri John Ledkov
<dimitri.j.ledkov at intel.com> wrote:
> On 31 March 2015 at 15:08, Shawn Landden <shawnlandden at gmail.com> wrote:
>> On Tue, Mar 31, 2015 at 12:31 AM, "Jóhann B. Guðmundsson"
>> <johannbg at gmail.com> wrote:
>>>
>>>
>>> On 03/31/2015 02:30 AM, Shawn Landden wrote:
>>>>
>>>> On Mon, Mar 30, 2015 at 4:02 PM, "Jóhann B. Guðmundsson"
>>>> <johannbg at gmail.com>  wrote:
>>>>>
>>>>> >
>>>>> >
>>>>> >On 03/30/2015 10:32 PM, Shawn Landden wrote:
>>>>>>
>>>>>> >>
>>>>>> >>On Mon, Mar 30, 2015 at 1:35 PM, "Jóhann B. Guðmundsson"
>>>>>> >><johannbg at gmail.com>  wrote:
>>>>>>>
>>>>>>> >>>
>>>>>>> >>>Heyja
>>>>>>> >>>
>>>>>>> >>>Should this not be dropped and *DE write,integrate/implement an
>>>>>>> >>> graphical
>>>>>>> >>>frontend to systemd for themselves?
>>>>>>> >>>
>>>>>>> >>>It's not like this is receiving the love it needs, hence I'm pretty
>>>>>>> >>> sure
>>>>>>> >>>nobody is using this.
>>>>>>
>>>>>> >>
>>>>>> >>Parts of systemd arn't getting the love they need either, such as
>>>>>> >>systemctl show.
>>>>>
>>>>> >
>>>>> >
>>>>> >For systemd ui the *DE communities are better suited to implement,
>>>>> > integrate
>>>>> >and maintain an ui on top of systemd for their *DE.
>>>>
>>>> https://wiki.gnome.org/Apps/Logs
>>>>
>>>> I see the dbus type problems you are probably getting. Isn't this
>>>> actually a bug in systemd as we are still exporting as systemd1? If we
>>>> are incompatible shouldn't we be systemd2?
>>>
>>>
>>> I'm not following, I'm not getting any bugs.
>>>
>>
>> (systemadm:167530): GLib-GIO-WARNING **: Dropping signal JobNew of
>> type (uos) since the type from the expected interface is (uo)
>>
>> (systemadm:167530): GLib-GIO-WARNING **: Dropping signal JobRemoved of
>> type (uoss) since the type from the expected interface is (uos)
>>
>
>> Are the systemd-ui & systemd out of sync on this machine?
Built against systemd 25, run against systemd 218, I will check out
what is going on....
> Sure the DBus signature of that method was changed in 2012... but
> reverting that commit _now_ will induce yet another API break.
>
> Note that imho the current JobNew/JobRemoved signals are imho incomplete -
>
> See:
> http://lists.freedesktop.org/archives/systemd-devel/2015-January/026928.html
>
> But it is again too late to break the DBus api again. See comments on
> that thread.

How about adding a JobNew2, JobRemoved2 ? This should have happened
last time instead of a break.
>
>
>>
>> commit 06dab8e18aebf822392c7ca66c5bf3c1200fdec8
>> Author: Lennart Poettering <lennart at poettering.net>
>> Date:   Thu May 3 22:53:25 2012 +0200
>>
>>     dbus: include unit name in JobNew/JobRemoved signals
>>
>>     This breaks D-Bus interface slightly, but since the D-Bus API isn't
>>     covered by the interface stability promise this should be OK.
>>
>> diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
>> index 6655f29..b5b5113 100644
>> --- a/src/core/dbus-manager.c
>> +++ b/src/core/dbus-manager.c
>> @@ -198,10 +198,12 @@
>>          "  <signal name=\"JobNew\">\n"                                  \
>>          "   <arg name=\"id\" type=\"u\"/>\n"                            \
>>          "   <arg name=\"job\" type=\"o\"/>\n"                           \
>> +        "   <arg name=\"unit\" type=\"s\"/>\n"                          \
>>          "  </signal>\n"                                                 \
>>          "  <signal name=\"JobRemoved\">\n"                              \
>>          "   <arg name=\"id\" type=\"u\"/>\n"                            \
>>          "   <arg name=\"job\" type=\"o\"/>\n"                           \
>> +        "   <arg name=\"unit\" type=\"s\"/>\n"                          \
>>          "   <arg name=\"result\" type=\"s\"/>\n"                        \
>>          "  </signal>"                                                   \
>>          "  <signal name=\"StartupFinished\">\n"                         \
>>
>>
>>
>>> As far as I know Kay and Lennart wrote that ui as an proof of concept 4
>>> years ago, to get people started on writing their own ui not as something
>>> that should be carried or maintained in longterm in systemd.
>>>
>>> Since then cockpit has emerged as an frontend to systemd as well as
>>> kcmsystemd for KDE and atleast a journal log parser in Gnome.
>>>
>>> What I'm proposing is that we dropped that proof of concept since it's not
>>> being maintained, there exist better alternatives thus it's intended purpose
>>> has been fulfilled already.
>>>
>>> JBG
>>
>>
>>
>> --
>> Liberty equality fraternity or death,
>>
>> Shawn Landden
>> ChurchOfGit.com
>> _______________________________________________
>> systemd-devel mailing list
>> systemd-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
>
>
> --
> Regards,
>
> Dimitri.
>
> https://clearlinux.org
> Open Source Technology Center
> Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.



-- 
Liberty equality fraternity or death,

Shawn Landden
ChurchOfGit.com


More information about the systemd-devel mailing list