Bug 1430804 - Container Review Request - fedora-init - Image to run daemons as systemd units easily
Summary: Container Review Request - fedora-init - Image to run daemons as systemd unit...
Keywords:
Status: NEW
Alias: None
Product: Fedora Container Images
Classification: Fedora
Component: Container Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-09 15:51 UTC by Frantisek Kluknavsky
Modified: 2022-01-11 11:57 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frantisek Kluknavsky 2017-03-09 15:51:27 UTC
Container Build Info URL: https://github.com/fkluknav/fedora-init-container
Description: Image to run daemons as systemd units easily
Fedora Account System Username: fkluknav

Comment 1 Frantisek Kluknavsky 2017-03-09 18:06:02 UTC
For the record: the slowness of systemd happens only in Fedora 25, not Fedora 24.

Comment 2 Daniel Walsh 2017-03-09 18:41:06 UTC
LGTM

Comment 3 Daniel Walsh 2017-03-09 21:12:12 UTC
Systemd guys please review.

Comment 4 Daniel Walsh 2017-03-09 21:12:58 UTC
Specifically look at 
https://github.com/fkluknav/fedora-init-container/blob/master/Dockerfile

Comment 5 Frantisek Kluknavsky 2017-03-15 16:44:18 UTC
On a freshly installed and updated centos virtual machine:
# docker run --rm -it --name kontis fedora-init
# docker exec -it kontis systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@"
character.
The time the unit takes to start is printed after the "+" character.

multi-user.target @20.135s
└─systemd-user-sessions.service @18.127s +1.004s
  └─basic.target @16.118s
    └─sockets.target @13.107s
      └─dbus.socket @12.104s
        └─sysinit.target @11.100s
          └─systemd-update-utmp.service @9.086s +1.009s
            └─systemd-tmpfiles-setup.service @7.076s +1.004s
              └─systemd-journal-flush.service @47ms +6.024s
                └─systemd-journald.service @23ms +21ms
                  └─systemd-journald-dev-log.socket @22ms
                    └─-.mount @18ms
                      └─system.slice @20ms
                        └─-.slice @18ms



On RHEL7 (updated, not freshly installed):
# docker exec condescending_poincare systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@"
character.
The time the unit takes to start is printed after the "+" character.

multi-user.target @19.142s
└─systemd-user-sessions.service @16.129s +2.009s
  └─basic.target @15.125s
    └─sockets.target @14.121s
      └─dbus.socket @13.118s
        └─sysinit.target @10.107s
          └─systemd-update-utmp.service @8.098s +1.005s
            └─systemd-tmpfiles-setup.service @6.089s +1.003s
              └─systemd-journal-flush.service @53ms +5.031s
                └─systemd-journald.service @28ms +23ms
                  └─system.slice @27ms
                    └─-.slice @24ms


It does not run at all on a freshly installed and updated fedora 25
virtual machine.

Comment 6 Harald Hoyer 2017-08-07 09:54:38 UTC
Could you please retry with the current rawhide version or fedora 26?


Note You need to log in before you can comment on or make changes to this bug.