{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/555","labels_url":"https://api.github.com/repos/systemd/systemd/issues/555/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/555/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/555/events","html_url":"https://github.com/systemd/systemd/issues/555","id":94494832,"number":555,"title":"disable X && is-enabled X proves something is wrong","user":{"login":"jidanni","id":1230959,"avatar_url":"https://avatars.githubusercontent.com/u/1230959?v=3","gravatar_id":"","url":"https://api.github.com/users/jidanni","html_url":"https://github.com/jidanni","followers_url":"https://api.github.com/users/jidanni/followers","following_url":"https://api.github.com/users/jidanni/following{/other_user}","gists_url":"https://api.github.com/users/jidanni/gists{/gist_id}","starred_url":"https://api.github.com/users/jidanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jidanni/subscriptions","organizations_url":"https://api.github.com/users/jidanni/orgs","repos_url":"https://api.github.com/users/jidanni/repos","events_url":"https://api.github.com/users/jidanni/events{/privacy}","received_events_url":"https://api.github.com/users/jidanni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-11T17:55:00Z","updated_at":"2015-07-11T18:10:38Z","closed_at":null,"body":"```\r\n# systemctl --help | egrep Disable\\|enabled\r\n  disable NAME...                 Disable one or more unit files\r\n  is-enabled NAME...              Check whether unit files are enabled\r\n# systemctl is-enabled sshd\r\nenabled\r\n# systemctl disable sshd\r\n# systemctl is-enabled sshd\r\nenabled\r\n\r\n# find /usr/lib/systemd/system /etc/systemd/system -iname 'ssh'; cat /etc/os-release; systemctl cat sshd|cat\r\nfind: ‘/usr/lib/systemd/system’: No such file or directory\r\nPRETTY_NAME=\"Debian GNU/Linux stretch/sid\"\r\nNAME=\"Debian GNU/Linux\"\r\nID=debian\r\nHOME_URL=\"https://www.debian.org/\"\r\nSUPPORT_URL=\"https://www.debian.org/support/\"\r\nBUG_REPORT_URL=\"https://bugs.debian.org/\"\r\n# /lib/systemd/system/ssh.service\r\n[Unit]\r\nDescription=OpenBSD Secure Shell server\r\nAfter=network.target auditd.service\r\nConditionPathExists=!/etc/ssh/sshd_not_to_be_run\r\n\r\n[Service]\r\nEnvironmentFile=-/etc/default/ssh\r\nExecStart=/usr/sbin/sshd -D $SSHD_OPTS\r\nExecReload=/bin/kill -HUP $MAINPID\r\nKillMode=process\r\nRestart=on-failure\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\nAlias=sshd.service\r\n```\r\n\r\nPackage: systemd\r\nVersion: 222-1\r\nSeverity: wishlist\r\n\r\n\r\n\r\n-- Package-specific info:\r\n\r\n-- System Information:\r\nDebian Release: stretch/sid\r\n  APT prefers experimental\r\n  APT policy: (990, 'experimental'), (500, 'unstable')\r\nArchitecture: i386 (i686)\r\n\r\nKernel: Linux 4.0.0-2-686-pae (SMP w/1 CPU core)\r\nLocale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)\r\nShell: /bin/sh linked to /bin/bash\r\nInit: systemd (via /run/systemd/system)\r\n\r\nVersions of packages systemd depends on:\r\nii  adduser         3.113+nmu3\r\nii  libacl1         2.2.52-2\r\nii  libapparmor1    2.9.2-3\r\nii  libaudit1       1:2.4.2-1\r\nii  libblkid1       2.26.2-8\r\nii  libc6           2.21-0experimental0\r\nii  libcap2         1:2.24-9\r\nii  libcap2-bin     1:2.24-9\r\nii  libcryptsetup4  2:1.6.6-5\r\nii  libgcc1         1:5.1.1-22\r\nii  libgcrypt20     1.6.3-2\r\nii  libkmod2        20-1\r\nii  liblzma5        5.1.1alpha+20120614-2.1\r\nii  libmount1       2.26.2-8\r\nii  libpam0g        1.1.8-3.1\r\nii  libseccomp2     2.2.1-2\r\nii  libselinux1     2.4-1\r\nii  libsystemd0     222-1\r\nii  mount           2.26.2-8\r\nii  sysv-rc         2.88dsf-59.2\r\nii  udev            222-1\r\nii  util-linux      2.26.2-8\r\n\r\nVersions of packages systemd recommends:\r\nii  dbus            1.9.16-2\r\nii  libpam-systemd  222-1\r\n\r\nVersions of packages systemd suggests:\r\npn  systemd-ui  <none>\r\n\r\n-- no debconf information\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/120649988","html_url":"https://github.com/systemd/systemd/issues/555#issuecomment-120649988","issue_url":"https://api.github.com/repos/systemd/systemd/issues/555","id":120649988,"user":{"login":"jidanni","id":1230959,"avatar_url":"https://avatars.githubusercontent.com/u/1230959?v=3","gravatar_id":"","url":"https://api.github.com/users/jidanni","html_url":"https://github.com/jidanni","followers_url":"https://api.github.com/users/jidanni/followers","following_url":"https://api.github.com/users/jidanni/following{/other_user}","gists_url":"https://api.github.com/users/jidanni/gists{/gist_id}","starred_url":"https://api.github.com/users/jidanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jidanni/subscriptions","organizations_url":"https://api.github.com/users/jidanni/orgs","repos_url":"https://api.github.com/users/jidanni/repos","events_url":"https://api.github.com/users/jidanni/events{/privacy}","received_events_url":"https://api.github.com/users/jidanni/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T18:10:38Z","updated_at":"2015-07-11T18:10:38Z","body":"# find /lib/systemd/system /etc/systemd/system -iname ssh\\*\r\n/lib/systemd/system/ssh.service\r\n/lib/systemd/system/ssh@.service\r\n/lib/systemd/system/ssh.socket\r\n/etc/systemd/system/multi-user.target.wants/ssh.service\r\n/etc/systemd/system/sshd.service\r\n# locate ssh|grep sys\r\n/etc/systemd/system/multi-user.target.wants/ssh.service\r\n/etc/systemd/system/sshd.service\r\n/lib/systemd/system/ssh.service\r\n/lib/systemd/system/ssh.socket\r\n/lib/systemd/system/ssh@.service\r\n/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ssh.service\r\n/var/lib/systemd/deb-systemd-helper-enabled/ssh.service.dsh-also\r\n/var/lib/systemd/deb-systemd-helper-enabled/ssh.socket.dsh-also\r\n/var/lib/systemd/deb-systemd-helper-enabled/sshd.service"}}