Commit Graph
57095 Commits
Author SHA1 Message Date
Lennart Poettering 016e9849e0 mount: failure to mount cgroup hierarchies should not be fatal
If we cannot open /etc/cgroup, print an error message, but go on, to
support cgroup-less builds.

https://bugzilla.redhat.com/show_bug.cgi?id=628004
2011-04-26 21:12:38 +02:00
Kay Sievers 4db6d587c3 configure.ac: move AC_USE_SYSTEM_EXTENSIONS up to fix warning 2011-04-25 22:00:12 +02:00
Kay Sievers 907dd1953b configure: add AC_SYS_LARGEFILE 2011-04-25 21:50:42 +02:00
Kay Sievers 772f83719e tmpfiles.d: switch to stacked config dirs in /lib, /etc, /run 2011-04-25 21:38:21 +02:00
Kay Sievers db1413d738 sysctl.d, binfmt.d, modules-load.d: switch to stacked config dirs in /lib, /etc, /run 2011-04-25 20:41:47 +02:00
Kay Sievers f6577968a2 libudev: queue - _unref() should return the object 2011-04-24 00:36:22 +02:00
Kay Sievers 8958da13c7 libudev: list - use bit flags for 'sort' and 'unique' 2011-04-24 00:22:23 +02:00
Kay Sievers c7c32e9c98 simplify rules file overwrite logic
The udev list already provides all we need, if we use the basename
as the key, and request sorting and uniqueness.
2011-04-23 23:33:11 +02:00
Tollef Fog Heen 3a90ae0482 manager: mkdir /run/systemd/system when starting up 2011-04-23 22:06:18 +02:00
A. Costa 8f28cbcdfe man: Spelling fixes 2011-04-23 21:56:05 +02:00
Kay Sievers c1810751a2 release 168 2011-04-22 18:29:05 +02:00
Kay Sievers a95f038521 udevd, udev-event: sync waitpid() error handling 2011-04-21 14:05:34 +02:00
Harald Hoyer b466e9ab39 udevd: clarify worker exit status 2011-04-21 10:09:41 +02:00
cee1 373c23b27f missing: Fix broken syscall(__NR_fanotify_mark... on o32 mips.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23618562
MIPS o32 ABI enforces that 64bit arguments should be 64bit-aligned, and
the third argument of syscall(__NR_fanotify_mark, ...) is 64bit and not
64bit-aligned on o32 mips platform, thus extra padding is inserted
before it. The syscall function doesn't know the prototype of
fanotify_mark, so the padding will be passed into kernel as valid
argument.
2011-04-21 04:19:22 +02:00
Lennart Poettering 13f9123298 update TODO 2011-04-21 03:56:20 +02:00
Lennart Poettering dffbaed964 build-sys: bump release 2011-04-21 03:18:39 +02:00
Lennart Poettering 1c1890bee6 Revert "cryptsetup: pass 0 as key size to crypt_activate_by_keyfile()"
This reverts commit 9402841ef1.

This freezes boot-up when /dev/urandom is used as key source
2011-04-21 03:15:12 +02:00
Lennart Poettering 811ad2b3a4 man: minor fixes 2011-04-21 01:18:23 +02:00
Kay Sievers 86d8ed2628 systemd: Reqires= -> Wants=udev.socket 2011-04-21 01:13:28 +02:00
Wulf C. Krueger af49ec2c7d mount: Allow creating mount units for /var/lib/nfs/rpc_pipefs and /proc/fs/nfsd.
Mounting /var/lib/nfs/rpc_pipefs and /proc/fs/nfsd is required by rpcbind
and the NFS server respectively. To depend on them being mounted, systemd
needs to be allowed to create mount units for both in order to avoid having
to implement hacks (mounting in ExecStartPre or using shell scripts).
2011-04-20 22:52:10 +02:00
Michael Reed 00f34bc435 path_id: rework SAS device handling
Lun numbers < 256 are displayed as "lun-x".  Lun numbers >= 256 use
the lun number format previously used in fibre channel by-path
links, 0xabcd012300000000. This lun numbering scheme is implemented
for sas, fibre channel, iscsi.

I want it to be clearly understood that this patch changes the
/dev/disk/by-path names for fc devices.  Here is an example of the
change:
  Old: pci-0000:0c:00.1-fc-0x204700a0b81130aa:0x00fa000000000000
  New: pci-0000:0c:00.1-fc-0x204700a0b81130aa-lun-250
2011-04-20 20:25:16 +02:00
Lennart Poettering 9402841ef1 cryptsetup: pass 0 as key size to crypt_activate_by_keyfile()
https://bugs.freedesktop.org/show_bug.cgi?id=36264
2011-04-20 19:22:45 +02:00
Kay Sievers c7be212dbd udevd: log signal number when spawned processes fail 2011-04-20 18:36:01 +02:00
Kay Sievers a178e7fe90 udevd: rules files - accept empty or /dev/null links 2011-04-20 17:58:58 +02:00
Kay Sievers dff107dc1a udevd: always use udevd[] log prefix 2011-04-20 17:39:44 +02:00
Kay Sievers 5e8176e156 udevd: netif rename - use ifindex for temporary name 2011-04-20 17:30:30 +02:00
Lennart Poettering b0a3f2bc09 socket: support ListeSpecial= sockets 2011-04-20 05:02:23 +02:00
Lennart Poettering 944d4c91e6 vconsole: don't set console font/keymap if settings are empty
https://bugs.freedesktop.org/show_bug.cgi?id=36052

If KEYMAP= is set to the empty string in /etc/vconsole leave the kernel
keymap loaded.

Similar for FONT=.
2011-04-20 04:30:08 +02:00
Lennart Poettering 0c749d504e nspawn: don't fail when we receive SIGCHLD
https://bugs.freedesktop.org/show_bug.cgi?id=36148
2011-04-20 04:12:17 +02:00
Lennart Poettering 38c52d4606 cgroup: don't accidentaly trim on reload
https://bugzilla.redhat.com/show_bug.cgi?id=678555
2011-04-20 03:53:12 +02:00
Lennart Poettering 9534ce5485 units: set capability bounding set for syslog services 2011-04-20 03:34:58 +02:00
Kay Sievers ead7c62ab7 udevadm: settle - kill alarm() 2011-04-20 02:18:22 +02:00
Kay Sievers 2181d30a34 timeout handling without alarm() 2011-04-20 01:54:38 +02:00
Lennart Poettering ec8b119434 socket: log more information about invalid poll events 2011-04-20 01:48:45 +02:00
Chris E Ferron 54e4fdef80 MeeGo support
This commit consists of the initial work to include MeeGo as a ported
distribution for systemd.

The majority of the changes are small configuration additions to auto
tools, so that MeeGo is identified as a valid distribution option.

Some small deviations will be noticed between the configuration of MeeGo
and other distributions. As MeeGo is a distribution striving for
compliancy to support its near embedded attributes and target users,
there is less user configuration options available by default. Most
services will be enabled by systemd as part of the distribution
requirements, and as such most links and service files will be pre-setup
for the MeeGo distribution. As much of this is going to be done within
the MeeGo distribution packaging this is still noteworthy to mention, as
it explains why in systemd you will observe configuration differences
where the MeeGo distribution removes all links in the pkgsysconfdir for
instance.  MeeGo will be user configurable if there is desire, but most
services will be enabled by the distribution as designated by the MeeGo
compliancy standards.

Other changes are in source to add such areas as meego-release defined
in utils, and hostname in hostname-setup, defining vconsole-setup,
localizations and rescue additions as needed.

As this is all ground work, MeeGo will continue to strive for complete
compatibility.
2011-04-20 01:05:30 +02:00
Lennart Poettering 05677bb780 man: fix specification of default timeouts 2011-04-20 00:51:23 +02:00
Lennart Poettering 155da45729 mount,crypto: rework meaning of noauto/nofail 2011-04-20 00:45:22 +02:00
Lennart Poettering f67c572a7d fsck: don't fsck against basic.target in order to properly allow automount /home 2011-04-20 00:44:37 +02:00
Lennart Poettering a08dab55f2 manager: when running in test mode, do not write generated unit files to /run/systemd/generator 2011-04-19 22:17:54 +02:00
Lennart Poettering f4c0514703 mount: properly parse timeouts options in the middle of the string 2011-04-19 22:09:34 +02:00
Lennart Poettering 2286fdf7c5 hostnamed: drop all caps but CAP_SYS_ADMIN 2011-04-19 06:07:29 +02:00
Lennart Poettering 4f34ed54f8 hostnamed: improve error logging 2011-04-19 06:07:06 +02:00
Lennart Poettering 73090dc815 execute: when we run as PID 1 the kernel doesn't give us CAP_SETPCAP by default. Get that temporarily when dropping capabilities for good 2011-04-19 06:06:41 +02:00
Martin Pitt 131c9e9240 keymap: Another ID for Logitech Wave keyboard
http://bugs.debian.org/623153
2011-04-18 13:34:42 +02:00
Leonid Antonenkov c641e4a02d rule-generator: net - ignore Hyper-V virtual interfaces 2011-04-18 05:11:53 +02:00
Kay Sievers 1e47c28bc5 Merge branch 'docs/README' of git://github.com/mfwitten/udev 2011-04-18 05:06:59 +02:00
Kay Sievers 82063a88d1 udevd: ppoll() -> epoll + signalfd 2011-04-18 02:14:24 +02:00
Kay Sievers 1d843b7d68 libudev: run_program() - select() -> epoll 2011-04-18 02:13:40 +02:00
Kay Sievers 13052c0285 use 'else if' in epoll event array loop 2011-04-17 22:10:18 +02:00
Kay Sievers 372b9bffa7 udevadm: test - use printf() instead of info() for non-debug output 2011-04-17 22:09:08 +02:00