similar to: Proposal for technique to stop a timer at any moment

Displaying 20 results from an estimated 4000 matches similar to: "Proposal for technique to stop a timer at any moment"

2016 Jul 11
0
Proposal for technique to stop a timer at any moment
Here is patch 1 of 2. Roger diff -rup nut-2.7.4.orig/clients/upsmon.c nut-2.7.4.dev/clients/upsmon.c --- nut-2.7.4.orig/clients/upsmon.c 2015-12-29 13:08:34.000000000 +0100 +++ nut-2.7.4.dev/clients/upsmon.c 2016-07-01 09:46:21.567766415 +0200 @@ -525,6 +525,18 @@ static int get_var(utype_t *ups, const c numq = 2; } + /* Subcommands for polling SIGUSR1, SIGUSR2 RP */ + if (strcmp(var,
2016 Jul 11
0
Proposal for technique to stop a timer at any moment
Here is patch 2 of 2. Roger diff -rup -x '*.html' -x '*.8' -x '*.5' nut-2.7.4.orig/docs/man/upsd.txt nut-2.7.4.dev/docs/man/upsd.txt --- nut-2.7.4.orig/docs/man/upsd.txt 2015-12-29 09:42:34.000000000 +0100 +++ nut-2.7.4.dev/docs/man/upsd.txt 2016-07-07 10:08:51.939354892 +0200 @@ -119,6 +119,16 @@ administrative functions like SET and IN controlled in
2017 Mar 21
0
Is a timer a file?
Hi Roger, reviving this discussion, since we have a Github ticket for 2.7.5: https://github.com/networkupstools/nut/issues/293 2016-06-05 12:34 GMT+02:00 Roger Price <roger at rogerprice.org>: > On Sat, 4 Jun 2016, Charles Lepple wrote: > > On Jun 3, 2016, at 6:48 AM, Roger Price <roger at rogerprice.org> wrote: >> >>> ... the timer. I don't see it in
2016 Jun 05
3
Is a timer a file?
On Sat, 4 Jun 2016, Charles Lepple wrote: > On Jun 3, 2016, at 6:48 AM, Roger Price <roger at rogerprice.org> wrote: >> ... the timer. I don't see it in /var/lib/ups where the locate tool >> finds upsd.pid, and I don't see it in /run or /var/run where I see >> upsmon.pid. >> > ... it seems that the timers are only stored in memory. See >
2017 Mar 16
0
File/dir user permissions on Samba fileserver in DC
On Thu, 16 Mar 2017 10:13:10 +0300 it at mdsdnr.ru wrote: > Another big thanks for help! > > All done as you wrote on samba filesrver. In tab "UNIX Attributes" > GID was assigned, two users: "usr1", "usr2" gets UID from same tab > and set to "Domain Users" primary group. Also these users in one > group in domain. Tried to do same for
2007 Mar 30
0
getent group shows me twice user id in a group
Hi Samba list, I have a Linux Samba PDC file server with a separate ldap machine backend. Every thing works perfect. but the problem is that when I do a command on the samba server: # getent group | grep 1033 It gives me: gname:x:1033:usr1,usr2,usr1,usr2,usr3 Some of the user ids show up twice. Why? I checked ldap database and found that usr1,usr2 and usr3 show up only once in
2011 Apr 19
2
Problem with softlinks under samba on RHEL
Hello all Samba enthusiasts. I am a noob w.r.t. samba configuration and just happened to use it on Solaris systems by creating conf files using copy-paste :-). This is just to convey that I'm no advanced user and might need help with the solutions / alternatives to come. Some background => Here is my smb.conf: === [global] workgroup = <company domain> server string = Samba
1999 Jun 24
1
Little problem
Hi all. IF Iam WRITING TO WRONG SAMBA LIST PLEASE TELL ME THAT, I GOT A LITTLE CONFUSED ABOUT THE LIST NAMES I just suscribed to this list and i want to say that i started use samba moustly for file and printer sharing. All ok till now , only two cuestions I need to set up a share folder for two users only , i made some like [folder] valid users usr1 usr2 printable no writable yes
2019 Jul 20
2
Another New User Question - Notify Script Not Running
Roger, Thanks for the idea to add additional items to the notifyflag. That proved the monitor was indeed working as expected and led me to find that my script had myriad issues when run under the nut user. All remedied now. As I progress, I may well end up migrating to the upssched. As a newbie I was simply following the documented "simple" way described here
2009 Feb 13
3
Problem with read/write access
I configure Samba in Share mode, I can see the files but i can't write/delete files in the directory "agenda" The directory /o/aplic/NACSEG/agenda have this permission drwxrwxr-x and the owner and group is agendaglm nobody I have all valid users in the smbpasswd and /etc/passwd This is the smb.conf...........................THANKS! [global] workgroup = GLMSA server
2007 Apr 23
0
Re Wine and games (Correction)
I installed wine 0.9.35 on Mepis95. Mask of Eternity still crashes immediatelly. Hewever Ages of Empires playes slow only. A well known simptom which with my Radeon card can be solved by setting in xorg.conf for the device Option "XAANoOffscreenPixmaps" "true" After which it playes perfectly. (This is also true for 0.9.319) By the way the for The mask of
2016 Jul 13
0
Best practice to shutdown hosts which has not NUT via upssched
Thank you for answer Roger >?????, 13 ???? 2016, 11:49 +03:00 ?? Roger Price <roger at rogerprice.org>: > >On Wed, 13 Jul 2016, Dmitri Stepanov wrote: > >> Hi >> >> ?? I need to shutdown a number of hosts which has not NUT from one which has it. >> >> ?? I tried to do it from upssched script (after upssched's timer) like this: >> >>
2014 Dec 10
1
Tiny suggestion for upslog.c
Hi Charles, On 10/12/14 14:27, Charles Lepple wrote: > Hi Andy, > > On Dec 8, 2014, at 7:07 PM, Andy Juniper <ajuniper at freeuk.com> wrote: > >> It adds a signal handler for the USR1 signal, which simply triggers it to abort the current sleep and log the requested now. > I will admit that I'm not an expert on how signals interrupt system calls on all systems, but
2016 Jun 03
3
Is a timer a file?
Hi, I'm trying to get a better understanding of what a timer is, so I added the following line to upssched.conf # Debug - turn on long-running timer to find out where upssched puts it AT ONBATT * START-TIMER where-am-I 1000 I can then start this timer by pulling the power cord from the wall for just a few seconds. I now have 1000 seconds to find the timer. I don't see it in
2008 Jul 28
0
Vanishing work group on samba 2.2.8
Hello I have a small problem which I hope you can help with. We are running samba 2.2.8a on a V880 using Solaris 9. Up until today there were, as far as we know, no problems with the service. Today a change was done to add 6 additional shares to the system. This was done by editing the configuration file and issuing a kill -HUP to the samba service. All appeared to be OK until access was
2001 Oct 29
0
signal messages
comments? allows % ssh host 'tail -f /var/log/messages | grep bla' ^C Index: clientloop.c =================================================================== RCS file: /cvs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.86 diff -u -r1.86 clientloop.c --- clientloop.c 24 Oct 2001 19:57:40 -0000 1.86 +++ clientloop.c 29 Oct 2001 19:08:37 -0000 @@ -103,6 +103,8 @@ */ static
2016 Jul 13
2
Best practice to shutdown hosts which has not NUT via upssched
On Wed, 13 Jul 2016, Dmitri Stepanov wrote: > Hi > > ?? I need to shutdown a number of hosts which has not NUT from one which has it. > > ?? I tried to do it from upssched script (after upssched's timer) like this: > > case $1 in > ??????? earlyshutdown) > ??????????????? logger -t upssched-cmd "Early shutdown is started" > ??????????????? /bin/sh
2005 Sep 22
2
repeatable disconnections when rsyncing over ssh
Hi, I have a problem with rsyncing large data sets (consisting bunch of small files) over ssh. rsync 2.6.6 on both sides. Linux 2.6.10 on receiving side, 2.6.12.6 on sending side. This strace is from rsyncing over 2Mbit link but I can repeat it over 100Mbps lan, too (while testing on lan 2.6.11.3 was on sending and 2.6.12.6 on receiving side). I wonder what can be problem here? Some
2010 Feb 14
2
unable to edit a file
hi, I have a file in a samba share with the following attributes: [dir1002] comment = webmin share write list = usr1,usr2 path = /misc/removable/dir1002 read only = no The files are created with the following ownership(the file system is vfat): -rwxr-xr-x 1 root root 0 Feb 14 07:23 New Text Document.txt -rwxr-xr-x 1 root root 4 Feb 14 07:28 txt1.txt
2017 Mar 10
6
File/dir user permissions on Samba fileserver in DC
Hi, aLL Using Samba-4.3.5 as a AD-member - fileserver. It's running in OpenVZ container (ProxMox VE). Domain is also build on Samba-4.3.5 (another VM). Fileserver's VM is mounted with acl, user_xattr options, Samba compiled with ACL support. There're domain users, for example, "usr1", "usr2". They're in domain group "dg1". There's a filepath