{"action":"created","issue":{"url":"https://api.github.com/repos/cobbler/cobbler/issues/1654","repository_url":"https://api.github.com/repos/cobbler/cobbler","labels_url":"https://api.github.com/repos/cobbler/cobbler/issues/1654/labels{/name}","comments_url":"https://api.github.com/repos/cobbler/cobbler/issues/1654/comments","events_url":"https://api.github.com/repos/cobbler/cobbler/issues/1654/events","html_url":"https://github.com/cobbler/cobbler/issues/1654","id":147182926,"number":1654,"title":"System management is locked by the application pid 4406 (y2base).   ","user":{"login":"hddang1","id":16119415,"avatar_url":"https://avatars.githubusercontent.com/u/16119415?v=3","gravatar_id":"","url":"https://api.github.com/users/hddang1","html_url":"https://github.com/hddang1","followers_url":"https://api.github.com/users/hddang1/followers","following_url":"https://api.github.com/users/hddang1/following{/other_user}","gists_url":"https://api.github.com/users/hddang1/gists{/gist_id}","starred_url":"https://api.github.com/users/hddang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hddang1/subscriptions","organizations_url":"https://api.github.com/users/hddang1/orgs","repos_url":"https://api.github.com/users/hddang1/repos","events_url":"https://api.github.com/users/hddang1/events{/privacy}","received_events_url":"https://api.github.com/users/hddang1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-10T01:47:31Z","updated_at":"2016-04-11T21:49:53Z","closed_at":null,"body":"Hi, \r\n\r\nI am trying to run a zypper update by putting the commands into a shelf script and then execute it from\r\na snippet.   This method didn't work.  The ks-scripts.log shows the error \"System management is locked by \r\nthe application with pid 4406 (y2base).  Close this application before trying again.\"   When I use the \r\nsame strategy for RHEL7.0 installation, it worked.  Does anyone have suggestions how to make the zypper \r\nupdate script work?\r\n\r\nscript_sles_update.sh:\r\n\r\nzypper addrepo <http://....>  security\r\nzypper clean\r\nzypper --gpg-auto-import-keys refresh\r\nzypper --non-interactive update\r\n\r\n\r\n\r\nsnippet:\r\n\r\ncd /root\r\nwget server:/script_sles_update.sh\r\nchmod +x script_sles_update.sh\r\n/root/script_suse-12-11.sh\r\n\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/cobbler/cobbler/issues/comments/208577178","html_url":"https://github.com/cobbler/cobbler/issues/1654#issuecomment-208577178","issue_url":"https://api.github.com/repos/cobbler/cobbler/issues/1654","id":208577178,"user":{"login":"nacc","id":1530957,"avatar_url":"https://avatars.githubusercontent.com/u/1530957?v=3","gravatar_id":"","url":"https://api.github.com/users/nacc","html_url":"https://github.com/nacc","followers_url":"https://api.github.com/users/nacc/followers","following_url":"https://api.github.com/users/nacc/following{/other_user}","gists_url":"https://api.github.com/users/nacc/gists{/gist_id}","starred_url":"https://api.github.com/users/nacc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacc/subscriptions","organizations_url":"https://api.github.com/users/nacc/orgs","repos_url":"https://api.github.com/users/nacc/repos","events_url":"https://api.github.com/users/nacc/events{/privacy}","received_events_url":"https://api.github.com/users/nacc/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T21:49:53Z","updated_at":"2016-04-11T21:49:53Z","body":"https://www.suse.com/documentation/sles-12/book_autoyast/data/createprofile_scripts.html\r\n\r\nI don't believe you can safely do anything during the install (in particular invoking zypper or even assuming zypper is available). The above seems better to do as a post-script."}}