Displaying 20 results from an estimated 30000 matches similar to: "systemd order help?"
2017 Jun 13
2
systemd order help?
On Tue, Jun 13, 2017 at 06:34:54AM +0100, James Hogarth wrote:
> Depending on your setup, you many want to look at converting your
> automatic mounts into systemd mounts, and depend on that directly,
> rather than on the autofs service.
[...]
> Just one little thing to note here that many don't realise. All mounts in
> the system (ie not manually via the mount command) are
2017 Jun 13
0
systemd order help?
On 12 Jun 2017 17:03, "Matthew Miller" <mattdm at mattdm.org> wrote:
On Mon, Jun 12, 2017 at 03:47:46PM +0000, James Pearson wrote:
> I'm guessing I could use something like:
>
> After=autofs.service
> Before=graphical.target
>
> Is this correct?
>
> However, I would like to use the same systemd unit file on servers that
> won't run X - will
2017 Jun 12
0
systemd order help?
On Mon, Jun 12, 2017 at 03:47:46PM +0000, James Pearson wrote:
> I'm guessing I could use something like:
>
> After=autofs.service
> Before=graphical.target
>
> Is this correct?
>
> However, I would like to use the same systemd unit file on servers that
> won't run X - will the above work? Or is there a better/another way of
> doing this?
You
2017 Jun 28
3
systemd services and Restart?
I've been trying out the Restart= option in some of my own systemd
service unit files - which appears to work fine
However, I notice that this option is only used in a few OS provided
service unit files - and was wondering about the wisdom of adding this
capability to other daemons/services? (e.g. chronyd or ntpd, crond,
rpcbind, etc, etc) - not that these daemons are likely to crash and
2020 Sep 23
4
Systemd service unit file needs to wait until a specific interface is up
Hi all,
With SystemD, how can I make certain service dependent on certain network interfaces being up?
For example, I have an 802.1ad bond interface I need to wait on for being up (this interface has no ip address assigned, it is used to capture networks packets with a tcpdump?s script). Every time this service fails because bond interface is not up.
I have configured the service as:
2017 Jun 13
0
systemd order help?
On 13 June 2017 at 13:27, Matthew Miller <mattdm at mattdm.org> wrote:
> On Tue, Jun 13, 2017 at 06:34:54AM +0100, James Hogarth wrote:
>> Depending on your setup, you many want to look at converting your
>> automatic mounts into systemd mounts, and depend on that directly,
>> rather than on the autofs service.
> [...]
>> Just one little thing to note here that
2020 Sep 24
2
Systemd service unit file needs to wait until a specific interface is up
On 9/23/20 7:07 AM, Stephen John Smoogen wrote:
> On Wed, 23 Sep 2020 at 04:33, Carlos Lopez <clopmz at outlook.com> wrote:
>
>> Hi all,
>>
>>
>> With SystemD, how can I make certain service dependent on certain network
>> interfaces being up?
>>
>> For example, I have an 802.1ad bond interface I need to wait on for being
>> up (this
2015 Apr 15
2
systemd private tmp dirs
On Wed, Apr 15, 2015 at 5:01 PM, Matthew Miller <mattdm at mattdm.org> wrote:
> On Wed, Apr 15, 2015 at 04:15:23PM -0500, Les Mikesell wrote:
>> > Why does this directory have to be /tmp rather than a specific
>> > directory belonging to twiki?
>> Twiki is a perl web application run under apache. It doesn't have its
>> own uid. It doesn't
2015 Apr 15
2
systemd private tmp dirs
Is there a generic way that processes written to share files with
(say) apache in /tmp can figure out that they are running on an OS
with systemd and in that case, where the daemon in question thinks
/tmp is?
For example, twiki has a backup/restore add-in where the backup part
is normally done from cron with a command line script but the
resulting archives that go in /tmp are supposed to be seen
2015 May 14
4
Delaying systemd reboot for a while
Hi,
I'm in need of rebooting a server 1 minute after I give the command. I'm
used to
shutdown -r +1
which works as advertised. Now that shutdown is part of systemd
<http://www.freedesktop.org/software/systemd/man/shutdown.html> and it is
actually a link to it in CentOS 7, I've seen in the documentation
2015 Apr 15
2
systemd private tmp dirs
On Wed, Apr 15, 2015 at 4:07 PM, Matthew Miller <mattdm at mattdm.org> wrote:
> On Wed, Apr 15, 2015 at 03:55:34PM -0500, Les Mikesell wrote:
>> Is there a generic way that processes written to share files with
>> (say) apache in /tmp can figure out that they are running on an OS
>> with systemd and in that case, where the daemon in question thinks
>> /tmp is?
2019 Apr 12
3
Emails redownloading
Hi,
recently, we had a problem on one of our mail servers and, after
reboot, HDD with emails wasn't mounted into system. Until we fixed it,
LOTS of users logged in (Dovecot allowed login and recreated directory
structure of mailboxes) and saw empty mailboxes. Now they are
redownloading all email, which isn't fun, as it's about 2 TB of data.
Anyway, is there a way how to
2016 Aug 25
3
systemd not restarting daemon
On an up-to-date CentOS 7 system, I am running named-sdb (pulling domain
records from MySQL), which is segfaulting randomly (after 3-8 hours or
so it appears) in libmysqlclient (I've opened a bug).
Since this is an internal service, until the segfault can be addressed,
I wanted systemd to restart it for me. I created a file called
/etc/systemd/system/named-sdb-chroot.service.d/service.conf
2015 Apr 16
2
systemd private tmp dirs
On Thu, Apr 16, 2015 at 6:58 AM, Dennis Jacobfeuerborn
<dennisml at conversis.de> wrote:
> >>
>> No, systemd actually remaps /tmp from apache - and apparently most
>> other daemons - to private directories below /tmp with configs as
>> shipped. The command line tool wrote the file to /tmp as expected.
>> The perl code running under httpd reading what it
2018 Aug 07
2
systemd equivalent of xinetd 'only_from' and 'banner_fail' attributes
I'm attempting to port an existing xinetd service from CentOS 6 to
something equivalent with systemd for CentOS 7
The existing xinetd config uses the attributes 'only_from' to limit
connections from a limited set of remote hosts and 'banner_fail' to
print a suitable error message when access is denied
However, I can't find suitable 'equivalents' with systemd
2016 Dec 16
4
Can't delete or move /home on 7.3 install
On Fri, Dec 16, 2016 at 10:17:21AM -0800, Glenn E. Bailey III wrote:
> This is a base install. If you deploy an instance in ec2 or GCE (ec2
> you can do the free tier) it's easily repeatable. Even on a RHEL 7.3
> instance. Note you'll need to allow root and password logins via SSH
> before attempting.
I can confirm this.
The culprit? NetworkManager has /home open. I
2019 Apr 12
2
Emails redownloading
Cit?t "B. Reino via dovecot" <dovecot at dovecot.org>:
> On 2019-04-12 07:43, azurit--- via dovecot wrote:
>> Hi,
>>
>> recently, we had a problem on one of our mail servers and, after
>> reboot, HDD with emails wasn't mounted into system. Until we fixed it,
>> LOTS of users logged in (Dovecot allowed login and recreated
>> directory
2015 Sep 17
3
Centos 7, systemd, and nvidia drivers
On 09/16/15 19:50, Jonathan Billings wrote:
> On Sep 16, 2015, at 5:21 PM, m.roth at 5-cent.us wrote:
>> I tried systemctl start multi-user.target. I tried systemctl stop
>> graphical.target. I finally had to set the multi-user.target as the
>> default, and reboot, to get rid of the nouveau drivers.
>>
>> Note that I tried to modprobe -r, and rmmod with all the
2015 Apr 16
3
systemd private tmp dirs
On Wed, Apr 15, 2015 at 6:48 PM, Matthew Miller <mattdm at mattdm.org> wrote:
> On Wed, Apr 15, 2015 at 05:31:52PM -0500, Les Mikesell wrote:
>> Thanks - I can see how those would work once you understand what is
>> broken on the target system and why, but is there a way that programs
>> 'should' be written to run with/without systemd? That just happened
2020 May 18
4
how does autofs deal with stuck NFS mounts and suspending to RAM?
Hi,
after trying sshfs to mount a remote file system on a server with the result
that sshfs will sooner or later get stuck and require a reboot of the client,
I'm fed up with it and am looking for alternatives.
So next I would like to use NFS over a VPN connection instead. To minimize
the instances of the NFS mount getting stuck, it might be helpful to use
autofs.
What happens when the