Public bug reported:
When using pollinate on cloud instance and without direct internet
connection, pollinate cannot contact entropy server.
I have a proxy in /etc/environment
I have edited /lib/systemd/system/pollinate.service and it's included
below:
-------------------
ubuntu@hci:~$ cat /lib/systemd/system/pollinate.service
[Unit]
Description=Pollinate to seed the pseudo random number generator
Before=ssh.service
After=network-online.target
ConditionVirtualization=!container
ConditionPathExists=!/var/cache/pollinate/seeded
[Service]
User=pollinate
ExecStart=/usr/bin/pollinate
EnvironmentFile=/etc/environment
Type=oneshot
[Install]
WantedBy=multi-user.target
ubuntu@hci:~$
-------------------
after adding EnvironmentFile=/etc/environment and rebooting VM pollinate
can access entropy server.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pollinate 4.23-0ubuntu1~16.04 [modified:
lib/systemd/system/pollinate.service]
ProcVersionSignature: User Name 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Wed Nov 9 09:49:00 2016
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pollinate
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: pollinate (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug uec-images xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1640426
Title:
pollinate ignores proxy variables in /etc/environment
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pollinate/+bug/1640426/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs