Re: SLAPD_SENTINEL_FILE problem and openldap / slapds jessie changelog missing

2019-08-20 Thread Greg Wooledge
On Tue, Aug 20, 2019 at 11:10:12AM +0200, Neo wrote:
> This seems also broken
> 
> [root@host~]# apt changelog slapd
> Err Changelog for slapd 
> (http://packages.debian.org/changelogs/pool/updates/main/o/openldap/openldap_2.4.40+dfsg-1+deb8u5/changelog)
>   404  Not Found [IP: 5.153.231.3 80]
> Err Changelog for slapd 
> (http://security.debian.org/pool/updates/main/o/openldap/openldap_2.4.40+dfsg-1+deb8u5.changelog)
>   404  Not Found [IP: 151.101.240.204 80]
> E: changelog download failed

Jessie, eh?

root@meglin2:~# apt-cache policy slapd
slapd:
  Installed: (none)
  Candidate: 2.4.40+dfsg-1+deb8u5
  Version table:
 2.4.40+dfsg-1+deb8u5 0
500 http://security.debian.org/ jessie/updates/main amd64 Packages
 2.4.40+dfsg-1+deb8u4 0
500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
root@meglin2:~# apt changelog slapd
E: Invalid operation changelog

Don't know quite what to tell you.  If you can't install the pacakge,
verify that you're using a sane sources.list for jessie.  I don't know
why your "apt" has a changelog subcommand.  Did you mix releases?

Turns out, it's in "apt-get" in jessie, not in "apt" or "apt-cache".

root@meglin2:~# apt-cache changelog slapd
E: Invalid operation changelog
root@meglin2:~# apt-get changelog slapd
Err Changelog for slapd 
(http://packages.debian.org/changelogs/pool/updates/main/o/openldap/openldap_2.4.40+dfsg-1+deb8u5/changelog)
  404  Not Found
Err Changelog for slapd 
(http://security.debian.org/pool/updates/main/o/openldap/openldap_2.4.40+dfsg-1+deb8u5.changelog)
  404  Not Found
E: changelog download failed

... and not working here either.  Oh well.  Maybe that's one of the things
that LTS doesn't bother with?



Re: SLAPD_SENTINEL_FILE problem and openldap / slapds jessie changelog missing

2019-08-20 Thread Neo



On 19.08.2019 22:03, Andrei POPESCU wrote:

apt changelog slapd


Thanks for your answer Andrei

This seems also broken

[root@host~]# apt changelog slapd
Err Changelog for slapd 
(http://packages.debian.org/changelogs/pool/updates/main/o/openldap/openldap_2.4.40+dfsg-1+deb8u5/changelog)

  404  Not Found [IP: 5.153.231.3 80]
Err Changelog for slapd 
(http://security.debian.org/pool/updates/main/o/openldap/openldap_2.4.40+dfsg-1+deb8u5.changelog)

  404  Not Found [IP: 151.101.240.204 80]
E: changelog download failed



Re: SLAPD_SENTINEL_FILE problem and openldap / slapds jessie changelog missing

2019-08-19 Thread Andrei POPESCU
On Lu, 19 aug 19, 15:15:03, Neo wrote:
> Hi Debian lovers
> 
> I struggle to find the current changelog for slapd/openldap.

Try 'apt changelog slapd'.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


SLAPD_SENTINEL_FILE problem and openldap / slapds jessie changelog missing

2019-08-19 Thread Neo

Hi Debian lovers

I struggle to find the current changelog for slapd/openldap.

[root@host ~]# dpkg -l | grep slap
ii  slapd 2.4.40+dfsg-1+deb8u5   amd64    OpenLDAP 
server (slapd)


[root@host ~]# cat /etc/*version
8.11


https://metadata.ftp-master.debian.org/changelogs//main/o/openldap/openldap_2.4.40+dfsg-1+deb8u5_changelog
-> 404.

Basically I have seen, that in the file /etc/default/slapd

there is (and was before the update) this entry:

# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,
# the init script will not start or restart slapd (but stop will still
# work).  Use this for temporarily disabling startup of slapd (when doing
# maintenance, for example, or through a configuration management system)
# when you don't want to edit a configuration file.
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd

so on service restart, it failed until i commented this out.

Interesting:

root@host ~]# ll /etc/ldap/noslapd
ls: cannot access /etc/ldap/noslapd: No such file or directory

So the sentence "If SLAPD_SENTINEL_FILE is set to path to a file and 
that file exists" seems to be wrong.


on another, similar, but more actual host

[ ok ] Stopping slapd (via systemctl): slapd.service.
[ ok ] Starting slapd (via systemctl): slapd.service.
[root@host2 bin]# dpkg -l | grep slapd
ii  slapd 2.4.44+dfsg-5+deb9u2   amd64    OpenLDAP server 
(slapd)

[root@host2 bin]# cat /etc/*version
9.9
[root@host2 bin]# cat /etc/default/slapd
[..]
# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,
# the init script will not start or restart slapd (but stop will still
# work).  Use this for temporarily disabling startup of slapd (when doing
# maintenance, for example, or through a configuration management system)
# when you don't want to edit a configuration file.
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
[..]

Any clues about that? Thank you.

Best regards

Spacerat