similar to: [PATCH] RFC: Running initscripts from kinit

Displaying 20 results from an estimated 300 matches similar to: "[PATCH] RFC: Running initscripts from kinit"

2019 Nov 20
2
[Clang] memory allocation
Hi, Could anyone please help me understand why Clang reallocates the same memory address for different variables while their lifetime intersect? Here is an example code: #include <stdlib.h> #include <stdio.h> #include <memory.h> #include <alloca.h> /* Checking information */ static int solutions[] = { 1, 0, 0, 2, 10, /* 5 */
2019 Nov 26
2
[Clang] memory allocation
Thanks David for your reply! However, OK is called inside nqueens. So, the same stack space cannot be used/reused for both of them. Best, Mohammad On Wed, Nov 20, 2019 at 11:43 PM David Blaikie <dblaikie at gmail.com> wrote: > You printed &j and &solutions - did you mean to print 'solutions' instead > of '&solutions' Because 'solutions' and
2010 Apr 20
0
3.4.6 to 3.5.2 difficulties
Did an upgrade from samba 3.4.6 to 3.5.2 Left the smb.conf completely unchanged. As background I'm using samba on gentoo amd64 with a ldapsam backend on openldap. Upgrade went well, I thought. Users could login and access their home directories. Service reloaded without issue. Here was the issue though, windows 2003 servers couldn't login users into the domain. These servers were
2008 Mar 19
2
problem with worker status
Hi, I have a page were users can start jobs that may take several hours to run. BackgrounDrb is perfect for me and seems to be working well most of the time but some times I have the following problem: My worker is set up like this: class UploadWorker < BackgrounDRb::MetaWorker set_worker_name :upload_worker set_no_auto_load(true) def create(args = nil ) file = args[:file]
2005 Jun 30
0
[PATCH] Device model path cleanup
Device model path cleanup. Remove bochsrc which is no longer needed. Signed-off-by: Arun Sharma <arun.sharma@intel.com> --- a/tools/examples/xmexample.vmx Thu Jun 30 18:41:11 2005 +++ b/tools/examples/xmexample.vmx Thu Jun 30 18:59:08 2005 @@ -89,10 +89,10 @@ # New stuff -device_model = ''/usr/bin/qemu-dm'' +device_model = ''/usr/lib/xen/bin/qemu-dm''
2006 Mar 22
1
[patch] trivial cleanup
remove 'NFS-Root' from an error message, and get rid of the old_root check, as it's unused and fails if the target filesystem is mounted 'ro' for no good reason. --- kinit.c 2006-03-21 23:48:15.000000000 -0600 +++ kinit.c 2006-03-22 01:09:39.000000000 -0600 @@ -191,7 +191,7 @@ } } else if (!S_ISDIR(st.st_mode)) { - fprintf(stderr, "NFS-Root:
2005 Jan 05
1
[PATCH] kinit/kinit.c
A patch for a few more hiccups and trivialities in kinit.c: * The check_path() calls check for "/root" and "/old_root" - I believe that should be "/root" and "/root/old_root". * chdir("/") is recommended after pivot_root() * init_argv[0] isn't set properly to the basename pointed to by char *s - this fix also eliminates six lines of
2012 May 04
2
[PATCH] run-init: add drop_capabilities support
Building on the work in ff0a614bd724f6c4c6a5014a9955dc1bc028f336, this moves the capability code down into the run-init library, so that run-init can use it as well, via the new "-d" flag. Signed-off-by: Kees Cook <kees at outflux.net> --- usr/kinit/Kbuild | 3 +-- usr/kinit/capabilities.h | 10 ++++++++++ usr/kinit/kinit.c | 6 +++---
2013 Apr 07
1
reset = destroy start
what is different between destroy -> start and reset in virsh? i meet this position , when i reset a domain, it cannot start , it stoped at initialize initd.but when i destory it ,and start it , it can run normally. i am very confuse about them. who can tell me the difference.... thanks a lots. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Nov 02
1
ZAPtel channel dance
Zaptel installs an /etc/modprobe.d/zaptel and an /etc/{defaults,sysconfig}/zaptel that list the modules in a different order, so If you happen to have a TDM2400P and a TDM[124]xxP, all channels change their numbers if you do a /etc/initd/zaptel restart. This is slightly confusing. (I'd file a bug if there were a bug tracking system that allowed users to submit bugs). Yours, Florian
2011 Jan 21
2
smartmontools SRPM fails
I want to install smarmontools v 5.40, and so I pulled the SRPM for 5.39 so I could patch and install... $ wget -Nc ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/smartmontools-5.39.1-2.el6.src.rpm However, the install of the source fails. $ rpm -ivh smartmontools-5.39.1-2.el6.src.rpm warning: smartmontools-5.39.1-2.el6.src.rpm: V3 RSA/MD5 signature: NOKEY, key ID
2011 Aug 03
1
[PATCH v2] kinit: Add drop_capabilities support.
This patch adds the ability to kinit to allow the dropping of POSIX capabilities. kinit is modified by this change, such that it understands the new kernel command line "drop_capabilities=" that specifies a comma separated list of capability names that should be dropped before switching over to the next init in the boot strap (typically on the root disk). When processing capabilities
1999 Dec 16
3
Samab and init.d
Is it better to start Samba using in initd, or to use the script, much like the one provided by SuSE. ?? so far I have used the script, but I don't like the fact of having to start samba manually. I would much prefer to see it run as a service. just to confirm all it really involves is starting smbd and nmbd Rowan [TSS] Gerber Scientific Products http://www.gspinc.com
2020 Mar 20
1
Not able to start dovecot
Am 19.03.2020 um 16:28 schrieb Adam Raszkiewicz: > I was able to solve errors below but now it complains about the startup how is handled on Centos7: > > ? dovecot.service - LSB: Dovecot init script > Loaded: loaded (/etc/rc.d/init.d/dovecot; bad; vendor preset: disabled) > Active: failed (Result: exit-code) since Thu 2020-03-19 15:15:37 UTC; 54s ago > Docs:
2006 Apr 14
0
Quota again
Hi, quota is now working well, except that both quota-fs and quota-maildir is showing incorrect values. I have to use this patch to get correct numbers. I _know_ it's totally wrong, and that the cause have to be something else, I just want to know if this is something with my setup, or what? With these changes the values are correct (Indeed the quota-fs is correct, the quota-maildir is at
2006 Apr 21
0
Bug: quota-maildir.c, array accessed out of bounds
Timo, In src/plugins/quota/quota-maildir.c, in the maildirsize_read() function, if the maildirsize file is greater that 5120 bytes, this code breaks because the while loop executes multiple times, incrementing size to a value larger than 5120, and then size is later used to referece the buf array out of bounds. To fix it you could add a break statement after "size+= ret;" so that the
2003 Dec 18
1
Samba 3.0.0: Problems with printing from win98 client
I'm having a problem when a user wants to print using a win98 client, the machine hangs up and i get a process that consumes nearly 90% of CPU time owned by the user who sends the job. I configuredd the smb.conf log level in 5 and i get this error: [2003/12/18 14:43:02, 3] smbd/lanman.c:api_reply(3542) Doing DosPrintQGetInfo [2003/12/18 14:43:02, 3]
2020 Jun 18
1
[PATCH] Kbuild for klibc and nfsmount: fix multiple definitions
-fcommon is not default anymore, with GCC 10 you get the following failure without it: KLIBCLD usr/klibc/libc.so ppc-linux-ld: usr/klibc/globals.o:/root/packages/klibc-2.0.7/usr/klibc/../include/unistd.h:15: multiple definition of `environ'; usr/klibc/__shared_init.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/libc_init.c:42: first defined here ppc-linux-ld:
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
coding style fixes. FIXME: check that compiled bin the same1!! --- usr/kinit/initrd.c | 3 ++- usr/kinit/kinit.c | 12 ++++-------- usr/kinit/kinit.h | 20 ++++++++++---------- usr/kinit/name_to_dev.c | 6 +++--- usr/kinit/nfsroot.c | 5 ++--- 5 files changed, 21 insertions(+), 25 deletions(-) diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c index
2020 Feb 07
2
Dovecot/doveadm quota
Hello, Is there any reason why dovecot relies on S= instead of real disk size email takes? 1) compressed mails take less than than the S= specified 2) we could avoid using "S=" for the lookups and count every file there, including indexes and mails without S=... if we'd read filesizes Eample: # ls -l '1567026317.M331058P4751.testing.server.com,S=3086,W=3148:2,S' -rw-------