summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* add .vimrcKay Sievers2012-01-23
|
* README: fix git URLsKay Sievers2012-01-22
|
* login: move seat udev rules to login subdirKay Sievers2012-01-22
|
* cgtop: add new cgtop toolLennart Poettering2012-01-22
|
* tmpfiles: fix bad memory accessLennart Poettering2012-01-22
|
* cgls: don't show kernel threads by defaultLennart Poettering2012-01-22
|
* journal: systemd v38 fails to build on big-endiansDan Horák2012-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, during the builds for Fedora/s390x I've found that systemd v38 fails to build on big-endian platforms. ... make[2]: Entering directory `/root/systemd' CC src/journal/libsystemd_journal_la-sd-journal.lo src/journal/sd-journal.c: In function 'init_location': src/journal/sd-journal.c:69:22: error: incompatible types when initializing type 'long unsigned int' using type 'sd_id128_t' src/journal/sd-journal.c:69:20: error: incompatible types when assigning to type 'sd_id128_t' from type 'long unsigned int' make[2]: *** [src/journal/libsystemd_journal_la-sd-journal.lo] Error 1 I see the problem in using le64toh() on the 16 bytes boot_id structure in init_location() Please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=544375 for a full build log and attachment for a proposed fix. With regards Dan
* systemctl: don't show ln -s/rm output in 'install' mode if --quiet is passedLennart Poettering2012-01-21
|
* util: open the first RTC that has hctosys=1 setLennart Poettering2012-01-21
|
* readahead: don't monopolize IO when replayingLennart Poettering2012-01-21
|
* dbus: export ControlGroupPersistent field on the bus againLennart Poettering2012-01-21
|
* update TODOKay Sievers2012-01-21
|
* socket: don't fail the socket on ENOTCONNMichal Schmidt2012-01-20
| | | | | | | | | | Albert Strasheim reported a socket unit with Accept=yes was failing sometimes. getpeername() returns ENOTCONN if the connection was killed by TCP RST. The socket unit must not fail when it happens. Reproducer available at: https://bugzilla.redhat.com/show_bug.cgi?id=783344
* dbus-execute: don't publish control_group_persistent on DBus for nowMichal Schmidt2012-01-20
| | | | | | | | | Since the addition of ControlGroupPersistent, systemd is trivially killed by "systemctl status any.service". bus_property_append_bool must not be used for a tri-state int. Also, should it really "b", or do we want the tri-state nature to be seen? For now just comment out the buggy DBus property.
* service: add missing pid file unwatch in the destructorMichal Schmidt2012-01-20
| | | | | | | | | | | | | | | | The pid file watch could outlive the service unit if a daemon-reload request came at the right time. The inotify event would then be delivered to who knows where. Fix it by unwatching in the service destructor. Further changes will be needed to preserve the state of the pid file watch across daemon-reload. For now let's just fix the crash observed by Jóhann Guðmundsson: Assertion 's->state == SERVICE_START || s->state == SERVICE_START_POST' failed at src/service.c:2609, function service_fd_event(). Aborting Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=783118
* log: move #pragma around the functionMichal Schmidt2012-01-19
| | | | | | Koen reported errors with gcc 4.5.4 for arm: src/log.c:624:9: error: #pragma GCC diagnostic not allowed inside functions
* persistant -> persistentKay Sievers2012-01-18
|
* tmpfiles: support writing short strings to files, in order to support /sys ↵Lennart Poettering2012-01-18
| | | | manipulations at boot time, a la sysctl
* manager: don't place units in the 'cpu' group when run as user instance, for nowLennart Poettering2012-01-18
|
* journal: when sending journal data via file, place it in /dev/shm, to allow ↵Lennart Poettering2012-01-18
| | | | early boot operation, even if it sucks
* exec: introduce ControlGroupPersistant= to make cgroups persistantLennart Poettering2012-01-18
|
* journalctl: properly honour -n when -f is passed, tooLennart Poettering2012-01-18
|
* tmpfiles: add support for creating symlinks, char/block device nodesLennart Poettering2012-01-18
|
* logind: move X11 socketLennart Poettering2012-01-18
|
* logind: simplify session_activate() a bitLennart Poettering2012-01-18
|
* logind: allow to create multiple sessions on non-multi-session seats to deal ↵Lennart Poettering2012-01-18
| | | | with left-over sessions
* update TODOLennart Poettering2012-01-18
|
* util: fix ANSI sequence for red colorMichal Schmidt2012-01-17
| | | | Red turned green by mistake in commit c1072ea0.
* log: make asserts cheaperMichal Schmidt2012-01-17
| | | | On my x86_64 this shrinks the size of .text by 53 KB (7 %).
* log: remove useless variableMichal Schmidt2012-01-17
| | | | abort() never returns. Not even if the signal handler catches SIGABRT.
* dbus-unit: make functions staticMichal Schmidt2012-01-17
| | | | The dbus_unit_append_*() functions are not referenced from outside anymore.
* build-sys: cleanup sysctl.d/coredump.confKay Sievers2012-01-16
|
* dbus: more efficient implementation of propertiesMichal Schmidt2012-01-16
| | | | | | | | | | | | | | | | | The way the various properties[] arrays are initialized is inefficient: - only the .data members change at runtime, yet the whole arrays of properties with all the fields are constructed on the stack one by one by the code. - there's duplication, eg. the properties of "org.freedesktop.systemd1.Unit" are repeated in several unit types. Fix it by moving the information about properties into static const sections. Instead of storing the .data directly in the property, store a constant offset from a run-time base. The small arrays of struct BusBoundProperties bind together the constant information with the right runtime information (the base pointer). On my system the code shrinks by 60 KB, data increases by 10 KB.
* unit: use safe downcasts, remove pointless castsMichal Schmidt2012-01-16
| | | | | Always use the macros for downcasting. Remove a few obviously pointless casts.
* unit: use the UNIT() macro consistentlyMichal Schmidt2012-01-16
| | | | | The UNIT() macro upcasts from specific unit types to the base Unit. Use it everywhere, rather than accessing the 'meta' member directly.
* unit: remove union UnitMichal Schmidt2012-01-16
| | | | | | | | | | Now that objects of all unit types are allocated the exact amount of memory they need, the Unit union has lost its purpose. Remove it. "Unit" is a more natural name for the base unit class than "Meta", so rename Meta to Unit. Access to members of the base class gets simplified.
* unit: reduce heap usage for unit objectsMichal Schmidt2012-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | The storage of the unit objects on the heap is currently not very efficient. For every unit object we allocate a chunk of memory as large as the biggest unit type, although there are significant differences in the units' real requirements. pahole shows the following sizes of structs: 488 Target 496 Snapshot 512 Device 528 Path 560 Timer 576 Automount 1080 Socket 1160 Swap 1168 Service 1280 Mount Usually there aren't many targets or snapshots in the system, but Device is one of the most common unit types and for every one we waste 1280 - 512 = 768 bytes. Fix it by allocating only the right amount for the given unit type. On my machine (x86_64, with 39 LVM volumes) this decreases systemd's USS (unique set size) by more than 300 KB.
* logind: downgrade login message to debugMichal Schmidt2012-01-16
| | | | | | The messages make people nervous. https://bugzilla.redhat.com/show_bug.cgi?id=727315
* journal: drop privileges when storing coredumpLennart Poettering2012-01-14
|
* journal: when show blob data show lengthLennart Poettering2012-01-14
|
* util: support formatting eta and peta bytes with format_bytes()Lennart Poettering2012-01-14
|
* util: introduce FORMAT_BYTES_MAXLennart Poettering2012-01-14
|
* journal: collect coredump up to 24M in sizeLennart Poettering2012-01-14
|
* journal: handle empty syslog identifier properlyLennart Poettering2012-01-14
|
* journal: fix bad memory accessLennart Poettering2012-01-14
|
* journal: if the data to be sent is larger than the maximum datagram size ↵Lennart Poettering2012-01-14
| | | | resort to passing a temporary fd over native protocol
* journal: hook up coredumping with journalLennart Poettering2012-01-14
|
* journal: add new system-cat tool as kind of a more powerfull BSD loggerLennart Poettering2012-01-14
|
* util: split out tty_is_vc_resolve() from default_term_for_tty()Lennart Poettering2012-01-14
|
* util: rework ANSI escape code macrosLennart Poettering2012-01-14
|