similar to: CentOS 7 and systemd: SysV initscript: how detect boot vs. interactive use?

Displaying 20 results from an estimated 2000 matches similar to: "CentOS 7 and systemd: SysV initscript: how detect boot vs. interactive use?"

2016 Dec 20
1
CentOS 7 and systemd: SysV initscript: how detect boot vs. interactive use?
Jonathan Billings <billings at negate.org> wrote: >On Sun, Dec 18, 2016 at 08:50:54PM -0800, whitivery wrote: >> It is a system with several servers (various platforms/distros). >> >> One piece of software runs on all of the servers. For it to operate >> correctly, the instance on one server (prime) must start before the others >> (auxiliary). >>
2016 Dec 19
2
CentOS 7 and systemd: SysV initscript: how detect boot vs. interactive use?
James Hogarth <james.hogarth at gmail.com> wrote: >On 18 Dec 2016 10:59, "whitivery" <co55-sy1t at dea.spamcon.org> wrote: > >Moving from CentOS 5 to CentOS 7, discovered that a test in a SysV >initscript for whether it is running interactively, instead of at boot >time, no longer works. > >Under CentOS 7 / systemd, is there some way for the initscript
2011 Mar 10
2
Cannot %include in CentOS 5.5 kickstart
I've previously used includes in CentOS 4.4 and they worked fine. But in CentOS 5.5, trying to specify a driver disk via an include does not work. If I instead specify it directly, it loads fine. When it fails (because it can't see the disk drive - needs the driver disk to see the hard disk), in Console 2 I can see that /tmp/drvdisk exists and has the line I wrote to it. I see nothing
2016 Dec 18
0
CentOS 7 and systemd: SysV initscript: how detect boot vs. interactive use?
On 18 Dec 2016 10:59, "whitivery" <co55-sy1t at dea.spamcon.org> wrote: Moving from CentOS 5 to CentOS 7, discovered that a test in a SysV initscript for whether it is running interactively, instead of at boot time, no longer works. Under CentOS 7 / systemd, is there some way for the initscript to know this? Generally "interactive" init scripts are not in any way
2011 Oct 08
1
CentOS 5.7 Ethernet bonding - order of enslavement matters?
Setting up bonding in active-backup mode 1 (using ARP monitoring) on a server, it looked OK, but pulling the active link cable didn't actually work, it didn't fail over. Eventually with manual playing around with modprobe, ifconfig, ifenslave, etc., a solution was stumbled upon: enslave the eth1 device before eth0, and all is good. Why this should matter is a puzzle - I could not find
2016 Dec 19
0
CentOS 7 and systemd: SysV initscript: how detect boot vs. interactive use?
On Sun, Dec 18, 2016 at 08:50:54PM -0800, whitivery wrote: > It is a system with several servers (various platforms/distros). > > One piece of software runs on all of the servers. For it to operate > correctly, the instance on one server (prime) must start before the others > (auxiliary). > > So a boot delay is added (via a script sourced from initscript, which > first
2016 Jul 19
2
CentOS 7: System log has repeated lines: Started session 123 of user root.
The system log (/var/log/messages) of a CentOS 7.2 system has frequently-repeated message line pairs like: Jul 18 14:00:01 localhost systemd: Started Session 307 of user root. Jul 18 14:00:01 localhost systemd: Starting Session 307 of user root. where the session number increases each time. Looking around on this, e.g. Red Hat Bugzilla bug 727315, it looks like it's when crond starts a
2011 Mar 26
1
Scrollbar visibility
When I added more entries than would fit vertically in a PXE boot menu (Cobbler's, using menu.c32), I wondered why there wasn't a scroll bar. Finally I realized there was one but it didn't look very different from the existing screen border. I changed the color to increase its visibility. However, it still doesn't give a good visual clue that it IS a scrollbar. Would it be
2011 Mar 27
1
A few questions and notes
(Using syslinux 4.02, pxelinux, and menu.c32) 1. Is it possible to make a multi-line MENU TITLE? I tried \n and line continuation \ and neither worked. 2. The menu.c32 Wiki page states that the ANSI color codes are used for text mode. But nothing is said about the foreground/background "#" codes or shadow. I suspect they apply only to a graphical menu, as I didn't
2005 Jul 04
5
SysV install problem in FC4
After a fresh install, I noticed that shorewall 2.4.0 wasn''t starting automatically under FC4. The startup script installs properly from the rpm: /etc/rc.d/init.d/shorewall ... but the post install "/sbin/chkconfig --add shorewall" produces this in the runlevel symlink directories: /etc/rc.d/rc5.d/S-1shorewall /etc/rc.d/rc0.d/K-1shorewall /etc/rc.d/rc6.d/K-1shorewall
2008 Sep 11
3
ZFS Crypto [Prelim] Codereview
Here''s my comments for the preliminary ZFS Crypto review. - Dan Webrev: http://cr.opensolaris.org/~darrenm/zfs-crypto-gate/webrev/ General comments: DEA-1 - SCCS keywords need to be removed DEA-2 - Copyright updated ------------------------------------------------------------------ usr/src/lib/libcryptoutil/common/keyfile.c pkcs11_read_data() This code in pkcs11_read_data() scares
2013 Nov 17
2
CentOS 5.7 - occasional lockup
Using Core i7 boxes with CentOS 5.7, have experienced lockups on half of a handful of units over a couple months. They are Logic Supply Mini-ITX model KR960 with Core i7-3610QE. A couple weeks ago I enabled self-reboot on kernel panic (echo 10 > /proc/sys/kernel/panic) on all units, and had another unit lock up rather than reboot itself. I'm not sure how to pursue the problem. Doing
2010 Mar 30
1
R package checking error.
Dear useRs, I am trying to build my package (nonpareff) which deals with some models of data envelopment analysis. The building worked well, but checking complains when it tests examples. Zipped nonparaeff.Rcheck is attached. Following is the log. --------------------------------------------- arecibo:tmp arecibo$ R CMD build nonparaeff/ * checking for file 'nonparaeff/DESCRIPTION' ...
2017 Sep 22
3
Subset
Super, Thanks On Fri, Sep 22, 2017 at 4:57 PM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > > a <- c("<0.1", NA, 0.3, 5, "Nil") > > a > [1] "<0.1" NA "0.3" "5" "Nil" > > > b <- as.numeric(a) > Warning message: > NAs introduced by coercion > > b > [1] NA NA 0.3
2017 Sep 25
2
Subset
myDF <- data.frame(a = c("<0.1", NA, 0.3, 5, "Nil"), b = c("<0.1", 1, 0.3, 5, "Nil"), stringsAsFactors = FALSE) # you can subset the b-column in several ways myDF[ , 2] myDF[ , "b"] myDF$b # using the column, you make a logical vector ! is.na(as.numeric(myDF$b)) # This can be used to select the
2001 Sep 26
0
[RHSA-2001:110-05] Insecure setserial initscript
--------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Insecure setserial initscript Advisory ID: RHSA-2001:110-05 Issue date: 2001-09-12 Updated on: 2001-09-19 Product: Red Hat Linux Keywords: setserial initscript temporary file Cross references: Obsoletes:
2017 Sep 25
0
Subset
Hi, Lets say this was a dataframe where I had two columns a <- c("<0.1", NA, 0.3, 5, "Nil") b <- c("<0.1", 1, 0.3, 5, "Nil") And I just want to remove the rows from the dataframe where there were NAs in the b column, what is the syntax for doing that? Thanks in advance On Fri, Sep 22, 2017 at 5:04 PM, Shane Carey <careyshan at
2008 May 28
2
Linear Programming.
An embedded and charset-unspecified text was scrubbed... Name: n?o dispon?vel URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080528/96325940/attachment.pl>
2017 Sep 25
1
Subset
Always via logical expressions. In this case you can use the logical expression myDF$b != "0" to give you a vector of TRUE/FALSE B. > On Sep 25, 2017, at 8:00 AM, Shane Carey <careyshan at gmail.com> wrote: > > This is super, really helpfull. Sorry, one final question, lets say I wanted to remove 0's rather than NAs , what would it be? > > Thanks >
2011 Nov 24
1
AlgDesign - $D $A $Ge $Dea
Hi, I am wondering how I should interpreate the output of optFederov() in AlgDesign. Specially I want to know what is $D, $A, $Ge and $Dea, which one I can use as an efficiency to say how good the optimal design is. I only know when a orthogonal design comes, $D = 1. I red the pdf document -- vignette("AlgDesign") [Just type: vignette("AlgDesign") in R, you will get