[Touch-packages] [Bug 337321] Re: sfdisk doesn't accept blank for start value with -uS
** Changed in: util-linux (Ubuntu) Assignee: (unassigned) => Ayan George (ayan) ** Changed in: util-linux (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/337321 Title: sfdisk doesn't accept blank for start value with -uS Status in util-linux package in Ubuntu: Fix Released Bug description: Binary package hint: util-linux Release: 8.10 util-linux: 2.14-1ubuntu2 According to the man-page this should work: sfdisk -uS /dev/sdb << EOF 63,546147,82,- ,512000 EOF I got these values by creating the 256MB partition in fdisk, then list the values with sfdisk -l /dev/sdb and then deleting all partitions again in fdisk. The first line creates a 256MB Swap partition as /dev/sdb1. The second line should create a partition 512000 sectors large right behind that. The problem is that , isn't being accepted, the problem seems to be omitting the starting point. The first line on it's own works. Only when I enter the correct starting point (546210) at the beginning of the second line it works. The problem seems to be -uS specific, -uM works. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/337321/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 337321] Re: sfdisk doesn't accept blank for start value with -uS
sfdisk has been pretty much completely re-written since v2.14. I can't reproduce this under Xenial -- sfdisk works as described in the man page. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/337321 Title: sfdisk doesn't accept blank for start value with -uS Status in util-linux package in Ubuntu: New Bug description: Binary package hint: util-linux Release: 8.10 util-linux: 2.14-1ubuntu2 According to the man-page this should work: sfdisk -uS /dev/sdb << EOF 63,546147,82,- ,512000 EOF I got these values by creating the 256MB partition in fdisk, then list the values with sfdisk -l /dev/sdb and then deleting all partitions again in fdisk. The first line creates a 256MB Swap partition as /dev/sdb1. The second line should create a partition 512000 sectors large right behind that. The problem is that , isn't being accepted, the problem seems to be omitting the starting point. The first line on it's own works. Only when I enter the correct starting point (546210) at the beginning of the second line it works. The problem seems to be -uS specific, -uM works. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/337321/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1553353] Re: tail'ing a file in a script session hangs
16.04 is using linux util tagged at v2.27.1. I can reproduce the problem using the git source at tag 2.27.1 forward. The bug doesn't occur in v2.26.2 so this looks like a regression. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1553353 Title: tail'ing a file in a script session hangs Status in util-linux package in Ubuntu: Confirmed Bug description: Steps to reproduce: 1) Start script session (same issue when script is saving to /dev/null) script # or: script /dev/null 2) Tail a file tail -f /var/log/syslog 3) Press "Enter" 2 times 4) Notice the script process taking 100% CPU This regression is rather new but I don't know which update introduced it. Reverting util-linux/bsdutils to the previous version doesn't help so maybe it's not even script's fault. tail/coreutils hasn't been update in a long time so I'm not sure who's fault it is. I can reproduce the problem with kernel 4.4.0-9-generic and 4.4.0-10-generic. $ lsb_release -rd Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 $ apt-cache policy util-linux bsdutils coreutils util-linux: Installed: 2.27.1-4ubuntu1 Candidate: 2.27.1-4ubuntu1 Version table: *** 2.27.1-4ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.27.1-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages bsdutils: Installed: 1:2.27.1-4ubuntu1 Candidate: 1:2.27.1-4ubuntu1 Version table: *** 1:2.27.1-4ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1:2.27.1-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages coreutils: Installed: 8.25-2ubuntu2 Candidate: 8.25-2ubuntu2 Version table: *** 8.25-2ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: util-linux 2.27.1-4ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-10.25-generic 4.4.3 Uname: Linux 4.4.0-10-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 4 15:14:15 2016 SourcePackage: util-linux UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1553353/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1553353] Re: tail'ing a file in a script session hangs
Killing tail stops the runaway poll(). It might help to see what tail is doing as well. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1553353 Title: tail'ing a file in a script session hangs Status in util-linux package in Ubuntu: Confirmed Bug description: Steps to reproduce: 1) Start script session (same issue when script is saving to /dev/null) script # or: script /dev/null 2) Tail a file tail -f /var/log/syslog 3) Press "Enter" 2 times 4) Notice the script process taking 100% CPU This regression is rather new but I don't know which update introduced it. Reverting util-linux/bsdutils to the previous version doesn't help so maybe it's not even script's fault. tail/coreutils hasn't been update in a long time so I'm not sure who's fault it is. I can reproduce the problem with kernel 4.4.0-9-generic and 4.4.0-10-generic. $ lsb_release -rd Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 $ apt-cache policy util-linux bsdutils coreutils util-linux: Installed: 2.27.1-4ubuntu1 Candidate: 2.27.1-4ubuntu1 Version table: *** 2.27.1-4ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.27.1-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages bsdutils: Installed: 1:2.27.1-4ubuntu1 Candidate: 1:2.27.1-4ubuntu1 Version table: *** 1:2.27.1-4ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1:2.27.1-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages coreutils: Installed: 8.25-2ubuntu2 Candidate: 8.25-2ubuntu2 Version table: *** 8.25-2ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: util-linux 2.27.1-4ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-10.25-generic 4.4.3 Uname: Linux 4.4.0-10-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 4 15:14:15 2016 SourcePackage: util-linux UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1553353/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1553353] Re: tail'ing a file in a script session hangs
Ah -- I've been able to reproduce it. I'll run it in a debugger and see if I can isolate the problem. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1553353 Title: tail'ing a file in a script session hangs Status in util-linux package in Ubuntu: Confirmed Bug description: Steps to reproduce: 1) Start script session (same issue when script is saving to /dev/null) script # or: script /dev/null 2) Tail a file tail -f /var/log/syslog 3) Press "Enter" 2 times 4) Notice the script process taking 100% CPU This regression is rather new but I don't know which update introduced it. Reverting util-linux/bsdutils to the previous version doesn't help so maybe it's not even script's fault. tail/coreutils hasn't been update in a long time so I'm not sure who's fault it is. I can reproduce the problem with kernel 4.4.0-9-generic and 4.4.0-10-generic. $ lsb_release -rd Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 $ apt-cache policy util-linux bsdutils coreutils util-linux: Installed: 2.27.1-4ubuntu1 Candidate: 2.27.1-4ubuntu1 Version table: *** 2.27.1-4ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.27.1-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages bsdutils: Installed: 1:2.27.1-4ubuntu1 Candidate: 1:2.27.1-4ubuntu1 Version table: *** 1:2.27.1-4ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1:2.27.1-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages coreutils: Installed: 8.25-2ubuntu2 Candidate: 8.25-2ubuntu2 Version table: *** 8.25-2ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: util-linux 2.27.1-4ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-10.25-generic 4.4.3 Uname: Linux 4.4.0-10-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 4 15:14:15 2016 SourcePackage: util-linux UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1553353/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1553353] Re: tail'ing a file in a script session hangs
I couldn't reproduce it. Can you post strace output of script? There will be more than one script process -- chose the one that is consuming 100% CPU and run something like: $ strace -tt -p >/tmp/strace.out Let it run for about 15 seconds and exit. Then upload the output. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1553353 Title: tail'ing a file in a script session hangs Status in util-linux package in Ubuntu: New Bug description: Steps to reproduce: 1) Start script session (same issue when script is saving to /dev/null) script # or: script /dev/null 2) Tail a file tail -f /var/log/syslog 3) Press "Enter" 2 times 4) Notice the script process taking 100% CPU This regression is rather new but I don't know which update introduced it. Reverting util-linux/bsdutils to the previous version doesn't help so maybe it's not even script's fault. tail/coreutils hasn't been update in a long time so I'm not sure who's fault it is. I can reproduce the problem with kernel 4.4.0-9-generic and 4.4.0-10-generic. $ lsb_release -rd Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 $ apt-cache policy util-linux bsdutils coreutils util-linux: Installed: 2.27.1-4ubuntu1 Candidate: 2.27.1-4ubuntu1 Version table: *** 2.27.1-4ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.27.1-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages bsdutils: Installed: 1:2.27.1-4ubuntu1 Candidate: 1:2.27.1-4ubuntu1 Version table: *** 1:2.27.1-4ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1:2.27.1-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages coreutils: Installed: 8.25-2ubuntu2 Candidate: 8.25-2ubuntu2 Version table: *** 8.25-2ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: util-linux 2.27.1-4ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-10.25-generic 4.4.3 Uname: Linux 4.4.0-10-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 4 15:14:15 2016 SourcePackage: util-linux UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1553353/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp