Lennart Poettering
fc1a2e06a2
conf: when looking for configurations look in /etc first, in /run second
...
After long consideration we came to the conclusion that user
configuration in /etc should always override the (generally computer
generated) configuration in /run. User configuration should always be
what matters over anything else. Hence rearrange the search orders
accordingly.
In general this should change very little as overriding like this is
seldomn done so far, and the order between /etc and /usr stays the same.
2012-03-14 14:25:05 +01:00
Lennart Poettering
45dc3a0478
man: document where we read kernel cmdline options from
2012-03-14 14:13:12 +01:00
Lennart Poettering
09b967eaa5
machine-id: initialize from $container_uuid if not set otherwise
...
This is a result of the discussions on
https://bugs.freedesktop.org/show_bug.cgi?id=46894
2012-03-14 14:06:42 +01:00
Lennart Poettering
2d44fc7ba5
journald: allocate PAGE_SIZE bytes for selinux label length
...
As suggested in https://bugzilla.redhat.com/show_bug.cgi?id=798760
2012-03-14 03:39:15 +01:00
Lennart Poettering
77b088c211
socket: make sure that the name for per-connection services are unique
...
If a client connects to us repeatedly always using the same source port
and we instantiate a service for the incoming connection this might
clash with an old instance. Hence, include the connection number, the
same way we do it for AF_UNIX to make connections unique.
https://bugs.freedesktop.org/show_bug.cgi?id=45297
2012-03-14 03:07:26 +01:00
Lennart Poettering
9586cdfab6
socket: if we fail to create an instantiated service for a socket, don't put the socket in failure mode
...
An incoming connection that is immediately terminated might result in
getpeername() or a similar call failing. Hence it is quite possible that
while we are setting up an instantiated service for a socket we might
get an error and we shouldn't take this as hint to take the listening
socket down.
https://bugs.freedesktop.org/show_bug.cgi?id=45297
https://bugzilla.novell.com/show_bug.cgi?id=741590
2012-03-14 03:01:27 +01:00
Lennart Poettering
6b80b9b8ee
update TODO
2012-03-13 13:44:47 +01:00
Lennart Poettering
9631c090fd
mount: fix assertion
...
https://bugzilla.redhat.com/show_bug.cgi?id=768523
2012-03-13 03:34:42 +01:00
Lennart Poettering
62f168a05b
conf-parser: warn if an assignment is place outside of a section
...
https://bugzilla.redhat.com/show_bug.cgi?id=783134
2012-03-13 02:41:29 +01:00
Lennart Poettering
b19be9eb9e
util: add brute-force fallback for close_all_fds()
...
If /proc is not available (i.e. in chroot envs) let's fall back to brute
forcing our way through the fd table.
https://bugzilla.redhat.com/show_bug.cgi?id=784921
2012-03-13 02:29:27 +01:00
Lennart Poettering
7f2c63cbf4
journald: use SCM_SECURITY to race-freely determine peer SELinux label
...
https://bugzilla.redhat.com/show_bug.cgi?id=798760
2012-03-13 02:29:10 +01:00
Lennart Poettering
54ecda32c6
socket: add option for SO_PASSEC
...
https://bugzilla.redhat.com/show_bug.cgi?id=798760
(Note that this work is not complete yet, as the kernel seems to send us
useless data with SCM_SECURITY enabled)
2012-03-13 00:00:27 +01:00
Shawn Landden
fa734f4da8
login: tag the Mimo 720 ID_AUTOSEAT
...
This device is a combination USB hub, displaylink graphics, and e2i touchscreen
Bus 001 Device 005: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 006: ID 17e9:401a Newnham Research
Bus 001 Device 007: ID 1ac7:0001
|__ Port 1: Dev 5, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 2: Dev 6, If 0, Class=vend., Driver=udlfb, 480M
|__ Port 2: Dev 6, If 1, Class=HID, Driver=usbhid, 480M
|__ Port 3: Dev 7, If 0, Class=vend., Driver=usbtouchscreen, 12M
2012-03-12 22:49:14 +01:00
Lennart Poettering
7f110ff9b8
conf: enforce UTF8 validty everywhere
...
we need to make sure that configuration data we expose via the bus ends
up in using getting an assert(). Even though configuration data is only
parsed from trusted sources we should be more careful with what we read.
2012-03-12 22:22:21 +01:00
Lennart Poettering
669e49fe2c
man: reword tmpfiles selinux bits
2012-03-12 21:51:39 +01:00
Lennart Poettering
8d2831af71
update TODO
2012-03-12 14:01:27 +01:00
Lennart Poettering
03f38e7498
man: clarify that applications must ignore unknown fields
2012-03-06 18:17:07 +01:00
Lennart Poettering
edcf3b8900
man: document how os-release(5) may be extended by OS vendors
2012-03-06 18:14:06 +01:00
Lennart Poettering
d383ac0d2f
man: fix typo
2012-03-06 17:58:27 +01:00
Lennart Poettering
74bebb314b
man: allow that /etc/os-release is a symlink
2012-03-06 17:52:21 +01:00
Lennart Poettering
62ca938d2d
man: add URL field definitions to os-release(5)
...
As requested by Raphaël Hertzog from the Debian project, include
information about the home page and support/bug report pages in
/etc/os-release.
2012-03-06 17:44:32 +01:00
Lennart Poettering
e21aee1494
man: add ID_LIKE definition to os-release(5)
...
As requested by Raphaël Hertzog from the Debian project, encode
derivative information in /etc/os-release.
2012-03-06 13:59:12 +01:00
Lennart Poettering
93e487fc8f
update TODO
2012-03-06 12:55:57 +01:00
Lennart Poettering
48496df65c
journal: make sure to refresh window position and pointer after we linked up a data object
2012-03-06 02:42:32 +01:00
Dave Reisner
85eda5721f
mount: properly check return for mount_add_*
...
Previously, mount_load_etc_fstab() could never fail for reasons other
than a setmntent() or allocation failure.
2012-03-06 02:16:41 +01:00
Harald Hoyer
e2e9329411
bash-completion: get rid of awk, sed and grep
...
Get rid of "awk", "sed" and "grep" calls.
This can be done entirely in bash!
With help from Dave Reisner
2012-03-06 02:11:01 +01:00
Lennart Poettering
52af21063b
nspawn: be less cryptic when clone() fails
...
Based on a patch suggested by Shawn Landden.
2012-03-06 02:06:29 +01:00
Lennart Poettering
0716c60e37
update TODO
2012-03-06 01:36:58 +01:00
Lennart Poettering
4007e72e05
update TODO
2012-03-06 01:30:00 +01:00
Lennart Poettering
6bda96a023
socket: rename 'broken' failure result to 'failed-permanent' on order not to introduce new terminology
2012-03-06 01:29:29 +01:00
Lennart Poettering
9cacf56451
umount: don't try to umount /usr, if we are running from it
2012-03-06 01:28:32 +01:00
Lennart Poettering
7d900eb6f5
update TODO
2012-03-05 22:55:49 +01:00
Michal Schmidt
c2f3480897
socket: fail the socket if the service keeps dying on start
...
If the service reaches the start limit, mark the sockets that activate
it as failed (with the result code 'service-broken').
This way the sockets won't act as tarpits for clients connecting to
them.
2012-03-05 22:47:54 +01:00
Thierry Reding
82bdec0d65
configure.ac: fix typo in distro help string
2012-03-05 15:29:09 +01:00
Lennart Poettering
e09a9a35a1
sd-login: c++ compatibility
2012-03-05 15:16:10 +01:00
Dave Reisner
a84f9b3c1d
systemd-analyze: call os.uname() once
...
Uses a format string, which is dependent on python 2.6.
2012-03-05 15:10:36 +01:00
Frederic Crozat
6a39419fe4
fix sparse warnings
2012-03-05 15:07:14 +01:00
Frederic Crozat
7be3aa1732
journal: fix endianness errors
2012-03-05 14:47:18 +01:00
Shawn Landden
ae0716ea0d
man: corrected machine-info(5) man page to be in line with source
...
change conflicting man/machine-info.xml documentation to match functionality in
src/hostname/hostnamed.c 114-119
2012-03-05 14:10:19 +01:00
Lennart Poettering
101f077676
update TODO
2012-03-05 14:09:27 +01:00
Kay Sievers
79d4c0a2e1
man: fix systemd.special build failure
2012-02-29 22:32:50 +01:00
Kay Sievers
4c80c73c2b
systemctl: forward untrusted user reboot, poweroff requests to logind
2012-02-29 22:28:33 +01:00
Dirk Eibach
8dc6b88fd2
systemd-journald: fix endianess bug
2012-02-29 14:06:33 +01:00
Kay Sievers
e444cbf040
systemd-analyze: read /etc/os-release
2012-02-21 21:04:05 +01:00
Lennart Poettering
d0e5a33374
update TODO
2012-02-20 19:56:14 +01:00
Lennart Poettering
f7f964eb36
update TODO
2012-02-20 15:54:28 +01:00
Lennart Poettering
96b0cb1181
man: systemd.special no longer needs sed logic
2012-02-15 20:26:49 +01:00
Lennart Poettering
81e0d95604
login: document new sd_session_get_xxx() calls
2012-02-15 20:13:24 +01:00
Lennart Poettering
eb91400c68
units: reword rescue/emergency mode message to fit in 80chars
2012-02-15 20:06:14 +01:00
Lennart Poettering
e606bb61d0
systemctl: introduce systemctl reboot -ff
2012-02-15 20:05:49 +01:00