Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upHaveged service not started in debian-9 template #2161
Comments
marmarek
added
bug
C: templates
P: minor
C: Debian
labels
Jul 9, 2016
marmarek
added this to the Release 3.2 milestone
Jul 9, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Oct 17, 2016
Member
@marmarek It's not just the use of default.target. The Debian config also has PrivateTmp=1
Both of those need to be changed in template.
|
@marmarek It's not just the use of default.target. The Debian config also has PrivateTmp=1 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
What is wrong with |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Oct 17, 2016
Member
Nothing, but I think the effect of the Debian ordering means that haveged is started early. While this seems to work in the Template, it doesn't work in the VMs based on it.
To retain PrivateTmp it's necessary to push the start later - removing sysinit from the BEFORE line would do, I think, and also taking out DefaultDependencies=no
|
Nothing, but I think the effect of the Debian ordering means that haveged is started early. While this seems to work in the Template, it doesn't work in the VMs based on it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 17, 2016
Member
I still can't see why PrivateTmp can't work on early started service in TemplateBasedVM. Some implicit ordering?
|
I still can't see why PrivateTmp can't work on early started service in TemplateBasedVM. Some implicit ordering? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Oct 18, 2016
Member
No idea - it looks to me as if it won't start in a template based VM before basic.target, although it will in Template. The dependency list doesn't seem to help much.
|
No idea - it looks to me as if it won't start in a template based VM before basic.target, although it will in Template. The dependency list doesn't seem to help much. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 18, 2016
Member
systemd-analyze?
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
Best Regards, |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Oct 18, 2016
Member
I've tried it and produced numerous pretty plots. None of them get to the heart of the issue, at least for me. Also significant that haveged can starts earlier in a template that in a template based VM. I'll keep poking about, and let you know conclusions.
|
I've tried it and produced numerous pretty plots. None of them get to the heart of the issue, at least for me. Also significant that haveged can starts earlier in a template that in a template based VM. I'll keep poking about, and let you know conclusions. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Question - how late in the boot can haveged start and still be useful? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Since we do provide initial random seed from dom0, it may be late. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Nov 13, 2016
Member
OK- then
DefaultDependencies=no
ConditionVirtualization=!container
After=apparmor.service systemd-random-seed.service systemd-tmpfiles-setup.service
and
[Install]
WantedBy=multi-user.target
seems to work fine, and retains PrivateTmp
I'll check if this is needed in xenial too and then put in a PR
|
OK- then
and
seems to work fine, and retains PrivateTmp |
unman
referenced this issue
in QubesOS/qubes-core-agent-linux
Nov 14, 2016
Merged
Add systemd override for haveged in xenial and stretch. #25
marmarek
modified the milestones:
Release 3.2,
Release 3.2 updates
Nov 19, 2016
marmarek
closed this
in
marmarek/old-qubes-core-agent-linux@41e3d59
Dec 4, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 12, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.15-1.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc23-cur-test
label
Dec 12, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 12, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.15-1.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc24-cur-test
label
Dec 12, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 12, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.15-1.fc25 has been pushed to the r3.2 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc25-cur-test
label
Dec 12, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 8, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.15-1.fc23 has been pushed to the r3.2 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Jan 8, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r3.2-fc23-stable
and removed
r3.2-fc23-cur-test
labels
Jan 8, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 8, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.15-1.fc24 has been pushed to the r3.2 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Jan 8, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r3.2-fc24-stable
and removed
r3.2-fc24-cur-test
labels
Jan 8, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 8, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.15-1.fc25 has been pushed to the r3.2 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Jan 8, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r3.2-fc25-stable
and removed
r3.2-fc25-cur-test
labels
Jan 8, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 8, 2017
Automated announcement from builder-github
The package qubes-core-agent_3.2.15-1+deb8u1 has been pushed to the r3.2 testing repository for the Debian jessie template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing jessie-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Jan 8, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-jessie-cur-test
label
Jan 8, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 8, 2017
Automated announcement from builder-github
The package qubes-core-agent_3.2.15-1+deb9u1 has been pushed to the r3.2 testing repository for the Debian stretch template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Jan 8, 2017
|
Automated announcement from builder-github The package
|
marmarek commentedJul 9, 2016
Qubes OS version (e.g.,
R3.1):R3.2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):debian-9
Expected behavior:
Haveged service installed and running by default.
Actual behavior:
Haveged service installed but not running.
Steps to reproduce the behavior:
systemctl status havegedCollected data:
Probably the reason is usage of
default.target.wantsinstead ofmulti-user.target.wants.