]> err.no Git - util-linux/log
util-linux
16 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Thu, 6 Dec 2007 04:30:43 +0000 (21:30 -0700)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

Conflicts:

getopt/getopt.1

16 years agodocs: add note about incorrect tag 2.13.1
Karel Zak [Wed, 5 Dec 2007 11:40:44 +0000 (12:40 +0100)]
docs: add note about incorrect tag 2.13.1

The git tag 2.13.1 is typo. I forgot to use -rc1 suffix for this tag.
The real 2.13.1 is going to be released with tag 2.13.1-REAL. Sorry.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agomount: fix fd leak
Matthias Koenig [Wed, 21 Nov 2007 15:46:33 +0000 (16:46 +0100)]
mount: fix fd leak

Signed-off-by: Matthias Koenig <mkoenig@suse.de>
16 years agogetopt: fix path to examples in getopt.1
Karel Zak [Wed, 28 Nov 2007 13:45:27 +0000 (14:45 +0100)]
getopt: fix path to examples in getopt.1

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agoblockdev: add --getsz to blockdev.8
Karel Zak [Wed, 28 Nov 2007 14:19:24 +0000 (15:19 +0100)]
blockdev: add --getsz to blockdev.8

This patch also marks --getsize as deprecated option.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agosfdisk: allow partitioning drives of over 2^31 sectors.
Kunihiko IMAI [Mon, 20 Aug 2007 12:12:53 +0000 (06:12 -0600)]
sfdisk: allow partitioning drives of over 2^31 sectors.

sfdisk would incorrectly complain that there was no room when partitioning
a drive over 2^31 sectors in size.

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
16 years agohwclock: check for ENODEV
David Woodhouse [Tue, 4 Dec 2007 13:44:05 +0000 (14:44 +0100)]
hwclock: check for ENODEV

/sbin/hwclock is supposed to fall back to using /dev/rtc0 if /dev/rtc isn't
working (which it isn't, because mkinitrd creates it with the old device
numbers, and we're switching to the new RTC_CLASS driver).

Unfortunately, it'll only cope if the error it gets is ENOENT (i.e. the device
node doesn't exist). It doesn't fall back to the next device in the list if the
error is ENODEV, which is what happens when the device node exists, but there's
no driver.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
16 years agohwclock.sh: drop redundant file pointer. Closes: #453333
LaMont Jones [Wed, 28 Nov 2007 21:22:29 +0000 (14:22 -0700)]
hwclock.sh: drop redundant file pointer.  Closes: #453333

16 years agosys-utils: correct setarch.8 manpage link creation. Closes: #453245
Frédéric Bothamy [Wed, 28 Nov 2007 00:44:16 +0000 (17:44 -0700)]
sys-utils: correct setarch.8 manpage link creation.  Closes: #453245

At least on Debian, .so commands are relative to the man directory
(e.g., /usr/share/man), not to the subdirectory:
    % man i386
    man: can't open /usr/share/man/setarch.8: No such file or directory
    No manual entry for i386

See also http://bugs.debian.org/453245

Signed-off-by: Frédéric Bothamy <frederic.bothamy@free.fr>
Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agoagetty: drop useless and unused diff from upstream
LaMont Jones [Thu, 22 Nov 2007 02:59:51 +0000 (19:59 -0700)]
agetty: drop useless and unused diff from upstream

Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agosys-utils: Drop duplicate install of setarch manpage links.
LaMont Jones [Thu, 22 Nov 2007 02:57:43 +0000 (19:57 -0700)]
sys-utils: Drop duplicate install of setarch manpage links.

Signed-off-by: LaMont Jones <lamont@debian.org>
16 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13. Closes: #446175
LaMont Jones [Wed, 21 Nov 2007 23:12:11 +0000 (16:12 -0700)]
Merge commit 'origin/stable/v2.13' into stable/v2.13.  Closes: #446175

17 years agomount: don't call canonicalize(SPEC) for cifs, smbfs and nfs
Karel Zak [Wed, 21 Nov 2007 00:46:57 +0000 (01:46 +0100)]
mount: don't call canonicalize(SPEC) for cifs, smbfs and nfs

When calling "mount -t smbfs //foo/bar /mnt/foo", mount.smbfs will be
called with /foo/bar if /foo/bar exists locally, and will display its
usage.

The patch also removes duplicate canonicalize() from mounted()
function.

Reported-By: Pascal Terjan <pterjan@linuxfr.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agochangelog: release
LaMont Jones [Tue, 20 Nov 2007 02:32:10 +0000 (19:32 -0700)]
changelog: release

17 years agometa: drop Conflicts: bsdmainutils too
LaMont Jones [Tue, 20 Nov 2007 02:30:21 +0000 (19:30 -0700)]
meta: drop Conflicts: bsdmainutils too

17 years agochangelog: release
LaMont Jones [Mon, 19 Nov 2007 20:10:17 +0000 (13:10 -0700)]
changelog: release

17 years agocal comes from bsdmainutils as well.
LaMont Jones [Mon, 19 Nov 2007 04:16:48 +0000 (21:16 -0700)]
cal comes from bsdmainutils as well.

Drop the Replaces:, too, since we don't replace anything anymore.

17 years agobuild-sys: remove hardcoded _GNU_SOURCE
Karel Zak [Wed, 19 Sep 2007 22:57:01 +0000 (00:57 +0200)]
build-sys: remove hardcoded _GNU_SOURCE

We have AC_GNU_SOURCE, so we needn't any extra hardcoded _GNU_SOURCE.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agochangelog: start new release
LaMont Jones [Thu, 15 Nov 2007 05:53:01 +0000 (22:53 -0700)]
changelog: start new release

17 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Thu, 15 Nov 2007 04:58:23 +0000 (21:58 -0700)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

17 years agobuild-sys: release++
Karel Zak [Tue, 13 Nov 2007 09:46:57 +0000 (10:46 +0100)]
build-sys: release++

Increment release number to v2.13.1

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agodocs: add v2.13.1 ReleaseNotes
Karel Zak [Tue, 13 Nov 2007 09:38:14 +0000 (10:38 +0100)]
docs: add v2.13.1 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agodocs: update AUTHORS file
Karel Zak [Mon, 12 Nov 2007 21:39:33 +0000 (22:39 +0100)]
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agopo: update po files
Karel Zak [Mon, 12 Nov 2007 11:19:37 +0000 (12:19 +0100)]
po: update po files

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agopo: update fi.po (from translationproject.org)
Lauri Nurmi [Mon, 12 Nov 2007 11:05:17 +0000 (12:05 +0100)]
po: update fi.po (from translationproject.org)

17 years agopo: update hu.po (from translationproject.org)
Gabor Kelemen [Mon, 12 Nov 2007 10:48:10 +0000 (11:48 +0100)]
po: update hu.po (from translationproject.org)

17 years agolosetup: fix errno usage
Karel Zak [Thu, 25 Oct 2007 10:10:31 +0000 (12:10 +0200)]
losetup: fix errno usage

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agodocs: fix ChangeLog URL
Pascal Terjan [Sat, 3 Nov 2007 10:55:52 +0000 (11:55 +0100)]
docs: fix ChangeLog URL

Signed-off-by: Pascal Terjan <pterjan@linuxfr.org>
17 years agochangelog: release
LaMont Jones [Mon, 29 Oct 2007 20:30:37 +0000 (14:30 -0600)]
changelog: release

17 years agobuild: don't deliver col* and ul as part of bsdutils for now. Closes: #446939
LaMont Jones [Mon, 29 Oct 2007 20:07:55 +0000 (14:07 -0600)]
build: don't deliver col* and ul as part of bsdutils for now.  Closes: #446939

Bsdmainutils delivers these files, so we'll not conflict with them for now.

17 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Fri, 26 Oct 2007 12:48:29 +0000 (06:48 -0600)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

17 years agodocs: add info about .bugfix releases and branches
Karel Zak [Mon, 22 Oct 2007 08:47:46 +0000 (10:47 +0200)]
docs: add info about .bugfix releases and branches

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agomkswap: possible to crash with SELinux relabeling support
KaiGai Kohei [Mon, 22 Oct 2007 08:30:19 +0000 (10:30 +0200)]
mkswap: possible to crash with SELinux relabeling support

When fgetfilecon() is failed with -ENODATA, this process does not
exit.  However, "oldcontext" is not initialized in this case, so
context_new() will be called with uninitialized "oldcontext" at the
next.

Finally, it makes a segmentation fault, because context_new() have to
refer an incorrect memory region.

The attached patch fixes this matter using matchpathcon().  If we
cannot obtain actual file context due to -ENODATA, a context which is
returned by matchpathcon() is applied as oldcontext.  Then, the type
of the context is relabeled to "swapfile_t" explicitly.

Signed-off-by: KaiGai Kohei <kaigai@kaigai.gr.jp>
Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agochangelog: release
LaMont Jones [Sun, 21 Oct 2007 02:59:59 +0000 (20:59 -0600)]
changelog: release

17 years agomount.8: Make package references be the actual binary package name in the distro...
LaMont Jones [Fri, 19 Oct 2007 16:48:14 +0000 (10:48 -0600)]
mount.8:  Make package references be the actual binary package name in the distro.  LP: #154399

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Fri, 19 Oct 2007 12:46:56 +0000 (06:46 -0600)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

17 years agosetarch: generate groff links in a better way
Karel Zak [Mon, 15 Oct 2007 11:41:18 +0000 (13:41 +0200)]
setarch: generate groff links in a better way

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Mon, 15 Oct 2007 10:56:42 +0000 (04:56 -0600)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

17 years agopo: update po files
Karel Zak [Mon, 15 Oct 2007 10:05:59 +0000 (12:05 +0200)]
po: update po files

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agopo: fix typo in de.po
Karel Zak [Thu, 11 Oct 2007 12:31:41 +0000 (14:31 +0200)]
po: fix typo in de.po

de.po:9010: internationalized messages should not contain the `\r' escape sequence

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agopo: update nl.po (from translationproject.org)
Benno Schulenberg [Thu, 11 Oct 2007 09:59:48 +0000 (11:59 +0200)]
po: update nl.po (from translationproject.org)

17 years agopo: update de.po (from translationproject.org)
Michael Piefel [Fri, 5 Oct 2007 10:43:51 +0000 (12:43 +0200)]
po: update de.po (from translationproject.org)

17 years agoscript: dies on SIGWINCH
Karel Zak [Fri, 5 Oct 2007 10:22:13 +0000 (12:22 +0200)]
script: dies on SIGWINCH

The "doinput" process doesn't make a difference between SIGWINCH and
SIGCHILD.  This process also sends unnecessary SIGWINCH to child (the
signal is ignored by child). Fixed.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoionice: add a note about permissions to ionice.1
Karel Zak [Thu, 20 Sep 2007 12:33:31 +0000 (14:33 +0200)]
ionice: add a note about permissions to ionice.1

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agochsh: should use pam_end function to terminate the PAM transaction
Yu Zhiguo [Thu, 6 Sep 2007 06:28:49 +0000 (14:28 +0800)]
chsh: should use pam_end function to terminate the PAM transaction

chsh will use PAM transaction if macros 'REQUIRE_PASSWORD' and
'HAVE_SECURITY_PAM_MISC_H' are defined, but there is no pam_end function be
used when the PAM transaction be terminated.

This patch also cleanup PAM code in chsh(1).

Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com>
Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agochfn: add pam_end() call and cleanup PAM code
Karel Zak [Wed, 3 Oct 2007 22:22:36 +0000 (00:22 +0200)]
chfn: add pam_end() call and cleanup PAM code

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agobuild: don't deliver (emtpy) /usr/share/util-linux. Closes: #445908
LaMont Jones [Fri, 12 Oct 2007 02:51:01 +0000 (20:51 -0600)]
build: don't deliver (emtpy) /usr/share/util-linux.  Closes: #445908

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agoscript: dies on SIGWINCH. Closes: #445956
Karel Zak [Fri, 5 Oct 2007 10:22:13 +0000 (12:22 +0200)]
script: dies on SIGWINCH.  Closes: #445956

The "doinput" process doesn't make a difference between SIGWINCH and
SIGCHILD.  This process also sends unnecessary SIGWINCH to child (the
signal is ignored by child). Fixed.

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Fri, 12 Oct 2007 02:45:52 +0000 (20:45 -0600)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

17 years agotests: fix blkid cache usage
Karel Zak [Thu, 11 Oct 2007 22:33:01 +0000 (00:33 +0200)]
tests: fix blkid cache usage

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agomount: -L|-U segfault when label or uuid doesn't exist
Karel Zak [Thu, 11 Oct 2007 14:18:29 +0000 (16:18 +0200)]
mount: -L|-U segfault when label or uuid doesn't exist

 # mount -L foo
 Segmentation fault

mount(8) calls strcmp() with NULL argument.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agochangelog: document CVE
LaMont Jones [Sat, 6 Oct 2007 15:01:04 +0000 (09:01 -0600)]
changelog: document CVE

17 years agodeliver hwclockfirst.sh on ubuntu as well. LP: #63175
LaMont Jones [Wed, 3 Oct 2007 03:52:54 +0000 (21:52 -0600)]
deliver hwclockfirst.sh on ubuntu as well.  LP: #63175

17 years agochangelog: start new release
LaMont Jones [Thu, 4 Oct 2007 20:34:40 +0000 (14:34 -0600)]
changelog: start new release

17 years agopg: fix segfault on search
Rajeev V. Pillai [Wed, 3 Oct 2007 20:39:27 +0000 (22:39 +0200)]
pg: fix segfault on search

Run pg(1) and type '/<CR>' which is supposed to forward search for the
previously remembered search string. pg(1) will segfault after printing
"No remembered search string:".

Signed-off-by: Rajeev V. Pillai <rajeevvp@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agochangelog
LaMont Jones [Tue, 2 Oct 2007 04:00:43 +0000 (22:00 -0600)]
changelog

17 years agofix messages in "hwclock.sh start". Closes: #436873
LaMont Jones [Mon, 1 Oct 2007 18:22:27 +0000 (12:22 -0600)]
fix messages in "hwclock.sh start".  Closes: #436873

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agoHonor DEB_BUILD_OPTIONS=nostrip
LaMont Jones [Thu, 27 Sep 2007 15:23:51 +0000 (09:23 -0600)]
Honor DEB_BUILD_OPTIONS=nostrip

17 years agoMerge commit 'origin/stable/v2.13' into stable/v2.13
LaMont Jones [Sun, 23 Sep 2007 22:13:23 +0000 (16:13 -0600)]
Merge commit 'origin/stable/v2.13' into stable/v2.13

17 years agopo: update sv.po (from translationproject.org)
Daniel Nylander [Sun, 23 Sep 2007 19:30:30 +0000 (21:30 +0200)]
po: update sv.po (from translationproject.org)

17 years agomount: doesn't drop privileges properly when calling helpers
Ludwig Nussel [Thu, 20 Sep 2007 12:57:20 +0000 (14:57 +0200)]
mount: doesn't drop privileges properly when calling helpers

{,u}mount calls setuid() and setgid() in the wrong order and doesn't checking
the return value of set{u,g}id(() when running helpers like mount.nfs.

Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agohwclock: fix --rtc option
Matthias Koenig [Thu, 20 Sep 2007 09:11:18 +0000 (11:11 +0200)]
hwclock: fix --rtc option

The --rtc option does not set the name of the device correctly.
It still uses /dev/rtc even if the --rtc option is given.

Testcase:
$ mv /dev/rtc /dev/foo
$ hwclock --show --debug --rtc=/dev/foo
hwclock from util-linux-2.13-rc2
Using /dev interface to clock.
Last drift adjustment done at 1190198135 seconds after 1969
Last calibration done at 1190198135 seconds after 1969
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
hwclock: open() of /dev/rtc failed, errno=2: No such file or directory.
...got clock tick

Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agosetarch: fix compiler warning
LaMont Jones [Sat, 22 Sep 2007 04:38:32 +0000 (22:38 -0600)]
setarch: fix compiler warning

NULL is not 0L.  It's (void*)0.  Passing that as a parameter to a function
that takes an unsigned long results in a warning about the lack of a cast.

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agochangelog
LaMont Jones [Sat, 22 Sep 2007 04:10:47 +0000 (22:10 -0600)]
changelog

17 years agocfdisk.8: mention slang next to curses. Closes: #295487
LaMont Jones [Sat, 22 Sep 2007 03:52:46 +0000 (21:52 -0600)]
cfdisk.8: mention slang next to curses.  Closes: #295487

17 years agoutil-linux.postrm: remove /etc/adjtime on purge. Closes: #245236
LaMont Jones [Sat, 22 Sep 2007 03:51:01 +0000 (21:51 -0600)]
util-linux.postrm: remove /etc/adjtime on purge.  Closes: #245236

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agohwclock: Reintroduce hwclockfirst.sh on Debian machines. Closes: #443487
LaMont Jones [Fri, 21 Sep 2007 20:01:04 +0000 (14:01 -0600)]
hwclock: Reintroduce hwclockfirst.sh on Debian machines.  Closes: #443487

If /etc/localtime is a readable file, then set the time in hwclockfirst.sh
before mounting the root partition.  Many thanks to Ted T'so for the details
(found in the bug report.)

17 years agomount.preinst: chroot-check was broken. Closes: #443466
LaMont Jones [Fri, 21 Sep 2007 19:23:55 +0000 (13:23 -0600)]
mount.preinst: chroot-check was broken.  Closes: #443466

17 years agochangelog: start new release
LaMont Jones [Fri, 21 Sep 2007 19:23:39 +0000 (13:23 -0600)]
changelog: start new release

17 years agochangelog
LaMont Jones [Fri, 21 Sep 2007 16:37:01 +0000 (10:37 -0600)]
changelog

17 years agosparc-utils 'sparc64' binary sets ADDR_LIMIT_32BIT. Closes: LP#141524
LaMont Jones [Fri, 21 Sep 2007 16:20:51 +0000 (10:20 -0600)]
sparc-utils 'sparc64' binary sets ADDR_LIMIT_32BIT.  Closes: LP#141524

The sparc64 binary in the existing sparc-utils package sets ADDR_LIMIT_32BIT.
Cause setarch to behave likewise when invoked as 'sparc64'.

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agologin: login segfaults on EOF (rh#298461)
Karel Zak [Thu, 20 Sep 2007 22:34:30 +0000 (00:34 +0200)]
login: login segfaults on EOF (rh#298461)

Stupid bug in audit code:

  $ login
  login: ^D
  login: ^D
  Segmentation fault

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agobuild-sys: nls/locale handling in util-linux-ng general
Mike Frysinger [Fri, 7 Sep 2007 00:30:16 +0000 (20:30 -0400)]
build-sys: nls/locale handling in util-linux-ng general

On Monday 03 September 2007, Karel Zak wrote:
> http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/590/focus=592
>
>  I agree that we need a better support for compilation without
>  locales, but from my point of view NLS != all locales stuff. The NLS
>  support is subset only.

thinking about the input from everyone, i'd propose the attached ...

Only pull in locale.h as needed and move it to the common nls.h.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
17 years agoblockdev: add missing description about option --report in manpage
Li Zefan [Mon, 10 Sep 2007 09:25:10 +0000 (17:25 +0800)]
blockdev: add missing description about option --report in manpage

The manpage does not mention the option --report.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
17 years agochangelog: release
LaMont Jones [Wed, 12 Sep 2007 16:34:29 +0000 (10:34 -0600)]
changelog: release

17 years agobuild: cfdisk doesn't exist on some architectures.
LaMont Jones [Wed, 12 Sep 2007 16:04:41 +0000 (10:04 -0600)]
build: cfdisk doesn't exist on some architectures.

17 years agochangelog: start new release
LaMont Jones [Wed, 12 Sep 2007 13:32:36 +0000 (07:32 -0600)]
changelog: start new release

17 years agochangelog
LaMont Jones [Wed, 12 Sep 2007 12:30:45 +0000 (06:30 -0600)]
changelog

17 years agobuild: look for fdisk in the right place. Closes: LP#138040
LaMont Jones [Wed, 12 Sep 2007 12:30:08 +0000 (06:30 -0600)]
build: look for fdisk in the right place.  Closes: LP#138040

17 years agochangelog
LaMont Jones [Thu, 6 Sep 2007 16:38:36 +0000 (10:38 -0600)]
changelog

17 years agoMerge commit 'e70565bb2757e2c165b268032de89a0e658d0935' into stable/v2.13
LaMont Jones [Thu, 6 Sep 2007 16:36:19 +0000 (10:36 -0600)]
Merge commit 'e70565bb2757e2c165b268032de89a0e658d0935' into stable/v2.13

17 years agometadata: Replaces: sparc-utils (for sparc{32,64}. Closes: #440966
LaMont Jones [Wed, 5 Sep 2007 20:50:16 +0000 (14:50 -0600)]
metadata: Replaces: sparc-utils (for sparc{32,64}.  Closes: #440966

17 years agoMerge commit 'v2.13-2' into stable/v2.13
LaMont Jones [Thu, 6 Sep 2007 16:21:12 +0000 (10:21 -0600)]
Merge commit 'v2.13-2' into stable/v2.13

17 years agorename: add description about option -V to manpage
Li Zefan [Tue, 4 Sep 2007 07:33:36 +0000 (15:33 +0800)]
rename: add description about option -V to manpage

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
17 years agorename: remove useless variable
Li Zefan [Tue, 4 Sep 2007 07:20:25 +0000 (15:20 +0800)]
rename: remove useless variable

The number of files successfully renamed is calculated and stored in variable
ct, > but actually the variable is not used afterwards.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
17 years agomount: chain of symlinks to fstab causes use of pointer after free
Norbert Buchmuller [Sun, 2 Sep 2007 20:08:53 +0000 (14:08 -0600)]
mount: chain of symlinks to fstab causes use of pointer after free

Looking at the source in 'mount/realpath.c' we find that when dealing with
the second or later symlink in the chain, a memory block was free()d before
copying its contents to a newly allocated block.

17 years agocal: add description about option -V to manpage
Li Zefan [Mon, 3 Sep 2007 06:25:40 +0000 (14:25 +0800)]
cal: add description about option -V to manpage

cal support option -V to display version information, but the manpage doesn't
mention it.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
17 years agobuild-sys: remove files that are no longer delivered from git
LaMont Jones [Tue, 28 Aug 2007 21:56:41 +0000 (15:56 -0600)]
build-sys: remove files that are no longer delivered from git

Neither mount/h/swap.h nor mount/mount.smbfs is delivered
as part of util-linux-ng tar archives.  As such, they
should not be in git either.

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agochangelog
LaMont Jones [Sun, 2 Sep 2007 20:15:41 +0000 (14:15 -0600)]
changelog

17 years agomount: chain of symlinks to fstab causes use of pointer after free
Norbert Buchmuller [Sun, 2 Sep 2007 20:08:53 +0000 (14:08 -0600)]
mount: chain of symlinks to fstab causes use of pointer after free

Looking at the source in 'mount/realpath.c' we find that when dealing with
the second or later symlink in the chain, a memory block was free()d before
copying its contents to a newly allocated block.

17 years agosetarch: adding groff symlinks to setarch manual page
Arkadiusz Miskiewicz [Tue, 28 Aug 2007 07:16:57 +0000 (09:16 +0200)]
setarch: adding groff symlinks to setarch manual page

Signed-off-by: Arkadiusz Miskiewicz <arekm@maven.pl>
17 years agomount: improve error message when helper program not present
LaMont Jones [Thu, 9 Aug 2007 19:37:22 +0000 (13:37 -0600)]
mount: improve error message when helper program not present

"missing codepage" is a bit confusing to many people, so include
"helper program" in the error message when we fail to mount something.

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
17 years agofdisk: fix typo
Karel Zak [Sun, 2 Sep 2007 13:02:55 +0000 (15:02 +0200)]
fdisk: fix typo

Reported-by: Daniel Nylander <po@danielnylander.se>
Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoflock: typo in man page
A. Costa [Wed, 29 Aug 2007 13:07:10 +0000 (07:07 -0600)]
flock: typo in man page

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agobuild-sys: fix localedir (unsupported by autoconf < 2.60)
Karel Zak [Sun, 2 Sep 2007 11:00:23 +0000 (13:00 +0200)]
build-sys: fix localedir (unsupported by autoconf < 2.60)

The autoconf < 2.60 doesn't support the @localedir@ directory
variable. The util-linux-ng-2.13 minimally requires autoconf-2.59.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agodocs: fix stable branche name in README.devel
Karel Zak [Sun, 2 Sep 2007 09:43:53 +0000 (11:43 +0200)]
docs: fix stable branche name in README.devel

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agochangelog
LaMont Jones [Wed, 29 Aug 2007 19:18:24 +0000 (13:18 -0600)]
changelog

17 years agoflock.1: typo in man page
A. Costa [Wed, 29 Aug 2007 13:07:10 +0000 (07:07 -0600)]
flock.1: typo in man page

Signed-off-by: LaMont Jones <lamont@debian.org>
17 years agochangelog
LaMont Jones [Tue, 28 Aug 2007 17:39:20 +0000 (11:39 -0600)]
changelog

17 years agoUpdate bsdutils description. Closes: #439907
LaMont Jones [Tue, 28 Aug 2007 17:38:40 +0000 (11:38 -0600)]
Update bsdutils description.  Closes: #439907