Changes between v2.16-rc1 and v2.16-rc2 --------------------------------------- commit 4a595b077c9daeae96c7201331200168aab4e8b4 Author: Karel Zak Date: Thu Jul 2 15:36:22 2009 +0200 build-sys: release++ (v2.16-rc2) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit 0402e6ac5bf5dd0bd69559624a6973c26a9e047d Author: Karel Zak Date: Thu Jul 2 15:19:21 2009 +0200 docs: update v2.16 ReleaseNotes Signed-off-by: Karel Zak docs/v2.16-ReleaseNotes | 36 +++++++++++++++++++++++++++++++++--- 1 files changed, 33 insertions(+), 3 deletions(-) commit 5e1974efd1df5f208d9a96d00a20b31ce21e5ea6 Author: Karel Zak Date: Thu Jul 2 15:13:20 2009 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit dea22a3de9a02f2ac0453828d9c2d5a360e7eb36 Author: Karel Zak Date: Thu Jul 2 15:07:49 2009 +0200 po: merge changes Signed-off-by: Karel Zak po/POTFILES.in | 4 +- po/ca.po | 268 ++++++++++++++++++++++++++------------------------ po/cs.po | 268 ++++++++++++++++++++++++++------------------------ po/da.po | 268 ++++++++++++++++++++++++++------------------------ po/de.po | 268 ++++++++++++++++++++++++++------------------------ po/es.po | 268 ++++++++++++++++++++++++++------------------------ po/et.po | 268 ++++++++++++++++++++++++++------------------------ po/eu.po | 268 ++++++++++++++++++++++++++------------------------ po/fi.po | 268 ++++++++++++++++++++++++++------------------------ po/fr.po | 268 ++++++++++++++++++++++++++------------------------ po/hu.po | 268 ++++++++++++++++++++++++++------------------------ po/id.po | 268 ++++++++++++++++++++++++++------------------------ po/it.po | 268 ++++++++++++++++++++++++++------------------------ po/ja.po | 268 ++++++++++++++++++++++++++------------------------ po/nl.po | 268 ++++++++++++++++++++++++++------------------------ po/pl.po | 268 ++++++++++++++++++++++++++------------------------ po/pt_BR.po | 268 ++++++++++++++++++++++++++------------------------ po/ru.po | 268 ++++++++++++++++++++++++++------------------------ po/sl.po | 268 ++++++++++++++++++++++++++------------------------ po/sv.po | 268 ++++++++++++++++++++++++++------------------------ po/tr.po | 268 ++++++++++++++++++++++++++------------------------ po/uk.po | 268 ++++++++++++++++++++++++++------------------------ po/util-linux-ng.pot | 256 +++++++++++++++++++++++++----------------------- po/vi.po | 268 ++++++++++++++++++++++++++------------------------ po/zh_CN.po | 268 ++++++++++++++++++++++++++------------------------ 25 files changed, 3332 insertions(+), 3092 deletions(-) commit 5663298c2c8f3b89be5626ca435b3fd1e5509823 Author: Karel Zak Date: Thu Jul 2 14:38:23 2009 +0200 blkid: move to misc-utils/ directory The others utilities are in one of the top-level directories. That's confusing to have blkid(8) and findfs(8) in shlibs/ tree. Signed-off-by: Karel Zak configure.ac | 1 - misc-utils/.gitignore | 2 + misc-utils/Makefile.am | 17 ++ misc-utils/blkid.8 | 211 ++++++++++++++ misc-utils/blkid.c | 633 +++++++++++++++++++++++++++++++++++++++++ misc-utils/findfs.8 | 35 +++ misc-utils/findfs.c | 60 ++++ shlibs/blkid/Makefile.am | 2 +- shlibs/blkid/bin/Makefile.am | 15 - shlibs/blkid/bin/blkid.8 | 211 -------------- shlibs/blkid/bin/blkid.c | 633 ----------------------------------------- shlibs/blkid/bin/blkid.sh.in | 10 - shlibs/blkid/bin/findfs.8 | 35 --- shlibs/blkid/bin/findfs.c | 60 ---- shlibs/blkid/bin/findfs.sh.in | 10 - tests/commands.sh.in | 2 +- 16 files changed, 960 insertions(+), 977 deletions(-) commit a08273192dbbce31bf1b38e7c03cbb082508f5ba Author: Karel Zak Date: Thu Jul 2 13:39:28 2009 +0200 raw: undeprecate raw from Linux kernel: commit abd4aa5a97ebc0efb9a7fbc98ef0bcf39266fadf Author: Dave Jones Date: Sun Jul 15 23:40:49 2007 -0700 undeprecate raw driver :-( Signed-off-by: Karel Zak DEPRECATED | 12 ------------ disk-utils/raw.8 | 5 ----- 2 files changed, 0 insertions(+), 17 deletions(-) commit 14b613f3a90e89217f518fcc56769db5ab0fab0f Author: Karel Zak Date: Thu Jul 2 09:50:26 2009 +0200 include: fix _PATH_DEV Signed-off-by: Karel Zak include/pathnames.h | 2 +- mount/lomount.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e2d96cd60b139903e546a8af09e7aa5c8db37c35 Author: Karel Zak Date: Wed Jul 1 21:25:37 2009 +0200 uuidd: init /var/run/uuidd, add option for on-demand mode to .rc file Signed-off-by: Karel Zak misc-utils/uuidd.rc | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) commit d3cbfb8f822df9ed4f98074825ab7854c23374ed Merge: 4436271 7e54fe5 Author: Karel Zak Date: Wed Jul 1 20:55:00 2009 +0200 Merge branch 'tytso' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/util-linux-ng into test commit 7e54fe51ae92fa1acb8b9226191519b28b87c00e Author: Theodore Ts'o Date: Tue Jun 30 23:06:44 2009 -0400 libuuid: Don't run uuidd if it would fail due to permission problems Some distributions don't like installing uuidd setuid or setgid. So if the setuid or setigid bit is not set with uuidd, and the current process does not have write access to the UUIDD work directory, don't try running uuidd, since it won't work properly. Signed-off-by: "Theodore Ts'o" shlibs/uuid/src/gen_uuid.c | 5 +++++ shlibs/uuid/src/uuidd.h | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 3b90c50066969cfa40a392d0290cb8d762351f65 Author: Theodore Ts'o Date: Tue Jun 30 22:49:49 2009 -0400 libuuid, uuidd: Avoid infinite loop while reading from the socket fd If for some reason the uuidd daemon or the process calling uuidd exited unexpectely, the read_all() function would end up looping forever, either in uuidd or in libuuid. Fix this terminating the loop if no data can be read after five tries to read from the file descriptor. Signed-off-by: "Theodore Ts'o" misc-utils/uuidd.c | 14 +++++++++----- shlibs/uuid/src/gen_uuid.c | 10 +++++++--- 2 files changed, 16 insertions(+), 8 deletions(-) commit fdb3e93ce907cce3a2133f22bb780ecb317af76a Author: Theodore Ts'o Date: Tue Jun 30 22:47:54 2009 -0400 uuidd: Avoid closing the server socket when calling create_daemon() In the event that file descriptors 0-2 are closed when uuidd is started, the server socket could be created as a file descriptor that will get closed when create_daemon() tries detaching the uuidd daemon from its controlling tty. Avoid this case by using dup(2). Signed-off-by: "Theodore Ts'o" misc-utils/uuidd.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 59ca44715a317ee48afed34ca7ef1ab710ba5046 Author: Theodore Ts'o Date: Mon Jun 29 21:19:28 2009 -0400 libuuid: Make sure fd's 0, 1, and 2 are valid before exec'ing uuidd When closing all of the file descriptors before starting uuidd, make sure file descriptors 0, 1, and 2 are reserved by opening /dev/null. This prevents strange bugs caused by assumptions regarding file descriptors <= 2 as being special. Signed-off-by: "Theodore Ts'o" shlibs/uuid/src/gen_uuid.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 4436271060f9e537ce20a9b1dbb57b6ca6e0ce0f Author: Karel Zak Date: Tue Jun 30 15:10:20 2009 +0200 uuidd: fix $PIDFILE in uuidd.rc .. that's very probably a typo. Signed-off-by: Karel Zak misc-utils/uuidd.rc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9a3e4ae5c91abb1f94c691f3a6411e1d9d4acb3b Author: Karel Zak Date: Tue Jun 30 15:04:49 2009 +0200 uuidd: move uuidd.rc to misc-utils directory The file should be on more visible place. Signed-off-by: Karel Zak example.files/uuidd.rc | 55 ------------------------------------------------ misc-utils/Makefile.am | 2 +- misc-utils/uuidd.rc | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 56 deletions(-) commit 113b9c9524fff76bcfa8f7afe741d597270769ab Author: Karel Zak Date: Tue Jun 30 15:01:29 2009 +0200 docs: remove example.files/rc[.local] Yeah, example files for Linux 1.0.x :-) Signed-off-by: Karel Zak example.files/rc | 79 --------------------------------------------- example.files/rc.local | 83 ------------------------------------------------ 2 files changed, 0 insertions(+), 162 deletions(-) commit 3998595cac03a1e4936806169fb74f6af26d999e Author: Karel Zak Date: Tue Jun 30 13:18:26 2009 +0200 libuuid: fix $libdir in uuid.pc The -L gcc option is for directories to be searched for .so/.a files. It means the directory with development stuff. We have devel libs in /usr/lib[64]. The side effect is that pkg-config does not return -L with standard system directories (so make(1) output is more readable and shorter). Signed-off-by: Karel Zak shlibs/uuid/uuid.pc.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2236900ff06efba1d84a1a1685f7c562eb862108 Author: Karel Zak Date: Tue Jun 30 13:11:05 2009 +0200 libblkid: fix $libdir in blkid.pc The -L gcc option is for directories to be searched for .so/.a files. It means the directory with development stuff. We have devel libs in /usr/lib[64]. The side effect is that pkg-config does not return -L with standard system directories (so make(1) output is more readable and shorter). Signed-off-by: Karel Zak shlibs/blkid/blkid.pc.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 996fb3580f37a999abde9994d4244f8ea515de3d Author: Karel Zak Date: Tue Jun 30 12:41:54 2009 +0200 buildsys: move $usr{bin,sbin,lib}execdir definition to ./configure We need to use $usr{bin,sbin,lib}execdir variables in *.pc.in files and these files are generated by ./configure script. Signed-off-by: Karel Zak config/include-Makefile.am | 5 ----- configure.ac | 12 ++++++++++++ 2 files changed, 12 insertions(+), 5 deletions(-) commit d5428f45a2cae47a656ed121b7d2683371e808fa Author: Karel Zak Date: Tue Jun 30 11:49:14 2009 +0200 libblkid: add install-hook for libuuid.[a,so] devel files Unfortunately, libtool installs all files to $libdir (/lib), but we need devel files in $usrlibexecdir (/usr/lib). Signed-off-by: Karel Zak shlibs/blkid/src/Makefile.am | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) commit d7c9acbfe3c69abcb4d29976da587ace425685c7 Author: Karel Zak Date: Tue Jun 30 11:38:03 2009 +0200 libuuid: add install-hook for libuuid.[a,so] devel files Unfortunately, libtool installs all files to $libdir (/lib), but we need devel files in $usrlibexecdir (/usr/lib). Signed-off-by: Karel Zak shlibs/uuid/src/Makefile.am | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) commit e512717968ccfc2342b2901b2caba0a4217c4bc1 Author: Karel Zak Date: Tue Jun 30 11:26:54 2009 +0200 libblkid: fix #ifdefs readability Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 6dc9c350bdaca48805fbd319867a0c62e79a4482 Author: Karel Zak Date: Tue Jun 30 10:18:04 2009 +0200 Revert "libuuid: move clock state file from /var/lib to /var/run" This reverts commit ab2e7dd17f556d501d27c6b0ae2c0989d5d9dae4. The state file clock.txt should be kept in /var/lib, it should remain valid after a reboot. shlibs/uuid/src/gen_uuid.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit c74c0daffffbecf1299055fb35908721bcc853b2 Author: Karel Zak Date: Tue Jun 30 01:13:42 2009 +0200 include: clean up _PATH_DEV_* macros Signed-off-by: Karel Zak include/pathnames.h | 8 +++++++- login-utils/login.c | 4 ++-- misc-utils/script.c | 2 +- mount/lomount.c | 14 ++++++-------- mount/umount.c | 4 +++- tests/expected/paths/built-in | 3 ++- tests/helpers/test_pathnames.c | 3 ++- 7 files changed, 23 insertions(+), 15 deletions(-) commit 26d513086990d8ead515c676d1f5b984fc304548 Author: Karel Zak Date: Tue Jun 30 00:48:15 2009 +0200 losetup: fix return codes of functions arounf is_associated() Signed-off-by: Karel Zak mount/lomount.c | 25 +++++++++---------------- 1 files changed, 9 insertions(+), 16 deletions(-) commit 78c777c6baaa9fbb581562983d6ccc6eba7b92c6 Author: Kay Sievers Date: Mon Jun 29 21:43:01 2009 +0200 mount: allow loop suid umount Addresses-Suse-Bug: #461732 Signed-off-by: Kay Sievers Signed-off-by: Karel Zak mount/umount.c | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 44 insertions(+), 4 deletions(-) commit b41f637c6490862adf173a3b5796486326cdab1f Author: Jeff Mahoney Date: Mon Jun 29 23:05:36 2009 +0200 raw: Use the RAW_SETBIND ioctl without stat'ing the raw# file The in-kernel ioctl code creates a raw# device on-demand. udev will create the /dev/raw/raw# file when the device is created automatically. The current raw userspace code wants to stat the file before using it, which is unnecessary for setting up the raw device. This patch stats the file only when query() is called as a singleton, and it's doubtful it's needed even there. I modified as little code as I could, though. [kzak@redhat.com: - check properly fscanf() return code - add NLS stuff] Signed-off-by: Jeff Mahoney Signed-off-by: Karel Zak disk-utils/raw.c | 58 +++++++++++++++++++++++++++++------------------------ 1 files changed, 32 insertions(+), 26 deletions(-) commit d5f36dec9209982576b52cbadb74c3abf4b73376 Author: Tilman Schmidt Date: Sun May 10 13:54:51 2009 +0200 ldattach: add N_PPS support Add support for a line discipline name "PPS" selecting the Pulse Per Second line discipline N_PPS (18). The number has been reserved since kernel release 2.6.28, and the implementation is finally going to be submitted for kernel release 2.6.31. Signed-off-by: Tilman Schmidt sys-utils/ldattach.8 | 5 ++++- sys-utils/ldattach.c | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) commit ab2e7dd17f556d501d27c6b0ae2c0989d5d9dae4 Author: Karel Zak Date: Mon Jun 29 16:01:42 2009 +0200 libuuid: move clock state file from /var/lib to /var/run Signed-off-by: Karel Zak shlibs/uuid/src/gen_uuid.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit a0fca6a75228794279e54980d646b5bb4a75eac1 Author: Karel Zak Date: Mon Jun 29 15:59:48 2009 +0200 uuidd: move uuidd files from /var/lib/libuuid to /var/run/uuidd Reported-by: Kay Sievers Signed-off-by: Karel Zak misc-utils/uuidd.8 | 4 ++-- shlibs/uuid/src/uuidd.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)