summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2010-11-10main: warn if /etc/mtab is not a symlinkLennart Poettering
2010-11-10main: rename process on startup to 'systemd' to avoid confusionLennart Poettering
2010-11-10manager: parse RD_TIMESTAMP passed from initrdLennart Poettering
2010-10-27selinux: automatically load policy if the initrd hasn't done this for us yetLennart Poettering
2010-10-27main: move make_null_stdio() to util.cLennart Poettering
2010-10-26main: fix typo in kernel cmdline parameters helpAndrey Borzenkov
2010-10-26main: don't unset HOME/TERM when run in session modeLennart Poettering
2010-10-25systemd: unset HOME and TERM set from the kernelLennart Poettering
2010-10-14manager: hookup execution of systemd-shutdown helperFabiano Fidencio
(Modified by Lennart Poettering)
2010-10-13unit: add minimal condition checker for unit startupLennart Poettering
2010-10-08unit: rename 'banned' load state to 'masked'Lennart Poettering
2010-10-08unit: introduce 'banned' load state for units symlinked to /dev/nullLennart Poettering
2010-10-07util: unify implementations of freeze()Lennart Poettering
2010-09-27sysv: optionally disable of SysV init/rcN.d support at compile timeFabiano Fidencio
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one that is fully systemd native). The patch tries to be as little intrusive as possible, however in order to minimize the number of #ifdef'ed regions I've reordered some code in path-lookup.c:lookup_paths_init() where all code dealing with sysv is now isolated under running_as == MANAGER_SYSTEM as well. Moreover, In struct Service, some fields were rearranged to reduce the number of ifdefs. Lennart's suggestions were fixed and squashed with the original patch, that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-09-17ask-password: add minimal framework to allow services query SSL/harddisk ↵Lennart Poettering
passphrases from the user
2010-09-16locale: initialize locale from /etc/locale by defaultLennart Poettering
2010-09-15util: use waitid() instead of waitpid() everywhere to avoid confusion due to ↵Lennart Poettering
SIGSTOP
2010-09-08main: when we encounter 'emergency' on the kernel cmdline start the ↵Lennart Poettering
emergency shell
2010-09-06systemctl: make --version a little bit more verboseLennart Poettering
2010-08-31systemctl: rework exit codes for all utility programs to follow LSB or other ↵Lennart Poettering
standards
2010-08-30console: rework automatic getty on kernel console logic againLennart Poettering
It is essential that the gettys are proper dependencies from getty.target so that they aren't killed and immediately restarted on runlevel changes. Hence rework the logic to implicitly add console gettys to getty.target as dependencies. This also adds an automatic hvc console for virtualizers. https://bugzilla.redhat.com/show_bug.cgi?id=501720
2010-08-25mount: rework automatic mounting to follow the 'nofail' option in fstabLennart Poettering
2010-08-25mount: add global configuration options for handling of auto mountsLennart Poettering
2010-08-17main: restore an accidentally removed 'else'Tero Roponen
I just noticed this when reading the latest commits.
2010-08-17main: properly fallback to rescue.target if default.target is hosedLennart Poettering
2010-08-17modprobe: kill support for nomodulesLennart Poettering
this should happen in the kernel itself, not be controlled from userspace, if at all. So let's kill this here.
2010-08-17nss: don't disable nscd anymore, since it doesn't make sense to ↵Lennart Poettering
socket-activate nscd anyway
2010-08-17auto-getty: rework auto console getty logic to work in conjunction with ↵Lennart Poettering
single user mode
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-12main: log build time features on startupLennart Poettering
2010-08-11main: disable nscd properly, if possibleLennart Poettering
2010-08-11selinux: split off selinux calls into seperate file label.cLennart Poettering
2010-08-11clang: fix numerous little issues found with clang-analyzerLennart Poettering
2010-08-09service: hide output of sysv scripts if quiet is passed on the kernel cmdlineLennart Poettering
2010-08-06main: automatically spawn a getty on the kernel configured serial consoleLennart Poettering
2010-08-03Systemd is causing mislabeled devices to be created and then attempting to ↵Daniel J Walsh
read them. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/28/2010 05:57 AM, Kay Sievers wrote: > On Wed, Jul 28, 2010 at 11:43, Lennart Poettering > <lennart@poettering.net> wrote: >> On Mon, 26.07.10 16:42, Daniel J Walsh (dwalsh@redhat.com) wrote: >>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file >>> type=1400 audit(1280174589.476:7): avc: denied { read } for pid=1 >>> comm="systemd" name="autofs" dev=devtmpfs ino=9482 >>> scontext=system_u:system_r:init_t:s0 >>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file >>> type=1400 audit(1280174589.476:8): avc: denied { read } for pid=1 >>> comm="systemd" name="autofs" dev=devtmpfs ino=9482 >>> scontext=system_u:system_r:init_t:s0 >>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file >>> >>> Lennart, we talked about this earlier. I think this is caused by the >>> modprobe calls to create /dev/autofs. Since udev is not created at the >>> point that init loads the kernel modules, the devices get created with >>> the wrong label. Once udev starts the labels get fixed. >>> >>> I can allow init_t to read device_t chr_files. >> >> Hmm, I think a cleaner fix would be to make systemd relabel this device >> properly before accessing it? Given that this is only one device this >> should not be a problem for us to maintain, I think? How would the >> fixing of the label work? Would we have to spawn restorecon for this, or >> can we actually do this in C without too much work? > > I guess we can just do what udev is doing, and call setfilecon(), with > a context of an earlier matchpathcon(). > > Kay > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel Here is the updated patch with a fix for the labeling of /dev/autofs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkxQMyoACgkQrlYvE4MpobNviACfWgxsjW2xzz1qznFex8RVAQHf gIEAmwRmRcLvGqYtwQaZ3WKIg8wmrwNk =pC2e
2010-07-24main: disable NSS disabling logic for now, since this is incompatible with rpmLennart Poettering
2010-07-20systemctl: always disable color when output goes into a fileLennart Poettering
2010-07-20manager: write serialization to /dev/.systemd/ instead of /dev/shmLennart Poettering
2010-07-16main: disable nscd if we can to avoid deadlock, just in caseLennart Poettering
2010-07-13main: introduce -D as quick acess to debuggingLennart Poettering
2010-07-13main: replace --running-as= by --session and --system do mimic related tools ↵Lennart Poettering
and D-Bus
2010-07-10systemctl: show exec status of all exited programsLennart Poettering
2010-07-09main: introduce $SYSTEMD_SKIP_API_MOUNTS to disable mounting of API FSLennart Poettering
2010-07-08dbus: make errors reported via D-Bus more usefulLennart Poettering
2010-07-07util: use quoted word parsing where applicableLennart Poettering
2010-07-07log: bump up a number of log messages so that they are shown even if debug ↵Lennart Poettering
logging is disabled, for diagnostic purposes
2010-07-07main: always log when we reexecute or reloadLennart Poettering
2010-07-07main: lower default log level to INFOLennart Poettering
2010-07-07main: show welcome string only when asked forLennart Poettering