From 4bbf01f38a5472e927515f7494037f1045d15f28 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 7 Oct 2010 19:30:54 +0200 Subject: use common names: fixme -> TODO, bootstrap.sh -> autogen.sh --- TODO | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ autogen.sh | 72 +++++++++++++++++++++++++++++ bootstrap.sh | 72 ----------------------------- fixme | 148 ----------------------------------------------------------- 4 files changed, 220 insertions(+), 220 deletions(-) create mode 100644 TODO create mode 100755 autogen.sh delete mode 100755 bootstrap.sh delete mode 100644 fixme diff --git a/TODO b/TODO new file mode 100644 index 0000000000..6903791f28 --- /dev/null +++ b/TODO @@ -0,0 +1,148 @@ +* do not throw error when .service file is linked to /dev/null + +* oneshot services which do not remain: 'exited' instead of 'dead'? + it should be visible in 'systemctl' that they have been run + +* dot output for --test showing the 'initial transaction' + +* calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445) + +* implicitly import "defaults" settings file into all types + +* "disabled" load state? + +* ability to kill services? i.e. in contrast to stopping them, go directly + into killing mode? + +* port over to LISTEN_FDS/LISTEN_PID: + - uuidd DONE + - dbus DONE + - rsyslog DONE + - rpcbind (/var/run/rpcbind.sock!) DONE + - cups DONE + - avahi-daemon (/var/run/avahi-daemon/socket) DONE + - ssh CLASSIC + - postfix, saslauthd + - apache/samba + - libvirtd (/var/run/libvirt/libvirt-sock-ro) + - bluetoothd (/var/run/sdp! @/org/bluez/audio!) + - distccd + +* write utmp record a la upstart for processes + +* selinux policy loading + +* fingerprint.target, wireless.target, gps.target + +* set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()! + +* fix merging in .swap units + +* chkconfig/systemd-install glue + +* io priority during initialization + +* if a service fails too often, make the service enter failed mode, and the socket, too. + +* systemctl enable - warn about empty [Install] section + +* bash completion a la gdbus + +* systemctl list-jobs - show dependencies + +* ConditionFileExists=, ConditionKernelCommandLine=, ConditionEnvironment= with ! + +* accountsservice is borked + +* auditd service files + +* add systemctl switch to dump transaction without executing it + +* system.conf/session.conf man page + +* exec /sbin/poweroff as PID 1 and do the shutdown + +* kexec, suspend, resume + +* passphrase agent https://bugs.freedesktop.org/show_bug.cgi?id=30038 + +* support dbus introspection in mid-level object paths, i.e. in /org/freedesktop/systemd/units/. + +* systemctl auto-pager a la git + +* fsck setup + +* merge CK + +* ask-password tty agent, ask-password plymouth agent + +* ask-password tty timeout + +* properly handle multiple inotify events per read() in path.c and util.c + +* readahead: btrfs/LVM SSD detection + +* document locale.conf, vconsole.conf and possibly the tempfiles.d and modules-load.d mechanism. + +* beefed up tmpwatch that reads tmpfiles.d + +* use /sbin/swapon + +* enable syslog.socket by default, activating our kmsg bridge + +* Restart=on-failure and Restart=on-abort + +* kill sessions on shutdown + +* when processes remain in a service even though the start command failed enter active + +* fix plymouth socket, when plymouth started to use a clean one + +External: + +* place /etc/inittab with explaining blurb. + +* pam_securetty should honour console= + +* procps, psmisc, sysvinit-tools, hostname → util-linux-ng + +* nologin nach /var/run https://bugzilla.redhat.com/show_bug.cgi?id=624489 + +* make sysinit honour forcefsck/fastboot from the kernel command line fsck.mode=auto|force|skip + +* pam: fix double sudo session cleanup: + http://www.gratisoft.us/bugzilla/show_bug.cgi?id=421 + +https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth +https://bugzilla.redhat.com/show_bug.cgi?id=612789 -- umount /cgroup on halt +https://bugzilla.redhat.com/show_bug.cgi?id=612728 -- /etc/rc.d/init.d/functions +https://bugzilla.redhat.com/show_bug.cgi?id=612712 -- pam_systemd +https://bugs.freedesktop.org/show_bug.cgi?id=29193 -- accountsservice +https://bugs.freedesktop.org/show_bug.cgi?id=29194 -- ConsoleKit +https://bugs.freedesktop.org/show_bug.cgi?id=29205 -- udisks +http://article.gmane.org/gmane.linux.bluez.kernel/6479 -- bluez +http://www.spinics.net/lists/linux-nfs/msg14371.html -- rpcbind +https://bugzilla.redhat.com/show_bug.cgi?id=617328 -- ntp +https://bugzilla.redhat.com/show_bug.cgi?id=617320 -- at +https://bugzilla.redhat.com/show_bug.cgi?id=617326 -- fprintd +https://bugzilla.redhat.com/show_bug.cgi?id=617333 -- yum +https://bugzilla.redhat.com/show_bug.cgi?id=617317 -- acpid +https://bugzilla.redhat.com/show_bug.cgi?id=617327 -- gpm +https://bugzilla.redhat.com/show_bug.cgi?id=617330 -- pcsc-lite +https://bugzilla.redhat.com/show_bug.cgi?id=617321 -- audit +https://bugzilla.redhat.com/show_bug.cgi?id=617316 -- abrt +http://sources.redhat.com/bugzilla/show_bug.cgi?id=11930 -- glibc + +Regularly: + +* look for close() vs. close_nointr() vs. close_nointr_nofail() + +* check for strerror(r) instead of strerror(-r) + +* Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel + +* %m in printf() instead of strerror(); + +* pahole + +* CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections" diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000000..74f814d289 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,72 @@ +#!/bin/bash + +# This file is part of systemd. +# +# Copyright 2010 Lennart Poettering +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# systemd is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with systemd; If not, see . + +AM_VERSION=1.11 +AC_VERSION=2.63 + +run_versioned() { + local P + local V + + V=$(echo "$2" | sed -e 's,\.,,g') + + if [ -e "`which $1$V 2> /dev/null`" ] ; then + P="$1$V" + else + if [ -e "`which $1-$2 2> /dev/null`" ] ; then + P="$1-$2" + else + P="$1" + fi + fi + + shift 2 + "$P" "$@" +} + +set -ex + +if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then + cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ + chmod +x .git/hooks/pre-commit && \ + echo "Activated pre-commit hook." +fi + +if type -p colorgcc > /dev/null ; then + export CC=colorgcc +fi + +if [ "x$1" = "xam" ] ; then + run_versioned automake "$AM_VERSION" -a -c --foreign + ./config.status +else + rm -rf autom4te.cache + rm -f config.cache + + libtoolize -c --force + run_versioned aclocal "$AM_VERSION" -I m4 + run_versioned autoconf "$AC_VERSION" -Wall + run_versioned autoheader "$AC_VERSION" + run_versioned automake "$AM_VERSION" --copy --foreign --add-missing + + if [ "x$1" != "xac" ]; then + CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --with-rootdir= "$@" + make clean + fi +fi diff --git a/bootstrap.sh b/bootstrap.sh deleted file mode 100755 index 74f814d289..0000000000 --- a/bootstrap.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash - -# This file is part of systemd. -# -# Copyright 2010 Lennart Poettering -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with systemd; If not, see . - -AM_VERSION=1.11 -AC_VERSION=2.63 - -run_versioned() { - local P - local V - - V=$(echo "$2" | sed -e 's,\.,,g') - - if [ -e "`which $1$V 2> /dev/null`" ] ; then - P="$1$V" - else - if [ -e "`which $1-$2 2> /dev/null`" ] ; then - P="$1-$2" - else - P="$1" - fi - fi - - shift 2 - "$P" "$@" -} - -set -ex - -if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then - cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ - chmod +x .git/hooks/pre-commit && \ - echo "Activated pre-commit hook." -fi - -if type -p colorgcc > /dev/null ; then - export CC=colorgcc -fi - -if [ "x$1" = "xam" ] ; then - run_versioned automake "$AM_VERSION" -a -c --foreign - ./config.status -else - rm -rf autom4te.cache - rm -f config.cache - - libtoolize -c --force - run_versioned aclocal "$AM_VERSION" -I m4 - run_versioned autoconf "$AC_VERSION" -Wall - run_versioned autoheader "$AC_VERSION" - run_versioned automake "$AM_VERSION" --copy --foreign --add-missing - - if [ "x$1" != "xac" ]; then - CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --with-rootdir= "$@" - make clean - fi -fi diff --git a/fixme b/fixme deleted file mode 100644 index 6903791f28..0000000000 --- a/fixme +++ /dev/null @@ -1,148 +0,0 @@ -* do not throw error when .service file is linked to /dev/null - -* oneshot services which do not remain: 'exited' instead of 'dead'? - it should be visible in 'systemctl' that they have been run - -* dot output for --test showing the 'initial transaction' - -* calendar time support in timer, iCalendar semantics for the timer stuff (RFC2445) - -* implicitly import "defaults" settings file into all types - -* "disabled" load state? - -* ability to kill services? i.e. in contrast to stopping them, go directly - into killing mode? - -* port over to LISTEN_FDS/LISTEN_PID: - - uuidd DONE - - dbus DONE - - rsyslog DONE - - rpcbind (/var/run/rpcbind.sock!) DONE - - cups DONE - - avahi-daemon (/var/run/avahi-daemon/socket) DONE - - ssh CLASSIC - - postfix, saslauthd - - apache/samba - - libvirtd (/var/run/libvirt/libvirt-sock-ro) - - bluetoothd (/var/run/sdp! @/org/bluez/audio!) - - distccd - -* write utmp record a la upstart for processes - -* selinux policy loading - -* fingerprint.target, wireless.target, gps.target - -* set_put(), hashmap_put() return values check. i.e. == 0 doesn't free()! - -* fix merging in .swap units - -* chkconfig/systemd-install glue - -* io priority during initialization - -* if a service fails too often, make the service enter failed mode, and the socket, too. - -* systemctl enable - warn about empty [Install] section - -* bash completion a la gdbus - -* systemctl list-jobs - show dependencies - -* ConditionFileExists=, ConditionKernelCommandLine=, ConditionEnvironment= with ! - -* accountsservice is borked - -* auditd service files - -* add systemctl switch to dump transaction without executing it - -* system.conf/session.conf man page - -* exec /sbin/poweroff as PID 1 and do the shutdown - -* kexec, suspend, resume - -* passphrase agent https://bugs.freedesktop.org/show_bug.cgi?id=30038 - -* support dbus introspection in mid-level object paths, i.e. in /org/freedesktop/systemd/units/. - -* systemctl auto-pager a la git - -* fsck setup - -* merge CK - -* ask-password tty agent, ask-password plymouth agent - -* ask-password tty timeout - -* properly handle multiple inotify events per read() in path.c and util.c - -* readahead: btrfs/LVM SSD detection - -* document locale.conf, vconsole.conf and possibly the tempfiles.d and modules-load.d mechanism. - -* beefed up tmpwatch that reads tmpfiles.d - -* use /sbin/swapon - -* enable syslog.socket by default, activating our kmsg bridge - -* Restart=on-failure and Restart=on-abort - -* kill sessions on shutdown - -* when processes remain in a service even though the start command failed enter active - -* fix plymouth socket, when plymouth started to use a clean one - -External: - -* place /etc/inittab with explaining blurb. - -* pam_securetty should honour console= - -* procps, psmisc, sysvinit-tools, hostname → util-linux-ng - -* nologin nach /var/run https://bugzilla.redhat.com/show_bug.cgi?id=624489 - -* make sysinit honour forcefsck/fastboot from the kernel command line fsck.mode=auto|force|skip - -* pam: fix double sudo session cleanup: - http://www.gratisoft.us/bugzilla/show_bug.cgi?id=421 - -https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth -https://bugzilla.redhat.com/show_bug.cgi?id=612789 -- umount /cgroup on halt -https://bugzilla.redhat.com/show_bug.cgi?id=612728 -- /etc/rc.d/init.d/functions -https://bugzilla.redhat.com/show_bug.cgi?id=612712 -- pam_systemd -https://bugs.freedesktop.org/show_bug.cgi?id=29193 -- accountsservice -https://bugs.freedesktop.org/show_bug.cgi?id=29194 -- ConsoleKit -https://bugs.freedesktop.org/show_bug.cgi?id=29205 -- udisks -http://article.gmane.org/gmane.linux.bluez.kernel/6479 -- bluez -http://www.spinics.net/lists/linux-nfs/msg14371.html -- rpcbind -https://bugzilla.redhat.com/show_bug.cgi?id=617328 -- ntp -https://bugzilla.redhat.com/show_bug.cgi?id=617320 -- at -https://bugzilla.redhat.com/show_bug.cgi?id=617326 -- fprintd -https://bugzilla.redhat.com/show_bug.cgi?id=617333 -- yum -https://bugzilla.redhat.com/show_bug.cgi?id=617317 -- acpid -https://bugzilla.redhat.com/show_bug.cgi?id=617327 -- gpm -https://bugzilla.redhat.com/show_bug.cgi?id=617330 -- pcsc-lite -https://bugzilla.redhat.com/show_bug.cgi?id=617321 -- audit -https://bugzilla.redhat.com/show_bug.cgi?id=617316 -- abrt -http://sources.redhat.com/bugzilla/show_bug.cgi?id=11930 -- glibc - -Regularly: - -* look for close() vs. close_nointr() vs. close_nointr_nofail() - -* check for strerror(r) instead of strerror(-r) - -* Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel - -* %m in printf() instead of strerror(); - -* pahole - -* CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections" -- cgit v1.2.3-54-g00ecf