Hello,
On 11/22/2016 10:58 AM, Jonathan de Boyne Pollard wrote:
>
> It's now 2016, and the first rule for migrating to systemd applies
> even to Oracle softwares.
>
> * http://jdebp.eu./FGA/systemd-house-of-horror/daemonize.html#first-rule
>
> * http://www.server-world.info/en/note?os=CentOS_7&p=o
Hello,
I have added a simple script in /usr/lib/systemd/system-shutdown.
The scripts echo a message (on stdout) and create a file in /var/tmp.
I manually tested the script before rebooting to ensure that it works fine.
After running init 6, there is no message in journactl -b -1 and the
file has
On Tue, Nov 22, 2016 at 12:02:41PM +0100, Jouke Witteveen wrote:
> On Tue, Nov 22, 2016 at 11:55 AM, Martin Pitt wrote:
> > Jouke Witteveen [2016-11-22 11:44 +0100]:
> >> I see no way of (trying to) removing the reviewed/needs-rework label
> >> in the PR interface.
> >
> > I click on the cog next
On Tue, Nov 22, 2016 at 01:07:51PM +0100, Lennart Poettering wrote:
> On Tue, 22.11.16 11:44, Jouke Witteveen (j.wittev...@gmail.com) wrote:
>
> > The contribution guidelines [1] state:
> >
> > > After you have pushed a new version, try to remove the
> > > reviewed/needs-rework label. Also add a
On Tue, Nov 22, 2016 at 5:26 PM, Bastien Nocera wrote:
> On Tue, 2016-11-22 at 17:23 +0100, Lennart Poettering wrote:
> > On Tue, 22.11.16 12:13, Bastien Nocera (had...@hadess.net) wrote:
> >
> > > Hey,
> > >
> > > I'm adding support for reading the mount-matrix[1] from
> > > accelerometer
> > >
On Tue, Nov 22, 2016 at 4:54 PM arnaud gaboury
wrote:
> Since a few days, after some upgrades, I don't have anymore network in my
> container. Network is OK on my host
>
> ---
> Host: Archlinux -
> % systemctl --version
> systemd 231
> +PAM -AUDIT -SELINUX -IMA -APPARM
On Tue, 22.11.16 16:53, Cédric BRINER (cedric.bri...@unige.ch) wrote:
> Hi,
>
> sapRunning service contains a "After=user.slice". But at the shutdown, a
> process (write-sysv-test.pl) running in user.slice is killed before the
> end of the sapRunning's stop.
Slices are a concept for resource man
On Tue, 2016-11-22 at 17:23 +0100, Lennart Poettering wrote:
> On Tue, 22.11.16 12:13, Bastien Nocera (had...@hadess.net) wrote:
>
> > Hey,
> >
> > I'm adding support for reading the mount-matrix[1] from
> > accelerometer
> > devices in iio-sensor-proxy, but we'll need to add a way to
> > overrid
On Tue, 22.11.16 23:52, Yun-Chih Chen (yunchih@gmail.com) wrote:
> I've explicitly enabled persistent storage in journald.conf. However, it
> seems that the system journal of previous boot is still missing; only some
> user journal persisted. Am I missing anything? Thanks in advance.
You a
On Tue, 22.11.16 15:54, arnaud gaboury (arnaud.gabo...@gmail.com) wrote:
> Since a few days, after some upgrades, I don't have anymore network in my
> container. Network is OK on my host
>
> ---
> Host: Archlinux -
> % systemctl --version
> systemd 231
> +PAM -AUDIT -S
On Tue, 22.11.16 12:13, Bastien Nocera (had...@hadess.net) wrote:
> Hey,
>
> I'm adding support for reading the mount-matrix[1] from accelerometer
> devices in iio-sensor-proxy, but we'll need to add a way to override
> the mount-matrix in case the data from the device-tree is incorrect, or
> mis
Since a few days, after some upgrades, I don't have anymore network in my
container. Network is OK on my host
---
Host: Archlinux -
% systemctl --version
systemd 231
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP
+GCRYPT +GNUTLS +ACL +XZ +LZ4
Hi,
sapRunning service contains a "After=user.slice". But at the shutdown, a
process (write-sysv-test.pl) running in user.slice is killed before the
end of the sapRunning's stop.
# cat sapRunning.service
[Unit]
Description=SAP Service to ensure stopsap during shutdown
After=local-fs.target networ
I've explicitly enabled persistent storage in journald.conf. However, it
seems that the system journal of previous boot is still missing; only some
user journal persisted. Am I missing anything? Thanks in advance.
I'm running on Archlinux with Linux 4.8.4 and systemd 231-4.
Here's some output:
Hi!
What's the plan for the struct Manager.mdns_support field in systemd-
resolved? Currently it's set to RESOVE_SUPPORT_NO always and never gets
updated regardless of the MulticastDNS= settings for network links?
Still it's checked in the function manager_mdns_start() of
resolve/resolved-mdns.c a
Hey,
I'm adding support for reading the mount-matrix[1] from accelerometer
devices in iio-sensor-proxy, but we'll need to add a way to override
the mount-matrix in case the data from the device-tree is incorrect, or
missing[2].
I was wondering whether we should ship the hwdb quirks in systemd or
On Tue, 22.11.16 11:44, Jouke Witteveen (j.wittev...@gmail.com) wrote:
> The contribution guidelines [1] state:
>
> > After you have pushed a new version, try to remove the
> > reviewed/needs-rework label. Also add a comment about the new version
> > (no notification is sent just for the commits,
On Tue, 22.11.16 09:39, Benoit SCHMID (benoit.sch...@unige.ch) wrote:
> Good morning,
>
> This topic is related to the systemd-sysv-generator thread submited by
> my colleague.
> I post it with another subject becaus I prefer to create another thread
> as it would make too many different question
On Tue, Nov 22, 2016 at 11:55 AM, Martin Pitt wrote:
> Jouke Witteveen [2016-11-22 11:44 +0100]:
>> I see no way of (trying to) removing the reviewed/needs-rework label
>> in the PR interface.
>
> I click on the cog next to "Labels" on the right, there I can "untick"
> labels. I've done so for #42
Hello Jouke,
Jouke Witteveen [2016-11-22 11:44 +0100]:
> I see no way of (trying to) removing the reviewed/needs-rework label
> in the PR interface.
I click on the cog next to "Labels" on the right, there I can "untick"
labels. I've done so for #4259.
So maybe it's just UI obfuscation, but perha
Hello,
I have tried with
"User=oracle","Environment=ORACLE_HOME=/oracle/XXX/12102" and removing
the "su -".
You are right.
Now I have:
# systemctl status ora_lsnr_XXX.service
● ora_lsnr_XXX.service - Oracle Listener XXX
Loaded: loaded (/etc/systemd/system/ora_lsnr_XXX.service; disabled;
vendor
The contribution guidelines [1] state:
> After you have pushed a new version, try to remove the
> reviewed/needs-rework label. Also add a comment about the new version
> (no notification is sent just for the commits, so it's easy to miss the
> update without an explicit comment).
I see no way of
On Tue, 22 Nov 2016, Mantas Mikulėnas wrote:
> So, uh, that sounded like you value updating one file less (and even mixing
> user and daemon configs) above having the service actually work?
>
But users do test things under their login environment and expect them
to run in this environment. So for
So, uh, that sounded like you value updating one file less (and even mixing
user and daemon configs) above having the service actually work?
Not that it's an excuse anyway. Systemd units have EnvironmentFile= for
importing environment variables. Even init.d scripts can use `source` with
the same e
Benoit SCHMID:
echo -n "Starting Oracle Listener: "
su - $ORA_OWNR -c "env ORACLE_HOME=/oracle/XXX/12102
/oracle/XXX/12102/bin/lsnrctl start LISTENER_XXX"
Don't abuse su for dropping privileges.
* http://jdebp.eu./FGA/dont-abuse-su-for-dropping-privileges.html
It's now 201
Hello,
On 11/22/2016 10:58 AM, Jonathan de Boyne Pollard wrote:
> Don't abuse su for dropping privileges.
I agree that using su has drawbacks.
But it also have advantages.
When you upgrade your db, you upgrade the environment variables.
Therefore using su allow you to centralised everything in
Hello,
On 11/22/2016 09:15 AM, Andrei Borzenkov wrote:
> Assuming that your command survives normal session exit - does adding
> "After=user.slice" to your service helps? This should ensure your
> service is stopped before any user processes.
With "After=system.slice local-fs.target network-onlin
On Tue, Nov 22, 2016 at 11:39 AM, Benoit SCHMID wrote:
...
> 2. This service starts /etc/rc.d/init.d/sap start.
> % cat /etc/rc.d/init.d/sap
> #!/bin/bash
> ...
> case "$1" in
> start)
> # Oracle listener and instance startup
> echo -n "Starting Oracle Listener: "
> su
Hello,
On 11/22/2016 10:25 AM, Andrei Borzenkov wrote:
> I do not think so, unless you have explicit dependencies on mount
> points (they are commented out in your link). If you do have explicit
> dependencies, I expect this to work too.
Even, when the line is uncommented, the umounts are performe
On Tue, Nov 22, 2016 at 12:21 PM, Benoit SCHMID wrote:
> Hello,
>
> On 11/22/2016 09:15 AM, Andrei Borzenkov wrote:
>> Mount units are also propagated to systemd user instance. So you
>> probably can also run this unit in systemd user context and have usual
>> dependencies on filesystems (like Req
Hello,
On 11/22/2016 09:15 AM, Andrei Borzenkov wrote:
> Mount units are also propagated to systemd user instance. So you
> probably can also run this unit in systemd user context and have usual
> dependencies on filesystems (like RequiresMountsFor) - at least, I
> think so :) You will need to ena
Good morning,
This topic is related to the systemd-sysv-generator thread submited by
my colleague.
I post it with another subject becaus I prefer to create another thread
as it would make too many different questions in the same thread.
1. I have defined a service.
It is started by systemd on boo
On Tue, Nov 22, 2016 at 10:38 AM, Cédric BRINER wrote:
> Hi,
>
> We have been through a lot of tests, trying to make it reproductible
> with some easy scripts. You'll see at the bottom of this email, some
> links on the scripts used, what we have typed in our console, and the
> output of journalct
33 matches
Mail list logo