[Bug 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
Still the same error with Trusty when installing the OpenLDAP (slapd) package. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+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 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
Still the same error with Trusty when installing the OpenLDAP (slapd) package. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
** Bug watch added: Debian Bug tracker #709472 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709472 ** Also affects: openldap (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709472 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+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 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
** Changed in: openldap (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+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 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
** Bug watch added: Debian Bug tracker #709472 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709472 ** Also affects: openldap (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709472 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
** Changed in: openldap (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
IMHO I think that the init script should probably detect this scenario and exit with status code 6 (service not configured) rather than with status code 1 which is just a general failure. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+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 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
** Changed in: openldap (Ubuntu Precise) Importance: Medium = Low ** Changed in: openldap (Ubuntu Quantal) Importance: Medium = Low ** No longer affects: openldap (Ubuntu Quantal) ** No longer affects: openldap (Ubuntu Precise) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+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 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
I would say that the 'old' behaviour would be preferable if somoene choses to have an unconfigured slapd: Instead of failing to start the service, an empty slapd that is live and can be configured from the root account would be a bit more user-friendly. This seems to be how slapd was packaged in Ubuntu before, until the addition of an automatically populated tree recently. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+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 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
IMHO I think that the init script should probably detect this scenario and exit with status code 6 (service not configured) rather than with status code 1 which is just a general failure. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
** Changed in: openldap (Ubuntu Precise) Importance: Medium = Low ** Changed in: openldap (Ubuntu Quantal) Importance: Medium = Low ** No longer affects: openldap (Ubuntu Quantal) ** No longer affects: openldap (Ubuntu Precise) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
I would say that the 'old' behaviour would be preferable if somoene choses to have an unconfigured slapd: Instead of failing to start the service, an empty slapd that is live and can be configured from the root account would be a bit more user-friendly. This seems to be how slapd was packaged in Ubuntu before, until the addition of an automatically populated tree recently. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
ubuntu@server-15281:~$ echo debconf slapd/no_configuration string true | sudo /usr/bin/debconf-set-selections ubuntu@server-15281:~$ sudo apt-get install slapd Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libltdl7 libodbc1 libperl5.14 libslp1 Suggested packages: libmyodbc odbc-postgresql tdsodbc unixodbc-bin slpd openslp-doc ldap-utils The following NEW packages will be installed: libltdl7 libodbc1 libperl5.14 libslp1 slapd 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 2,044 kB of archives. After this operation, 5,423 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libltdl7 amd64 2.4.2-1ubuntu1 [37.6 kB] Get:2 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libodbc1 amd64 2.2.14p2-5ubuntu3 [225 kB] Get:3 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libperl5.14 amd64 5.14.2-6ubuntu2.1 [1,252 B] Get:4 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libslp1 amd64 1.2.1-7.8ubuntu1 [50.4 kB] Get:5 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main slapd amd64 2.4.28-1.1ubuntu4.1 [1,730 kB] Fetched 2,044 kB in 0s (9,971 kB/s) Preconfiguring packages ... Selecting previously unselected package libltdl7. (Reading database ... 26060 files and directories currently installed.) Unpacking libltdl7 (from .../libltdl7_2.4.2-1ubuntu1_amd64.deb) ... Selecting previously unselected package libodbc1. Unpacking libodbc1 (from .../libodbc1_2.2.14p2-5ubuntu3_amd64.deb) ... Selecting previously unselected package libperl5.14. Unpacking libperl5.14 (from .../libperl5.14_5.14.2-6ubuntu2.1_amd64.deb) ... Selecting previously unselected package libslp1. Unpacking libslp1 (from .../libslp1_1.2.1-7.8ubuntu1_amd64.deb) ... Selecting previously unselected package slapd. Unpacking slapd (from .../slapd_2.4.28-1.1ubuntu4.1_amd64.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Setting up libltdl7 (2.4.2-1ubuntu1) ... Setting up libodbc1 (2.2.14p2-5ubuntu3) ... Setting up libperl5.14 (5.14.2-6ubuntu2.1) ... Setting up libslp1 (1.2.1-7.8ubuntu1) ... Setting up slapd (2.4.28-1.1ubuntu4.1) ... Creating new user openldap... done. Omitting slapd configuration as requested. * No configuration file was found for slapd at /etc/ldap/slapd.conf. invoke-rc.d: initscript slapd, action start failed. dpkg: error processing slapd (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: slapd E: Sub-process /usr/bin/dpkg returned an error code (1) ** Changed in: openldap (Ubuntu) Status: New = Confirmed ** Changed in: openldap (Ubuntu) Importance: Undecided = Medium ** Also affects: openldap (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: openldap (Ubuntu Quantal) Importance: Medium Status: Confirmed ** Changed in: openldap (Ubuntu Quantal) Status: Confirmed = Triaged ** Changed in: openldap (Ubuntu Precise) Status: New = Triaged ** Changed in: openldap (Ubuntu Precise) Importance: Undecided = Medium ** Changed in: openldap (Ubuntu Precise) Milestone: None = precise-updates -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+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 1040177] Re: slapd install fails when requesting to 'Omit OpenLDAP server configuration
ubuntu@server-15281:~$ echo debconf slapd/no_configuration string true | sudo /usr/bin/debconf-set-selections ubuntu@server-15281:~$ sudo apt-get install slapd Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libltdl7 libodbc1 libperl5.14 libslp1 Suggested packages: libmyodbc odbc-postgresql tdsodbc unixodbc-bin slpd openslp-doc ldap-utils The following NEW packages will be installed: libltdl7 libodbc1 libperl5.14 libslp1 slapd 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 2,044 kB of archives. After this operation, 5,423 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libltdl7 amd64 2.4.2-1ubuntu1 [37.6 kB] Get:2 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libodbc1 amd64 2.2.14p2-5ubuntu3 [225 kB] Get:3 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libperl5.14 amd64 5.14.2-6ubuntu2.1 [1,252 B] Get:4 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libslp1 amd64 1.2.1-7.8ubuntu1 [50.4 kB] Get:5 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main slapd amd64 2.4.28-1.1ubuntu4.1 [1,730 kB] Fetched 2,044 kB in 0s (9,971 kB/s) Preconfiguring packages ... Selecting previously unselected package libltdl7. (Reading database ... 26060 files and directories currently installed.) Unpacking libltdl7 (from .../libltdl7_2.4.2-1ubuntu1_amd64.deb) ... Selecting previously unselected package libodbc1. Unpacking libodbc1 (from .../libodbc1_2.2.14p2-5ubuntu3_amd64.deb) ... Selecting previously unselected package libperl5.14. Unpacking libperl5.14 (from .../libperl5.14_5.14.2-6ubuntu2.1_amd64.deb) ... Selecting previously unselected package libslp1. Unpacking libslp1 (from .../libslp1_1.2.1-7.8ubuntu1_amd64.deb) ... Selecting previously unselected package slapd. Unpacking slapd (from .../slapd_2.4.28-1.1ubuntu4.1_amd64.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Setting up libltdl7 (2.4.2-1ubuntu1) ... Setting up libodbc1 (2.2.14p2-5ubuntu3) ... Setting up libperl5.14 (5.14.2-6ubuntu2.1) ... Setting up libslp1 (1.2.1-7.8ubuntu1) ... Setting up slapd (2.4.28-1.1ubuntu4.1) ... Creating new user openldap... done. Omitting slapd configuration as requested. * No configuration file was found for slapd at /etc/ldap/slapd.conf. invoke-rc.d: initscript slapd, action start failed. dpkg: error processing slapd (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: slapd E: Sub-process /usr/bin/dpkg returned an error code (1) ** Changed in: openldap (Ubuntu) Status: New = Confirmed ** Changed in: openldap (Ubuntu) Importance: Undecided = Medium ** Also affects: openldap (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: openldap (Ubuntu Quantal) Importance: Medium Status: Confirmed ** Changed in: openldap (Ubuntu Quantal) Status: Confirmed = Triaged ** Changed in: openldap (Ubuntu Precise) Status: New = Triaged ** Changed in: openldap (Ubuntu Precise) Importance: Undecided = Medium ** Changed in: openldap (Ubuntu Precise) Milestone: None = precise-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1040177 Title: slapd install fails when requesting to 'Omit OpenLDAP server configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs