Bug#510130: Error calculing volhdr partition boundaries on SGI disklabel

2010-11-29 Thread Karel Zak
if (debug > 1) { > > if (verbose) > > printf("%2d:%12d\t%12d\t%12d\n", Index[i], > > Karel, > what do you think about the patch proposed by Aurelien? Applied, thanks. Karel -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIB

Bug#747313: [Pkg-shadow-devel] Bug#747313: login: Please move pam_selinux open call higher in the session PAM stack

2014-05-12 Thread Karel Zak
PAM-only etc. Karel -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#675569: Fixed in upstream

2012-07-11 Thread Karel Zak
: Inappropriate ioctl for device Good catch, TIOCSCTTY is optional in the current code so tcsetpgrp() should not be required too. Fixed. Thanks. > (Unless these errors are all symptoms of another problem, that is.) The question is why your agetty is not able to get controlling tty.

Bug#634871: mount refuses to update mtab if there's any entry with "none"

2011-07-21 Thread Karel Zak
rite entry failed: Success", as errno hasn't > been set, and gotos to leave, leaving mtab not updated. Fixed by upstream commit 696b84b30a31dcb2fb1383d5afe08abcc1597eab (in stable/v2.19 branch). Thanks! > You definitely owe me a beer, Karel! :-) When and where? :-) Karel --

Bug#794727: "mesg n" exits with error, even if the command is successful

2015-08-11 Thread Karel Zak
need to interpret > the standard so strictly. I think standard wants to keep the things simple and stupid without any extra exceptions (another exit codes when executed with operants). BTW, you can use "mesg $SOMETHING_FROM_USER" and then return code maybe an elegant way how to

Bug#770211: LUKS partition types, redux

2014-11-24 Thread Karel Zak
tion this only for the record, since the > previous > thread suggests the util-linux maintainers don't agree with this.) This is about partitioning tools, not about on-disk disk label data. Karel -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#770211: LUKS partition types, redux

2014-11-24 Thread Karel Zak
On Mon, Nov 24, 2014 at 09:42:50AM -0500, Phillip Susi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/24/2014 6:37 AM, Karel Zak wrote: > > The current trend is to use partition type to define for what > > purpose we want to use the partition (fo

Bug#756177: fdisk -l regression between v2.24.2 and v2.25

2014-07-28 Thread Karel Zak
a4 and reviving wholedisk.h from 62acb047a625059e77 > makes v2.25 fdisk -l work as expected for me. > > I'm CCing the upstream developer mailing list to hopefully have some help > on finding the proper fix. Already fixed in upstream tree. The patch will be in 2.25.1 (probab

Bug#784709: when would blkid success but not filesystem type?

2015-05-21 Thread Karel Zak
the UUID is the same like kernel uses for root= command line option. Note that my recommendation is to use lsblk, for example: # lsblk --noheading --output FSTYPE /dev/sda1 vfat it reads info from udev db (libblkid is only fallback here), and it provides better way how to control outp

Bug#784709: when would blkid success but not filesystem type?

2015-05-26 Thread Karel Zak
On Tue, May 26, 2015 at 12:21:36PM +0800, Paul Wise wrote: > On Thu, 21 May 2015 13:07:35 +0200 Karel Zak wrote: > > > The option '-s' does not affect return code ... we have information > > about all (including empty) partitions! > > Ok, I see. Sounds like

Bug#785116: util-linux: blkid -s returns too much information

2015-05-13 Thread Karel Zak
a problem. > Lets ask upstream if DEVNAME is considered a tag which should > be included in the tag filtering CCed. I have a patch to fix it, but now when I think about it it's probably better to keep the current behavior than fix one regression by another regression ;-)

Bug#785116: util-linux: blkid -s returns too much information

2015-05-13 Thread Karel Zak
;c5490147-2a6c-4c8a-aa1b-33492034f927" # lsblk --pairs -o UUID,FSTYPE /dev/sda2 UUID="c5490147-2a6c-4c8a-aa1b-33492034f927" FSTYPE="ext4" and it reads information from udev db or from libblkid. Karel -- Karel Zak http://karelzak.blogspot.com

Bug#786554: [PATCH] man: fix nolazytime typo in mount(8)

2015-06-08 Thread Karel Zak
On Wed, Jun 03, 2015 at 06:32:09PM +0200, Andreas Henriksson wrote: > sys-utils/mount.8 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a s

Bug#776034: fsck runs in parallel on same physical disk

2015-01-26 Thread Karel Zak
eature, is it actively being worked on? No, nobody is workning on -l for stacked devices. Karel -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#776034: fsck runs in parallel on same physical disk

2015-01-26 Thread Karel Zak
On Mon, Jan 26, 2015 at 10:36:02AM +0100, Daniel Pocock wrote: > On 26/01/15 10:32, Karel Zak wrote: > > On Mon, Jan 26, 2015 at 02:24:04AM +0100, Michael Biebl wrote: > >>>-l Create an exclusive flock(2) lock file > >>>

Bug#801527: mount believes correctly-formatted UDF uid=forget option is in error

2015-10-12 Thread Karel Zak
is if 'smart lookup' fails. This is the way how the original mount(8) has worked. Fixed: https://github.com/karelzak/util-linux/commit/440a355a3d3934d99f7ef82adf02342e6f2f7983 will be in v2.27.1. Thanks! Karel -- Karel Zak http://karelzak.blogspot.com

Bug#764387: [PATCH] autogen.sh: check for libtoolize rather than libtool

2014-10-14 Thread Karel Zak
On Tue, Oct 07, 2014 at 11:07:19PM +0200, Helmut Grohne wrote: > autogen.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subj

Bug#809016: mount.8: missing documentation for overlay

2016-01-05 Thread Karel Zak
On Sat, Dec 26, 2015 at 01:20:31PM +0900, Osamu Aoki wrote: > sys-utils/mount.8 | 31 +++ > 1 file changed, 31 insertions(+) Applied to upstream tree (with some changes), thanks! Karel -- Karel Zak http://karelzak.blogspot.com

Bug#827225: [PATCH] tests: really fix fdisk/bsd for hppa

2016-08-16 Thread Karel Zak
gure, so I guess that "hppa" has been also correct for some boxes. It seems more robust to use *alpha* | *ppc* | *ia64* | *hppa* | *parisc* ) for sure. Fixed. Thanks Karel -- Karel Zak http://karelzak.blogspot.com

Bug#628843: login: tty hijacking possible in "su" via TIOCSTI ioctl

2016-10-03 Thread Karel Zak
cases in su(1) and runuser(1) and any changes would introduce regressions. It seems we need a better way -- ideally another ioctl (or whatever is supported by the kernel) to disable TIOCSTI without setsid(). and yes, blacklisting ioctl is hack. Karel -- Karel Zak http://karelzak.blogspot.com

Bug#628843: login: tty hijacking possible in "su" via TIOCSTI ioctl

2016-10-03 Thread Karel Zak
to fix this issue (but not enabled by default). I'll think about it. Karel -- Karel Zak http://karelzak.blogspot.com

Bug#628843: login: tty hijacking possible in "su" via TIOCSTI ioctl

2016-10-03 Thread Karel Zak
as discussed on util-linux mailing list), but it's relatively complex. My plan is to try to implement it. We will see. Karel -- Karel Zak http://karelzak.blogspot.com

Bug#1030285: Fwd: Bug#1030285: bsdutils: logger: regressed to reusing initial timestamp

2023-02-02 Thread Karel Zak
libc6 2.36-4+ports > ii libsystemd0 252.4-1 > > Versions of packages bsdutils recommends: > ii bsdextrautils 2.38.1-4 > > bsdutils suggests no packages. > > -- no debconf information > -- Karel Zak http://karelzak.blogspot.com

Bug#807071: util-linux: please allow term-utils/script.c without signalfd (needed for kFreeBSD and Hurd)

2023-02-03 Thread Karel Zak
On Thu, Feb 02, 2023 at 02:08:11AM +, Thorsten Glaser wrote: > Karel Zak dixit: > > >On Thu, Oct 24, 2019 at 12:38:51AM +, Thorsten Glaser wrote: > >> you were involved in changing script(1) to use signalfd, which > >> is apparently Linux-specific b

Bug#505271: [Pkg-shadow-devel] Bug#505271: Bug#505071: login tty mis-determination (see bug#332198)

2008-12-08 Thread Karel Zak
ck peek into shadow-utils-4.1.2-8.fc10.src.rpm suggests Fedora is > > also affected. I do not know about RHEL. > > shadow-utils.spec:rm $RPM_BUILD_ROOT/%{_bindir}/login > > makes me think Fedora / RHEL should be free of login's bugs. yes, we use the classic login(1) f

Bug#579948: [parted-devel] Some debugging info

2010-06-14 Thread Karel Zak
r; /* where the part starts... */ u_int32_t num_sectors;/* ...and it's length */ }; IMHO it does not make sense to use non-cylinder alignment here. Karel -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ..

Bug#494001: Bug: mount: "user" mounts broken when /etc/mtab is a symlink

2011-02-19 Thread Karel Zak
enough to updated mount(8) -- the long term goal is to modify also mount. helpers to use libmount library (this is my goal for this year). Then we can say that mtab is really dead. Karel -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIBE, email to debian-bugs-dist-req

Bug#566072: [PATCH] fsck: list nonexistent devices that are declared without nofail

2010-11-01 Thread Karel Zak
e: > > On Thu, Oct 07, 2010 at 10:56:49AM +0200, Karel Zak wrote: > > > On Sat, Oct 02, 2010 at 02:26:58PM +0200, Serafeim Zanikolas wrote: > > > > fsck -A output does not indicate the offending device(s), when a device > > > > is > > > > non

Bug#593336: New version breaks encfs in some ways in combination with pam_encfs

2010-10-07 Thread Karel Zak
my mistake, I forgot that we call canonicalize() also from fsprobe_get_devname_by_spec(). > mount(8). Here's a patch to fix it. Coud you please rebuild > util-linux with this patch to verify that it fixes the hang? > > Karel, does this patch look OK? Yes. Applied, thanks!

Bug#613589: /sbin/cfdisk: Bad Table error after fresh Squeeze install

2011-04-14 Thread Karel Zak
? > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613589 Fixed by commit 73356e0553bd9ac00f556891a4798064c0ee6849 (v2.19). Karel -- Karel Zak http://karelzak.blogspot.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#613589: /sbin/cfdisk: Bad Table error after fresh Squeeze install

2011-04-14 Thread Karel Zak
On Thu, Apr 14, 2011 at 09:28:05AM +0200, Olaf van der Spek wrote: > On Thu, Apr 14, 2011 at 9:19 AM, Karel Zak wrote: > > On Wed, Apr 13, 2011 at 09:36:28AM +0200, Olaf van der Spek wrote: > >> On Wed, Apr 13, 2011 at 9:33 AM, Timo Juhani Lindfors > >> wrote: >

Bug#898426: [PATCH] partx: exit with error code when partition read failed

2018-06-18 Thread Karel Zak
On Sun, Jun 17, 2018 at 02:49:15PM +0200, Andreas Henriksson wrote: > disk-utils/partx.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Applied, thanks. -- Karel Zak http://karelzak.blogspot.com

Bug#977562: systemd: Incorrect order of agetty arguments in serial-getty@ttyS0.service definition file

2021-01-18 Thread Karel Zak
nsists of > > > > either 0-9 or ','. Yes > > > > It is not obvious to me how it could go wrong in the example originally > > > > described in this bug report. > > > > > > > > Please also note that for example sysvinit's inittab also uses getty > > > > with arguments in both orders. > > > > > > > > Simply it should work either way. > > > > > > > > Please also note that the argument order is not the only thing changed. > > > > It was also changed from specifying 3 speeds to only 1. > > > > > > > > Maybe the real issue here is that line speed detection isn't working? > > > > I'd appreciate if the bug reporter could dive a bit deeper into the > > > > problem. Yes. Karel -- Karel Zak http://karelzak.blogspot.com

Bug#807071: util-linux: please allow term-utils/script.c without signalfd (needed for kFreeBSD and Hurd)

2020-01-02 Thread Karel Zak
r the latter). I have added this request to our TODO file. We'll see. The problem is that with signalfd it's more reliable than when classic signals interrupt any syscall, but I have no problem to support any #ifdefs for non-signalfd systems. Karel -- Karel Zak http://karelzak.blogspot.com

Bug#1003095: /usr/bin/script: hangs when child doesn't read input fast enough

2022-01-05 Thread Karel Zak
sigemptyset(&set); + sigemptyset(&org); + sigaddset(&set, SIGINT); + sigaddset(&set, SIGTERM); + + sigprocmask(SIG_UNBLOCK, &set, &org); + + rc = write_all(pty->master, buf, bufsz); + + sigprocmask(SIG_SETMASK, &org, NULL); + return rc; } -- Karel Zak http://karelzak.blogspot.com

Bug#1003095: /usr/bin/script: hangs when child doesn't read input fast enough

2022-02-03 Thread Karel Zak
On Wed, Feb 02, 2022 at 03:49:38PM +0100, наб wrote: > Bumping this patch after 2ish weeks :) Sorry for my delay. Your solution seems elegant, but it seems to late for the next release v2.38 (now rc1). I'll play with it next week and prepare it for v2.39. Karel -- Karel Zak

Bug#1003095: /usr/bin/script: hangs when child doesn't read input fast enough

2022-04-11 Thread Karel Zak
pty) > +static void drain(struct ul_pty *pty) drain_child_buffers() :-) Anyway, it looks good. Karel -- Karel Zak http://karelzak.blogspot.com

Bug#1003095: /usr/bin/script: hangs when child doesn't read input fast enough

2022-04-19 Thread Karel Zak
t; include/pty-session.h | 7 +++ > lib/pty-session.c | 126 ++ > 2 files changed, 110 insertions(+), 23 deletions(-) Applied, thanks! Please, next time use "Signed-off-by:" line :-) Karel -- Karel Zak http://karelzak.blogspot.com

Bug#1098673: [Pkg-utopia-maintainers] Bug#1098673: udisks2: autopkgtest fails with util-linux 2.41

2025-02-24 Thread Karel Zak
test suite. > > We basically have two options: > a/ revert that change in u-l > b/ update udisks to accept both old and new style error messages Any error messages are not part of the API and I don't think we should maintain backward compatibility for error, warning, or info messages