Displaying 20 results from an estimated 48 matches for "slist".
Did you mean:
list
2018 Jul 26
0
Problem with definition of slist in CFEngine
On Thu, 26 Jul 2018, Meikel wrote:
> Hey folks,
>
> I have a problem with the definition of a variable of type slist in CFEngine
> on
>
> # uname -a ; cat /etc/redhat-release
> Linux policyhub.example.com 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27
> UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> CentOS Linux release 7.4.1708 (Core)
>
> I'm not sure if its valid to ask CFEngine quest...
2018 Jul 26
4
Problem with definition of slist in CFEngine
Hey folks,
I have a problem with the definition of a variable of type slist in
CFEngine on
# uname -a ; cat /etc/redhat-release
Linux policyhub.example.com 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22
21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.4.1708 (Core)
I'm not sure if its valid to ask CFEngine questions on this mailing
list, but as far...
2019 Jul 10
2
Scope of classes in CFE 3.10.2 on CentOS 7
...urrent working dir /root. I have
the following file
# ll ./samples/scope_of_class.cf
-rwx------. 1 root root 720 10. Jul 16:33 ./samples/scope_of_class.cf
with content
----BEGIN----------------------------------
bundle agent scope_of_class()
{
vars:
any::
"web_servers" slist => {
"ws-1.example.com",
"ws-2.example.com",
"webserver.example.com",
};
methods:
any::
"scope_of_class_b1" usebundle => scope_of_class_b1(
$(scope_of_class.web_servers) );
}
bundle agent scope_of_cla...
2018 Jul 26
0
Problem with definition of slist in CFEngine
Am 26.07.2018 um 17:11 schrieb Meikel:
> # uname -a ; cat /etc/redhat-release
> Linux policyhub.example.com 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22
> 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> CentOS Linux release 7.4.1708 (Core)
Any really good reason not to update since nearly 1 year?
Alexander
2017 Feb 04
0
[PATCH] ipconfig: handle multiple interfaces correctly
...36 @@ struct netdev *ifaces;
* 0 = No dhcp/bootp packet was received
* 1 = A packet was received and handled
*/
-static int do_pkt_recv(int pkt_fd, time_t now)
+static int do_pkt_recv(int nr, struct pollfd *fds, time_t now)
{
- int ret = 0;
+ int i, ret = 0;
struct state *s;
- for (s = slist; s; s = s->next)
- ret |= process_receive_event(s, now);
+ for (i = 0, s = slist; s && nr; s = s->next, i++) {
+ if (fds[i].revents & POLLRDNORM) {
+ ret |= process_receive_event(s, now);
+ nr--;
+ }
+ }
return ret;
}
static int loop(void)
{
-#define NR_FDS 1
- struc...
2019 Jan 18
0
[klibc:master] ipconfig: handle multiple interfaces correctly
...36 @@ struct netdev *ifaces;
* 0 = No dhcp/bootp packet was received
* 1 = A packet was received and handled
*/
-static int do_pkt_recv(int pkt_fd, time_t now)
+static int do_pkt_recv(int nr, struct pollfd *fds, time_t now)
{
- int ret = 0;
+ int i, ret = 0;
struct state *s;
- for (s = slist; s; s = s->next)
- ret |= process_receive_event(s, now);
+ for (i = 0, s = slist; s && nr; s = s->next, i++) {
+ if (fds[i].revents & POLLRDNORM) {
+ ret |= process_receive_event(s, now);
+ nr--;
+ }
+ }
return ret;
}
static int loop(void)
{
-#define NR_FDS 1
- struc...
2006 Mar 28
0
Moving all items from one Scriptaculous box to another
...ul></td>
<td width="20%"><center><table>
<tr><td><input type="submit" name="choose_none" value="<<"
onClick="'' .
flist = document.getElementById(\''firstlist\'');
slist = document.getElementById(\''secondlist\'');
var flth = flist.length;
var slth = slist.length;
for (var i = 0; i < slth; i++)
{
flist.appendChild(slist.options.item[i]);
}
slist.length = 0;
Sortable.destroy(\''firstlist\'');
Sortable.des...
2012 Jun 20
0
formula method with "special" characters
...'ve checked and it seems this is
done through attr(,"specials"). However, the section of code below (as
an example extracted from the gam package) gives me an error as shown at
the end. Evidently I'm missing something here...any help is much
appreciated.
Thanks,
Leo.
"gam2.slist" <-
c("s", "lo", "random")
"gam2" <-
function(formula, family = gaussian, data,
weights, subset, na.action, start = NULL, etastart, mustart,
control = gam.control(...),
model = FALSE, method="glm.fit", x = FALSE,...
2011 Mar 27
4
ipconfig problem if multiple devices are up
...t:
,----
| diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
| index d501bec..8e1b62a 100644
| --- a/usr/kinit/ipconfig/main.c
| +++ b/usr/kinit/ipconfig/main.c
| @@ -312,7 +313,8 @@ static int do_pkt_recv(int pkt_fd, time_t now)
| return ret;
|
| for (s = slist; s; s = s->next) {
| - if (s->dev->ifindex == ifindex) {
| + dprintf("ifindex: %d - s->dev>ifindex: %d - %s\n",ifindex, s->de
| + if (s->dev->ifindex == (ifindex)) {
| ret = process_receive_event(s,...
2005 Feb 16
5
Repeating grey scale in graph?
Dear R users,
Could somebody tell me why the grey color ramp is repeated in this
graph, eventhough the ramp values go from 0 to 1? I must be missing
something obvious, but I can not see it!
z <-
c(0.064329041,0.117243316,0.161565116,0.19923015,0.231642175,0.259835539,0.284571226,
0.038507288,0.094184749,0.140959431,0.180803984,0.215159105,0.245096084,0.271412845,
2017 Dec 31
4
[PATCH klibc 0/4] Fixes from Debian and Ubuntu
The following patches come from Debian and/or Ubuntu packages of
klibc.
Ben.
Ben Hutchings (1):
[klibc] run-init: Add dry-run mode
Jay Vosburgh (1):
[klibc] ipconfig: Use separate sockets for DHCP from multiple
interfaces
Mathieu Trudel-Lapierre (1):
[klibc] ipconfig: Set broadcast when sending DHCPREQUEST and
DHCPDISCOVER
YunQiang Su (1):
[klibc] mips: setjmp.S: don't
2003 Apr 29
0
[PATCH] Fix busy-looping behaviour in ipconfig
...OOTP;
@@ -173,8 +181,12 @@
case DEVST_ERROR:
/* error occurred, try again in 10 seconds */
s->expire = now + 10;
+ default:
+ handled = 0;
break;
}
+
+ return handled;
}
static void process_timeout_event(struct state *s, time_t now)
@@ -231,20 +243,23 @@
static struct state *slist;
-static void do_pkt_recv(int pkt_fd, time_t now)
+static int do_pkt_recv(int pkt_fd, time_t now)
{
int ifindex, ret;
struct state *s;
ret = packet_peek(&ifindex);
if (ret < 0)
- return;
+ goto bail;
for (s = slist; s; s = s->next)
if (s->dev->ifindex == ifinde...
2010 Apr 15
1
R CMD REMOVE etc. query
I've been working on a fairly complex package that is a wrapper for several optimization
routines. In this work, I've attempted to do the following:
- edit the package code foo.R
- in a root terminal at the right directory location
R CMD REMOVE foo
R CMD INSTALL foo
However, I don't get the right code. In fact, if I just do the remove,
library(foo)
does not throw an
2006 Aug 04
2
Data frame referencing?
Dear R users,
When you do:
> x <- rnorm(10)
> y <- rnorm(10)
> z <- rnorm(10)
> a <- data.frame(x,y,z)
> a$x
[1] 1.37821893 0.21152756 -0.55453182 -2.10426048 -0.08967880 0.03712110
[7] -0.80592149 0.07413450 0.15557671 1.22165341
Why does this not work:
> a[a$y>0.5,y] <-1
Error in "[<-.data.frame"(`*tmp*`, a$y > 0.5, y, value = 1) :
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about.
The goal is not to be 100% checkpatch compliant,
but to have more consistent coding style.
As this is a trivial patch serie, will land in 24 hours in klibc git,
unless of course ml review hits a bugger.
Checked with size(3) that the generated kinit, fstype, ipconfig and
nfsmount are the same.
maximilian attems (4):
[klibc] ipconfig: reduce
2002 Sep 17
2
Unable to print with the Wine PS driver
...******
This is win.ini:
[intl]
sLanguage=Spanish (El Salvador)
sCountry=El Salvador
iCountry=503
s1159=a.m.
s2359=p.m.
sTime=:
iTime=0
iTLZero=1
sShortDate=dd/MM/yyyy
iDate=1
sLongDate=dddd, dd' de 'MMMM' de 'yyyy
sDate=/
sCurrency=$
iCurrency=0
iNegCurr=0
iCurrDigits=2
sDecimal=.
sList=,
sThousand=,
iDigits=2
iLZero=1
iMeasure=0
[windows]
device=HPDesk,WINEPS,LPR:HPDeskJet
[devices]
HPDesk=WINEPS,LPR:HPDeskJet
[PrinterPorts]
HPDesk=WINEPS,LPR:HPDeskJet,15,45
**********************
Suggestions to get this setup to work are welcome.
--
Oscar A. Valdez
2008 Jun 14
2
PATCH: ipconfig may discard useful packets
...uct state *s,
time_t now)
case DEVST_ERROR:
/* error occurred, try again in 10 seconds */
s->expire = now + 10;
- default:
- DEBUG(("\n"));
- handled = 0;
break;
}
@@ -288,23 +294,30 @@ static void process_timeout_event(struct state
*s, time_t now)
static struct state *slist;
struct netdev *ifaces;
+/*
+ * Returns:
+ * 0 = Error, packet not received or discarded
+ * 1 = A packet was received and handled
+ */
static int do_pkt_recv(int pkt_fd, time_t now)
{
int ifindex, ret;
struct state *s;
ret = packet_peek(&ifindex);
- if (ret < 0)
- goto bail;
+...
2001 Feb 27
0
Wine, Lotus Notes and date format
...for German settings.
Don't forget that Windows needs CR+LF at the end
of lines ;-)
Kind regards,
Stefan
[Windows]
device=Wine Postscript Driver,WINEPS,LPT1:
[mci extensions]
avi=AVIVideo
[Intl]
s1159=""
s2359=""
Locale=00000407
sLanguage=DEU
sCountry=Germany
iCountry=49
sList=;
iMeasure=0
sDecimal=,
sThousand=.
iDigits=2
iLZero=1
sCurrency=DM
iCurrDigits=2
iCurrency=3
iNegCurr=8
sDate=.
sTime=:
sShortDate=dd.MM.yyyy
sLongDate=dddd, d. MMMM yyyy
iDate=1
iTime=1
iTLZero=1
1999 Dec 03
0
Samba problems after intalling ncpfs
Hi!
My problem is that Samba doesn't work after installing ncfs.
I have Samba 1.9.18p10 and ncpfs 2.0.10.
I've succesfully installed ncpfs. After that I check it by "slist"
and get my Novell server. I mount Novell volume by ncpmount - all ok.
But after that my Samba doesn't work. I can see Samba/Linux box
in Network neibourhood with correct title "Linux Samba server" but
coudn't log in. Win98 says that this host unreachable.
I have kernel 2.0....
2003 Apr 29
0
[PATCH] ipconfig: fix memory leak, and exit if no interfaces to configure
...quot;IP-Config: %s hardware address", dev->name);
for (i = 0; i < dev->hwlen; i++)
@@ -406,6 +406,22 @@
if (dev->caps && netdev_up(dev) == 0)
add_one_dev(dev);
+ return;
+ bail:
+ free(dev);
+}
+
+static void check_for_devs(void)
+{
+ struct state *s;
+
+ for (s = slist; s; s = s->next) {
+ if (s->dev->caps)
+ return;
+ }
+
+ fprintf(stderr, "%s: no devices to configure\n", progname);
+ exit(1);
}
int main(int argc, char *argv[])
@@ -430,8 +446,6 @@
}
local_port = port;
remote_port = local_port - 1;
- printf("IP-Config:...