summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-04Fix typo: SetChasis -> SetChassisDavid Coppa
2013-12-04TODO: add networkd entriesTom Gundersen
2013-12-04networkd: add link-sense and simplify state-machine a bitTom Gundersen
This listens to rtnetlink for changes to IFF_UP and IFF_LOWER_UP (link sense). The latter is simply logged at the moment, but will be useful once we add dhcp support.
2013-12-04rtnl: add link_get_flagsTom Gundersen
2013-12-04rtnl: add callback supportTom Gundersen
sd_rtnl_add_match allows you to add a callback function for when given types of messages are received.
2013-12-04rtnl: don't ignore broadcast messagesTom Gundersen
2013-12-04libsystemd-bus: catch up with latest kdbus list query changesKay Sievers
2013-12-03trivial coding style clean upsThomas Hindoe Paaboel Andersen
- Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { }
2013-12-03sd-memfd: use assert_returnThomas Hindoe Paaboel Andersen
2013-12-03bus: fix parsing of AcquireName() responseLennart Poettering
2013-12-03bus: don't make use of the private bus socket if kdbus is availableLennart Poettering
2013-12-03core: use normal library call to query list of current namesLennart Poettering
2013-12-03bus: rework sd_bus_list_names() to return two lists for acquired and ↵Lennart Poettering
activatable names
2013-12-03bus: internalize a lot of protocol definitionsLennart Poettering
We shouldn export what isn't necessary or useful to clients, so let's add the protocol definitions we only need internally into a private header.
2013-12-03journal: fail silently in sd_j_sendv() if journal is unavailableZbigniew Jędrzejewski-Szmek
"syslog(3) and sd_journal_print() may largely be used interchangeably functionality-wise" according to sd_journal_print(3). This socket should be always available except in rare circumstatances, and we don't random applications to fail on logging, so let's do what syslog did. The alternative of forcing all callers to do error handling for this rare case doesn't really have any benefits, since if they can't log there isn't much they can do anyway. https://bugzilla.redhat.com/show_bug.cgi?id=1023041
2013-12-03bus: make sd_bus_request_name() and sd_bus_release_name() behave more like ↵Lennart Poettering
other calls Instead of returning an enum of return codes, make them return error codes like kdbus does internally. Also, document this behaviour so that clients can stick to it. (Also rework bus-control.c to always have to functions for dbus1 vs. kernel implementation of the various calls.)
2013-12-03macro: better make IN_SET() macro use const arraysLennart Poettering
2013-12-03libsystemd-bus: catch up with latest kdbus changesDaniel Mack
2013-12-03units: ship busname units for the bus activated services we shipLennart Poettering
2013-12-02catalog: rename files to specify language in the filenameZbigniew Jędrzejewski-Szmek
2013-12-02catalog: determine language from the filenameZbigniew Jędrzejewski-Szmek
2013-12-02systemd: treat reload failure as failureZbigniew Jędrzejewski-Szmek
systemctl reload "suceeded" on stopped units, but it is documented to fail in this case. https://bugzilla.redhat.com/show_bug.cgi?id=1036845
2013-12-03dbus1: make gcc shut upLennart Poettering
2013-12-03libsystemd-bus: catch up with latest kdbus changesDaniel Mack
2013-12-03units: create busnames.target for user sessions tooLennart Poettering
2013-12-03dbus1: hook busnames.target into normal boot if kdbus is enabledLennart Poettering
2013-12-03bus: skip unit file generation for systemd itselfLennart Poettering
2013-12-03units: install busnames.target by defaultLennart Poettering
2013-12-03bus: add generator that turns old dbus1 activation files into .busname + ↵Lennart Poettering
.service units
2013-12-02bus: add .busname unit type to implement kdbus-style bus activationLennart Poettering
2013-12-02bus: make sure we check for "incompatible" flags negotiated with kernel kdbusLennart Poettering
2013-12-02core: extra paranoia when deserializing kdbus fdLennart Poettering
2013-12-02macro: add a macro to test whether a value is in a specified listLennart Poettering
Introduce IN_SET() macro to nicely check whether a value a is one of a few listed values. This makes writing this: if (a == 1 || a == 7 || a == 8 || a == 9) nicer, by allowing this: if (IN_SET(a, 1, 7, 8, 9)) This is particularly useful for state machine enums.
2013-12-02Use assert_return in more of the public APIThomas Hindoe Paaboel Andersen
2013-12-02libsystemd-bus: catch up with latest kdbus changesDaniel Mack
2013-12-02nspawn: make sure /dev/kdbus in the container is world accessibleLennart Poettering
2013-12-02nspawn: make kdbus namespaces actually workLennart Poettering
2013-12-02busctl: add command to dump creds of a peer or pidLennart Poettering
(also, rename _SD_BUS_CREDS_MAX to _SD_BUX_CRED_ALL, since "MAX" so far was used to indicate one higher than the highest valid value, and this is not correct here.)
2013-12-02Display synthetic message serial number in a more readable format than ↵Lukasz Skalski
(uint32_t) -1 Serial=4294967295 field in message dump generated by bus_message_dump() function for synthetic messages isn't good readable.
2013-12-02bus: be nice to LLVM and don't embedd a VLA in a unionLennart Poettering
2013-12-02bus: when replying to an incoming message and the vtable contains the ↵Lennart Poettering
expected return signature generate an error if the response message doesn't match it
2013-12-01service: remove unneccesary Socket.got_socket_fdShawn Landden
2013-12-01build-sys: allow building systemctl with --disable-logindMarcel Holtmann
When logind is disabled, do not attempt to link against the non-existing libsystemd-login-internal.la library.
2013-12-01bus: bus_open_user_systemd() fall back to bus if runtime dir is not setKay Sievers
2013-12-01catalog,po: add Italian translationDaniele Medri
2013-12-01util: add greedy_realloc0()David Herrmann
Compared to greedy_realloc(), this sets all newly allocated memory to 0. As the old variant has been used a lot for string-handling, we avoid changing it as clearing memory is not needed there.
2013-12-01logind: fix "CanGraphical" attribute to return correct valueDavid Herrmann
We should return seat_can_graphical() instead of seat_can_tty() for the public dbus CanGraphical attribute. This used to work, but the dbus -> sd-bus conversion introduced this regression.
2013-11-30fix regression of read_full_file() in fileio.cShawn Landden
my e93c33d4aa broke this stupidly
2013-11-30shell-completion: systemctl catZbigniew Jędrzejewski-Szmek
Also update -H help string to follow the binaries.
2013-11-30systemctl: do not show SourcePath when FragmentPath cannot be foundZbigniew Jędrzejewski-Szmek
Those files can be in a completely deferent format and also arbitrarily long, and usually contain information about other stuff. If we ever add SourceLine= or SourceLines= in addition to SourcePath=, and can show the relevant information only, this commit can be reverted.