]>
err.no Git - util-linux/log
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
fdisk.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
cfdisk.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
partx.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
delpart.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
addpart.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
simpleinit.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
shutdown.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
newgrp.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
mesg.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
last.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
initctl.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
chsh.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
chfn.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
mkswap.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
mkfs.minix.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
mkfs.bfs.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
isosize.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
fsck.minix.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
fdformat.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
elvtune.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
blockdev.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
write.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
whereis.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
uuidgen.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
uuidd.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
setterm.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
scriptreplay.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
reset.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
rename.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
namei.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
mcookie.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
kill.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
ddate.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
cal.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
tunelp.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
switch_root.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
setsid.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
setarch.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
rtcwake.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
renice.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
readprofile.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
rdev.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
pivot_root.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:19:19 +0000 (11:19 +0200)]
lscpu.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:18:42 +0000 (11:18 +0200)]
ldattach.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:18:14 +0000 (11:18 +0200)]
ipcs.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:17:59 +0000 (11:17 +0200)]
ipcrm.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:17:42 +0000 (11:17 +0200)]
ipcmk.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:17:15 +0000 (11:17 +0200)]
dmesg.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:16:45 +0000 (11:16 +0200)]
ctrlaltdel.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:16:12 +0000 (11:16 +0200)]
ul.1: erroneous .SH instead of .Sh
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:15:42 +0000 (11:15 +0200)]
hexdump.1: erroneous .Nm ""
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:14:56 +0000 (11:14 +0200)]
cytune.8: missing description of `-S', formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:14:16 +0000 (11:14 +0200)]
umount.8: command line for umount helpers, formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:13:49 +0000 (11:13 +0200)]
vipw.8: remove erroneous empty line, formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Peter Breitenlohner [Wed, 22 Jul 2009 09:13:21 +0000 (11:13 +0200)]
mkfs.8: incomplete sentence and formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Karel Zak [Mon, 17 Aug 2009 09:37:27 +0000 (11:37 +0200)]
dmesg: add -r to help output
On Tue, Aug 04, 2009 at 05:52:38PM +0200, Dalibor Straka wrote:
> while I was reading the source, I've noticed missing option in the
> help message for "-r". So I'm sending one-line patch for dmesg.
Reported-by: Dalibor Straka <dast@panelnet.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
Hendrik Lönngren [Thu, 13 Aug 2009 18:15:49 +0000 (20:15 +0200)]
po: fix grammar glitch in german translation
Removed an erroneous plural ending from the German translation for
"sectors/track" in fdisk, which currently would read "sectors/tracks".
Signed-off-by: Hendrik Lönngren <wikibugs@gmail.com>
Daniel Mierswa [Mon, 17 Aug 2009 05:43:10 +0000 (07:43 +0200)]
libblkid: allow linking with uClibc
uClibc uses lseek64 as llseek, so use it.
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
Daniel Mierswa [Mon, 17 Aug 2009 05:27:39 +0000 (07:27 +0200)]
replace bcopy,bzero,index and rindex
Those 4 functions are marked as LEGACY in POSIX.1-2001 and removed in
POSIX.1-2008.
Replaced with memmove,memset,strchr and strrchr.
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
Karel Zak [Mon, 17 Aug 2009 08:53:42 +0000 (10:53 +0200)]
libblkid: fix cache->probe memory leak
Fixes:
* stupid bug, blkid_put_cache() does not deallocate the probe struct
* the cache->probe initialization in verify.c should be also more
robust
Reported-By: Jean-Pierre Demailly <Jean-Pierre.Demailly@ujf-grenoble.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 13 Aug 2009 19:55:43 +0000 (21:55 +0200)]
libblkid: fix ext2 detection on systems with ext4 only
Address-Red-Hat-Bug: #513104
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 11 Aug 2009 13:22:35 +0000 (15:22 +0200)]
tailf: report inotify_add_watch() problems
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Aug 2009 21:33:22 +0000 (23:33 +0200)]
libblkid: fix FALSE definition
Ah, I need brown paper bag! Grrr...
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Jul 2009 13:43:29 +0000 (15:43 +0200)]
docs: update "The Perfect Patch" URL
Signed-off-by: Karel Zak <kzak@redhat.com>
Peter Breitenlohner [Fri, 17 Jul 2009 11:39:07 +0000 (13:39 +0200)]
cal: fix broken computation for Sep 1752
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Pádraig Brady <P@draigBrady.com>
Peter Breitenlohner [Fri, 17 Jul 2009 11:12:48 +0000 (13:12 +0200)]
cal: fix (harmless) typo
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Pádraig Brady <P@draigBrady.com>
Peter Breitenlohner [Mon, 20 Jul 2009 09:35:47 +0000 (11:35 +0200)]
pg: compiler warning with NLS disabled
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Karel Zak [Mon, 20 Jul 2009 08:31:27 +0000 (10:31 +0200)]
scriptreplay: fix typo in error message
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 17 Jul 2009 06:34:44 +0000 (08:34 +0200)]
build-sys: don't distribute generated *.pc files
Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Jul 2009 21:46:31 +0000 (23:46 +0200)]
build-sys: release++ (v2.16)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Jul 2009 21:40:21 +0000 (23:40 +0200)]
docs: update v2.16 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Jul 2009 23:09:47 +0000 (01:09 +0200)]
libuuid: generate uuid_generate_{random,time}.3 man page links
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Jul 2009 21:30:16 +0000 (23:30 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Jul 2009 21:27:01 +0000 (23:27 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Nicolas Provost [Wed, 15 Jul 2009 21:22:59 +0000 (23:22 +0200)]
po: update fr.po (from translationproject.org)
Lauri Nurmi [Wed, 15 Jul 2009 21:22:59 +0000 (23:22 +0200)]
po: update fi.po (from translationproject.org)
Petr Pisar [Wed, 15 Jul 2009 21:22:58 +0000 (23:22 +0200)]
po: update cs.po (from translationproject.org)
Valerie Aurora [Tue, 14 Jul 2009 17:21:34 +0000 (13:21 -0400)]
mount: when a remount to rw fails, quit and return an error
A nice feature of mount is that when you attempt to mount a file
system read-write, and that fails because it can only be mounted
read-only, it goes ahead and retries the mount with the "ro" option
and returns success if that succeeds. However, this code path is also
followed when you are doing a remount for the sole purpose of changing
the mount from read-only to read-write - the change fails, but mount
returns success. Instead, check if we are attempting to remount and
fail out immediately, instead of retrying with the old "ro" option and
whee, happily "succeeding."
Signed-off-by: Valerie Aurora (Henson) <vaurora@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Daniel Drake [Tue, 14 Jul 2009 12:41:33 +0000 (14:41 +0200)]
switch_root: add subroot support
The current switch_root can only switch to a new root that is the root
of a mount point.
This patch adds support for "subroots", where the new root is
somewhere below a mount point. It does this by adding in a few extra
steps to chroot into the subroot after the enclosing partition has
been moved and entered.
This will be used by OLPC, who sort-of have 2 copies of Fedora stored
on a single partition under different directory trees, where the
initramfs decides which one to boot into
[kzak@redhat.com:
- port to the current u-l-ng switch_root code
- don't use static buffer for "dir" in get_parent_mount()]
CC: Peter Jones <pjones@redhat.com>
Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Jul 2009 21:44:30 +0000 (23:44 +0200)]
build-sys: fix libuuid and libblkid version-info
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Jul 2009 18:31:33 +0000 (20:31 +0200)]
libblkid: add stdarg.h to blkidP.h
Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Jul 2009 09:54:43 +0000 (11:54 +0200)]
build-sys: improve $libdirname definition
Reported-by: Robert Förster <Dessa@gmake.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Robert Förster [Sat, 11 Jul 2009 22:44:08 +0000 (00:44 +0200)]
build-sys: fix typo from
30688dde55f637c9b984809c685b61378b82805f
the fixes the usage of exec_prefix so configure will prepend the prefix again.
Signed-off-by: Robert Förster <Dessa@gmake.de>
Karel Zak [Sun, 5 Jul 2009 22:03:35 +0000 (00:03 +0200)]
libuuid: fix parallel building
and remove some obsolete stuff from blkid/uuid Makefiles.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 3 Jul 2009 23:18:01 +0000 (01:18 +0200)]
build-sys: rename to _execdir
The variable name "usrlibexecdir" is very confusing (because we have
/usr/libexec). The "exec" prefix is required for user-defined
directories, see
http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install
This patch renames all usr*execdir variables to usr*_execdir.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 3 Jul 2009 23:10:15 +0000 (01:10 +0200)]
build-sys: improve symlinks creation in shlibs/
It's more safe to create symlinks in the target directory and use
$(LN_S) rather than directly call "ln -sf".
Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 3 Jul 2009 22:39:08 +0000 (00:39 +0200)]
build-sys: fix exec/data install hooks
Signed-off-by: Karel Zak <kzak@redhat.com>
Kay Sievers [Fri, 3 Jul 2009 21:18:36 +0000 (23:18 +0200)]
build-sys: reverse shlibs installation
[kzak@redhat.com:
Unfortunately, libtool does not provide a way how to install real
libraries to /lib and devel libs (symlinks) to /usr/lib. We have
to use install hooks to move these files.
Currently we install to /lib and move devel files to /usr/lib. This
concept is wrong, because the libdir= in .la libtool files must to
match with the place where we install the devel .so libs. It means we
have to install everything to /usr/lib and then move (by install hook)
the real .so libs to /lib.
This change is necessary to fix "make install", otherwise the install
process will not work in clean change root. ]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 2 Jul 2009 13:36:22 +0000 (15:36 +0200)]
build-sys: release++ (v2.16-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 2 Jul 2009 13:19:21 +0000 (15:19 +0200)]
docs: update v2.16 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 2 Jul 2009 13:13:20 +0000 (15:13 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 2 Jul 2009 13:07:49 +0000 (15:07 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 2 Jul 2009 12:38:23 +0000 (14:38 +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 <kzak@redhat.com>
Karel Zak [Thu, 2 Jul 2009 11:39:28 +0000 (13:39 +0200)]
raw: undeprecate raw
from Linux kernel:
commit
abd4aa5a97ebc0efb9a7fbc98ef0bcf39266fadf
Author: Dave Jones <davej@redhat.com>
Date: Sun Jul 15 23:40:49 2007 -0700
undeprecate raw driver
:-(
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 2 Jul 2009 07:50:26 +0000 (09:50 +0200)]
include: fix _PATH_DEV
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 1 Jul 2009 19:25:37 +0000 (21:25 +0200)]
uuidd: init /var/run/uuidd, add option for on-demand mode to .rc file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 1 Jul 2009 18:55:00 +0000 (20:55 +0200)]
Merge branch 'tytso' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/util-linux-ng into test
Theodore Ts'o [Wed, 1 Jul 2009 03:06:44 +0000 (23:06 -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" <tytso@mit.edu>
Theodore Ts'o [Wed, 1 Jul 2009 02:49:49 +0000 (22:49 -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" <tytso@mit.edu>