Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon user removed while perform rpm upgrading #529

Closed
jilen opened this issue Mar 23, 2015 · 4 comments
Closed

daemon user removed while perform rpm upgrading #529

jilen opened this issue Mar 23, 2015 · 4 comments

Comments

@jilen
Copy link

jilen commented Mar 23, 2015

I have a play 2.3.7 project with following configs

maintainer in Linux := "xxx"

packageSummary in Linux := "yyy"

packageDescription := "zzz"

rpmRelease := {
  val sdf = new java.text.SimpleDateFormat("yyMMddHHmm")
  sdf.format(new java.util.Date())
}

rpmVendor := "aaa"

rpmUrl := Some("bbb")

rpmLicense := Some("MIT")

Note that rpmRelease is set to current time

when I try to upgrade the rpm package via yum install xxx_201503221000.rpm , the daemon user is removed and not recreated after upgrading

@muuki88
Copy link
Contributor

muuki88 commented Mar 23, 2015

What system do you use and which rpm-installer (e.g. yum) do you use?
Upgrades should be handled in the postun script.

@jilen
Copy link
Author

jilen commented Mar 29, 2015

@muuki88 I am doing upgrade with yum install with a CentOS 6.x

dwhjames added a commit to dwhjames/sbt-native-packager that referenced this issue Apr 5, 2015
- use numeric rather than string test in conditional
- add missing semicolon
@dwhjames
Copy link
Contributor

dwhjames commented Apr 5, 2015

@jilen, could you give the fix in #544 a try?

muuki88 added a commit that referenced this issue Apr 6, 2015
@jilen
Copy link
Author

jilen commented Jun 24, 2015

Confirmed. This is fixed in play 2.4

@jilen jilen closed this as completed Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants