[Bug 1711144] [NEW] package libssh-gcrypt-4 (not installed) failed to install/upgrade: package control info rmdir of 'md5sums' didn't say not a dir: Read-only file system
Public bug reported: Observed this error while installing Ubuntu on my computer. I am first time Ubuntu user so do not know much details about the bug or installation process ProblemType: Package DistroRelease: Ubuntu 16.04 Package: libssh-gcrypt-4 (not installed) ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13 Uname: Linux 4.4.0-31-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CasperVersion: 1.376 Date: Wed Aug 16 06:52:40 2017 ErrorMessage: package control info rmdir of 'md5sums' didn't say not a dir: Read-only file system LiveMediaBuild: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.12~ubuntu16.04.1 SourcePackage: libssh Title: package libssh-gcrypt-4 (not installed) failed to install/upgrade: package control info rmdir of 'md5sums' didn't say not a dir: Read-only file system UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: libssh (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1711144 Title: package libssh-gcrypt-4 (not installed) failed to install/upgrade: package control info rmdir of 'md5sums' didn't say not a dir: Read- only file system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libssh/+bug/1711144/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1434758] Re: mysqld: errno: 24 - Too many open files
Hi Robie, The internal assessment here is that most appropriate solution would be the one you have mentioned as the last option. It would be easier if user owns the responsibility for creating and managing the MySQL service file under /etc with following settings or more as needed: [Service] LimitNOFILE=x LimitMEMLOCK=x This will help in avoiding any conflict between user settings and package settings. We may add a comment to explain this to the users. Please let me know if you need more information. Regards, Akhil On Monday 30 March 2015 05:23 PM, Robie Basak wrote: I'm reluctant to raise the default limit to infinity because this may introduce a security vulnerability due to select() macro overflow. See https://lists.ubuntu.com/archives/ubuntu- devel/2010-September/031446.html for details. If someone from upstream can confirm definitely that MySQL definitely does handle higher number file descriptors correctly though, then I have no objection. I understand though that users do want to be able to tune the value. So, what else can we do? It seems to me that now that we're using systemd there are two different places where the setting can be made - from my.cnf, or from the systemd service definition - whereas previously users tended to do it in just my.cnf. Having it set in two places is confusing. my.cnf cannot raise beyond the systemd setting, but we cannot make the systemd setting infinity because of the security concern above. So given that I don't want to change systemd's default to infinity, I think it makes sense to expect users to change the systemd service definition (copy /lib/systemd/system/mysql.service to /etc/systemd/system/ and set LimitNOFILE etc there) if they want to change the default value, and to not set open_files_limit in my.cnf at all. If this is reasonable, then this bug is Invalid. Is it reasonable? Comments appreciated. ** Changed in: mysql-5.6 (Ubuntu) Importance: Undecided = Medium ** Changed in: mysql-5.6 (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1434758/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1434758] Re: mysqld: errno: 24 - Too many open files
Hi Robie, The internal assessment here is that most appropriate solution would be the one you have mentioned as the last option. It would be easier if user owns the responsibility for creating and managing the MySQL service file under /etc with following settings or more as needed: [Service] LimitNOFILE=x LimitMEMLOCK=x This will help in avoiding any conflict between user settings and package settings. We may add a comment to explain this to the users. Please let me know if you need more information. Regards, Akhil On Monday 30 March 2015 05:23 PM, Robie Basak wrote: I'm reluctant to raise the default limit to infinity because this may introduce a security vulnerability due to select() macro overflow. See https://lists.ubuntu.com/archives/ubuntu- devel/2010-September/031446.html for details. If someone from upstream can confirm definitely that MySQL definitely does handle higher number file descriptors correctly though, then I have no objection. I understand though that users do want to be able to tune the value. So, what else can we do? It seems to me that now that we're using systemd there are two different places where the setting can be made - from my.cnf, or from the systemd service definition - whereas previously users tended to do it in just my.cnf. Having it set in two places is confusing. my.cnf cannot raise beyond the systemd setting, but we cannot make the systemd setting infinity because of the security concern above. So given that I don't want to change systemd's default to infinity, I think it makes sense to expect users to change the systemd service definition (copy /lib/systemd/system/mysql.service to /etc/systemd/system/ and set LimitNOFILE etc there) if they want to change the default value, and to not set open_files_limit in my.cnf at all. If this is reasonable, then this bug is Invalid. Is it reasonable? Comments appreciated. ** Changed in: mysql-5.6 (Ubuntu) Importance: Undecided = Medium ** Changed in: mysql-5.6 (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1434758 Title: mysqld: errno: 24 - Too many open files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1434758/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1028579] Re: test suite run during package build should require 100% of tests to pass
Hi, This bug has been fixed a while ago. In case you feel that the problem is still persisting please reopen this bug report. Akhil ** Changed in: mysql-5.5 (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.5 in Ubuntu. https://bugs.launchpad.net/bugs/1028579 Title: test suite run during package build should require 100% of tests to pass To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1028579/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1028579] Re: test suite run during package build should require 100% of tests to pass
Hi, This bug has been fixed a while ago. In case you feel that the problem is still persisting please reopen this bug report. Akhil ** Changed in: mysql-5.5 (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1028579 Title: test suite run during package build should require 100% of tests to pass To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1028579/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs