jailkit - intermittent error

Discussion in 'Installation/Configuration' started by axxies, Jul 15, 2019.

  1. axxies

    axxies Member

    I have set up a Stretch dedicated server with this:
    https://www.howtoforge.com/tutorial/ispconfig-automated-install-script/

    After that, I used the ISPconfig migration script, but with ipc_copy from the old host to the new.

    In the old host I couldn't get jailkit to work AT ALL with jailing a user (I was thrown out every time). In the new host, I am able to get two user accounts to work.
    By "work" I mean that I am able to login interactively or run SFTP towards that account and also that the account really is jailed.

    When I login on the two working accounts I get this in /var/log/syslog :

    Code:
    Jul 15 23:47:13 <the-host> systemd[1]: Created slice User Slice of web88.
    Jul 15 23:47:13 <the-host> systemd[1]: Starting User Manager for UID 5054...
    Jul 15 23:47:13 <the-host> systemd[1]: Started Session 3055 of user web88.
    Jul 15 23:47:13 <the-host> systemd[26200]: Reached target Paths.
    Jul 15 23:47:13 <the-host> systemd[26200]: gpg-agent-ssh.socket: Socket service gpg-agent.service not loaded, refusing.
    Jul 15 23:47:13 <the-host> systemd[26200]: Failed to listen on GnuPG cryptographic agent (ssh-agent emulation).
    Jul 15 23:47:13 <the-host> systemd[26200]: gpg-agent.socket: Socket service gpg-agent.service not loaded, refusing.
    Jul 15 23:47:13 <the-host> systemd[26200]: Failed to listen on GnuPG cryptographic agent and passphrase cache.
    Jul 15 23:47:13 <the-host> systemd[26200]: gpg-agent-extra.socket: Socket service gpg-agent.service not loaded, refusing.
    Jul 15 23:47:13 <the-host> systemd[26200]: Failed to listen on GnuPG cryptographic agent and passphrase cache (restricted).
    Jul 15 23:47:13 <the-host> systemd[26200]: gpg-agent-browser.socket: Socket service gpg-agent.service not loaded, refusing.
    Jul 15 23:47:13 <the-host> systemd[26200]: Failed to listen on GnuPG cryptographic agent (access for web browsers).
    Jul 15 23:47:13 <the-host> systemd[26200]: Reached target Timers.
    Jul 15 23:47:13 <the-host> systemd[26200]: Reached target Sockets.
    Jul 15 23:47:13 <the-host> systemd[26200]: Reached target Basic System.
    Jul 15 23:47:13 <the-host> systemd[26200]: Reached target Default.
    Jul 15 23:47:13 <the-host> systemd[26200]: Startup finished in 14ms.
    Jul 15 23:47:13 <the-host> systemd[1]: Started User Manager for UID 5054.
    

    On the other accounts, those that doesn't work, I get this in /var/log/syslog:

    Code:
    Jul 15 23:41:53 <the-host> systemd[1]: Created slice User Slice of web6.
    Jul 15 23:41:53 <the-host> systemd[1]: Starting User Manager for UID 5009...
    Jul 15 23:41:53 <the-host> systemd[1]: Started Session 2974 of user web6.
    Jul 15 23:41:53 <the-host> systemd[24496]: Reached target Paths.
    Jul 15 23:41:53 <the-host> systemd[24496]: gpg-agent-extra.socket: Socket service gpg-agent.service not loaded, refusing.
    Jul 15 23:41:53 <the-host> systemd[24496]: Failed to listen on GnuPG cryptographic agent and passphrase cache (restricted).
    Jul 15 23:41:53 <the-host> systemd[24496]: gpg-agent-browser.socket: Socket service gpg-agent.service not loaded, refusing.
    Jul 15 23:41:53 <the-host> systemd[24496]: Failed to listen on GnuPG cryptographic agent (access for web browsers).
    Jul 15 23:41:53 <the-host> systemd[24496]: gpg-agent.socket: Socket service gpg-agent.service not loaded, refusing.
    Jul 15 23:41:53 <the-host> systemd[24496]: Failed to listen on GnuPG cryptographic agent and passphrase cache.
    Jul 15 23:41:53 <the-host> systemd[24496]: Reached target Timers.
    Jul 15 23:41:53 <the-host> systemd[24496]: gpg-agent-ssh.socket: Socket service gpg-agent.service not loaded, refusing.
    Jul 15 23:41:53 <the-host> systemd[24496]: Failed to listen on GnuPG cryptographic agent (ssh-agent emulation).
    Jul 15 23:41:53 <the-host> systemd[24496]: Reached target Sockets.
    Jul 15 23:41:53 <the-host> systemd[24496]: Reached target Basic System.
    Jul 15 23:41:53 <the-host> systemd[24496]: Reached target Default.
    Jul 15 23:41:53 <the-host> systemd[24496]: Startup finished in 16ms.
    Jul 15 23:41:53 <the-host> systemd[1]: Started User Manager for UID 5009.
    Jul 15 23:41:53 <the-host> systemd[1]: Stopping User Manager for UID 5009...
    Jul 15 23:41:53 <the-host> systemd[24496]: Failed to enqueue exit.target job: Access denied
    Jul 15 23:41:53 <the-host> systemd[1]: Stopped User Manager for UID 5009.
    Jul 15 23:41:53 <the-host> systemd[1]: Removed slice User Slice of web6.
    
    I have completely ran out of ideas now.

    Any ideas on what could be the reason and how to fix it?
     

Share This Page