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

ubuntu upgrade re-enabled openliberty@defaultServer #17313

Closed
srl295 opened this issue May 26, 2021 · 0 comments · Fixed by #17417
Closed

ubuntu upgrade re-enabled openliberty@defaultServer #17313

srl295 opened this issue May 26, 2021 · 0 comments · Fixed by #17417
Assignees
Labels
in:Install release bug This bug is present in a released version of Open Liberty release:21008

Comments

@srl295
Copy link

srl295 commented May 26, 2021

Describe the bug

Upgaded from 21.0.0.1-1ubuntu1 to 21.0.0.5-1ubuntu1. and openliberty@defaultServer was unexpectedly re-enabled.

# apt-get upgrade
…
The following packages will be upgraded:
  openliberty
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/171 MB of archives.
After this operation, 11.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 311867 files and directories currently installed.)
Preparing to unpack .../openliberty_21.0.0.5-1ubuntu1_all.deb ...
Unpacking openliberty (21.0.0.5-1ubuntu1) over (21.0.0.1-1ubuntu1) ...
Removing leftover license and run directories
Reloading systemctl services after uninstall of openliberty
Setting up openliberty (21.0.0.5-1ubuntu1) ...
Adding group - openliberty
Adding user - openliberty
Setting up the systemd openliberty service
Created symlink /etc/systemd/system/multi-user.target.wants/openliberty@defaultServer.service → /lib/systemd/system/openliberty@.service.
Creating the license directory
Creating server,log and run directory
Setting up defaultServer for user
Setting permissions to files/folders
Processing triggers for systemd (237-3ubuntu10.47) ...
Processing triggers for ureadahead (0.100.0-21) ...
root@st:/var/log/openliberty/cldr# service open
open-iscsi                 open-vm-tools              openliberty                openliberty@cldr           openliberty@defaultServer
root@st:/var/log/openliberty/cldr# service open^C
root@st:/var/log/openliberty/cldr# systemctl status openliberty@defaultServer.service
● openliberty@defaultServer.service - Open Liberty server
   Loaded: loaded (/lib/systemd/system/openliberty@.service; indirect; vendor preset: enabled)
   Active: inactive (dead)

May 26 18:46:54 st.unicode.org systemd[1]: Starting Open Liberty server...
May 26 18:46:55 st.unicode.org openliberty[1468]: Starting server defaultServer.
May 26 18:47:02 st.unicode.org openliberty[1468]: Server defaultServer started with process ID 1643.
May 26 18:47:02 st.unicode.org systemd[1]: Started Open Liberty server.
May 26 19:14:08 st.unicode.org systemd[1]: Stopping Open Liberty server...
May 26 19:14:08 st.unicode.org openliberty[11822]: Stopping server defaultServer.
May 26 19:14:10 st.unicode.org openliberty[11822]: Server defaultServer stopped.
May 26 19:14:10 st.unicode.org systemd[1]: Stopped Open Liberty server.
root@st:/var/log/openliberty/cldr# systemctl disable openliberty@defaultServer.service
Removed /etc/systemd/system/multi-user.target.wants/openliberty@defaultServer.service.
root@st:/var/log/openliberty/cldr# systemctl disable openliberty@defaultServer.service

Steps to Reproduce

  • install openliberty@21.0.0.5-1ubuntu1
  • disable the openliberty@defaultServer service, because we have our own named cldr (which automatically gets the label openliberty@cldr.service)
  • upgrade openliberty

Expected behavior

  • expected openliberty@defaultServer to remain disabled, but instead it was re-enabled (and was serving pages instead of our production server)

Diagnostic information:

  • OpenLiberty Version: 21.0.0.1-1ubuntu1 to 21.0.0.5-1ubuntu1
  • Ubuntu 18.04.5 LTS amd64

Additional context

@srl295 srl295 added the bug This bug is not present in a released version of Open Liberty label May 26, 2021
@bensonlatibm bensonlatibm self-assigned this May 26, 2021
@bensonlatibm bensonlatibm added release bug This bug is present in a released version of Open Liberty and removed Needs member attention bug This bug is not present in a released version of Open Liberty labels Jul 14, 2021
@bensonlatibm bensonlatibm linked a pull request Jul 15, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Install release bug This bug is present in a released version of Open Liberty release:21008
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants