Skip to content

Conversation

@runcom
Copy link
Member

@runcom runcom commented Oct 13, 2016

Close #128

@rhatdan @mrunalp PTAL

rhatdan and others added 4 commits October 13, 2016 09:45
@rhatdan
Copy link
Contributor

rhatdan commented Oct 13, 2016

LGTM

1 similar comment
@mrunalp
Copy link
Member

mrunalp commented Oct 13, 2016

LGTM

@mrunalp mrunalp merged commit da4cc11 into cri-o:master Oct 13, 2016
@runcom runcom deleted the sdnotify branch October 13, 2016 18:01

uninstall:
systemctl stop ocid.service
systemctl disable ocid.service
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should've included this in uninstall. If you're inside a package manager, it should be handled by the package.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing a service without disabling it is pretty bad. I am not crazy about the uninstall path anyways since it just pulls the rug out from under the running apps, without actually stopping them. But if people agree to remove this, I am fine with it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, people should be using package managers anyway. This in general would be used for development, and my concern is that the uninstall will fail if the person has removed the service file (or otherwise messed with it).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually don't really like that we're installing the service file on make install. But we can deal with that later.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you open an issue @cyphar do we don't forget? 👼

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, I was in the middle of doing that when you commented. 😉. I also opened an issue about contrib/.

@rhatdan
Copy link
Contributor

rhatdan commented Oct 14, 2016

I changed my pull request for ocid.spec to put it in contrib/rpm. Should we do the same for the handling of the service? Or is this core to the package. I did remove the systctl stop service and sysctl start service from the current Makefile patch.

@cyphar
Copy link
Contributor

cyphar commented Oct 14, 2016

IMO the service file should go in contrib/systemd.

egernst pushed a commit to egernst/cri-o that referenced this pull request Nov 26, 2018
For 1.2.0 we are changing the format of the kata-deploy container image.
To avoid issues, pull an explicit version in our daemonset.

In a follow on PR we'll update the yaml/scripts to 1.2.0 format

Fixes: cri-o#135

Signed-off-by: Eric Ernst <[email protected]>
egernst pushed a commit to egernst/cri-o that referenced this pull request Nov 26, 2018
kata-deploy container image changed format slightly as we've changed
the release tarball.  Update to 1.2.0 and make adjustments accordingly.

Fixes: cri-o#135

Signed-off-by: Eric Ernst <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants