]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
14 years agoscriptreplay.1: formatting
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>
14 years agoreset.1: formatting
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>
14 years agorename.1: formatting
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>
14 years agonamei.1: formatting
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>
14 years agomcookie.1: formatting
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>
14 years agokill.1: formatting
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>
14 years agoddate.1: formatting
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>
14 years agocal.1: formatting
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>
14 years agotunelp.8: formatting
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>
14 years agoswitch_root.8: formatting
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>
14 years agosetsid.1: formatting
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>
14 years agosetarch.8: formatting
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>
14 years agortcwake.8: formatting
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>
14 years agorenice.1: formatting
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>
14 years agoreadprofile.1: formatting
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>
14 years agordev.8: formatting
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>
14 years agopivot_root.8: formatting
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>
14 years agolscpu.1: formatting
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>
14 years agoldattach.8: formatting
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>
14 years agoipcs.1: formatting
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>
14 years agoipcrm.1: formatting
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>
14 years agoipcmk.1: formatting
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>
14 years agodmesg.1: formatting
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>
14 years agoctrlaltdel.8: formatting
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>
14 years agoul.1: erroneous .SH instead of .Sh
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>
14 years agohexdump.1: erroneous .Nm ""
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>
14 years agocytune.8: missing description of `-S', formatting
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>
14 years agoumount.8: command line for umount helpers, formatting
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>
14 years agovipw.8: remove erroneous empty line, formatting
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>
14 years agomkfs.8: incomplete sentence and formatting
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>
14 years agodmesg: add -r to help output
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>
14 years agopo: fix grammar glitch in german translation
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>
14 years agolibblkid: allow linking with uClibc
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>
14 years agoreplace bcopy,bzero,index and rindex
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>
14 years agolibblkid: fix cache->probe memory leak
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>
14 years agolibblkid: fix ext2 detection on systems with ext4 only
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>
14 years agotailf: report inotify_add_watch() problems
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>
14 years agolibblkid: fix FALSE definition
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>
14 years agodocs: update "The Perfect Patch" URL
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>
14 years agocal: fix broken computation for Sep 1752
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>
14 years agocal: fix (harmless) typo
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>
14 years agopg: compiler warning with NLS disabled
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>
14 years agoscriptreplay: fix typo in error message
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>
14 years agobuild-sys: don't distribute generated *.pc files
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>
14 years agobuild-sys: release++ (v2.16) v2.16
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>
14 years agodocs: update v2.16 ReleaseNotes
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>
14 years agolibuuid: generate uuid_generate_{random,time}.3 man page links
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>
14 years agodocs: update AUTHORS file
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>
14 years agopo: merge changes
Karel Zak [Wed, 15 Jul 2009 21:27:01 +0000 (23:27 +0200)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: update fr.po (from translationproject.org)
Nicolas Provost [Wed, 15 Jul 2009 21:22:59 +0000 (23:22 +0200)] 
po: update fr.po (from translationproject.org)

14 years agopo: update fi.po (from translationproject.org)
Lauri Nurmi [Wed, 15 Jul 2009 21:22:59 +0000 (23:22 +0200)] 
po: update fi.po (from translationproject.org)

14 years agopo: update cs.po (from translationproject.org)
Petr Pisar [Wed, 15 Jul 2009 21:22:58 +0000 (23:22 +0200)] 
po: update cs.po (from translationproject.org)

14 years agomount: when a remount to rw fails, quit and return an error
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>
14 years agoswitch_root: add subroot support
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>
14 years agobuild-sys: fix libuuid and libblkid version-info
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>
14 years agolibblkid: add stdarg.h to blkidP.h
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>
14 years agobuild-sys: improve $libdirname definition
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>
14 years agobuild-sys: fix typo from 30688dde55f637c9b984809c685b61378b82805f
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>
14 years agolibuuid: fix parallel building
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>
14 years agobuild-sys: rename to _execdir
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>
14 years agobuild-sys: improve symlinks creation in shlibs/
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>
14 years agobuild-sys: fix exec/data install hooks
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>
14 years agobuild-sys: reverse shlibs installation
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>
14 years agobuild-sys: release++ (v2.16-rc2) v2.16-rc2
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>
14 years agodocs: update v2.16 ReleaseNotes
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>
14 years agodocs: update AUTHORS file
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>
14 years agopo: merge changes
Karel Zak [Thu, 2 Jul 2009 13:07:49 +0000 (15:07 +0200)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoblkid: move to misc-utils/ directory
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>
14 years agoraw: undeprecate raw
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>
14 years agoinclude: fix _PATH_DEV
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>
14 years agouuidd: init /var/run/uuidd, add option for on-demand mode to .rc file
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>
14 years agoMerge branch 'tytso' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/util...
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

14 years agolibuuid: Don't run uuidd if it would fail due to permission problems
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>
14 years agolibuuid, uuidd: Avoid infinite loop while reading from the socket fd
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>
14 years agouuidd: Avoid closing the server socket when calling create_daemon()
Theodore Ts'o [Wed, 1 Jul 2009 02:47:54 +0000 (22:47 -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" <tytso@mit.edu>
14 years agolibuuid: Make sure fd's 0, 1, and 2 are valid before exec'ing uuidd
Theodore Ts'o [Tue, 30 Jun 2009 01:19:28 +0000 (21:19 -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" <tytso@mit.edu>
14 years agouuidd: fix $PIDFILE in uuidd.rc
Karel Zak [Tue, 30 Jun 2009 13:10:20 +0000 (15:10 +0200)] 
uuidd: fix $PIDFILE in uuidd.rc

.. that's very probably a typo.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agouuidd: move uuidd.rc to misc-utils directory
Karel Zak [Tue, 30 Jun 2009 13:04:49 +0000 (15:04 +0200)] 
uuidd: move uuidd.rc to misc-utils directory

The file should be on more visible place.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: remove example.files/rc[.local]
Karel Zak [Tue, 30 Jun 2009 13:01:29 +0000 (15:01 +0200)] 
docs: remove example.files/rc[.local]

Yeah, example files for Linux 1.0.x :-)

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibuuid: fix $libdir in uuid.pc
Karel Zak [Tue, 30 Jun 2009 11:18:26 +0000 (13:18 +0200)] 
libuuid: fix $libdir in uuid.pc

The -L<dir> 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 <kzak@redhat.com>
14 years agolibblkid: fix $libdir in blkid.pc
Karel Zak [Tue, 30 Jun 2009 11:11:05 +0000 (13:11 +0200)] 
libblkid: fix $libdir in blkid.pc

The -L<dir> 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 <kzak@redhat.com>
14 years agobuildsys: move $usr{bin,sbin,lib}execdir definition to ./configure
Karel Zak [Tue, 30 Jun 2009 10:41:54 +0000 (12:41 +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 <kzak@redhat.com>
14 years agolibblkid: add install-hook for libuuid.[a,so] devel files
Karel Zak [Tue, 30 Jun 2009 09:49:14 +0000 (11:49 +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 <kzak@redhat.com>
14 years agolibuuid: add install-hook for libuuid.[a,so] devel files
Karel Zak [Tue, 30 Jun 2009 09:38:03 +0000 (11:38 +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 <kzak@redhat.com>
14 years agolibblkid: fix #ifdefs readability
Karel Zak [Tue, 30 Jun 2009 09:26:54 +0000 (11:26 +0200)] 
libblkid: fix #ifdefs readability

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoRevert "libuuid: move clock state file from /var/lib to /var/run"
Karel Zak [Tue, 30 Jun 2009 08:18:04 +0000 (10:18 +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.

14 years agoinclude: clean up _PATH_DEV_* macros
Karel Zak [Mon, 29 Jun 2009 23:13:42 +0000 (01:13 +0200)] 
include: clean up _PATH_DEV_* macros

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolosetup: fix return codes of functions arounf is_associated()
Karel Zak [Mon, 29 Jun 2009 22:48:15 +0000 (00:48 +0200)] 
losetup: fix return codes of functions arounf is_associated()

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agomount: allow loop suid umount
Kay Sievers [Mon, 29 Jun 2009 19:43:01 +0000 (21:43 +0200)] 
mount: allow loop suid umount

Addresses-Suse-Bug: #461732
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoraw: Use the RAW_SETBIND ioctl without stat'ing the raw# file
Jeff Mahoney [Mon, 29 Jun 2009 21:05:36 +0000 (23:05 +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 <jeffm@suse.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoldattach: add N_PPS support
Tilman Schmidt [Sun, 10 May 2009 11:54:51 +0000 (13:54 +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 <tilman@imap.cc>
14 years agolibuuid: move clock state file from /var/lib to /var/run
Karel Zak [Mon, 29 Jun 2009 14:01:42 +0000 (16:01 +0200)] 
libuuid: move clock state file from /var/lib to /var/run

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agouuidd: move uuidd files from /var/lib/libuuid to /var/run/uuidd
Karel Zak [Mon, 29 Jun 2009 13:59:48 +0000 (15:59 +0200)] 
uuidd: move uuidd files from /var/lib/libuuid to /var/run/uuidd

Reported-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: release++ (v2.16-rc1) v2.16-rc1
Karel Zak [Sun, 28 Jun 2009 22:09:02 +0000 (00:09 +0200)] 
build-sys: release++ (v2.16-rc1)

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update v2.16-ReleaseNotes
Karel Zak [Sun, 28 Jun 2009 22:08:40 +0000 (00:08 +0200)] 
docs: update v2.16-ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: add v2.16 ReleaseNotes
Karel Zak [Sun, 28 Jun 2009 20:54:36 +0000 (22:54 +0200)] 
docs: add v2.16 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix --disable-uuidd
Karel Zak [Sun, 28 Jun 2009 20:52:29 +0000 (22:52 +0200)] 
build-sys: fix --disable-uuidd

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update AUTHORS file
Karel Zak [Sun, 28 Jun 2009 20:28:44 +0000 (22:28 +0200)] 
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: merge changes
Karel Zak [Sun, 28 Jun 2009 20:25:47 +0000 (22:25 +0200)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: update vi.po (from translationproject.org)
Clytie Siddall [Sun, 28 Jun 2009 20:08:55 +0000 (22:08 +0200)] 
po: update vi.po (from translationproject.org)