Changes between v2.23.1 and v2.23.2 -------------------------------------------- commit e6a72859700384a7e0565472ecf5c48a6392be0e Author: Karel Zak Date: Wed Jul 31 13:27:55 2013 +0200 build-sys: release++ (v2.23.2) Signed-off-by: Karel Zak NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 51528b637f037af4f82d34c563eb4a55b588ce90 Author: Karel Zak Date: Wed Jul 31 13:25:59 2013 +0200 docs: add v2.23.2-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.23.2-ReleaseNotes | 70 +++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 6c02da3025e3d1a151ceaa45b78c147ba232b7c7 Author: Karel Zak Date: Wed Jul 31 13:22:24 2013 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 5 +++++ 1 file changed, 5 insertions(+) commit 222648b86c80b32dac23d27a97481e6cf32b88dc Author: Karel Zak Date: Wed Jul 31 13:16:59 2013 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 635 ++++++----- po/cs.po | 2076 +++++++++++++++++++++------------- po/da.po | 636 ++++++----- po/de.po | 636 ++++++----- po/es.po | 635 ++++++----- po/et.po | 633 ++++++----- po/eu.po | 632 ++++++----- po/fi.po | 636 ++++++----- po/fr.po | 3196 +++++++++++++++++++++++++++++++++++------------------ po/gl.po | 633 ++++++----- po/hr.po | 632 ++++++----- po/hu.po | 636 ++++++----- po/id.po | 636 ++++++----- po/it.po | 636 ++++++----- po/ja.po | 636 ++++++----- po/nl.po | 638 ++++++----- po/pl.po | 1981 +++++++++++++++++++++------------ po/pt_BR.po | 636 ++++++----- po/ru.po | 636 ++++++----- po/sl.po | 636 ++++++----- po/sv.po | 635 ++++++----- po/tr.po | 636 ++++++----- po/uk.po | 2383 +++++++++++++++++++++++++-------------- po/util-linux.pot | 629 ++++++----- po/vi.po | 634 ++++++----- po/zh_CN.po | 634 ++++++----- po/zh_TW.po | 636 ++++++----- 27 files changed, 13954 insertions(+), 10284 deletions(-) commit dd3043378986eba6a7a28384c58c6b3d17b426c7 Author: Yuri Chornoivan Date: Wed Jul 31 12:42:40 2013 +0200 po: update uk.po (from translationproject.org) po/uk.po | 1789 +++++++++++++++++++------------------------------------------- 1 file changed, 532 insertions(+), 1257 deletions(-) commit 3356b1d97487316e278ba383f24c5c85e6fc56e6 Author: Jakub Bogusz Date: Wed Jul 31 12:42:40 2013 +0200 po: update pl.po (from translationproject.org) po/pl.po | 1398 +++++++++++++++++++------------------------------------------- 1 file changed, 423 insertions(+), 975 deletions(-) commit 7bab3bbc0c8131ef741941bb0ea85d95c589db20 Author: David Prévot Date: Wed Jul 31 12:42:40 2013 +0200 po: update fr.po (from translationproject.org) po/fr.po | 2604 +++++++++++++++++++------------------------------------------- 1 file changed, 785 insertions(+), 1819 deletions(-) commit 1e720ce554ea5fef0b59a52b5cc4a184f5008d5e Author: Petr Písař Date: Wed Jul 31 12:42:40 2013 +0200 po: update cs.po (from translationproject.org) po/cs.po | 1485 +++++++++++++++++++------------------------------------------- 1 file changed, 462 insertions(+), 1023 deletions(-) commit b9610441b118c1168f86f6a0c5d4afbda1f772cd Author: Karel Zak Date: Wed Jul 31 12:40:55 2013 +0200 mount: remove repeating words from mount.8 Signed-off-by: Karel Zak sys-utils/mount.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4b18f804894986f36341689001a13595a906d69 Author: Karel Zak Date: Mon Jul 29 13:48:20 2013 +0200 dmesg: don't use pager for --follow References: https://bugzilla.redhat.com/show_bug.cgi?id=984666 Signed-off-by: Karel Zak sys-utils/dmesg.c | 2 ++ 1 file changed, 2 insertions(+) commit d1d58c538893b949340b71b5d16d3fdc2d335370 Author: Karel Zak Date: Fri Jul 19 17:05:31 2013 +0200 losetup: set errno for misaligned offsets References: https://bugs.archlinux.org/task/36189 Signed-off-by: Karel Zak lib/loopdev.c | 26 +++++++++++++++++++------- sys-utils/losetup.c | 20 ++++++++++++++------ 2 files changed, 33 insertions(+), 13 deletions(-) commit db5572acfa151063b475af08bb9264b27218e962 Author: Karel Zak Date: Tue Jul 16 11:23:51 2013 +0200 mount: update xfs docs Signed-off-by: Karel Zak sys-utils/mount.8 | 344 +++++++++++++++++++++++++++--------------------------- 1 file changed, 173 insertions(+), 171 deletions(-) commit 65561d7efaed82371eceacf40b0b24b0aa432d76 Author: Karel Zak Date: Mon Jul 15 18:04:00 2013 +0200 hwclock: remove references to adjtimex from man page The adjtimex is optional on many distros. Signed-off-by: Karel Zak sys-utils/hwclock.8 | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) commit eabec676cb05494752bd007bf53a21f619175290 Author: Karel Zak Date: Mon Jul 15 12:14:10 2013 +0200 sfdisk: don't use word 'disk'. Signed-off-by: Karel Zak fdisks/sfdisk.8 | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit b401e87288db8ef46f988e7fcf859454156bf714 Author: Karel Zak Date: Tue Jul 9 14:45:41 2013 +0200 uuidd: add missing initializer [clang-analyzer] Reported-by: Sami Kerola Signed-off-by: Karel Zak misc-utils/uuidd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0192186554716bd54ddb5c1672339155dd7c2cc Author: Karel Zak Date: Tue Jul 9 14:39:49 2013 +0200 libmount: fix memory leak [clang-analyzer] Reported-by: Sami Kerola Signed-off-by: Karel Zak libmount/src/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit dbe4ea7d2c0d40bf06a4f57680a65582cde8e6a2 Author: Karel Zak Date: Tue Jul 9 14:32:05 2013 +0200 sulogin: fix compiler warning Signed-off-by: Karel Zak login-utils/sulogin-consoles.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 616f0c39cd3c889f561bfa8c206d803b188be824 Author: Sami Kerola Date: Sun Jul 7 20:54:48 2013 +0100 column: dereference of null pointer [clang-analyzer] Signed-off-by: Sami Kerola text-utils/column.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 71271c047ff96c46c8ebae6ff19c4b6e6276724f Author: Sami Kerola Date: Sun Jul 7 20:54:44 2013 +0100 agetty: fix memory leak [clang-analyzer] Signed-off-by: Sami Kerola term-utils/agetty.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1490cab788bf38bc78933c16c285f2f9f76ee4e4 Author: Sami Kerola Date: Sun Jul 7 20:54:43 2013 +0100 sulogin: fix memory leak [clang-analyzer] And make code a little bit more robust. Signed-off-by: Sami Kerola login-utils/sulogin-consoles.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 11107b1e7e2e7f89f8afa0747e8b99daaf87ffd8 Author: Sami Kerola Date: Sun Jul 7 20:54:33 2013 +0100 mkfs.cramfs: argument to free() is a constant address [clang-analyzer] Signed-off-by: Sami Kerola disk-utils/mkfs.cramfs.c | 1 - 1 file changed, 1 deletion(-) commit 6c0adce2413d93ec8c6af7442fdf79e9c376bfb4 Author: Karel Zak Date: Mon Jul 8 14:21:03 2013 +0200 lsblk: use devno to get mountpoint The device (for example LVM logical volume) could be renamed and then the device name from /proc/self/mountinfo does not match with reality. So, we also need to check devno. Unfortunately we cannot completely rely on devno, because for example btrfs uses psudo device numbers. References: https://bugzilla.redhat.com/show_bug.cgi?id=980463 Signed-off-by: Karel Zak misc-utils/lsblk.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 1ef236f080280927b22cd5e9752fca88a3623c35 Author: kernc Date: Thu Jul 4 17:02:57 2013 +0200 Fixes "getty: unrecognized option '--loginpause'" Usage incorrectly stated --loginpause is a valid option, where instead --login-pause is. Also --no-hostname --> --nohostname. term-utils/agetty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9326be24a7841a8be8e3074041bf59157797bc24 Author: Karel Zak Date: Wed Jul 3 12:42:06 2013 +0200 findmnt: avoid unused parameter warning Reported-by: Bernhard Voelker Signed-off-by: Karel Zak misc-utils/findmnt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 61d587612b0337c04d343ec7291bc695f8a5fa0d Author: Karel Zak Date: Mon Jul 1 15:59:16 2013 +0200 findmnt: make udev usage more robust $ findmnt -rn --target /home/kzak/.bashrc -o UUID uses libudev to ask for UUID, unfortunately /home/kzak is DM device and libudev expects sysfs-like names (e.g. dm-0). We have to convert the name to kernel devname. Signed-off-by: Karel Zak misc-utils/findmnt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit ee612ea91d7b7c55fb06fa96bf74165d1c1d2b95 Author: Mike Frysinger Date: Thu Jun 27 20:05:18 2013 -0400 exec_shell: add a license and touch up func def When this file was created, the standard license header was missed. Add it using the same one from unshare.c. The noreturn attribute is not needed since we include the header which has it on the prototype. Signed-off-by: Mike Frysinger lib/exec_shell.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit ff31f3a9571b105e5439f88ab03fcb0a23472594 Author: Sami Kerola Date: Sun Jun 16 19:53:42 2013 +0100 renice: exit with non-zero value when arguments cause warnings This commit also fixes potential error counter wrap, which theoretically could make command to exit with a success when it internally failed just correct amount of times. Signed-off-by: Sami Kerola sys-utils/renice.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit acfd04b7c3cb11333578eead7eb08a69bdcfb8a1 Author: Karel Zak Date: Mon Jun 24 13:28:06 2013 +0200 findmnt: test for fstype/options/maj:min before source and target This change allows to exclude for example NFS mountpoint: findmnt --fstab --target /mnt/foo --type nonfs to stall on a stalled nfs mount. Signed-off-by: Karel Zak misc-utils/findmnt.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit bc7a5ac6587771a7c671bd619580cb01d063cffa Author: Benno Schulenberg Date: Sat Jun 8 20:10:41 2013 +0200 agetty: fix a kill/erase error in man page and improve clarity Signed-off-by: Benno Schulenberg term-utils/agetty.8 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 3a41f05189bee41ddcbb4d2bc4054d96a41bc695 Author: Benno Schulenberg Date: Sun Jun 9 10:50:01 2013 +0200 mount: fix mistaken word and some grammar in man page of mount Reported-by: Krzysztof Żelechowski Signed-off-by: Benno Schulenberg sys-utils/mount.8 | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) commit 529588eb69b903bb73c1ddc9fc6d2f745ca305d1 Author: ihno Date: Fri Jun 7 20:29:42 2013 +0200 mkfs.bfs: fix 64-Bit and endian problems [kzak@redhat.com: - use cpu_to_leXX() macros rather than htoleXX()] Signed-off-by: Karel Zak disk-utils/mkfs.bfs.c | 70 +++++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 33 deletions(-) commit b10bafd5e0bb8c4d7a0ec972d1e78f078f97777b Author: Nathan Rossi Date: Fri Jun 7 14:08:06 2013 +1000 fdisk: add support for the MicroBlaze architecture Add support to fdisk for the MicroBlaze architecture. Signed-off-by: Nathan Rossi fdisks/fdiskbsdlabel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 669bd9b44a3e1f75628b0e089b5edfef597f9f62 Author: Aaron Lu Date: Thu Jun 6 16:28:37 2013 +0800 eject: unlock door before issuing CDROMEJECT command If user has inserted a disc into the drive, the drive will normally be locked. When using eject command to eject the drive, we need to unlock the door first, or the CDROMEJECT command will fail. Though the 2nd attmpt to eject the drive with eject_scsi will succeed, it actually does two things: first to unlock the door and then to eject the tray, both with the SG_IO ioctl. The problem is, Linux SCSI driver keeps track of if a device is in locked state or not, if we go with SG_IO to do the unlocking, the driver will not be aware of the unlocking and would think the drive is locked while actually it has already been unlocked by the first SG_IO command. Fix this by issuing a unlock door command before the CDROMEJECT command in cdrom_eject. Prior to this fix, the following output is expected when there is a disc inside: [aaron@aaronlu util-linux-2.22.2]$ eject -v /dev/sr0 eject: device name is `/dev/sr0' eject: /dev/sr0: mounted on /run/media/aaron/CD_ROM eject: /dev/sr0: is whole-disk device eject: /dev/sr0: is removable device eject: /run/media/aaron/CD_ROM: unmounting eject: /dev/sr0: trying to eject using CD-ROM eject command eject: CD-ROM eject command failed eject: /dev/sr0: trying to eject using SCSI commands eject: SCSI eject succeeded After this fix, the following output is expected: [aaron@aaronlu util-linux-2.22.2]$ ./eject -v /dev/sr0 lt-eject: device name is `/dev/sr0' lt-eject: /dev/sr0: mounted on /run/media/aaron/CD_ROM lt-eject: /dev/sr0: is whole-disk device lt-eject: /dev/sr0: is removable device lt-eject: /run/media/aaron/CD_ROM: unmounting lt-eject: /dev/sr0: trying to eject using CD-ROM eject command lt-eject: CD-ROM eject command succeeded And the SCSI device's locked state is correct now. Signed-off-by: Aaron Lu sys-utils/eject.c | 3 +++ 1 file changed, 3 insertions(+) commit 7c675790a70a453d693d174a2e9d8c2ccab2feb3 Author: Eric S. Raymond Date: Mon Jun 10 17:51:31 2013 -0400 Fix broken list syntax. Bodiless .TP entries and unterminated .TP lists interfere with page parsing. Signed-off-by: Karel Zak sys-utils/unshare.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d856c69728a3246de5c723356cce1bc5d74b2b7e Author: Eric S. Raymond Date: Mon Jun 10 17:18:15 2013 -0400 Restore use of correct alternation syntax using { | }. This is required in order for ther synopsis to be translated into the corresponding XML markup. sys-utils/ipcrm.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8c6e92781d44496b469a6fab8177d1f84b092086 Author: Eric S. Raymond Date: Mon Jun 10 15:58:25 2013 -0400 Re-layout a FILES section in the traditional style. term-utils/agetty.8 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit dbb415f8b578f9f594be3eed81c81b02f9f97200 Author: Eric S. Raymond Date: Mon Jun 10 15:55:45 2013 -0400 Remove another .ti for .RS/.RE, and remove a .TP that broke list parsing. term-utils/agetty.8 | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit 6159f1636087abfba9618049f2725f414e95c492 Author: Eric S. Raymond Date: Mon Jun 10 15:48:41 2013 -0400 Replace .IP o with .IP \(bu, using the [nt]roff bullet character. This will improve the quality of generated HTML. There is a cost, which is that most terminal emulators will just display the bullet as a (less visible) dot. An alternative to this change would be to use a * character for the bullet. term-utils/agetty.8 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit b6b4b2f916fc22eb8cdfa3d89014f2e90eef652c Author: Eric S. Raymond Date: Mon Jun 10 15:42:06 2013 -0400 Replace .ti operations with equivalent .RS/.RE pairs. This change makes automatic lifting to XML-DocBook possible, and should enable generation of better-quality HTML from these pages. term-utils/agetty.8 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 527417578614b50c5df069721d19570a1c2c0891 Author: Yuri Chornoivan Date: Wed May 29 21:38:00 2013 +0300 mount: (deprecated) fix typo tailed->failed Signed-off-by: Yuri Chornoivan mount-deprecated/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1befbf0bc3c8b2441674f0bd192d7bca541713e4 Author: Karel Zak Date: Fri Jun 7 11:26:46 2013 +0200 runuser: update man page, add note about -l vs. -p Reported-by: Bernhard Voelker Signed-off-by: Karel Zak login-utils/runuser.1 | 1 + 1 file changed, 1 insertion(+) commit 71f0a9be405e0270ea045a93b16316a0da6d96a9 Author: Karel Zak Date: Tue May 28 12:53:35 2013 +0200 getopt: add reference to /usr/share/docs to man page Signed-off-by: Karel Zak misc-utils/getopt.1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4ace8026e6b2da10f10e09dc052f708186eb2eab Author: Karel Zak Date: Mon Jun 17 13:02:15 2013 +0200 libmount: be robust for empty target/source strings * lib/canonicalize.c: don't interpret empty strings as relative paths * libmount: more robust libmnt_table find function and debug messages References: https://bugzilla.novell.com/show_bug.cgi?id=825150 Signed-off-by: Karel Zak Signed-off-by: Karel Zak lib/canonicalize.c | 7 +++++-- libmount/src/context_umount.c | 13 +++++++++++-- libmount/src/tab.c | 28 ++++++++++++++++------------ sys-utils/umount.c | 5 ++++- 4 files changed, 36 insertions(+), 17 deletions(-) commit 1bb34a69e6a6764be7822d2be297024096223a0a Author: Karel Zak Date: Wed May 29 11:32:58 2013 +0200 su: ignore --preserve-environment, it's mutually exclusive to --login Addresses: http://bugs.gnu.org/10317 Reported-by: Bernhard Voelker Signed-off-by: Karel Zak login-utils/su-common.c | 5 +++++ login-utils/su.1 | 1 + 2 files changed, 6 insertions(+) commit cef872cebb7dfa09612d0c29ac619ad0406a0ff9 Author: Karel Zak Date: Thu May 30 13:29:34 2013 +0200 libmount: more robust options string parsing # mount -o=rw /dev/sdb /mnt/test mount: libmount/src/optmap.c:212: mnt_optmap_get_entry: Assertion `namelen' failed. Aborted (core dumped) Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=968786 Signed-off-by: Karel Zak libmount/src/optstr.c | 4 ++-- sys-utils/mount.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) commit c3f69424516dd2e0b05c5231ab380d754cff4bbf Author: Karel Zak Date: Mon Jun 3 14:06:18 2013 +0200 agetty: don't remove ECHOCTL from c_lflag It's really unexpected that arrows keys move cursor when agetty/login asks for login name or password. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=969458 Signed-off-by: Karel Zak include/ttyutils.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 3dda6bb8df3aacb1888972cce6085b032ee791c4 Author: Karel Zak Date: Mon Jun 3 10:04:43 2013 +0200 agetty: update man page and usage() - baud_rate is optional - agetty has been rewritten 2 years ago, so don't blame original authors in the man page Signed-off-by: Karel Zak term-utils/agetty.8 | 43 ++++++++++++++++++++++--------------------- term-utils/agetty.c | 2 +- 2 files changed, 23 insertions(+), 22 deletions(-) commit a2e6a8e828bb493def8f2d155cd6aea4c5c81808 Author: Karel Zak Date: Mon Jun 17 18:08:01 2013 +0200 cal: fix -y output for UTF8 ... in the yearly() function is a static buffer where is not space for multibyte headers. Signed-off-by: Karel Zak misc-utils/cal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 8998ad001fdb58ceba4147f8aa4c72203117db25 Author: Karel Zak Date: Wed Jun 5 14:31:00 2013 +0200 login: use TCSANOW to remove HUPCL Fedora 19, kernel 3.9, systemd 204, telnetd with socket activation. login(1) code: ttt.c_cflag &= ~HUPCL; tcsetattr(0, TCSAFLUSH, &ttt); close(STDIN_FILENO); close(STDOUT_FILENO); close(STDERR_FILENO); signal(SIGHUP, SIG_IGN); /* so vhangup() wont kill us */ vhangup(); signal(SIGHUP, SIG_DFL); strace : ioctl(0, SNDCTL_TMR_CONTINUE or SNDRV_TIMER_IOCTL_GPARAMS or TCSETSF, {B9600 opost isig icanon echo ...}) = 0 close(0) = 0 close(1) = 0 close(2) = 0 --- SIGHUP {si_signo=SIGHUP, si_code=SI_KERNEL} --- --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=1, si_uid=0} --- +++ killed by SIGTERM +++ It seems we get SIGHUP (and SIGTERM from systemd) before vhangup(). The problem occur sometimes. I guess it's because TCSAFLUSH is not applied immediately, so it would be probably better to use TCSANOW to make the code more robust. References: https://bugzilla.redhat.com/show_bug.cgi?id=962145 Signed-off-by: Karel Zak login-utils/login.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)