Re: Lead sheets: Maj. 7 chords

2024-04-09 Thread Ivan Kuznetsov
And that was it!
Thank you so much.

On Tue, Apr 9, 2024 at 3:50 PM Aaron Hill  wrote:
>
> You need to adjust the majorSevenSymbol [1].
>
> [1]:
> https://lilypond.org/doc/v2.25/Documentation/notation/customizing-chord-names#chord-name-major7
>



Lead sheets: Maj. 7 chords

2024-04-09 Thread Ivan Kuznetsov
 have been creating some lead sheets in
the style of the "Real Book", using
the \chords{} syntax.  However,
I do not like the way the default
notates "major 7 chords", that is,
a major triad with a major seventh.

The default is to use a "triangle"
to notate such a chord (shown below
in my example" but I much prefer
the way the Real Book notates
such chords, by writing out
"maj7".

How can I get the \chords {} syntax
to notate "major 7 chords as
I prefer, using the notation
"maj7" ?

Thank you for your help.


\score {

  <<
  \chords { bf1:maj7 }
  \new Staff = "mel"
  {
\time 4/4
\clef "treble"
c''1

  }
  >>

}



Re: "\override BarLine" for a PianoStaff

2024-01-27 Thread Ivan Kuznetsov
Yes it does!  Thank you.

On Fri, Jan 26, 2024 at 11:23 PM Vaughan McAlley 
wrote:

>
> Hi Ivan,
>
> \new PianoStaff \with {  \remove "Span_bar_engraver" }
>
> should work!
>
>


"\override BarLine" for a PianoStaff

2024-01-26 Thread Ivan Kuznetsov
"\override BarLine" for a PianoStaff

I frequently use lilypond for short theory
examples for teaching, and for such examples
I often use the code:

   \override BarLine.transparent = ##t

to make bar lines disappear.  This has always worked
for me for a single staff, but when I just tried
to do this with a grand staff in the excerpt
below, the bar lines only disappeared "on the staves"
but still appeared "between the staves".
Running the excerpt below will illustrate this.

How do I make the entire bar lines transparent
for a grand staff?

Thank you for your help.


\version "2.24.1"
\language "english"

\paper{ indent = 0\cm }

\score {

  \new PianoStaff
  <<
  \new Staff \with { \remove "Time_signature_engraver" }
  {
\time 4/4
\clef "treble"
s1   s1 s1   s1   e'1b'1   fs''   cs'''   gs'''
  }

  \new Staff \with { \remove "Time_signature_engraver" }
  {
\time 4/4
\clef "bass"
c,1   g,1   d1   a1e'1   s1s1s1  s1
  }
  >>

  \layout {

\context {
   \Score
   \override BarLine.transparent = ##t
}
  }

} % score


Re: Error with \layout and \context

2024-01-12 Thread Ivan Kuznetsov
It was that simple!

Thanks!

On Fri, Jan 12, 2024 at 7:17 PM Aaron Hill  wrote:
>
> You need to do your mods in separate \context sections.  See above.



Error with \layout and \context

2024-01-12 Thread Ivan Kuznetsov
In my short snippet below, even though my
final output is as expected, a C major scale
with some brackets underneath some pairs of note,
I get the error:

> Parsing...
> test_post01.ly:25:8: error: not a context mod
>
>\Voice

Note that I am using "Analysis brackets".

The lilypond parser does not like the use
of my \Voice tag in the \layout block

Is there something I am doing wrong?

Yes, I getting my desired output, but
but the error message does disturb me,
and I would like to understand something
about what is considered best practice
in the \layout blocks.

When I remove:

\Voice
\consists Horizontal_bracket_engraver

the error goes away, but then, I do
not get my desired brackets in the final
output.


Thanks.



\version "2.24.1"
\language "english"

\score {

  \new Staff \with { \remove "Time_signature_engraver" }
  {
\time 4/4
\clef "treble"
 c'1 d'1 e'1\startGroup f'1\stopGroup g'1 a'1 b'1\startGroup c''1\stopGroup
  }


  \layout {

\context {
   \Score
   \override BarLine.transparent = ##t
   \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1  8)
   \override Stem.transparent = ##t

   \Voice
\consists Horizontal_bracket_engraver
}
  }

}



Shared address book via CardDav extension

2022-12-06 Thread Ivan Kuznetsov

Hello

We using cyrus-imapd 3.4.3 with CalDav/CardDav extensions. Here are settings

calendarprefix: #calendar
caldav_allowscheduling: on
caldav_create_default: 1
caldav_create_attach: 1
caldav_create_sched: 1
caldav_allowcalendaradmin: 1

addressbookprefix: #addressbooks
carddav_allowaddressbookadmin: 1
carddav_allowaddmember: 1

A user can create his own addressbook using E-mail client calendar 
feature, e.g. by Thunderbird. Than he can connect to personal 
addressbook using URL 
https://server-name/dav/addressbooks/user/user-name/Default/ with 
authentication and add addresses as needed


What is a way to create shared addressbook available for all users?

I suppose to create one addressbook in 'public' hierarchy, add rights to 
lookup+read to all users and all rights to a dedicated admin user. Than 
admin user can populate this addressbook with scripts or manually 
providing shared addresses to all.


I try to manually create a mailbox like public/shared/#addressbooks 
using cyradm utility. It's created but not looks like an addressbook. I 
get 'Not found error' connecting to 
https://server-name/dav/addressbooks/public/shared/


Regards, Ivan

--
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T5c12e2d2a571b3b7-Mcde13b33ae18b8a56728343f
Delivery options: https://cyrus.topicbox.com/groups/info/subscription


Re: server not accessible - 3.6-beta3-1

2022-11-15 Thread Ivan Kuznetsov

Hello

It can be a lack of available IMAP handlers. One TB makes more than one 
IMAP connection depending of a number of tabs opened. Some client 
connections can hit a limit of running imapd processes. Consult with 
cyrus.conf


Regards, Ivan

15.11.2022 12:18, Pongrácz István пишет:

Hi,

Is that possible, the cyrus imap cannot be reached sometimes, due to 
some bugs?


My users reported frequently (seems too frequent) when they send an 
email TB cannot save the copy of the sent email to the Sent folder, or 
when they just browse their account, TB reported: connecting to the 
server cannot be reached, due to timeout.


Is it a known situation or I have to find something else to excuse? :)

I start to dig into the logs, (up to now, I did not find any related 
issue) but maybe you know something about this.


Thank you!

István
*Cyrus * / Info / see discussions 
 + participants 
 + delivery options 
 Permalink 
 





--
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/Tc5a2b80110a27505-Md4049ba08ecb645de29c0c61
Delivery options: https://cyrus.topicbox.com/groups/info/subscription


Making a Lilypond donation (again)

2021-12-30 Thread Ivan Kuznetsov
I would like to make a onetime donation toward
the development of Lilypond.

I have searched the archives of this list, and
over and over again, it has been stated that
there is no clear way to do this.

At https://www.gnu.org/software/, Lilypond
is listed as a "current GNU package", but
can one donate money to GNU/Free Software
Foundation with the money being earmarked
specifically for Lilypond development ?

A few places, it is suggested that since
David Kastrup  is currently
the only full time developer of Lilypond
(is this still true?) and since he has
asked for denotations in the past, that
sending a donation directly to Mr. Kastrup
is one way to go.  Is that what people
are doing?

Thank you for your help.



[Swan] Libreswan don't want to up a child SA

2021-12-22 Thread Ivan Kuznetsov
ay:30; timeout:120; nat-t: 
encaps:no; nat_keepalive:yes; ikev1_natt:both

000 "customer/0x2":   newest ISAKMP SA: #0; newest IPsec SA: #0;
000 "customer/0x2":   aliases: customer
000 "customer/0x2":   IKE algorithms: AES_CBC_256-HMAC_SHA2_256-MODP2048
000 #33417: "customer/0x1":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 16654s; newest ISAKMP; idle;
000 #33751: "customer/0x1":500 STATE_V2_IPSEC_R (IPsec SA established); 
EVENT_SA_REKEY in 3414s; newest IPSEC; eroute owner; isakmp#33417; idle;
000 #33751: "customer/0x1" esp.9d603d4@E.F.G.H esp.232cb42f@A.B.C.D 
tun.0@E.F.G.H tun.0@A.B.C.D ref=0 refhim=0 Traffic: ESPin=0B ESPout=0B! 
ESPmax=0B


I began to ping 10.50.2.11 from 172.16.80.160 at 10:35:56 and took a 
debug log, fragment is attached.


What can be a diagnose tactics?

--
Regards, Ivan Kuznetsov
SOVLO ltdDec 22 10:35:56.152809: |  kernel_process_msg_cb process netlink message
Dec 22 10:35:56.152870: | netlink_get: XFRM_MSG_ACQUIRE message
Dec 22 10:35:56.152875: | xfrm netlink msg len 376
Dec 22 10:35:56.152878: | xfrm acquire rtattribute type 5
Dec 22 10:35:56.152881: | xfrm template attribute with reqid:0, spi:0, proto:50
Dec 22 10:35:56.152884: | xfrm acquire rtattribute type 16
Dec 22 10:35:56.152891: | subnet from endpoint 172.16.85.160:8 (in 
netlink_acquire() at kernel_xfrm.c:1822)
Dec 22 10:35:56.152895: | subnet from address 10.50.2.11 (in netlink_acquire() 
at kernel_xfrm.c:1823)
Dec 22 10:35:56.152900: | subnet from endpoint 172.16.85.160:8 (in 
has_bare_hold() at kernel.c:1265)
Dec 22 10:35:56.152904: | subnet from address 10.50.2.11 (in has_bare_hold() at 
kernel.c:1266)
Dec 22 10:35:56.152915: | add bare shunt 0xd20b50 172.16.85.160/32:8 --1--> 
10.50.2.11/32:0 => %hold 0%acquire-netlink
Dec 22 10:35:56.152922: initiate on demand from 172.16.85.160:8 to 10.50.2.11:0 
proto=1 because: acquire
Dec 22 10:35:56.152929: | find_connection: looking for policy for connection: 
172.16.85.160:1/8 -> 10.50.2.11:1/0
Dec 22 10:35:56.152932: | FOR_EACH_CONNECTION_... in find_connection_for_clients
Dec 22 10:35:56.152953: | find_connection: conn "customer/0x2" has compatible 
peers: 172.16.80.0/20:0 -> 10.50.2.8/29:0 [pri: 21030922]
Dec 22 10:35:56.152957: | find_connection: first OK "customer/0x2" 
[pri:21030922]{0xccd690} (child none)
Dec 22 10:35:56.152966: | find_connection: concluding with "customer/0x2" 
[pri:21030922]{0xccd690} kind=CK_PERMANENT
Dec 22 10:35:56.152970: | assign hold, routing was prospective erouted, needs 
to be erouted HOLD
Dec 22 10:35:56.152973: | assign_holdpass() need broad(er) shunt
Dec 22 10:35:56.152977: | priority calculation of connection "customer/0x2" is 
0x1fd7c4
Dec 22 10:35:56.152983: | eroute_connection replace %trap with broad %pass or 
%hold eroute 172.16.80.0/20:0 --0-> 10.50.2.8/29:0 => %hold>%hold using reqid 0 
(raw_eroute)
Dec 22 10:35:56.152989: | netlink_raw_eroute: SPI_HOLD implemented as no-op
Dec 22 10:35:56.152993: | raw_eroute result=success
Dec 22 10:35:56.152995: | assign_holdpass() eroute_connection() done
Dec 22 10:35:56.152999: | fiddle_bare_shunt called
Dec 22 10:35:56.153003: | subnet from endpoint 172.16.85.160:8 (in 
fiddle_bare_shunt() at kernel.c:1344)
Dec 22 10:35:56.153006: | subnet from address 10.50.2.11 (in 
fiddle_bare_shunt() at kernel.c:1345)
Dec 22 10:35:56.153010: | fiddle_bare_shunt with transport_proto 1
Dec 22 10:35:56.153013: | removing specific host-to-host bare shunt
Dec 22 10:35:56.153019: | delete narrow %hold eroute 172.16.85.160/32:8 --1-> 
10.50.2.11/32:0 => %hold using reqid 0 (raw_eroute)
Dec 22 10:35:56.153022: | netlink_raw_eroute: SPI_PASS
Dec 22 10:35:56.153033: | raw_eroute result=success
Dec 22 10:35:56.153037: | raw_eroute with op='delete' for transport_proto='1' 
kernel shunt succeeded, bare shunt lookup succeeded
Dec 22 10:35:56.153043: | delete bare shunt 0xd20b50 172.16.85.160/32:8 --1--> 
10.50.2.11/32:0 => %hold 0%acquire-netlink
Dec 22 10:35:56.153047: assign_holdpass() delete_bare_shunt() failed
Dec 22 10:35:56.153050: initiate_ondemand_body() failed to install 
negotiation_shunt,
Dec 22 10:35:56.153053: | FOR_EACH_STATE_... in find_phase1_state
Dec 22 10:35:56.153069: | FOR_EACH_STATE_... in find_pending_phase2
Dec 22 10:35:56.153085: | addref fd@NULL (in new_state() at state.c:555)
Dec 22 10:35:56.153089: | creating state object #33787 at 0xe00c00
Dec 22 10:35:56.153093: | State DB: adding IKEv2 state #33787 in UNDEFINED
Dec 22 10:35:56.153098: | serialno list: inserting #33787 
(nil)<-0xe01470->(nil) into list HEAD 0xf18610<-0x798e40->0xe0aa10
Dec 22 10:35:56.153102: | serialno list: inserted  #33787 
0xf18610<-0xe01470->0x798e40 into list HEAD 0xe01470<-0x798e40->0xe0aa10
Dec 22 10:35:56.153106: | st_serialno table: inserting #33787 
(nil)<-0xe01490->(nil) into list HEAD 0xd16be0<-0x77f560->0xd16be0
Dec

[jira] [Commented] (GROOVY-10197) java.lang.VerifyError using property inside enum's constant

2021-08-12 Thread Ivan Kuznetsov (Jira)


[ 
https://issues.apache.org/jira/browse/GROOVY-10197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397974#comment-17397974
 ] 

Ivan Kuznetsov commented on GROOVY-10197:
-

This is very similar to GROOVY-9524

> java.lang.VerifyError using property inside enum's constant
> ---
>
> Key: GROOVY-10197
> URL: https://issues.apache.org/jira/browse/GROOVY-10197
> Project: Groovy
>  Issue Type: Bug
>Affects Versions: 3.0.8
>    Reporter: Ivan Kuznetsov
>Priority: Major
>
> I'm facing with this strange error after script compiles successfully but 
> fails to load using groovy 3.0.8:
> {noformat}
> java.lang.VerifyError: Bad type on operand stack
> Exception Details:
>   Location:
> E$1.(Ljava/lang/String;ILjava/util/LinkedHashMap;)V @50: 
> invokevirtual
>   Reason:
> Type 'E$1' (current frame, stack[0]) is not assignable to 
> 'groovy/lang/Closure'
>   Current Frame:
> bci: @50
> flags: { }
> locals: { 'E$1', 'java/lang/String', integer, 'java/util/LinkedHashMap', 
> integer }
> stack: { 'E$1' }
>   Bytecode:
> 000: 2a2b 1c2d 01b7 0012 0436 0415 042a 5fb5
> 010: 0014 1504 572d c700 0704 a700 0403 9900
> 020: 13bb 0016 5912 18b7 001b c000 1dbf 
> 030: bf2a b600 23c0 0004 c000 2512 26b6 002a
> 040: 9900 1a2d 1226 b900 3002 003a 0519 05b8
> 050: 0036 2a5f b500 1419 0557 2a2d b800 3c01
> 060: 57b1   
>   Stackmap Table:
> full_frame(@29,{Object[#2],Object[#69],Integer,Object[#37],Integer},{})
> same_locals_1_stack_item_frame(@30,Integer)
> full_frame(@46,{},{Object[#29]})
> full_frame(@49,{Object[#2],Object[#69],Integer,Object[#37],Integer},{})
> same_frame(@90)
> same_frame(@97)   at E.(ideaGroovyConsole.groovy)
>   at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native 
> Method)
>   at 
> java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155)
>   at 
> java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:42)
>   at 
> java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:186)
>   at 
> java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1126)
>   at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1107)
>   at java.base/java.lang.reflect.Field.get(Field.java:419)
>   at 
> org.codehaus.groovy.reflection.CachedField.getProperty(CachedField.java:68)
>   at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1900)
>   at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3874)
>   at 
> org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:50)
>   at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:329)
>   at ideaGroovyConsole.run(ideaGroovyConsole.groovy:110) {noformat}
> Here is the reproducing script:
> {code:java}
> @CompileStatic
> enum E {
> E1{
> //int value = 1
> int getValue() { 1 }
> }
> int getValue() { -1 }
> }
> {code}
> If you use an overriding method, all is working fine. But replacing method 
> with local field causes an error above. I think it is 
> {{@CompileStatic}}-specific error, because without this annotation both 
> versions are loaded successfully.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (GROOVY-10197) java.lang.VerifyError using property inside enum's constant

2021-08-12 Thread Ivan Kuznetsov (Jira)
Ivan Kuznetsov created GROOVY-10197:
---

 Summary: java.lang.VerifyError using property inside enum's 
constant
 Key: GROOVY-10197
 URL: https://issues.apache.org/jira/browse/GROOVY-10197
 Project: Groovy
  Issue Type: Bug
Affects Versions: 3.0.8
Reporter: Ivan Kuznetsov


I'm facing with this strange error after script compiles successfully but fails 
to load using groovy 3.0.8:
{noformat}
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
E$1.(Ljava/lang/String;ILjava/util/LinkedHashMap;)V @50: invokevirtual
  Reason:
Type 'E$1' (current frame, stack[0]) is not assignable to 
'groovy/lang/Closure'
  Current Frame:
bci: @50
flags: { }
locals: { 'E$1', 'java/lang/String', integer, 'java/util/LinkedHashMap', 
integer }
stack: { 'E$1' }
  Bytecode:
000: 2a2b 1c2d 01b7 0012 0436 0415 042a 5fb5
010: 0014 1504 572d c700 0704 a700 0403 9900
020: 13bb 0016 5912 18b7 001b c000 1dbf 
030: bf2a b600 23c0 0004 c000 2512 26b6 002a
040: 9900 1a2d 1226 b900 3002 003a 0519 05b8
050: 0036 2a5f b500 1419 0557 2a2d b800 3c01
060: 57b1   
  Stackmap Table:
full_frame(@29,{Object[#2],Object[#69],Integer,Object[#37],Integer},{})
same_locals_1_stack_item_frame(@30,Integer)
full_frame(@46,{},{Object[#29]})
full_frame(@49,{Object[#2],Object[#69],Integer,Object[#37],Integer},{})
same_frame(@90)
same_frame(@97) at E.(ideaGroovyConsole.groovy)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native 
Method)
at 
java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155)
at 
java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:42)
at 
java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:186)
at 
java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1126)
at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1107)
at java.base/java.lang.reflect.Field.get(Field.java:419)
at 
org.codehaus.groovy.reflection.CachedField.getProperty(CachedField.java:68)
at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1900)
at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3874)
at 
org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:50)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:329)
at ideaGroovyConsole.run(ideaGroovyConsole.groovy:110) {noformat}
Here is the reproducing script:
{code:java}
@CompileStatic
enum E {
E1{
//int value = 1
int getValue() { 1 }
}

int getValue() { -1 }
}
{code}
If you use an overriding method, all is working fine. But replacing method with 
local field causes an error above. I think it is {{@CompileStatic}}-specific 
error, because without this annotation both versions are loaded successfully.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: [Swan] SA lifetime too short, less than configured

2021-05-20 Thread Ivan Kuznetsov

Gzipped log for time 00:42:14 is attached

As I understand, other side (Cisco ASA) sends ISAKMP_v2_INFORMATIONAL 
message contains ISAKMP_NEXT_v2D payload asks to delete the #103354 SA



20.05.2021 19:33, Ivan Kuznetsov пишет:

Hello Paul

17.05.2021 18:01, Paul Wouters пишет:

On Mon, 17 May 2021, Ivan Kuznetsov wrote:


Yes, all the bkp* has the same life times:

[root@vpn3 ipsec.d]# ipsec auto --status | grep bkp | grep ike_life
000 "bkp/0x1":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x2":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x3":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x4":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;


That's good

 Just over one hour is really weird. Can you run with 
plutodebug=all,tmi

 and show the log lines you see between these two messages?


It can be a bit problematic as this ipsec instance handle 20+ active 
production connections with different peers/clients. It seems that 
'ipsec whack --name bkp/0xN --debug all,tmi' does not have any 
logging effect. I'm afraid enable debug logging globally will slow 
down the connections and make a huge log.


Ok, how about: ipsec status |grep STATE_ |grep bkp/


I wrote a simple script logging 'ipsec status |grep STATE_ |grep bkp/' 
every 10s. Here is output (non-interesting lines skipped):


18.05.2021 23:41:28
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82325s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24764s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:41:38
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82315s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24754s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:41:48
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82305s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24744s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:41:58
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82295s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24734s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:42:08
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82285s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24724s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:42:18
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 86054s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 28465s; newest IPSEC; eroute owner; isakmp#103354; idle;

18.05.2021 23:42:28
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 86044s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 28455s; newest IPSEC; eroute owner; isakmp#103354; idle;

18.05.2021 23:42:38
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 86034s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 28445s; newest IPSEC; eroute owner; isakmp#103354; idle;

18.05.2021 23:42:48
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 86024s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 28435s; newest IPSEC; eroute owner; isakmp#103354; idle;


[...]

19.05.2021 00:41:14
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82518s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24929s; newest IPSEC; eroute owner; isakmp#103354; idle;

19.05.2021 00:41:24
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82508s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24919s; newest IPSEC; eroute owner; isakmp#103354; idle;

19.05.2021 00:41:34
000 #103354

Re: [Swan] SA lifetime too short, less than configured

2021-05-20 Thread Ivan Kuznetsov

Hello Paul

17.05.2021 18:01, Paul Wouters пишет:

On Mon, 17 May 2021, Ivan Kuznetsov wrote:


Yes, all the bkp* has the same life times:

[root@vpn3 ipsec.d]# ipsec auto --status | grep bkp | grep ike_life
000 "bkp/0x1":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x2":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x3":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x4":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;


That's good


 Just over one hour is really weird. Can you run with plutodebug=all,tmi
 and show the log lines you see between these two messages?


It can be a bit problematic as this ipsec instance handle 20+ active 
production connections with different peers/clients. It seems that 
'ipsec whack --name bkp/0xN --debug all,tmi' does not have any logging 
effect. I'm afraid enable debug logging globally will slow down the 
connections and make a huge log.


Ok, how about: ipsec status |grep STATE_ |grep bkp/


I wrote a simple script logging 'ipsec status |grep STATE_ |grep bkp/' 
every 10s. Here is output (non-interesting lines skipped):


18.05.2021 23:41:28
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82325s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24764s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:41:38
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82315s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24754s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:41:48
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82305s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24744s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:41:58
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82295s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24734s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:42:08
000 #103273: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82285s; newest ISAKMP; idle;
000 #103274: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24724s; newest IPSEC; eroute owner; isakmp#103273; idle;

18.05.2021 23:42:18
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 86054s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 28465s; newest IPSEC; eroute owner; isakmp#103354; idle;

18.05.2021 23:42:28
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 86044s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 28455s; newest IPSEC; eroute owner; isakmp#103354; idle;

18.05.2021 23:42:38
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 86034s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 28445s; newest IPSEC; eroute owner; isakmp#103354; idle;

18.05.2021 23:42:48
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 86024s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 28435s; newest IPSEC; eroute owner; isakmp#103354; idle;


[...]

19.05.2021 00:41:14
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82518s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24929s; newest IPSEC; eroute owner; isakmp#103354; idle;

19.05.2021 00:41:24
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82508s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24919s; newest IPSEC; eroute owner; isakmp#103354; idle;

19.05.2021 00:41:34
000 #103354: "bkp/0x2":500 STATE_PARENT_I3 (PARENT SA established); 
EVENT_SA_REKEY in 82498s; newest ISAKMP; idle;
000 #103355: "bkp/0x2":500 STATE_V2_IPSEC_I (IPsec SA established); 
EVENT_SA_REKEY in 24909s; newest 

Re: [Swan] SA lifetime too short, less than configured

2021-05-17 Thread Ivan Kuznetsov



14.05.2021 16:08, Paul Wouters пишет:

On Fri, 14 May 2021, Ivan Kuznetsov wrote:

No, config lines are not ignored. Here is status output, it shows 
'ike_life: 86400s' and 'ipsec_life: 28800s' implemented


[root@vpn3 ipsec.d]# ipsec auto --status | grep bkp/0x2
000 "bkp/0x2":


000 "bkp/0x2":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;


Can you show me: ipsec status |grep ike_life:

I'd like to see the other bkp/ connections to see if they are all
properly set to the same lifetimes (They should be because it is
instantiated from your subnetS= but lets check)


Yes, all the bkp* has the same life times:

[root@vpn3 ipsec.d]# ipsec auto --status | grep bkp | grep ike_life
000 "bkp/0x1":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x2":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x3":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;
000 "bkp/0x4":   ike_life: 86400s; ipsec_life: 28800s; replay_window: 
32; rekey_margin: 300s; rekey_fuzz: 100%; keyingtries: 3;


May 14 09:09:45.873173: "bkp/0x2" #94268: STATE_V2_IPSEC_I: IPsec SA 
established tunnel mode {ESP=>0x2c052ce7 <0xa8985bfa 
xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive}
May 14 10:17:15.373003: "bkp/0x2" #94268: deleting other state #94268 
(STATE_CHILDSA_DEL) aged 4049.567s and NOT sending notification


Just over one hour is really weird. Can you run with plutodebug=all,tmi
and show the log lines you see between these two messages?


It can be a bit problematic as this ipsec instance handle 20+ active 
production connections with different peers/clients. It seems that 
'ipsec whack --name bkp/0xN --debug all,tmi' does not have any logging 
effect. I'm afraid enable debug logging globally will slow down the 
connections and make a huge log.



--
С уважением, Иван Кузнецов
Руководитель технического отдела

Группа компаний "СОЛВО"
+7(812)60-60-555
+7(495)66-83-003
+7(921)740-72-61
http://www.solvo.ru

СОЛВО - Эталон Автоматизации Логистики
___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan


Re: [Swan] SA lifetime too short, less than configured

2021-05-14 Thread Ivan Kuznetsov
o remain up; schedule EVENT_REVIVE_CONNS
May 14 12:42:01.809543: "bkp/0x2": initiating connection which received 
a Delete/Notify but must remain up per local policy

May 14 12:42:01.809578: "bkp/0x2" #94561: initiating IKEv2 IKE SA
May 14 12:42:01.810478: "bkp/0x2" #94561: STATE_PARENT_I1: sent v2I1, 
expected v2R1

May 14 12:42:01.849643: "bkp/0x2" #94561: sending INITIAL_CONTACT
May 14 12:42:01.849803: "bkp/0x2" #94562: STATE_PARENT_I2: sent v2I2, 
expected v2R2 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 
prf=HMAC_SHA2_256 group=MODP2048}
May 14 12:42:01.886922: "bkp/0x2" #94562: IKEv2 mode peer ID is 
ID_IPV4_ADDR: '55.66.77.88'

May 14 12:42:01.887031: "bkp/0x2" #94562: Authenticated using authby=secret
May 14 12:42:01.896422: "bkp/0x2" #94562: negotiated connection 
[172.16.80.0-172.16.95.255:0-65535 0] -> [10.1.102.0-10.1.102.255:0-65535 0]
May 14 12:42:01.896442: "bkp/0x2" #94562: STATE_V2_IPSEC_I: IPsec SA 
established tunnel mode {ESP=>0xd4e799d0 <0xe0be8f7e 
xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive}
May 14 13:30:01.525511: "bkp/0x2" #94562: deleting other state #94562 
(STATE_CHILDSA_DEL) aged 2879.675s and NOT sending notification
May 14 13:30:01.534942: "bkp/0x2" #94561: deleting state 
(STATE_IKESA_DEL) aged 2879.725s and NOT sending notification
May 14 13:30:01.534995: "bkp/0x2" #94561: deleting IKE SA but connection 
is supposed to remain up; schedule EVENT_REVIVE_CONNS
May 14 13:30:01.535098: "bkp/0x2": initiating connection which received 
a Delete/Notify but must remain up per local policy

May 14 13:30:01.535136: "bkp/0x2" #94628: initiating IKEv2 IKE SA
May 14 13:30:01.535996: "bkp/0x2" #94628: STATE_PARENT_I1: sent v2I1, 
expected v2R1

May 14 13:30:01.575206: "bkp/0x2" #94628: sending INITIAL_CONTACT
May 14 13:30:01.575343: "bkp/0x2" #94629: STATE_PARENT_I2: sent v2I2, 
expected v2R2 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 
prf=HMAC_SHA2_256 group=MODP2048}
May 14 13:30:01.612611: "bkp/0x2" #94629: IKEv2 mode peer ID is 
ID_IPV4_ADDR: '55.66.77.88'

May 14 13:30:01.612716: "bkp/0x2" #94629: Authenticated using authby=secret
May 14 13:30:01.621267: "bkp/0x2" #94629: negotiated connection 
[172.16.80.0-172.16.95.255:0-65535 0] -> [10.1.102.0-10.1.102.255:0-65535 0]
May 14 13:30:01.621283: "bkp/0x2" #94629: STATE_V2_IPSEC_I: IPsec SA 
established tunnel mode {ESP=>0x77334e93 <0xd5474f6f 
xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive}
May 14 13:46:52.558578: "bkp/0x2" #94628: received duplicate 
INFORMATIONAL message request (Message ID 32); retransmitting response
May 14 14:00:01.944278: "bkp/0x2" #94629: deleting other state #94629 
(STATE_CHILDSA_DEL) aged 1800.369s and NOT sending notification
May 14 14:00:01.953181: "bkp/0x2" #94628: deleting state 
(STATE_IKESA_DEL) aged 1800.418s and NOT sending notification
May 14 14:00:01.953235: "bkp/0x2" #94628: deleting IKE SA but connection 
is supposed to remain up; schedule EVENT_REVIVE_CONNS
May 14 14:00:01.953334: "bkp/0x2": initiating connection which received 
a Delete/Notify but must remain up per local policy

May 14 14:00:01.953376: "bkp/0x2" #94672: initiating IKEv2 IKE SA
May 14 14:00:01.954247: "bkp/0x2" #94672: STATE_PARENT_I1: sent v2I1, 
expected v2R1

May 14 14:00:02.005553: "bkp/0x2" #94672: sending INITIAL_CONTACT
May 14 14:00:02.005687: "bkp/0x2" #94673: STATE_PARENT_I2: sent v2I2, 
expected v2R2 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 
prf=HMAC_SHA2_256 group=MODP2048}
May 14 14:00:02.042487: "bkp/0x2" #94673: IKEv2 mode peer ID is 
ID_IPV4_ADDR: '55.66.77.88'

May 14 14:00:02.042589: "bkp/0x2" #94673: Authenticated using authby=secret
May 14 14:00:02.051502: "bkp/0x2" #94673: negotiated connection 
[172.16.80.0-172.16.95.255:0-65535 0] -> [10.1.102.0-10.1.102.255:0-65535 0]
May 14 14:00:02.051522: "bkp/0x2" #94673: STATE_V2_IPSEC_I: IPsec SA 
established tunnel mode {ESP=>0xc2f3aa1d <0x5e50bde1 
xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive}



14.05.2021 14:51, Paul Wouters пишет:

If you have those empty lines in your config, perhaps that is causing the lines 
to be ignored ?

Otherwise, show us the logs from the rekey event? It should tell us why.

Sent from my iPhone


On May 14, 2021, at 03:46, Ivan Kuznetsov  wrote:

Hello

We use libreswan 3.32 under Linux and have a IPsec peer recently upgraded their 
Cisco ASA. Tunnel was migrated to IKEv2. All works fine except the libreswan 
side restarts ISAKMP too often, mostly after 1h. ESP is restarted too. Settings 
for lifetime are 24h for phase 1 and 8h for phase 2 on both sides. rekeymargin 
has default value (300s)

Why libreswan drops ISAKMP SA regardless of explicit settings?

Libreswan configuration:

conn bkp
type=tunnel
auto=start
authby=secret
left=11.22.33.44
leftsubnet=172.16.80.0/20
right=55.66.77.88
rightsubnets=10.1.208.0/28,10.1.102.0/24,10.1.100.22/32,10.1.104.0/29

ikev2=yes
ikelifetime=24h
initial-contact=yes

phase2=esp
salifetime=8h
#BKP's Cisco ASA has stranges regarding DH groups on phase2
#pfs=no

rekey=yes
rekeymargin=5m
keyingtries=3

fragmentation=yes
#BKP's Cisco ASA has nonstadard DPD
#dpddelay=30
#dpdtimeout=120
#dpdaction=restart


Libreswan log is attached

--
Regards, Ivan Kuznetsov
SOLVO ltd

___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan


--
Regards, Ivan Kuznetsov
SOLVO ltd
___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan


[Swan] SA lifetime too short, less than configured

2021-05-14 Thread Ivan Kuznetsov

Hello

We use libreswan 3.32 under Linux and have a IPsec peer recently 
upgraded their Cisco ASA. Tunnel was migrated to IKEv2. All works fine 
except the libreswan side restarts ISAKMP too often, mostly after 1h. 
ESP is restarted too. Settings for lifetime are 24h for phase 1 and 8h 
for phase 2 on both sides. rekeymargin has default value (300s)


Why libreswan drops ISAKMP SA regardless of explicit settings?

Libreswan configuration:

conn bkp
type=tunnel
auto=start
authby=secret
left=11.22.33.44
leftsubnet=172.16.80.0/20
right=55.66.77.88

rightsubnets=10.1.208.0/28,10.1.102.0/24,10.1.100.22/32,10.1.104.0/29

ikev2=yes
ikelifetime=24h
initial-contact=yes

phase2=esp
salifetime=8h
#BKP's Cisco ASA has stranges regarding DH groups on phase2
pfs=no

rekey=yes
rekeymargin=5m
keyingtries=3

fragmentation=yes
#BKP's Cisco ASA has nonstadard DPD
#dpddelay=30
#dpdtimeout=120
#dpdaction=restart


Libreswan log is attached

--
Regards, Ivan Kuznetsov
SOLVO ltd
May 13 16:15:12.957820: "bkp/0x2" #92837: deleting other state #92837 (STATE_CHILDSA_DEL) aged 5702.583s and NOT sending notification
May 13 16:15:12.967038: "bkp/0x2" #92836: deleting state (STATE_IKESA_DEL) aged 5702.633s and NOT sending notification
May 13 16:15:12.967090: "bkp/0x2" #92836: deleting IKE SA but connection is supposed to remain up; schedule EVENT_REVIVE_CONNS
May 13 16:15:12.967201: "bkp/0x2": initiating connection which received a Delete/Notify but must remain up per local policy
May 13 16:15:12.967238: "bkp/0x2" #92959: initiating IKEv2 IKE SA
May 13 16:15:12.968129: "bkp/0x2" #92959: STATE_PARENT_I1: sent v2I1, expected v2R1
May 13 16:15:13.007403: "bkp/0x2" #92959: sending INITIAL_CONTACT
May 13 16:15:13.007540: "bkp/0x2" #92960: STATE_PARENT_I2: sent v2I2, expected v2R2 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP2048}
May 13 16:15:13.044523: "bkp/0x2" #92960: IKEv2 mode peer ID is ID_IPV4_ADDR: '55.66.77.88'
May 13 16:15:13.044645: "bkp/0x2" #92960: Authenticated using authby=secret
May 13 16:15:13.053699: "bkp/0x2" #92960: negotiated connection [172.16.80.0-172.16.95.255:0-65535 0] -> [10.1.102.0-10.1.102.255:0-65535 0]
May 13 16:15:13.053719: "bkp/0x2" #92960: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP=>0x3ec67a0f <0x3514d4db xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive}
May 13 16:46:59.518754: "bkp/0x2" #92960: deleting other state #92960 (STATE_CHILDSA_DEL) aged 1906.511s and NOT sending notification
May 13 16:46:59.526985: "bkp/0x2" #92959: deleting state (STATE_IKESA_DEL) aged 1906.559s and NOT sending notification
May 13 16:46:59.527026: "bkp/0x2" #92959: deleting IKE SA but connection is supposed to remain up; schedule EVENT_REVIVE_CONNS
May 13 16:46:59.527111: "bkp/0x2": initiating connection which received a Delete/Notify but must remain up per local policy
May 13 16:46:59.527144: "bkp/0x2" #93010: initiating IKEv2 IKE SA
May 13 16:46:59.528001: "bkp/0x2" #93010: STATE_PARENT_I1: sent v2I1, expected v2R1
May 13 16:46:59.567340: "bkp/0x2" #93010: sending INITIAL_CONTACT
May 13 16:46:59.567472: "bkp/0x2" #93011: STATE_PARENT_I2: sent v2I2, expected v2R2 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP2048}
May 13 16:46:59.604695: "bkp/0x2" #93011: IKEv2 mode peer ID is ID_IPV4_ADDR: '55.66.77.88'
May 13 16:46:59.604808: "bkp/0x2" #93011: Authenticated using authby=secret
May 13 16:46:59.613477: "bkp/0x2" #93011: negotiated connection [172.16.80.0-172.16.95.255:0-65535 0] -> [10.1.102.0-10.1.102.255:0-65535 0]
May 13 16:46:59.613507: "bkp/0x2" #93011: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP=>0xf765c4e7 <0x1fdac55e xfrm=AES_CBC_256-HMAC_SHA2_256_128 NATOA=none NATD=none DPD=passive}
May 13 17:28:00.687384: "bkp/0x2" #93011: deleting other state #93011 (STATE_CHILDSA_DEL) aged 2461.120s and NOT sending notification
May 13 17:28:00.695676: "bkp/0x2" #93010: deleting state (STATE_IKESA_DEL) aged 2461.168s and NOT sending notification
May 13 17:28:00.695744: "bkp/0x2" #93010: deleting IKE SA but connection is supposed to remain up; schedule EVENT_REVIVE_CONNS
May 13 17:28:00.695887: "bkp/0x2": initiating connection which received a Delete/Notify but must remain up per local policy
May 13 17:28:00.695918: "bkp/0x2" #93056: initiating IKEv2 IKE SA
May 13 17:28:00.696736: "bkp/0x2" #93056: STATE_PARENT_I1: sent v2I1, expected v2R1
May 13 17:28:00.735876: "bkp/0x2" #93056: sending INITIAL_CONTACT
May 13 17:28:00.736020

[jira] [Commented] (GROOVY-9283) Nested closures run on wrong delegate

2019-10-21 Thread Ivan Kuznetsov (Jira)


[ 
https://issues.apache.org/jira/browse/GROOVY-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16956377#comment-16956377
 ] 

Ivan Kuznetsov commented on GROOVY-9283:


Eric Milles, thank you! Setting strategy in annotation worked on 2.5.8. Where 
can I get snapshots?

I missed one important thing: static compiler uses {{DelegatesTo}} annotation, 
but I thought that it is enough to set same strategy on closure itself when it 
is called inside java. 

So... The wrong behaviour is not current but previous? This issue can be closed 
as not a bug?

> Nested closures run on wrong delegate
> -
>
> Key: GROOVY-9283
> URL: https://issues.apache.org/jira/browse/GROOVY-9283
> Project: Groovy
>  Issue Type: Bug
>  Components: Static compilation
>Affects Versions: 2.5.7, 3.0.0-beta-3
> Environment: CentOS Linux release 7.7.1908 (Core), openjdk 12.0.2 
> 2019-07-16
>Reporter: Ivan Kuznetsov
>Priority: Critical
>
> We use Groovy to write DSL scripts for our project, and the only version we 
> can use now is 2.5.6 because of bug with {{\@CompileStatic}} wich is 
> reproducible with the following code:
> {code:java}
> package test;
> import groovy.lang.Closure;
> import groovy.lang.DelegatesTo;
> import groovy.lang.GroovyClassLoader;
> import groovy.transform.CompileStatic;
> import org.codehaus.groovy.control.CompilerConfiguration;
> import org.codehaus.groovy.control.customizers.ASTTransformationCustomizer;
> import org.codehaus.groovy.runtime.InvokerHelper;
> public class Main {
> private static final String script = "" +
> "import test.Main\n" +
> "\n" +
> "new Main().enter {\n" +
> "nest {\n" +
> "nest {\n" +
> "nest {\n" +
> "println(\"REACHED\")\n" +
> "}\n" +
> "}\n" +
> "}\n" +
> "}\n";
> public static void main(String[] args) {
> CompilerConfiguration config = new CompilerConfiguration();
> config.addCompilationCustomizers(new 
> ASTTransformationCustomizer(CompileStatic.class));
> GroovyClassLoader loader = new 
> GroovyClassLoader(Main.class.getClassLoader(), config);
> Class cls = loader.parseClass(script, "file");
> InvokerHelper.runScript(cls, new String[0]);
> }
> public void enter(@DelegatesTo(Root.class) Closure closure) {
> Root scope = new Root();
> closure.setDelegate(scope);
> closure.run();
> }
> public static class Outer extends Main {
> private final Main parent;
> Outer() {
> this.parent = null;
> }
> Outer(Outer parent) {
> this.parent = parent;
> }
> public void nest(@DelegatesTo(Inner.class) Closure closure) {
> closure.setDelegate(new Inner(this));
> closure.run();
> System.out.println(this + ": " + parent);
> }
> }
> public static class Inner extends Outer {
> public Inner(Outer parent) {
> super(parent);
> }
> }
> public static class Root extends Outer {
> Root() {
> }
> }
> }
> {code}
> till version 2.5.6 it prints:
> {noformat}
> REACHED
> test.Main$Inner@7582ff54: test.Main$Inner@67545b57
> test.Main$Inner@67545b57: test.Main$Root@6c2c1385
> test.Main$Root@6c2c1385: null
> {noformat}
> but starting with 2.5.7 it prints:
> {noformat}
> REACHED
> test.Main$Root@2f67b837: null
> test.Main$Root@2f67b837: null
> test.Main$Root@2f67b837: null
> {noformat}
> The workaround is to turn off static compilation, but it degrades performance 
> because some handles are defined using this DSL and they are called very 
> often.
> Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (GROOVY-9283) Nested closures run on wrong delegate

2019-10-19 Thread Ivan Kuznetsov (Jira)
Ivan Kuznetsov created GROOVY-9283:
--

 Summary: Nested closures run on wrong delegate
 Key: GROOVY-9283
 URL: https://issues.apache.org/jira/browse/GROOVY-9283
 Project: Groovy
  Issue Type: Bug
  Components: Static compilation
Affects Versions: 3.0.0-beta-3, 2.5.7
 Environment: CentOS Linux release 7.7.1908 (Core), openjdk 12.0.2 
2019-07-16

Reporter: Ivan Kuznetsov


We use Groovy to write DSL scripts for our project, and the only version we can 
use now is 2.5.6 because of bug with {{\@CompileStatic}} wich is reproducible 
with the following code:
{code:java}
package test;

import groovy.lang.Closure;
import groovy.lang.DelegatesTo;
import groovy.lang.GroovyClassLoader;
import groovy.transform.CompileStatic;
import org.codehaus.groovy.control.CompilerConfiguration;
import org.codehaus.groovy.control.customizers.ASTTransformationCustomizer;
import org.codehaus.groovy.runtime.InvokerHelper;

public class Main {
private static final String script = "" +
"import test.Main\n" +
"\n" +
"new Main().enter {\n" +
"nest {\n" +
"nest {\n" +
"nest {\n" +
"println(\"REACHED\")\n" +
"}\n" +
"}\n" +
"}\n" +
"}\n";

public static void main(String[] args) {
CompilerConfiguration config = new CompilerConfiguration();
config.addCompilationCustomizers(new 
ASTTransformationCustomizer(CompileStatic.class));
GroovyClassLoader loader = new 
GroovyClassLoader(Main.class.getClassLoader(), config);
Class cls = loader.parseClass(script, "file");
InvokerHelper.runScript(cls, new String[0]);
}

public void enter(@DelegatesTo(Root.class) Closure closure) {
Root scope = new Root();
closure.setDelegate(scope);
closure.run();
}

public static class Outer extends Main {
private final Main parent;

Outer() {
this.parent = null;
}

Outer(Outer parent) {
this.parent = parent;
}

public void nest(@DelegatesTo(Inner.class) Closure closure) {
closure.setDelegate(new Inner(this));
closure.run();
System.out.println(this + ": " + parent);
}
}

public static class Inner extends Outer {

public Inner(Outer parent) {
super(parent);
}
}

public static class Root extends Outer {
Root() {
}
}
}
{code}

till version 2.5.6 it prints:
{noformat}
REACHED
test.Main$Inner@7582ff54: test.Main$Inner@67545b57
test.Main$Inner@67545b57: test.Main$Root@6c2c1385
test.Main$Root@6c2c1385: null
{noformat}
but starting with 2.5.7 it prints:
{noformat}
REACHED
test.Main$Root@2f67b837: null
test.Main$Root@2f67b837: null
test.Main$Root@2f67b837: null
{noformat}

The workaround is to turn off static compilation, but it degrades performance 
because some handles are defined using this DSL and they are called very often.

Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: I don't understand this output

2019-07-22 Thread Ivan Kuznetsov
Yes, I cannot get your example to compile at all, even with Mr. Morley's
suggested fix.


On Sat, Jul 20, 2019 at 3:23 AM Thomas Morley  wrote:
>
> The ">" at \oneVoice> above prevents the example from compiling with
> every ly-version.
> Please check before posting ;)
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


как уменьшить объем обновлений?

2019-07-12 Thread ivan kuznetsov
нужна конкретная информация об этом так как вне городов и пригородов скорость 
может падать до нуля, и спутниковое оборудование дорого (или рыбалка?). 
правильно я понимаю что дельты сурсов, рсинк и программа пар могут помочь? не 
пора ли для этого организовать любительскую или полноценную радиостанцию? тогда 
можно будет слать обновления на приемники у пользователей и администраторов. 
пусть кто-нибудь разберется с этим и напишет статью. заодно -- как обновлять с 
наименьшим размером данных антивирусную базу? обычное обновление -- целиком?



Re: two-way synchronization (live or otherwise) between Lilypond and a DAW

2019-06-03 Thread Ivan Kuznetsov
About four years ago, I did almost all, if not all of your listed
steps with Lilypond and Ardour.

I wrote a multi-voice score in Lilypond, converted the score
to MIDI, loaded this MIDI into Ardour, and then assigned
the various MIDI voices to various synthesis plugins.

The process did include editing the original Lilypond score
and thus creating new MIDI voices that were used
to replace MIDI voices that I had previously imported
into Ardour.

The process worked very well, and I would certainly
work this way again if I needed to do such a project.



On Thu, May 30, 2019 at 3:37 PM Kieren MacMillan
 wrote:
> At the very least, I’d like to hear if anyone has worked out (or even 
> attempted) a workflow like the following:
>
> 1. Write a Lilypond input file.
> 2. Use Lilypond to generate a MIDI file or files (e.g., one per staff or 
> instrument/staff-group).
> 3. Load those MIDI file(s) into a DAW.
> 4. Make edits to the DAW file (e.g., add a tempo track, modify volumes, etc.).
> and then [this is the critical part!]
> 5. Make a change in the Lilypond input file.
> 6. Use Lilypond to overwrite the associated MIDI files.
> 7. See the changes reflected instantaneously in the DAW, while affecting 
> ("ruining"/"reverting") the least number of changes made in the DAW in Step 
> #4.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ot Barrios-music

2019-03-14 Thread Ivan Kuznetsov
Your notation of the harmonic on the first beat of measure 3
looked odd to me, and so I compared this note to
two other editions of this piece that I have.
According to those editions, this harmonic should be a "D",
produced at the 7th fret of the 3rd string, not the
"E" that you have.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: cyrus 2.5 imap idle/stuck connections (DOS like)

2019-03-07 Thread Ivan Kuznetsov

Hello

iptables -A INPUT -p tcp --syn --dport 143 -m connlimit 
--connlimit-above 8 -j REJECT


This will limit established imap connections to 8 per ip


07.03.2019 17:39, Heiler Bemerguy via Info-cyrus пишет:
Yes I've read imapd.conf and cyrus.conf and found no options to limit 
connections per source IP or "idleness"..


It means anyone can open a lot of connections to any port (143, 25, 110 
etc) and render the server unusable??


I'm using Debian, so I'll try to figure out how to do that with 
iptables.. Thanks!



Best Regards,

Heiler Bensimon Bemerguy - CINBESA
Analista de Redes, Wi-Fi,
Virtualização e Serviços Internet
(55) 91 98151-4894

Em 07/03/2019 11:25, Willem Offermans escreveu:

Dear Cyrus friends and Heiler Bensimon Bemerguy,

You could use your firewall to achieve this.

For ipfw:

${fwcmd} add pass tcp from any to ${ip_me} imap setup limit src-addr 10

You have to lookup the right syntax for your firewall.

Dit you check man imapd or man cyrus, maybe there is also an option 
for the daemon itself, but I would prefer the firewall.



Wiel Offermans
wil...@offermans.rompen.nl 




On 7 Mar 2019, at 14:53, Heiler Bemerguy via Info-cyrus 
> wrote:


Hail,

I've noticed an user with ~200 open connections to cyrus imap port 
(143) and, because of him, no one else could login to the server.


I've noticed even with a single "telnet ip 143", the connection is 
accepted and never ever dropped, even while still unauthenticated.


How to stop that from happening?

cyrus.conf:
imap    cmd="imapd -U 30" listen="imap" prefork=6 maxchild=200


--
Atenciosamente,

Heiler Bensimon Bemerguy - CINBESA
Analista de Redes, Wi-Fi,
Virtualização e Serviços Internet
(55) 91 98151-4894


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus






Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



--
С уважением, Иван Кузнецов
Руководитель технического отдела

Компания "СОЛВО"
+7(812)60-60-555
+7(495)66-83-003
+7(921)740-72-61
http://www.solvo.ru

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Lead sheets: lyrics and chords, no melody?

2019-03-03 Thread Ivan Kuznetsov
On Sat, Mar 2, 2019 at 11:05 PM Christopher R. Maden 
wrote:
>
> I’d like to produce what he’s used to: lyrics with chords above them.

Why not just use MS Word or Latex ?  If you don't need musical
notation, why use a music notation program ?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Cyrus-imapd 2.4.17: processes stick on mailbox locking resulting in total mailsystem failure

2019-02-22 Thread Ivan Kuznetsov

Hi Ellie

Thanks a lot, I will try to build and test 2.4.20

22.02.2019 04:20, ellie timoney пишет:

Hi Ivan,


#7  0x56193ed6382e in idle_update ()



with cyrus-imapd 2.4.17 (cyrus-imapd-2.4.17-13.el7.x86_64 rpm)


It looks like this version is old enough to still be using signal handlers in 
its IMAP IDLE implementation.  This is known to be a problem, and IDLE was 
rewritten to not use signals for 2.5 and later.

Thomas Jarosch kindly backported the rewrite for 2.4, and it has been included 
in releases since 2.4.19 (the current 2.4 release is 2.4.20)

Cheers,

ellie

On Wed, Feb 20, 2019, at 1:15 AM, Ivan Kuznetsov wrote:

Hello

I have gdb'ed the locked process, backtrace is below. It seems that
problem occurs when imapd process catch a signal when is inside malloc()
call. The signal handler has a malloc() call too, so finally there is
interlock between two mallocs

I have only a few time to investigate because locked processes list
grows up dramatically. So I didn't found what the signal was. But it
seems that there is a bug in imapd code...

(gdb) thread apply all bt

Thread 1 (Thread 0x7ff6ead5f840 (LWP 22980)):
#0  0x7ff6e83e282c in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x7ff6e835e7e5 in _L_lock_16773 () from /lib64/libc.so.6
#2  0x7ff6e835b833 in malloc () from /lib64/libc.so.6
#3  0x56193edc9910 in xzmalloc ()
#4  0x56193edb2664 in seqset_init ()
#5  0x56193ed821b0 in index_tellchanges ()
#6  0x56193ed8232b in index_check ()
#7  0x56193ed6382e in idle_update ()
#8  
#9  0x7ff6e83580f0 in _int_malloc () from /lib64/libc.so.6
#10 0x7ff6e835b7dc in malloc () from /lib64/libc.so.6
#11 0x7ff6e956f4b8 in CRYPTO_malloc () from /lib64/libcrypto.so.10
#12 0x7ff6e96397ec in EVP_PKEY_CTX_dup () from /lib64/libcrypto.so.10
#13 0x7ff6e962b360 in EVP_MD_CTX_copy_ex () from /lib64/libcrypto.so.10
#14 0x7ff6e999ab3d in tls1_mac () from /lib64/libssl.so.10
#15 0x7ff6e998db02 in ssl3_read_bytes () from /lib64/libssl.so.10
#16 0x7ff6e998a644 in ssl3_read_internal () from /lib64/libssl.so.10
#17 0x56193edb9745 in prot_fill ()
#18 0x56193eda9ad7 in getword ()
#19 0x56193ed670e7 in cmd_idle ()
#20 0x56193ed7848d in cmdloop ()
#21 0x56193ed79769 in service_main ()
#22 0x56193ed62875 in main ()


13.12.2018 17:50, Ivan Kuznetsov пишет:

Jonk, thank you for the idea. Somewhat looks strange as old mail server
worked w/o this problem 5+ years. But the system environment changed
dramatically, may be some filesystem quircks are significant for this
locks...

I will try gdb'ing the process when problem occurs once more

13.12.2018 17:34, John Wade пишет:

Without running gdb on the process, I have no idea, but your problem
sounds similar to something we hit a very long time ago:

See https://www.oakton.edu/user/3/jwade/cyrus/Readme.html

In our cases, the problem was the imapd process that was holding the
lock was trying to obtain a second lock on the same file.   What does
a stack trace look like on the imapd process that is holding the lock?
It would appear the lock process has changed since I last looked at
this, so this may not be a help at all.

Good luck,
John



On 12/13/2018 5:21 AM, Ivan Kuznetsov wrote:

Hello

We had a company mail server under Oracle Linux 6 (a clone of RHEL6)
with cyrus-imapd 2.3.16 working for years w/o problems. There are >9M
messages in ~9500 mailboxes in two partitions. Daily mail traffic is
20-50K messages.

Some weeks ago we migrated the server to a new one under Oracle Linux
7 with cyrus-imapd 2.4.17 (cyrus-imapd-2.4.17-13.el7.x86_64 rpm) and
now have problem. Some times a week one of imapd processes locks an
"INBOX" mailbox with corresponding
/var/lib/imap/lock/user/.lock file and does not unlock it
anymore. Other imapd processes trying to access this mailbox sticks
waiting to obtain the lock. The bigger problem is that lmtpd
processes trying to deliver new mail to this mailbox hangs too. The
number of lmtpd processes is limited (maxchild=32) to limit the
server load, so free lmtpd pool become empty after a time, and mail
delivery stopsto all the mailboxes. MTA (postfix) mail queue blows up
quickly

Example lsof output:

lmtpd   8182 cyrus   18uR  REG  249,0 0 202944402
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8183 cyrus   18uR  REG  249,0 0 202944402
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8187 cyrus   18uR  REG  249,0 0 202944402
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8771 cyrus   18uR  REG  249,0 0 202944402
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8834 cyrus   18uR  REG  249,0 0 202944402
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   9123 cyrus   18uR  REG  249,0 0 202944402
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   9631 cyrus   18uR  REG  249,0 0 202944402
/var/lib/imap/lock/user/smilovs

Re: Cyrus-imapd 2.4.17: processes stick on mailbox locking resulting in total mailsystem failure

2019-02-19 Thread Ivan Kuznetsov

Hello

I have gdb'ed the locked process, backtrace is below. It seems that 
problem occurs when imapd process catch a signal when is inside malloc() 
call. The signal handler has a malloc() call too, so finally there is 
interlock between two mallocs


I have only a few time to investigate because locked processes list 
grows up dramatically. So I didn't found what the signal was. But it 
seems that there is a bug in imapd code...


(gdb) thread apply all bt

Thread 1 (Thread 0x7ff6ead5f840 (LWP 22980)):
#0  0x7ff6e83e282c in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x7ff6e835e7e5 in _L_lock_16773 () from /lib64/libc.so.6
#2  0x7ff6e835b833 in malloc () from /lib64/libc.so.6
#3  0x56193edc9910 in xzmalloc ()
#4  0x56193edb2664 in seqset_init ()
#5  0x56193ed821b0 in index_tellchanges ()
#6  0x56193ed8232b in index_check ()
#7  0x56193ed6382e in idle_update ()
#8  
#9  0x7ff6e83580f0 in _int_malloc () from /lib64/libc.so.6
#10 0x7ff6e835b7dc in malloc () from /lib64/libc.so.6
#11 0x7ff6e956f4b8 in CRYPTO_malloc () from /lib64/libcrypto.so.10
#12 0x7ff6e96397ec in EVP_PKEY_CTX_dup () from /lib64/libcrypto.so.10
#13 0x7ff6e962b360 in EVP_MD_CTX_copy_ex () from /lib64/libcrypto.so.10
#14 0x7ff6e999ab3d in tls1_mac () from /lib64/libssl.so.10
#15 0x7ff6e998db02 in ssl3_read_bytes () from /lib64/libssl.so.10
#16 0x7ff6e998a644 in ssl3_read_internal () from /lib64/libssl.so.10
#17 0x56193edb9745 in prot_fill ()
#18 0x56193eda9ad7 in getword ()
#19 0x56193ed670e7 in cmd_idle ()
#20 0x56193ed7848d in cmdloop ()
#21 0x56193ed79769 in service_main ()
#22 0x56193ed62875 in main ()


13.12.2018 17:50, Ivan Kuznetsov пишет:
Jonk, thank you for the idea. Somewhat looks strange as old mail server 
worked w/o this problem 5+ years. But the system environment changed 
dramatically, may be some filesystem quircks are significant for this 
locks...


I will try gdb'ing the process when problem occurs once more

13.12.2018 17:34, John Wade пишет:
Without running gdb on the process, I have no idea, but your problem 
sounds similar to something we hit a very long time ago:


See https://www.oakton.edu/user/3/jwade/cyrus/Readme.html

In our cases, the problem was the imapd process that was holding the 
lock was trying to obtain a second lock on the same file.   What does 
a stack trace look like on the imapd process that is holding the lock? 
It would appear the lock process has changed since I last looked at 
this, so this may not be a help at all.


Good luck,
John



On 12/13/2018 5:21 AM, Ivan Kuznetsov wrote:

Hello

We had a company mail server under Oracle Linux 6 (a clone of RHEL6) 
with cyrus-imapd 2.3.16 working for years w/o problems. There are >9M 
messages in ~9500 mailboxes in two partitions. Daily mail traffic is 
20-50K messages.


Some weeks ago we migrated the server to a new one under Oracle Linux 
7 with cyrus-imapd 2.4.17 (cyrus-imapd-2.4.17-13.el7.x86_64 rpm) and 
now have problem. Some times a week one of imapd processes locks an 
"INBOX" mailbox with corresponding 
/var/lib/imap/lock/user/.lock file and does not unlock it 
anymore. Other imapd processes trying to access this mailbox sticks 
waiting to obtain the lock. The bigger problem is that lmtpd 
processes trying to deliver new mail to this mailbox hangs too. The 
number of lmtpd processes is limited (maxchild=32) to limit the 
server load, so free lmtpd pool become empty after a time, and mail 
delivery stopsto all the mailboxes. MTA (postfix) mail queue blows up 
quickly


Example lsof output:

lmtpd   8182 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8183 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8187 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8771 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8834 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   9123 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   9631 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   10343 cyrus   18uR  REG  249,0 0 
202944402 /var/lib/imap/lock/user/smilovsky.lock
lmtpd   10437 cyrus   18uR  REG  249,0 0 
202944402 /var/lib/imap/lock/user/smilovsky.lock
lmtpd   11411 cyrus   18uR  REG  249,0 0 
202944402 /var/lib/imap/lock/user/smilovsky.lock
lmtpd   11413 cyrus   18uR  REG  249,0 0 
202944402 /var/lib/imap/lock/user/smilovsky.lock
lmtpd   11506 cyrus   18uR  REG  249,0 0 
202944402 /var/lib/imap/lock/user/smilovsky.lock


[root@hippo4 bin]# lsof /var/lib/i

Re: Another question about two voices

2019-02-03 Thread Ivan Kuznetsov
Would you post an example that compiles successfully ?

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tips and Tricks on making Vim a good environment for Lilypond?

2019-01-21 Thread Ivan Kuznetsov
Mason Hock  writes:
>
> I use vim for everything except large Lilypond projects that consist of
> multiple input files. The ability to click on an object in the score and
> jump to that place in the code, even if the file containing that code is
> not open, outweighs for me vim's advantages as a text editor, but I also
> have not spent much time trying to come up with an alternative solution
> in vim. How do you angle this.

Well, so far I have just used Lilypond
for solo guitar music, and duets including guitar,
so perhaps I have not begun to work on projects that
are considered large.


> I'd be interested to see one of your Makefiles.

They are no big deal, I am sure.  An example:

###
all: panfan-entire.pdf
wav: panfan-entire.wav


clean:
/bin/rm -f *.pdf *.wav *.midi


panfan-entire.pdf: \
panfan-entire.ly \
panfan-include.ly \
panfan-sec01.ly \
panfan-sec02.ly \
panfan-sec03.ly \
panfan-sec04.ly \
panfan-tempo-sec01.ly \
panfan-tempo-sec02.ly \
panfan-tempo-sec03.ly \
panfan-tempo-sec04.ly
lilypond panfan-entire.ly


panfan-entire.wav: panfan-entire.midi
timidity -A200 -Ow -o panfan-entire.wav   panfan-entire.midi


###


Makefile
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tips and Tricks on making Vim a good environment for Lilypond?

2019-01-21 Thread Ivan Kuznetsov
I am a lifelong vim user and I cannot imagine any other way
to enter or manipulate text, be it for web pages,
documents (which I create with Latex) or lilypond.

I have looked at Frescobaldi, but once one is fluent
with a Unix editor (which means vim or emacs)
Frescobaldi and other third party tools are
_not_ a time saver.

You ask about workflow though, and apart from
a xterm where I am using vim, a PDF viewer which
automatically reloads an updated file, and a
Makefile, I don't know that there is anything
to offer you.

Here is a tip, which may be obvious to most, but I will
go ahead and list it here.  I have a few small
template-files.  For example, I mostly write contrapuntal
guitar music, and here is something that I pretty much
use in almost every measure of what I code in lilypond:

   <<
   {
 \voiceOne
   }
   \context Voice = "vtwo"
   {
 \voiceTwo
   }
   >>
   \oneVoice

I have the above template in a separate file, we will say
this file is called "v.ly", and when I need this template
I execute in vim:

  :r v.ly


You ask about syntax highlighting.  I use to get lilypond
syntax highlighting to work in vim by having the following line
in my .vimrc file:

   set runtimepath+=/usr/local/share/lilypond/current/vim/

but I see for the last several years, I have had that line
commented out.  I think that is because my lilypond installation
automatically puts the correct files in /usr/share/vim/ and so
lilypond syntax highlighting works immediately for me upon a new
OS installation.  But then, I use Fedora.  What OS do
you work under?

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Cyrus-imapd 2.4.17: processes stick on mailbox locking resulting in total mailsystem failure

2018-12-13 Thread Ivan Kuznetsov
Jonk, thank you for the idea. Somewhat looks strange as old mail server 
worked w/o this problem 5+ years. But the system environment changed 
dramatically, may be some filesystem quircks are significant for this 
locks...


I will try gdb'ing the process when problem occurs once more

13.12.2018 17:34, John Wade пишет:
Without running gdb on the process, I have no idea, but your problem 
sounds similar to something we hit a very long time ago:


See https://www.oakton.edu/user/3/jwade/cyrus/Readme.html

In our cases, the problem was the imapd process that was holding the 
lock was trying to obtain a second lock on the same file.   What does a 
stack trace look like on the imapd process that is holding the lock? It 
would appear the lock process has changed since I last looked at this, 
so this may not be a help at all.


Good luck,
John



On 12/13/2018 5:21 AM, Ivan Kuznetsov wrote:

Hello

We had a company mail server under Oracle Linux 6 (a clone of RHEL6) 
with cyrus-imapd 2.3.16 working for years w/o problems. There are >9M 
messages in ~9500 mailboxes in two partitions. Daily mail traffic is 
20-50K messages.


Some weeks ago we migrated the server to a new one under Oracle Linux 
7 with cyrus-imapd 2.4.17 (cyrus-imapd-2.4.17-13.el7.x86_64 rpm) and 
now have problem. Some times a week one of imapd processes locks an 
"INBOX" mailbox with corresponding /var/lib/imap/lock/user/.lock 
file and does not unlock it anymore. Other imapd processes trying to 
access this mailbox sticks waiting to obtain the lock. The bigger 
problem is that lmtpd processes trying to deliver new mail to this 
mailbox hangs too. The number of lmtpd processes is limited 
(maxchild=32) to limit the server load, so free lmtpd pool become 
empty after a time, and mail delivery stopsto all the mailboxes. MTA 
(postfix) mail queue blows up quickly


Example lsof output:

lmtpd   8182 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8183 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8187 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8771 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   8834 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   9123 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   9631 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   10343 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   10437 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   11411 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   11413 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
lmtpd   11506 cyrus   18uR  REG  249,0 0 202944402 
/var/lib/imap/lock/user/smilovsky.lock


[root@hippo4 bin]# lsof /var/lib/imap/lock/user/smilovsky.lock | grep 
'^imapd'
imapd    9132 cyrus   19uR  REG  249,0    0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
imapd    9154 cyrus   19uR  REG  249,0    0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
imapd   10311 cyrus   19uR  REG  249,0    0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
imapd   10746 cyrus   19uR  REG  249,0    0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
imapd   11843 cyrus   19uR  REG  249,0    0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
imapd   12059 cyrus   19uR  REG  249,0    0 202944402 
/var/lib/imap/lock/user/smilovsky.lock
imapd   21885 cyrus   19uR  REG  249,0    0 202944402 
/var/lib/imap/lock/user/smilovsky.lock


In this case the root cause imapd process is 21885. strace shows that 
the process waits on a futex forever:


[root@hippo4 bin]# strace -tt -f -p 21885
strace: Process 21885 attached
13:07:28.264713 futex(0x7f6dcc5ac760, FUTEX_WAIT_PRIVATE, 2, 
NULL^Cstrace: Process 21885 detached

 

Killing the process frees the lock, all the other stuck processes runs 
and the problem disappears in a few seconds.


Investigation shows that this process has a long-term connection from 
a user MUA (Thunderbird) and deletes mail messages time-to-time. This 
may be a Thunderbird 'filter' thread


[root@hippo4 bin]# grep 'imap\[21885\]' /var/log/maillog
[...]
Dec 13 09:59:11 hippo4 imap[21885]: starttls: TLSv1.2 with cipher 
DHE-RSA-AES256-SHA (256/256 bits new) no authentication
Dec 13 09:59:11 hippo4 imap[21885]: login: thunder.solvo.ru 
[172.16.85.69] smilovsky CRAM-MD5+TLS User logged in 
SESSIONID=
Dec 13 09:59:11 hippo4 imap[21885]: client id: "name" "Thunderbird" 
"version"

Cyrus-imapd 2.4.17: processes stick on mailbox locking resulting in total mailsystem failure

2018-12-13 Thread Ivan Kuznetsov
em resources are limited. Now I wrote a patrol script 
counting locks and killing imapd if locks number is growing up. The 
trouble is I can't reliably determine the root cause imapd and kill them 
one-by-one


Any ideas more?

Ivan Kuznetsov, SOLVO ltd

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: [Swan] rightsubnets

2018-09-27 Thread Ivan Kuznetsov

Hmm, I remember I had similar problem with earler version of libreswan.
But my current configuration mostly has ikev1 peers. Few ikev2 peers 
config has just one left/rightsubnet, so I'm not sure


27.09.2018 17:59, Satavee Junwana пишет:

  I also have the same problem for ikev2.,
Libreswan initiate phase1 for each submet. But there has no problem wth 
ikve1 ... noted:libreswarn-3.26

Sent via Iphone

On 27 Sep 2018, at 21:47, J Kephart > wrote:





What is right way to put in config r amore than one subnet?
On some forums i find:
rightsubnets={172.16.1.0/24  192.168.3.0/24 
}
rightsubnets={172.16.1.0/24,192.168.3.0/24 
}
rightsubnets={172.16.1.0/24,192.168.3.0/24, 
}

What variant right?



Eugeniy, use the comma-separated format.  That's the one that worked 
for us.


-- Jim



___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan



--
С уважением, Иван Кузнецов
Руководитель технического отдела

Компания "СОЛВО"
+7(812)60-60-555
+7(495)66-83-003
+7(921)740-72-61
http://www.solvo.ru
___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan


Re: [Swan] rightsubnets

2018-09-27 Thread Ivan Kuznetsov

Hi, Eugeniy

rightsubnets=10.1.208.0/28,10.1.102.0/24,10.1.100.22/32

works at my site.

libreswan-3.21-1.el6_9

27.09.2018 17:49, Eugeniy Khvastunov пишет:

In all cases work only last subnet from list.
P.S.: libreswan-3.23-5.el7_5.x86_64

On Thu, Sep 27, 2018 at 5:46 PM Nick Howitt > wrote:


AFAIK the first and second work. At a guess the third might. Try it
and see if you connections instantiate as expected.

On 27/09/2018 15:41, Eugeniy Khvastunov wrote:

Hi all!
What is right way to put in config more than one subnet?
On some forums i find:
rightsubnets={172.16.1.0/24  192.168.3.0/24
}
rightsubnets={172.16.1.0/24,192.168.3.0/24
}
rightsubnets={172.16.1.0/24,192.168.3.0/24,
}
What variant right?
-- 
wbr. Eugeniy Khvastunov,

   System administrator.
       [FMGH-UANIC]
http://blog.unlimite.net



___
Swan mailing list
Swan@lists.libreswan.org 
https://lists.libreswan.org/mailman/listinfo/swan


___
Swan mailing list
Swan@lists.libreswan.org 
https://lists.libreswan.org/mailman/listinfo/swan



--
wbr. Eugeniy Khvastunov,
    System administrator.
        [FMGH-UANIC]
http://blog.unlimite.net



___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan



Ivan
SOLVO ltd
___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan


[jira] [Created] (GROOVY-8698) Double class initialization using groovy.lang.GroovyClassLoader

2018-07-13 Thread Ivan Kuznetsov (JIRA)
Ivan Kuznetsov created GROOVY-8698:
--

 Summary: Double class initialization using 
groovy.lang.GroovyClassLoader
 Key: GROOVY-8698
 URL: https://issues.apache.org/jira/browse/GROOVY-8698
 Project: Groovy
  Issue Type: Bug
Affects Versions: 2.5.0, 2.4.15, 2.3.4
 Environment: OS: Windows 7, JVM: OpenJDK 10.0.1, Groovy: 2.5.0
Reporter: Ivan Kuznetsov
 Attachments: output.txt, test.zip

I'm integrating Groovy DSL into developing java application, and I'm faced with 
this issue when did test runs.

What I'm trying to do:
1. GroovyClassLoader reads and parses all .groovy scripts from file system; 
some of these scripts - real scripts (class Script), others - real 
classes/enums;
2. instantiates and runs only Script classes, others are left as is in class 
loader.

I'm expecting that all scripts will use the same instances (in static fields or 
enums) of common classes to which they refer and which located in outer scripts.

But, first created Script instance loads its own class from outer script, 
initializes it and uses it, but all other Script instances use loaded classes 
and its static instances on step 1. This is reproducible on specified 
'affected' versions, so I suppose that it affects all versions.

I've created sample project and attached to this issue to show what's going on. 
This application does above steps. Scripts 
'model.concrete1.ConcreteModel1.groovy' and 
'model.concrete2.ConcreteModel2.groovy' are shared classes, other files are 
scripts that refer to these shared classes and print class'es hash code. When 
you run application, you will see output in which FirstScript refers to its own 
ConcreteModel class and other scripts refer to ConcreteModel class that holds 
GroovyClassLoader. If you rename FirstScript.groovy to WFirstScript.groovy, 
order will change and, at this moment, MainScript.groovy instead of 
FirstScript.groovy will use its own class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: [Swan] Overlapping traffic selectors and IKEv1

2018-04-24 Thread Ivan Kuznetsov



24.04.2018 16:08, Ivan Kuznetsov пишет:
Customer side equipment is some Cisco router, I don't know details. Our 
side is libreswan 3.21


Libreswan 3.21 under Linux (kernel 4.1.12)

The question seems to be about Linux netkey stack, not libreswan. But if 
someone shows me the good URL to read I will be greatly appreciated



--
Regards, Ivan Kuznetsov
SOLVO ltd.
___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan


Re: MIDI tick resolution

2018-03-19 Thread Ivan Kuznetsov
Gilberto Agostinho  wrote:
>
> Does anyone know if it possible to change the tick resolution of LilyPond's
> MIDI output to a value other than the default 384? One reason for wanting
> this change is due to the fact that 384 cannot be divided by 5 and so
> quintuplets on a crotchet are not precise.

No, they would not be precise but they would perceptually be
exact enough.  Without knowing precisely how these midi clock
values work, I would imagine that the five notes of a quintuplet
in a MIDI file would have the following clock durations: 77 77 77 77 76.

So what if four notes are of length 77 and one note is length 76?
No one can hear the difference.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[quagga-users 14935] Assertion failed in ospfd 1.2.3

2018-02-16 Thread Ivan Kuznetsov

Hello

I try to setup a test software router under Linux (Oracle Linux 6 
x86_64) and Quagga 1.2.3. ospfd being started exited a few seconds after 
with assertion fault. It seems that is a time of first multicast network 
packet received. OSPF configuration is quite simple :


interface eth0
!
interface eth0.3
 ip ospf authentication-key 
!
interface eth1
!
interface eth2
!
interface eth3
!
interface lo
!
router ospf
 ospf router-id 172.16.83.71
 auto-cost reference-bandwidth 1000
 passive-interface eth0
 passive-interface eth1
 passive-interface eth2
 passive-interface eth3
 network 172.16.83.71/26 area 172.16.80.0
 area 172.16.80.0 authentication
!
line vty

Quagga 1.2.2 at the same computer and configuration works as desired.

I built 1.2.3 RPM using quagga.spec file from tarball with only cosmetic 
changes. It is near identical against one from 1.2.2. Building 
environment is the same


Here is crashlog:

2018/02/16 18:32:26 OSPF: Assertion `thread->master != ((void *)0) && 
thread != ((void *)0)' failed in file thread.c, line 607, function 
thread_add_unuse

2018/02/16 18:32:26 OSPF: Backtrace for 12 stack frames:
2018/02/16 18:32:26 OSPF: [bt 0] 
/usr/lib64/quagga/libzebra.so.1(zlog_backtrace+0x35) [0x7fbfd7cb2ea5]
2018/02/16 18:32:26 OSPF: [bt 1] 
/usr/lib64/quagga/libzebra.so.1(_zlog_assert_failed+0x67) [0x7fbfd7cb3027]
2018/02/16 18:32:26 OSPF: [bt 2] 
/usr/lib64/quagga/libzebra.so.1(+0x27cfe) [0x7fbfd7ca1cfe]
2018/02/16 18:32:26 OSPF: [bt 3] 
/usr/lib64/quagga/libzebra.so.1(+0x28389) [0x7fbfd7ca2389]
2018/02/16 18:32:26 OSPF: [bt 4] 
/usr/lib64/quagga/libzebra.so.1(funcname_thread_execute+0x4c) 
[0x7fbfd7ca30cc]
2018/02/16 18:32:26 OSPF: [bt 5] 
/usr/lib64/quagga/libospf.so.0(+0x2f71d) [0x7fbfd7f1d71d]
2018/02/16 18:32:26 OSPF: [bt 6] 
/usr/lib64/quagga/libospf.so.0(ospf_read+0x149e) [0x7fbfd7f200be]
2018/02/16 18:32:26 OSPF: [bt 7] 
/usr/lib64/quagga/libzebra.so.1(+0x282b2) [0x7fbfd7ca22b2]
2018/02/16 18:32:26 OSPF: [bt 8] 
/usr/lib64/quagga/libzebra.so.1(thread_main+0x18) [0x7fbfd7ca3838]

2018/02/16 18:32:26 OSPF: [bt 9] ospfd(main+0x337) [0x401b07]
2018/02/16 18:32:26 OSPF: [bt 10] 
/lib64/libc.so.6(__libc_start_main+0xfd) [0x3d4f01ed1d]

2018/02/16 18:32:26 OSPF: [bt 11] ospfd() [0x401669]
2018/02/16 18:32:26 OSPF: Current thread not known/applicable

What can be a troubleshooting procedure?


Regards, Ivan Kuznetsov
SOLVO ltd

___
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users


Re: Line break ruins tie

2018-01-04 Thread Ivan Kuznetsov
On Thu, Jan 4, 2018 at 11:30 PM, David Wright  wrote:
>
> So it seems you have several choices:
> remove the accidental,
> shrink it,
> allow the tie and accidental to collide,
> invert the tie (^~),
> shorten it,
> forbid a linebreak just there.


 \override Accidental.hide-tied-accidental-after-break = ##t
does indeed provide a solution (something Andrew also mentioned earlier).

I will go with that for now.  Thanks to both of you.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Line break ruin's tie

2018-01-04 Thread Ivan Kuznetsov
Andrew Bernard  wrote:
>
> Only very quickly sketched, and rather deficient, but a more 'normal' voice
> arrangement system, and the tie to the f sharp is clear.

When I compiled your snippet, the exact same issue was present:
the tie to the F-sharp is not clear at all. It _still_
looks like a slur to the D.  I attach a png
of what your snippet looks like.


Yes, I am away of the:

\new Voice = "first" {}
\new Voice = "second" {}

construct, in the context of my entire composition I feel
my way is clearer, and your coding the voices differently
did not change the problem of the tie looking like a slur.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Line break ruin's tie

2018-01-04 Thread Ivan Kuznetsov
Andrew Bernard  wrote:
>
> Why don't you just create the three voices and notate inside
> each one continuously?

Because this music constantly goes back and
forth between homophonic chords and contrapuntal voices.
This is one of the few places in the 150_ measures
that the music goes to three voices though.

> keeping it simple like this makes work a whole lot
> easier I find.

In the context of the entire composition, this snippet
is not overly complex.

And we still do not have an answer to my issue.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Line break ruin's tie

2018-01-04 Thread Ivan Kuznetsov
The two measure snippet of code appended below
creates the notation that I want.  The Fsharp
of measure 1 is very clearly tied to the Fsharp
of measure 2.


However, when I use these two measures in my
actual score, lilypond happens to puts a line
break between those two measures, and the
notation is ruined.  The tie between the two Fsharps
now _looks_ like a slur from Fsharp to D
and the second Fsharp _looks_ as though it is
to be  struck again at the beginning of measure 2.

Has anyone ideas on how to correct this, that is,
get the Fsharp tie to look like a tie between the
two Fsharps, even over a line break?

Thank you very much for your help.


\version "2.19.80"
\language "english"

\score {


   \new Staff = "guitar"
   {
 \clef "treble_8"

  \time 2/4
  r4

   <<
   { \voiceOne cs'4~ }
   \context Voice = "vtwo" { \voiceTwo cs'8 fs8~ }
   >>

  % \break %% << TRY PUTTING A BREAK HERE

  |
   <<
   { \voiceOne cs'2 }
   \context Voice = "vtwo" { \voiceTwo \stemUp fs2 }
   \context Voice = "vthree" { \voiceThree \stemDown \tieDown d2 }
   >>

   \oneVoice


  |
   }

}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lining up the word "subito"

2017-12-23 Thread Ivan Kuznetsov
On Sat, Dec 23, 2017 at 3:17 AM, Malte Meyn  wrote:
>% this decreases the vertical space between sub. and p
>\override #'(baseline-skip . 1.5)

Overriding the default spacing will be  very useful.
Thank  you for demonstrating this to me.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lining up the word "subito"

2017-12-23 Thread Ivan Kuznetsov
On Sat, Dec 23, 2017 at 3:10 AM, Andrew Bernard 
wrote:

>> Can't you just use the \column command of \markup to have two
lines? Refer to the Notation Reference (NR). <<

And that is exactly what I wanted to do.  I do read the documentation
but sometimes, things do not leap out at me.



>> Also, with respect, when asking for help on the list people
usually provide an MWE, a minimum working example. ... <<

Your statements here perplexed me as I did provide a working
example, though finally, I suspect that you found my
example two long, was that it?  Well, I wanted to give context,
and it was not too long to copy, paste, and run.

Thank you for your response.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lining up the word "subito"

2017-12-22 Thread Ivan Kuznetsov
I have a few places that I want marked "subito piano"
at a 16th triplet to be immediately followed
by crescendo.

The standard way to do this:

  -\markup{ \italic subito \dynamic p }

or even by abbreviating "subito" to "sub.":

  -\markup{ \italic sub. \dynamic p }

takes up two much horizontal space.
See the first three measures of my
attached example.

Ideally,  I would like to
to have the "piano" right below the "sub."
but as in the second three measures of my
attached example, a text in "-\markup{}
appears below the dynamic marking, not above.

How can I get the "sub." to appear vertically above the
dynamic marking?

Thank you for your help.



P.S.  The "Horizontally aligning custom dynamics"
portion of the snippets document does not seem to
be what I want, because sliding the entire dynamic
marking "sub. piano" to the left might indicate that
the piano dynamic level starts before I intend.


Thanks again.

%

\version "2.19.65"
\include "english.ly"

\score {

   \new Staff = "guitar"
   {
 \clef "treble_8"

  % 1 -

  \time 1/4

  <<
  {\voiceOne r4  }
  \context Voice = "vtwo" {\voiceTwo c8\f c8  }
  >>
  |

  <<
  {\voiceOne \times 2/3 {  bf,16  [d'16  f'16] } \times 2/3 {  a,16
 [cs'16 fs'16] }  }
  \context Voice = "vtwo" {\voiceTwo bf,8-\markup{ \italic sub. \dynamic p
}  \<  a,8   }
  >>
  |
  <<
  {\voiceOne r4  }
  \context Voice = "vtwo" {\voiceTwo g,\f   }
  >>

  \bar "||"

  % 2 -

  <<
  {\voiceOne r4  }
  \context Voice = "vtwo" {\voiceTwo c8\f c8  }
  >>
  |

  <<
  {\voiceOne \times 2/3 {  bf,16  [d'16  f'16] } \times 2/3 {  a,16
 [cs'16 fs'16] }  }
  \context Voice = "vtwo" {\voiceTwo bf,8-\markup{ \italic sub.}\p\<  a,8
 }
  >>
  |
  <<
  {\voiceOne r4  }
  \context Voice = "vtwo" {\voiceTwo g,\f   }
  >>

  \bar "||"

   }


  \layout {
\context {
 \Score
  proportionalNotationDuration = #(ly:make-moment 1/16)
}
  }

}
\version "2.19.65"
\include "english.ly"

\score {

   \new Staff = "guitar"
   {
 \clef "treble_8"

  % 1 -

  \time 1/4

  <<
  {\voiceOne r4  }
  \context Voice = "vtwo" {\voiceTwo c8\f c8  }
  >>
  |

  <<
  {\voiceOne \times 2/3 {  bf,16  [d'16  f'16] } \times 2/3 {  a,16   [cs'16 fs'16] }  }
  \context Voice = "vtwo" {\voiceTwo bf,8-\markup{ \italic sub. \dynamic p }  \<  a,8   }
  >>
  |
  <<
  {\voiceOne r4  }
  \context Voice = "vtwo" {\voiceTwo g,\f   }
  >>

  \bar "||"

  % 2 -

  <<
  {\voiceOne r4  }
  \context Voice = "vtwo" {\voiceTwo c8\f c8  }
  >>
  |

  <<
  {\voiceOne \times 2/3 {  bf,16  [d'16  f'16] } \times 2/3 {  a,16   [cs'16 fs'16] }  }
  \context Voice = "vtwo" {\voiceTwo bf,8-\markup{ \italic sub.}\p\<  a,8   }
  >>
  |
  <<
  {\voiceOne r4  }
  \context Voice = "vtwo" {\voiceTwo g,\f   }
  >>

  \bar "||"

   }


  \layout {
\context {
 \Score
  proportionalNotationDuration = #(ly:make-moment 1/16)
}
  }

}


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [Swan] Forward of moderated message

2017-11-10 Thread Ivan Kuznetsov

Hello

Yes I hit the same problem with libreswan-3.22-2.el6_9.i686 rpm:

[root@pine ipsec.d]# ipsec setup start
Redirecting to: service ipsec start
Starting pluto IKE daemon for IPsec: . [FAIL ]
[root@pine init.d]# ipsec pluto --config /etc/ipsec.conf
pluto: FATAL: unable to create lock dir: "/run/pluto/": No such file or 
directory

Nov 10 15:54:04: | crl fetch request list locked by 'free_crl_fetch'
Nov 10 15:54:04: | crl fetch request list unlocked by 'free_crl_fetch'

It seems that there is typo in libreswan.spec

10.11.2017 07:42, Paul Wouters пишет:



The binary package for RHEL/CentOS 6 in the LibreSWAN repository
appears to have been built with the RHEL/CentOS 7 directory structure
for the PID and socket files; upon upgrading the ipsec service would
no longer start, with a "pluto apparently already running (?!?)" error.

Some troubleshooting indicated that pluto was trying to write to
/run/pluto (which doesn't exist) instead of /var/run/pluto.

A quick symlink from /run  to /var/run allows the ipsec service to
start successfully, but the package should be fixed.


We had noticed that and released 3.22-2 packages. Is this still a
problem?

Paul
___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan


--
Ivan Kuznetsov
SOLVO ltd
___
Swan mailing list
Swan@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan


Re: Mac terminal question

2017-10-09 Thread Ivan Kuznetsov
You could learn how to use a makefile.  That is the
standard way to do such a thing under unix.

Maxime's Music  wrote:
>
> What do I need to type to get lilypond to engrave all files in a folder
> (wihout the point-and-click)?

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Another unterminated crescendo issue

2017-09-11 Thread Ivan Kuznetsov
Thank you both for the solutions, as well as helping gain a greater
understanding of lilypond.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Another unterminated crescendo issue

2017-09-10 Thread Ivan Kuznetsov
Hello all:

I don't understand why I am getting the error:

 warning: unterminated crescendo
 \new Voice {\voiceTwo r8 d8 bf8  r8   a8
\<  cs8 }

as both the crescendo start and end points (\< and \f) are
in \voiceTwo.

I am implementing one of the solutions I received from
my "Unterminated Crescendo Issue" thread on August 28
(https://www.mail-archive.com/lilypond-user@gnu.org/msg122126.html)
though it does not work here.

Thank you for your help.


\version "2.19.65"
\include "english.ly"


\score {

   \new Staff = "guitar"
   {
 \clef "treble_8"
\time 6/8

<<
{\voiceOne  f'!4.fs'4.}
\new Voice {\voiceTwo r8 d8 bf8  r8   a8\<  cs8 }
>>
\oneVoice
|

\time 3/4

<<
{\voiceOne  r4.   g'8 b4 }
\new Voice {\voiceTwo 2.\f   }
>>
\oneVoice

   }


  \layout {
\context {
 \Score
  proportionalNotationDuration = #(ly:make-moment 1/16)
}
  }

}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Unterminated Crescendo Issue

2017-08-28 Thread Ivan Kuznetsov
Thank you to all that responded.

I very much appreciate  the support of this list.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Unterminated Crescendo Issue

2017-08-28 Thread Ivan Kuznetsov
And that does work !

It does appears to be a subtle variation
of Mr. Kastrup's solution.

tisimst  wrote:
>
> Instead of this:
>
> 
> <<
>   { 8  8\< }
>   \\
>   {  f,4 }
>>>
> 
>
> Do this:
>
> 
> <<
>   { \voiceOne 8  8\< }
>   \new Voice { \voiceTwo f,4 }
>>>
> \oneVoice
> 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Unterminated Crescendo Issue

2017-08-28 Thread Ivan Kuznetsov
David Kastrup <d...@gnu.org> wrote:
>
> Ivan Kuznetsov <ivan.k.kuznet...@gmail.com> writes:
>>
>> Is the only solution to define the problem measure as
>> a macro (themusic) and then insert that
>> macro at the appropriate place in the score?
>
> Good grief, no.  A macro is completely equivalent to having the text
> inserted at that place.

Well, when I try to insert your text into
the snippet without using a macro, I
get the same "unterminated crescendo" error.

Perhaps you can point out when I did wrong
below?  Thanks again.

\version "2.19.65"
\include "english.ly"

\score {

   \new Staff = "guitar"
   {
 #(set-accidental-style 'neo-modern)
 \numericTimeSignature
 \clef "treble_8"

  \voices "main",2
  <<
{ \voiceOne 8[ 8]\< \oneVoice }
\\
{ f,4 }
  >>
  8
  8\f
  \times 2/3 { af'16\ff ef'16 c16 }
  <e, b g'>4.

   }

} % \score

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Unterminated Crescendo Issue

2017-08-28 Thread Ivan Kuznetsov
Mark Stephen Mrotek  wrote:
>
> Perhaps you could code a second voice with spacers and place the beginning
> and ending of the hairpin exactly.

I have tried using an extra voice with spacers but have yet to
come up with a solution.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Unterminated Crescendo Issue

2017-08-28 Thread Ivan Kuznetsov
Thank you Mr. Kastrup.

Whereas the snippet you provided works, I am still
having trouble implementing your solution into
the context of my composition.

Is the only solution to define the problem measure as
a macro (themusic) and then insert that
macro at the appropriate place in the score?

The above does "work" but it makes my score files
difficult to read and work with.

Is there a way I can implement this solution without
having to put the entire measure in a macro?

Again, thank you very much for your help.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Unterminated Crescendo Issue

2017-08-28 Thread Ivan Kuznetsov
Ivan Kuznetsov <ivan.k.kuznet...@gmail.com> wrote:
> Kieren MacMillan <kieren_macmil...@sympatico.ca> wrote:
>>
>> You need to explicitly extantiate the voices, so that the
>> first voice is the main one:
>
> That was a solution.  Thanks.

Actually, I spoke too soon.  That solution fixed the snippet, but as
Mr. Kastrup said, it breaks when I insert it into the actual composition.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Unterminated Crescendo Issue

2017-08-28 Thread Ivan Kuznetsov
Kieren MacMillan  wrote:
>
> You need to explicitly extantiate the voices, so that the
> first voice is the main one:

That was a solution.  Thanks.

I did have to add the command:

   \set Timing.beamExceptions = #'()

to get rid of a bizarre default beaming though.
The warning was:

 warning: no viable initial configuration found: may not find good beam slope

Thanks again.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Unterminated Crescendo Issue

2017-08-28 Thread Ivan Kuznetsov
Hello All:

I need a hairpin crescendo to start
on the second eighth-note of beat one
(underneath the B-flat/D-flat diad)
and continue to the forte under the
second eighth-note of beat two
(underneath the D/B-flat/G triad).

The error message I get is:

 post01.ly:18:23: warning: unterminated crescendo

and the desired crecendo is not created.
How might I remedy this?



I suspect the error message is because of the way
the voices are laid out:  Beat one is written
as two lilypond-voices, and beats two through four
are written as one lilypond-voice. That suspicion
still has not suggested solution to me, though.

Thanks to all !

%---

\version "2.19.65"
\include "english.ly"

\score {

   \new Staff = "guitar"
   {
 #(set-accidental-style 'neo-modern)
 \numericTimeSignature
 \clef "treble_8"

  <<
  { 8  8\< }
  \\
  {  f,4 }
  >>

  8
  8\f

  \times 2/3 {  af'16\ff  ef'16 c16 }
  4.

   }

  \layout {

\context {
 \Score proportionalNotationDuration = #(ly:make-moment 1/16)
} % \context

  } % \layout
} % \score

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chords in LilyPond

2017-06-13 Thread Ivan Kuznetsov
Kieren MacMillan  wrote:
>
> How is it "wrong" for the chord  to [additionally] include the
> information 'root = a'?

In some instances the root could be C and the A would be a passing tone.
In other instances, calling any of those four tones a root would
have no meaning.  It would depend on the context.

As I read through this thread though, the sense I get is that
"chord semantics" are to be additional information optional
added by the user, so that my fear of lilypond doing ad-hoc
amateur musical analysis will not be happening (I hope not).

> > Ultimately, giving a chord a name is "analysis" of music, it is not a part 
> > of
> > music notation.
>
> Again, I must disagree: I included chord names in much of the score and piano
> part of my most recent full-length concert drama [...], and both the conductor
> and pianist were deeply appreciative of their presence in the places I chose
> to include them.

Yes, but that was your choice to _include_ chord information in _your_notation_.
You felt that the conveying this information, would help the performers perform
this music.  You did not engage in analysis.  But if a person or a
program were to assign chord/harmony information to your score after you
composed it, they would be engaging in analysis.

> Even if you are correct, why should Lilypond be artificially limited to 
> pre-hoc
> notation only? Why shouldn't we expand Lilypond's power to support and
> encourage musical analysis?

I would hate to see parts of lilypond break because of the addition
 of musical analysis.


> > What you are suggesting is "naive" musical analysis which should not be a
> > part of such a powerful notation program as lilypond.
>
> So having additional power in the form of expanded analysis functions would
> somehow make Lilypond *less* powerful as a notation program? I'm not sure I 
> see
> how that follows…

If the analysis is going to be brute force added by the listener, I
don't see a problem, except for adding a complexity to the program
that does not have to do with notation.

However, if the idea is for lilypond to do popular/amateur music
analysis (calling every "a e g a" chord an a minor 7 chord
regardless of contexts) that task/goal is going to have
little meaning for most music.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chords in LilyPond

2017-06-13 Thread Ivan Kuznetsov
I realize I am late on this thread, and I have not even read
the other responses, but I will try to explain why adding
"semantics" to a chord data structure is a mistake.

This "every chord can/should be given a name" hypothesis is a
popular/amateur musician idea that does not exist in the
concert/conservatory musician world.  Having lilypond chord
structures contain this information will burden lilypond
with a lot of useless and even _wrong_ information.
Ultimately, giving a chord a name is "analysis" of music,
it is not a part of music notation.


This does not mean that some notation does not include
chord names, of course it does.  In this case though,
the chord name is a part of the notation that specifies
to the read what notes to play.


Getting back to the original point,  how is this semantic
information going to get into the data structure?:

> root note
> quality (major, minor, augmented, diminished)
> extension (7, 9, 11, 13, etc.)
> added notes (6, 9, etc.)
> suspensions (sus4, sus2, etc.)
> alterations (flat-5, sharp-9, etc.)
> omitted notes
> added bass note
> inversions

Is lilypond going to "on the fly" do analysis and supply
this information?  With much music I notate, the above
terms have no meaning.  Even with late 19th century chromatic
music, assigning the above terms to chords can be
a complex process that can be open to debate.

To conclude:

Charles Winston  wrote:
>
> Here is a rough
> list of semantic information I believe should be included in the data
> structure:
>
> root note
> quality (major, minor, augmented, diminished)
> extension (7, 9, 11, 13, etc.)
> added notes (6, 9, etc.)
> suspensions (sus4, sus2, etc.)
> alterations (flat-5, sharp-9, etc.)
> omitted notes
> added bass note
> inversions

You belief is incorrect on this.  What you are suggesting is
"naive" musical analysis which should not be a part of
such a powerful notation program as lilypond.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[Swan] Does libreswan supports DH negotiation in ESP?

2017-05-17 Thread Ivan Kuznetsov

Hello

I trying to setup a site-to-site tunnel using ESP, IKEv2 and 
certificates. My side is Oracle Linux 6 (a RHEL6 clone from Oracle), 
libreswan 3.20, NETKEY stack as initiator. Other side is strongswan, 
don't know exact version (not under my control), as responder.


My configuration:

conn TO_CLIENT
connaddrfamily=ipv4
type=tunnel
auto=ondemand
authby=rsasig
left=%defaultroute
leftsubnet=172.16.96.0/27
leftcert="VPN Certificate for supportsolvo"
leftid=%fromcert
leftrsasigkey=AbCdEfGhi
leftsendcert=always

right=client.router.fqdn
rightsubnets={172.16.71.0/26 172.16.17.0/24 172.16.40.0/26}
rightid=@client.router.fqdn
rightca=%same

ikev2=propose
ikelifetime=8h
initial-contact=yes
pfs=yes
ike=aes256-sha2;modp2048

phase2=esp
salifetime=80m
phase2alg=aes256-sha2;modp2048
rekey=yes
rekeymargin=10m
keyingtries=3

fragmentation=yes
nat_keepalive=yes
dpddelay=30
dpdtimeout=120
dpdaction=restart

Other side configration:

conn IKEv2-SOLVO
 left=client.router.fqdn
 leftcert=vpn3-host-cert.der
 leftid=client.router.fqdn
 leftsubnet=172.16.71.0/26
 right=our.public.ip.network/24
 rightcert=vpn3-supportsolvo-cert.der
 rightid=vpn3-supportsolvo
 rightsubnet=172.16.96.0/27
 ike=aes256-sha256-modp2048!
 esp=aes256-sha256-modp2048!
 auto=add

Please note that modp2048 is configured for phase 2 on both sides

Tunnel is up on request (ipsec whack --initiate --name TO_CLIENT) and 
works fine until a rekey request by other side in ~50min. I see in my 
log that at initial time libreswan does not propose DH group at 2nd 
phase, only 3 transorms:


May 16 12:55:39: | **emit IKEv2 Proposal Substructure Payload:
May 16 12:55:39: |last proposal: v2_PROPOSAL_LAST (0x0)
May 16 12:55:39: |prop #: 1 (0x1)
May 16 12:55:39: |proto ID: IKEv2_SEC_PROTO_ESP (0x3)
May 16 12:55:39: |spi size: 4 (0x4)
May 16 12:55:39: |# transforms: 3 (0x3)
May 16 12:55:39: | emitting 4 raw bytes of our spi into IKEv2 Proposal 
Substructure Payload

May 16 12:55:39: | our spi  79 2f b8 d4
May 16 12:55:39: | ***emit IKEv2 Transform Substructure Payload:
May 16 12:55:39: |last transform: v2_TRANSFORM_NON_LAST (0x3)
May 16 12:55:39: |IKEv2 transform type: TRANS_TYPE_ENCR (0x1)
May 16 12:55:39: |IKEv2 transform ID: AES_CBC (0xc)
May 16 12:55:39: | emit IKEv2 Attribute Substructure Payload:
May 16 12:55:39: |af+type: IKEv2_KEY_LENGTH (0x800e)
May 16 12:55:39: |length/value: 256 (0x100)
May 16 12:55:39: | emitting length of IKEv2 Transform Substructure 
Payload: 12

May 16 12:55:39: | ***emit IKEv2 Transform Substructure Payload:
May 16 12:55:39: |last transform: v2_TRANSFORM_NON_LAST (0x3)
May 16 12:55:39: |IKEv2 transform type: TRANS_TYPE_INTEG (0x3)
May 16 12:55:39: |IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc)
May 16 12:55:39: | emitting length of IKEv2 Transform Substructure 
Payload: 8

May 16 12:55:39: | ***emit IKEv2 Transform Substructure Payload:
May 16 12:55:39: |last transform: v2_TRANSFORM_LAST (0x0)
May 16 12:55:39: |IKEv2 transform type: TRANS_TYPE_ESN (0x5)
May 16 12:55:39: |IKEv2 transform ID: ESN_DISABLED (0x0)

but some lines later shows:

May 16 12:55:39: "TO_CLIENT/0x1" #94: STATE_PARENT_I2: sent v2I2, 
expected v2R2 {auth=IKEv2 cipher=aes_256 integ=sha256_128 prf=sha2_256 
group=MODP2048}


Other side replay parsing:

May 16 12:55:39: | Comparing remote proposal 1 containing 3 transforms 
against local proposal [1..1] of 1 local proposals

May 16 12:55:39: | parse IKEv2 Transform Substructure Payload:
May 16 12:55:39: |last transform: v2_TRANSFORM_NON_LAST (0x3)
May 16 12:55:39: |length: 12 (0xc)
May 16 12:55:39: |IKEv2 transform type: TRANS_TYPE_ENCR (0x1)
May 16 12:55:39: |IKEv2 transform ID: AES_CBC (0xc)
May 16 12:55:39: | *parse IKEv2 Attribute Substructure Payload:
May 16 12:55:39: |af+type: IKEv2_KEY_LENGTH (0x800e)
May 16 12:55:39: |length/value: 256 (0x100)
May 16 12:55:39: | parse IKEv2 Transform Substructure Payload:
May 16 12:55:39: |last transform: v2_TRANSFORM_NON_LAST (0x3)
May 16 12:55:39: |length: 8 (0x8)
May 16 12:55:39: |IKEv2 transform type: TRANS_TYPE_INTEG (0x3)
May 16 12:55:39: |IKEv2 transform ID: AUTH_HMAC_SHA2_256_128 (0xc)
May 16 12:55:39: | parse IKEv2 Transform Substructure Payload:
May 16 12:55:39: |last transform: v2_TRANSFORM_LAST (0x0)
May 16 12:55:39: |length: 8 (0x8)
May 16 12:55:39: |IKEv2 transform type: TRANS_TYPE_ESN (0x5)
May 16 12:55:39: |IKEv2 transform ID: ESN_DISABLED (0x0)
May 16 12:55:39: | remote proposal 1 matches local proposal 1
May 16 12:55:39: | proposal 
1:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_256_128;ESN=DISABLED[first-match] 
was accepted
May 

Re: Tips on quick entry

2017-01-27 Thread Ivan Kuznetsov
I know I am responding late to this, but you don't say
what OS your are using or even what text editor.
I am guessing that you are using some sort of
simple text editor like NotePad or Gedit.

My tip for quick data entry is to learn a Unix
text editor such as Vi or Emacs (personally, I use
Vi/Vim).  There is a learning curve with Vi, but once you
know what you are doing, entering/copying/manipulating
text becomes lighting fast.



Samuel Speer  wrote:
>
> It takes me ages to enter the note data into LilyPond. Last night I spent
> almost an hour a page just getting notes and lyrics in. Does anyone have any
> tips for quick entry? I do have a midi keyboard but haven't tried it much.
> It seems slow because I have to switch back and forth with the computer
> keyboard to do articulations, durations, etc.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New LilyPond website

2016-12-10 Thread Ivan Kuznetsov
Roper has finally posted something I agree with.

On Fri, Dec 2, 2016 at 2:29 PM, John Roper  wrote:
> I just don't think
> I am the best person for the job.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Editing lilypond files with Geany

2016-04-26 Thread Ivan Kuznetsov
On Mon, Apr 25, 2016 at 2:49 PM, amir  wrote:
>
> i am trying to configure Geany to use it for Lilypond. I have made this File

Do yourself a favor and learn vi.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: My finances for working on LilyPond

2015-10-23 Thread Ivan Kuznetsov
Maybe the Linux Foundation can help us set up a Lilypond foundation?

Are there any lawyers on this list that can donate their time?

Or perhaps Lilypond software can become sponsored by the Linux Foundation?


N. Andrew Walsh  wrote:
>
> ... a foundation ...
>
> It's a hassle getting the initial foundation set up, with no small amount of
> paperwork. But it also makes it possible to apply for grant funding from
> larger public-interest charities (I'm thinking here specifically of research
> foundations that give out grants for specific research, but *only* to other
> registered nonprofits), and then paying out for dev work becomes more
> straightforward.
>
> It's also possible to do what my foundation does, which is to register with
> the Boost project. ...

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.18.2 - Thoughts so far

2015-10-04 Thread Ivan Kuznetsov
On Sat, Oct 3, 2015 at 7:33 PM, Karen S. Billings  wrote:
>
> I'm a former Bell Labs engineer, where I used Unix (vi, awk, shell, etc.) 
> everyday.
> I got so used to using those tools, and I find I miss their power...
>
> I'm really struggling to learn how to use the "tools" available to me on my 
> PC.  I used
> to have a version of vi available as part of MKS toolkit, but it hasn't 
> worked in years...
>
> How would somebody like me gain access to vi (and other Unix-like tools)?

By using Lilypond under Linux.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.18.2 - Thoughts so far

2015-10-03 Thread Ivan Kuznetsov
Do yourself a serious favor and learn vi

Edward Ardzinski  wrote:
>
> with Notepad [...]

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RUSSIAN documents

2015-01-19 Thread Ivan Kuznetsov
how to make russian documents with toc and pdf? 

what mean

user@debian:~$ a2x -a lang=ru -f pdf asciidoc_help.xml
a2x: ERROR: dblatex -t pdf -p 
/etc/asciidoc/dblatex/asciidoc-dblatex.xsl -s 
/etc/asciidoc/dblatex/asciidoc-dblatex.sty   
/home/user/asciidoc_help.xml returned non-zero exit status 1

?

-- 
You received this message because you are subscribed to the Google Groups 
asciidoc group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to asciidoc+unsubscr...@googlegroups.com.
To post to this group, send email to asciidoc@googlegroups.com.
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.


Re: Nalesnik's Roman number analysis code

2014-11-22 Thread Ivan Kuznetsov
Thanks !

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Nalesnik's Roman number analysis code

2014-11-17 Thread Ivan Kuznetsov
Thank you; I appreciate that.

On Mon, Nov 17, 2014 at 6:04 PM, David Nalesnik
david.nales...@gmail.com wrote:

 Yes--I'm pretty sure I got it to work with larger columns.  I'll have to
 search around for that version of the file.  I'll get back to you when I do.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Qsynth/Fluidsynt output on MacBook/Kubuntu

2014-09-01 Thread Ivan Kuznetsov
This is a question for the Linux-audio-user mailing list.

Go here:

  http://lists.linuxaudio.org/listinfo/linux-audio-user

and subscribe.



On Sun, Aug 31, 2014 at 11:01 PM, Guy Stalnaker jimmyg...@gmail.com wrote:
 Dear friends,

 I know this is not true lilypond topic, but I also know that many of you
 have extensive experience using lilypond with various operating systems,
 etc.

 I have an old MacBook that I have repurposed into a Kubunty laptop. The only
 serious issue I'm having is with audio ouput via Qsynth/Fluidsynt. Audio
 works fine. I can test the audio successfully. I can play digital streaming
 audio with Clementine. I can play lilypond midi output files via timidity
 from the command line. All these work find.

 But ... if I load Fluidsynth via Qsyth (which is how I use Fluidsynth on two
 other Linux system) and then run Frescobaldi and play midi output files, the
 sound is filled with so much noise it's hardly recognizable as music.
 Sometimes the music will suddenly come through clearly, but most often it
 does not. I've played with using both Alsa and Pulseaudio and both result in
 noise. I have not, because I really loathe using it, used Jack Audio.

 So, two questions -- has anyone had a similar Linux experience where system
 audio is fine, but Fluidsynth output is not? Second question is whether one
 can use Timidity (in its server mode ) with Frescobaldi for midi output?

 Thanks.

 Guy Stalnaker
 jimmyg...@gmail.com

 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: When a singer speaks rather than sings.

2014-07-23 Thread Ivan Kuznetsov
And both do exactly what I was looking for.  Thank you Mr. Kastrup and Mr.
Liska!


On Wed, Jul 23, 2014 at 3:15 PM, David Kastrup d...@gnu.org wrote:

 ivan.k.kuznet...@gmail.com writes:

  In a vocal part I am notating, while the singer mostly
  sings notated pitches, there are a few parts
  where the singer will speak text in notated
  rhythm.
 
  When this is done is scores that I have seen,
  sometimes it is done with just stems, flags and
  beams (but no note heads) such as in
  the Charles Ives song Charlie Rutlage.
  I have also seen it just written with
  the note heads as xs on a stave (such as
  with a percussion score).  How does
  one go about implementing either method
  in lilypond?  I do prefer the latter, though.

 Here are two variants for 2.19.0 (with earlier versions, you'll need to
 repeat the pitch before each duration in the rhythmic section):

 \version 2.19.0
 \new Voice { \xNote { c'' 4 4. 8 8 8 1 } }
 \new Voice \relative { c''4 d e f
\temporary\override NoteHead.style = #'slash
b, 4 4. 8 8 8 1
\revert NoteHead.style
a1
  }

 --
 David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[Nut-upsuser] APC SmartUPS switches off with no reason

2014-07-09 Thread Ivan Kuznetsov

Hello

One our customer has two Linux HP-branded servers powered from clasic 
APC Smart-UPS 2200 RM 2U (p/n SUA2200RMI2U). It is connected to first 
server via RS232c port with APC-branded cable. We have installed NUT 
2.6.4 with apcsmart driver. This setup works fine for months. Two weeks 
ago all the hardware powered from the UPS started to switch off 
occasionally while on line power. The UPS switchs off too and need to be 
turn on manually. No any warnings or so logged by NUT. UPS load is 
25-30%, battery is ok. With disconnected control cable the UPS forks as 
desired, no switch offs for 6 days. When customer connects the cable 
back the UPS switchs off after ~12 hours. It looks like the UPS recives 
'instant poweroff' command via interface with no reason


What can be a diagnostic procedure?



--
Regards, Ivan Kuznetsov
SOLVO ltd

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] APC SmartUPS switches off with no reason

2014-07-09 Thread Ivan Kuznetsov

Customer says the control cable is APC 940-0024D


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser


[Nut-upsuser] snmp-ups sends status OL OB on HP R3000 UPS with AF465A management card [UPDATE]

2014-04-07 Thread Ivan Kuznetsov

Hi

I think an ineteresting OIDs begins from .1.3.6.1.4.1.232. To make a 
correct output you need 2 MIB files: CPQPOWER.MIB (you have it :) and 
CPQHOST.MIB. Put them in a separate folder (e.g. mibs-folder/) and add 
-M to the command line:


snmpwalk -v 1 -c public -Os -M +mibs-folder/ -m ALL ups-address 
.1.3.6.1.4.1.232


Ivan

07.04.2014 15:45, Philippe Andersson пишет:

Hello Arnaud,

On 05/04/14 22:01, Arnaud Quette wrote:

Philippe, Ivan,

please see https://github.com/networkupstools/nut/issues/118
and send back your data.

I've pasted the requested files in github, but the auto-formatting may
have damaged them, so here they are.

Also, when I ran gen-snmp-subdriver.sh, it gave me the following message:

---cut-
snmp_build: unknown failuresnmpget: Error building ASN.1 representation
(Can't build OID for variable)
---cut-

Not sure whether this invalidates the resulting files.


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsdev] [HCL] UNITEK Alpha650ipF supported by blazer_usb

2012-07-13 Thread Ivan Kuznetsov

Hello

13.07.2012 13:23, Pascal MIRALLES пишет:

UNITEK Alpha650ipF and Alpha650ipE
Build NUT v2.6.4 from sources
http://www.networkupstools.org/source/2.6/nut-2.6.4.tar.gz
System: RedHat Linux RHEL4
Kernel: 2.6.9-42.0.10.EL



Just one question : Why there are no packages nut-2.4 and nut-2.6 for
RedHat RHEL4 and RHEL5 ?


I have building RPMS for nut 2.6.x for EL4 and EL5. Theese distros are 
to old (especially EL4) to compile nut with full feature set. E.g. no 
hal and avahi in EL4, incompatible version of freeipmi in EL5 and so on. 
Also there are some quirks in automake files and init scripts need to be 
fixed.


I can share my nut-2.6.4-2.el4.src.rpm and nut-2.6.4-2.el5.src.rpm if 
you are interested in


--
Regards, Ivan Kuznetsov
SOLVO ltd

___
Nut-upsdev mailing list
Nut-upsdev@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Re: Appreciation / Financial support

2012-06-11 Thread Ivan Kuznetsov
On Mon, May 28, 2012 at 12:21 PM, Tim McNamara tim...@bitstream.net wrote:

 As great as Lilypond's output is, there is a long way to go in terms
 of simplification and usability (the syntax needs to be simplified
 dramatically; a lot of the code users have to write is pretty ugly
 and is going to scare off potential users).


I don't understand how this could be possible.  Does anyone talk
about the need to simplify the syntax of Latex?  Of Perl?

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Appreciation / Financial support

2012-06-11 Thread Ivan Kuznetsov
Music notation is complex.  Any ASCII representation of
music notation likewise has to be complex.
Any simplification of lilypond syntax must mean a removal
of features.

The only other alternative is to use a WYSIWYG
editor where you draw the musical notation you
want, and good luck waiting for an flexible open-source
version of such a program with quality output.

Or maybe Frescobaldi will someday evolve to something
like this, I have yet to investigate the interface.

P.S.  Perl was a bad example, but the latex comparison
was valid.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [Nut-upsdev] Snmp-ups/netvision driver for Socomec UPS

2012-05-05 Thread Ivan Kuznetsov

Hello Arnaud

24.04.2012 17:59, Arnaud Quette wroute:


2012/4/16 Ivan Kuznetsov k...@solvo.ru mailto:k...@solvo.ru

Hello


Hello Ivan,

We have an Socomec Sicon Netys PR3000 UPS equipped with NetVision
Web/SNMP adaptor. I try to monitor the ups using snmp-ups driver and
netvision mibs set. The snmp-ups driver starts correctly and
connects to the UPS, upsd confirms it, but upsmon constantly shows
No communication error

I think the cause is the SNMP adapter reports the UPS status as ECO
mode (snmpget .1.3.6.1.4.1.4555.1.1.1.1.4.1.__0 returns 9), but
snmp-ups does not correctly process this. Here is output of
'snmp-ups -a socomec -u nut -D':

[...]

In netvision-mib.c I see that ups.status field is constructed from
NETVISION_OID_BATTERYSTATUS (.1.3.6.1.4.1.4555.1.1.1.1.2.__1.0) and
NETVISION_OID_OUTPUT_SOURCE (.1.3.6.1.4.1.4555.1.1.1.1.4.__1.0).

Battery status is normal (value 2), value for netvision_batt_info is
 (empty string). Good.
Output status has value 9, netvision_output_info is empty string
too. Looks false because the UPS is on and works in high-efficiency
UPS mode.
The result is that ups.status get an empty string value, which
confuses upsmon.


agreed.
in the same spirit, Output status==8 should probably be processed as
OL too.


I'm not sure about Output status 8. The MIB file v.5.0.1 from Sococmec 
does not clarify what is the Output Source standby. The UPS we have 
never returns value 8.



can you please confirm the attached patch, before I commit it?


I build the patched nut 2.6.3 RPM (it takes time to fight against old 
autoconf version in RHEL5, hehe...) and start it at servers connected to 
Socomec UPS. It works mainly, but we need to arrange some tests with UPS 
power off. Probaly we can do it on next week


With regards, Ivan Kuznetsov
System Administrator
SOLVO ltd


___
Nut-upsdev mailing list
Nut-upsdev@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev


Re: [Nut-upsdev] Riello UPs implementation for NUT software

2012-04-24 Thread Ivan Kuznetsov

Hello

We have an Riello MDT40 UPS at our data room. We currently monitoring 
the UPS via Netman 102 plus Web/SNMP card using RFC1628 mibs. UPS status 
is mostly reported correctly but there are some issues with values 
reported. E.g. output power is not in Watts, input power is constantly 
0, battery charge current varies upto unreal values. Alsow we find that 
sometimes the card becomes unresponsible, probably hangs. We need to 
reset the card to return access to it


Some time ago we have update card firmware to v1.15 and some of mistakes 
went avay. May be we can cooperate to make card firmware better?


Of cource we can do some tests with both NUT and hardware we have

Regards, Ivan Kuznetsov
System Administrator of SOLVO ltd
http://www.solvo.ru

___
Nut-upsdev mailing list
Nut-upsdev@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev


[Nut-upsdev] Snmp-ups/netvision driver for Socomec UPS

2012-04-16 Thread Ivan Kuznetsov
 
upsmon.


--
Ivan Kuznetsov
SOLVO ltd

___
Nut-upsdev mailing list
Nut-upsdev@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev


[jira] [Created] (HADOOP-8182) hadoop-setup-single-node.sh from DEB fails with chown permission error on Ubuntu 11.10

2012-03-18 Thread Ivan Kuznetsov (Created) (JIRA)
hadoop-setup-single-node.sh from DEB fails with chown permission error on 
Ubuntu 11.10
--

 Key: HADOOP-8182
 URL: https://issues.apache.org/jira/browse/HADOOP-8182
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
Affects Versions: 1.0.1
 Environment: Ubuntu 11.10
Reporter: Ivan Kuznetsov


Installed Hadoop 1.0.1 from amd64 DEB package.
Executed: sudo /usr/sbin/hadoop-setup-single-node.sh

It invokes /usr/sbin/hadoop-daemon.sh where in line 98

chown $HADOOP_IDENT_STRING $HADOOP_LOG_DIR

attempts to execute 'chown root /var/log/hadoop/root' as user hduser, resulting 
in 

 * Starting Apache Hadoop Name Node server hadoop-namenode  
   
chown: changing ownership of `/var/log/hadoop/root': Operation not permitted

and

 * Starting Apache Hadoop Data Node server hadoop-datanode  
   
chown: changing ownership of `/var/log/hadoop/root': Operation not permitted

As a result, setup fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (HADOOP-8182) hadoop-setup-single-node.sh from DEB fails with chown permission error on Ubuntu 11.10

2012-03-18 Thread Ivan Kuznetsov (Created) (JIRA)
hadoop-setup-single-node.sh from DEB fails with chown permission error on 
Ubuntu 11.10
--

 Key: HADOOP-8182
 URL: https://issues.apache.org/jira/browse/HADOOP-8182
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
Affects Versions: 1.0.1
 Environment: Ubuntu 11.10
Reporter: Ivan Kuznetsov


Installed Hadoop 1.0.1 from amd64 DEB package.
Executed: sudo /usr/sbin/hadoop-setup-single-node.sh

It invokes /usr/sbin/hadoop-daemon.sh where in line 98

chown $HADOOP_IDENT_STRING $HADOOP_LOG_DIR

attempts to execute 'chown root /var/log/hadoop/root' as user hduser, resulting 
in 

 * Starting Apache Hadoop Name Node server hadoop-namenode  
   
chown: changing ownership of `/var/log/hadoop/root': Operation not permitted

and

 * Starting Apache Hadoop Data Node server hadoop-datanode  
   
chown: changing ownership of `/var/log/hadoop/root': Operation not permitted

As a result, setup fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [Mailman-Users] Incorrect timezone in mailman-generated messages

2011-10-24 Thread Ivan Kuznetsov

Hello!

The Date: header is definitly put by Mailman process (Python library) 
not by MTA. The MTA (postfix 2.7.1) uses system tzdata and works correctly.


The Mailman was restarted just after the system tzdata update. And more, 
we have a power blackout last week so all the company servers were 
rebooted. The problem still exists


Setting the TZ enviroment variable as 'TZ=MSK-4' in Mailman startup 
script solves the problem. So we have a workaround now and have a time 
for more deep investigations :)


Python interactive tests:

Python 2.4.3 (#1, Jul  2 2009, 15:50:05)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type help, copyright, credits or license for more information.

import time;
import email.Utils;
print (time.localtime());

(2011, 10, 24, 12, 8, 2, 0, 297, 0)

print (time.altzone);

-14400

print (time.daylight);

1

print (email.Utils.formatdate(localtime=1));

Mon, 24 Oct 2011 12:08:33 +0300

As I can understand (I'm not a Python guru) the time.localtime() returns 
correct data and shows that DST is not active (tm_isdst=0). time.altzone 
is correct too (UTC-4). But time.daylight is incorrectly shows that DST 
is active. So the problem is a Python issue, you are right.


I will try to update the Python package and see the result

--
Regards, Ivan Kuznetsov
SOLVO ltd
St.Petersburg, Russia
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Incorrect timezone in mailman-generated messages

2011-10-24 Thread Ivan Kuznetsov

Hello!

24.10.2011 12:32, Ivan Kuznetsov wrote:

I will try to update the Python package and see the result


Updated Python (package python26-2.6.5-6.el5.i386.rpm) shows the same 
incorrect results on interactive tests:


[kia@pine ~]$ python26
Python 2.6.5 (r265:79063, Feb 28 2011, 21:55:56)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type help, copyright, credits or license for more information.

import time;
import email.Utils;
print (time.localtime());
time.struct_time(tm_year=2011, tm_mon=10, tm_mday=24, tm_hour=13, 
tm_min=1, tm_sec=45, tm_wday=0, tm_yday=297, tm_isdst=0)

print (time.altzone);

-14400

print (time.daylight);

1

print (email.Utils.formatdate(localtime=1));

Mon, 24 Oct 2011 13:02:02 +0300





--
С уважением, И.А.Кузнецов
Системный администратор СОЛВО
тел. +7 812 6060555
сотовый +7 921 7407261
ICQ 346624981
http://www.solvo.ru
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

[Mailman-Users] Incorrect timezone in mailman-generated messages

2011-10-21 Thread Ivan Kuznetsov

Hello!

After the local timezone rules change the mailman sends messages with 
incorrect timezone in Date: header.


Acording to the Russian Govnerment statement Russia is abolishing 
daylight saving time from this year. E.g. Moscow time (which daylight 
saving was GMT+4) will now has standard GMT+4. To adopt this we install 
new timezone calculation rules (tzdata-2011l). Now the mailman thinks 
that timezone is GMT+3. All the mailman-generated messages (moderation 
requests, errors, reminders and so on) looks like the time is +1h in 
future. E.g.


Return-Path: mailman-boun...@domain.ru
Received: from gate2.solvo.ru (gate2-vlan10.solvo.ru [172.16.80.4])
 by hippo.solvo.ru (Cyrus v2.2.12-Invoca-RPM-2.2.12-8.1.RHEL4) with 
LMTPA;
 Thu, 20 Oct 2011 15:54:42 +0400
X-Sieve: CMU Sieve 2.2
Received: from gate2.solvo.ru (localhost.localdomain [127.0.0.1])
by gate2.solvo.ru (Postfix) with ESMTP id 2ADCC52E802D
for listmas...@solvo.ru; Thu, 20 Oct 2011 15:54:42 +0400 (MSK)
Subject: =?koi8-r?b?7sXEz9PUwdfMxc7Oz8UgydrXxd3FzsnFIM/CIM/bycLLxQ==?=
From: mailman-boun...@solvo.ru
To: all-ow...@solvo.ru
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary0258393610==
Message-ID: mailman.20.1319111680.3169@solvo.ru
Date: Thu, 20 Oct 2011 15:54:40 +0300
Precedence: bulk
X-BeenThere: a...@solvo.ru
X-Mailman-Version: 2.1.14
List-Id: =?koi8-r?b?6c7Gz9LNwcPJ0SDEzNEg19PFyCDTz9TS1cTOycvP1yDz7+z37w==?=
all.solvo.ru
X-List-Administrivia: yes
Errors-To: mailman-boun...@solvo.ru
Sender: mailman-boun...@solvo.ru

Local time in mailman logs are still correct:

/var/log/mailman/smtp:
Oct 20 15:54:42 2011 (3173) mailman.20.1319111680.3169@solvo.ru 
smtp to all for 1 recips, completed in 0.102 seconds


/var/log/mailman/bounce:
Oct 20 15:54:40 2011 (3169) all: bounce message w/no discernable 
addresses: 35292842.20111020185...@87.subnet125-163-181.speedy.telkom.net.
Oct 20 15:54:40 2011 (3169) all: forwarding unrecognized, message-id: 
35292842.20111020185...@87.subnet125-163-181.speedy.telkom.net.id


We are using mailman for years without such a problem before. All other 
software run at this host now have the correct understanding the local 
time as MSK standard time = GMT+4


[root@gate2 mailman]# date '+%Z %::z'
MSK +04:00:00

I found the similar mailman bug #266314 
(https://bugs.launchpad.net/mailman/+bug/266314) but it was years ago 
and was fixed at version 2.1.7.


Now we run mailman 2.1.14 with Python 2.4.3 under Oracle Enterprise 
Linux 5 (a clone of RHEL5)


--
Regards, Ivan Kuznetsov
SOLVO ltd
St.Petersburg, Russia
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Pidgin RPM for Enterprise Linux 5?

2011-06-27 Thread Ivan Kuznetsov

Hello!

Will maintainers planning to make sources buildable under Enterprise 
Linux 5 and clones?


I don't see any RPMs for EL5 after 2.7.11 (and can see only Ubuntu links 
for Linux binaries). Sources of Pidgin 2.8 and 2.9 has the pidgin.spec 
file inside but the .configure script requires GLib 2.16.0 or newer to build


Is Pidgin support for RPM-based Linux distros dropped?

--
Ivan Kuznetsov
System Administrator of SOLVO ltd
http://www.solvo.ru

___
Support@pidgin.im mailing list
Want to unsubscribe?  Use this link:
http://pidgin.im/cgi-bin/mailman/listinfo/support


Re: stem direction [Was: Snippet: Tie does not appear]

2011-06-23 Thread Ivan Kuznetsov
Thanks!

Sepand Shahab sepandsha...@alum.calarts.edu wrote:

 You can use \stemUp \stemDown and \stemNeutral to go
  back to normal.

 Similarly, \tieUp \tieDown and \tieNeutral


 Ivan Kuznetsov ivan.k.kuznet...@gmail.com wrote:

 Thanks to all for your quick help!

 I adjusted the voices so that the E naturals I
 intend to tie are in the same lilypond voice.  The tie
 now renders and correct notation results _however_ the
 problem I have now, is that direction of the stems that
 lilypond has chosen for each voice is _not_ the direction
 I wish.

 How does one override lilypond's stem directions for a
 particular note or voice.


 Also, though tie renders in the attached image, but I prefer
 the curve of the tie _below_ the E naturals, not _above_ as
 in the attached image.  Is there a way to force in which direction
 the tie is written?


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stem direction [Was: Snippet: Tie does not appear]

2011-06-23 Thread Ivan Kuznetsov
Thanks again to everyone.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


stem direction [Was: Snippet: Tie does not appear]

2011-06-21 Thread Ivan Kuznetsov
Thanks to all for your quick help!

I adjusted the voices so that the E naturals I
intend to tie are in the same lilypond voice.  The tie
now renders and correct notation results _however_ the
problem I have now, is that direction of the stems that
lilypond has chosen for each voice is _not_ the direction
I wish.

How does one override lilypond's stem directions for a
particular note or voice.


Also, though tie renders in the attached image, but I prefer
the curve of the tie _below_ the E naturals, not _above_ as
in the attached image.  Is there a way to force in which direction
the tie is written?

Thanks again!





\version 2.12.3
\include english.ly

\score {


   \new Staff = guitar
   {
 \clef treble_8
 \time 4/4

 % guitar m01
 
 { s2.   g'8. [e,16~]  }
 \\
 {  r2. f8 [b8]  }
 

 % guitar m02
 
 { e,1}
 \\
 {  fs f' a'4. g' bf'8  g' b'8 bf a' cs''4.   }
 \\
 {  s2   g'16 [gs16]   s4  }
 
   }



}
attachment: test_tie_02.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[Bug 706825] Re: Ubuntu One can not handle the synchronization of a folder with lots of files

2011-06-21 Thread Ivan Kuznetsov
Is it possible it's a duplicate of bug 799509?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706825

Title:
  Ubuntu One can not handle the synchronization of a folder with lots of
  files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntuone-client/+bug/706825/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Snippet: Tie does not appear

2011-06-20 Thread Ivan Kuznetsov
Snippet: Tie does not appear


Why does the tie between the two low E naturals that I have
indicated in the snippet below not appear in the notation?

Thanks.


\version 2.12.3
\include english.ly

\score {


   \new Staff = guitar
   {
 \clef treble_8
 \time 4/4

 % guitar m01
 
 { s2.   g'8. [e,16~]  }
 \\
 {  r2. f8 [b8]  }
 

 % guitar m02
 
 {  fs f' a'4. g' bf'8  g' b'8 bf a' cs''4.   }
 \\
 {  s2   g'16 [gs16]   s4  }
 \\
 { e,1}
 
   }



}
attachment: test_tie_01.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[Bug 739780] Re: Session starting with a zeitgeist-datahub zombie process

2011-06-20 Thread Ivan Kuznetsov
There's still  version 0.7.1-1 in Ubuntu 11.04 repos - any news on when
0.8.0-1 will make it to the release?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/739780

Title:
  Session starting with a zeitgeist-datahub zombie process

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/739780/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: \mergeDifferentlyHeadedOn, voice and stem issue

2011-05-08 Thread Ivan Kuznetsov
Damn that was simple!  Thank you for the almost instantaneous help!

On Sun, May 8, 2011 at 3:09 PM, Marc Hohl m...@hohlart.de wrote:

  There exists a \mergeDifferentDottedOn command, too,
  to cover the merge in the second bar.

  See

http://lilypond.org/doc/v2.13/Documentation/notation/multiple-voices#index-mergeDifferentlyDottedOn
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \mergeDifferentlyHeadedOn, voice and stem issue

2011-05-08 Thread Ivan Kuznetsov
If I can trouble you yet again, here is a second snippet
with a similar issue, I would like the triplet E natural
in the top voice to take the same space as the E natural
half note in the bottom voice and then disappear.

\mergeDifferentlyHeadedOn does not work in this case,
\mergeDifferentlyDottedOn is not applicable (and also
does not work).  I searched the documentation for other
\mergeDifferently commands such as \mergeDifferentlyTupletOn
but did not find any.

Thanks again.


\version 2.12.3
\include english.ly


  \new Staff = guitar
  {
\clef treble_8

 
 {
\times 2/3 {  e,4 fs4 a'4}
 }
 \\
 {
 \mergeDifferentlyHeadedOn e,2
 }
 
  }

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't get \arpeggio to work

2011-05-08 Thread Ivan Kuznetsov
On Sun, May 8, 2011 at 7:04 PM, Carl Sorensen c_soren...@byu.edu wrote:

  This is not a chord construct, but a parallel music construct.  Only one
set
  of angle brackets, and the duration outside.

Evidentally I was not understanding the difference between the two
constructs.
Thanks!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ghostscript-8.70-6 broke my lilypond, no more PDF

2011-04-26 Thread Ivan Kuznetsov
Matthias Kilian k...@outback.escape.de wrote:

 I don't think it's the `-q' that causes the failure, because this
 flag only makes ghostscript quiet

And it is not the -q flag as I just ran the command with it.
It is as you say suggest, lilypond is bombing when trying to run
the ghostscript command.  But why?

 My best guess is that the newer ghostscript (when run from within
 lilypond) hits some resource limit like open file descriptors or
 memory.
[...]

Does not seem likely.

 Assuming that you're running a shell like ksh or bash, you can display
 the current limits for file descriptors with
[...]

Actually, I normally run things under a tcsh shell,
but it is easy enough to start a bash shell.  The
results:

 ulimit -n
   1024

 ulimit -d
   unlimited

I think I might just uninstall lilypond and do a fresh install.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ghostscript-8.70-6 broke my lilypond, no more PDF

2011-04-25 Thread Ivan Kuznetsov
Matthias Kilian k...@outback.escape.de wrote:

 Could you try
 to run ghostscript manually to convert it to pdf (but omit the `-q'
 flag)? Like, just run

 gs -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00 \
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 \
-sDEVICE=pdfwrite -sOutputFile=./song02.pdf -c .setpdfwrite \
-f song02.ps

 from your shell.

I just ran the above and song02.pdf was created with no errors.
So only difference between the above command and what lilypond
executes is the -q flag I see.  Why does the -q flag now fail?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDFs no longer created: error: -dCompatibilityLevel=1.4

2011-04-23 Thread Ivan Kuznetsov
I see from the logs that I updated ghostscript on April 20.
Might this be the culprit?

On Sat, Apr 23, 2011 at 2:16 PM, ivan.k.kuznet...@gmail.com wrote:

 Lilypond .ly files that created .pdf files just fine
 a few weeks ago no longer work.  I get the messages:
[...]
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First page completed; tweaking questions

2011-04-10 Thread Ivan Kuznetsov
m...@apollinemike.com m...@apollinemike.com wrote:

 ivan.k.kuznet...@gmail.com wrote:
 
  I have my first page of music notated with lilypond here:
 
  http://www.flickr.com/photos/61572029@N04/5603253711/
 
...
 
  CONCERNING the area's marked B1, B2, B3, and B4:
 
  Look at B1 for example.  The triplet bracket circled is
  too short, I want all triplet brackets to take the entire
  duration, not just go to the last stem.

 \set tupletFullLength = ##t
 \set tupletFullLengthNote = ##t


Thanks; I have worked with this a bit, and
I have only been able to get this to work within the tuplet
bracket:

 \times 2/3 { \once \set tupletFullLength = ##t fs'4  d8  }

not for a entire voice.  Also, I just want to
adjust brackets, not _add_ a bracket to a triplet beam
when a bracket is not required (perhaps that was not clear).


  Also, in the special case of B1, where I have two
  voices each with a triplet, notationally only one
  bracket is necessary.  Is there any way to make one
  of the bracket's invisible (like an s rest)?
 
 \once \override Voice . TupletBracket #'transparent = ##t

Great; this worked _except_ that it just removed the
bracket and _not_ the number in the center of the bracket.
I would like to remove both.


I will respond to the others soon.
Thank you very much to everyone for their assistance!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First page completed; tweaking questions

2011-04-10 Thread Ivan Kuznetsov
m...@apollinemike.com m...@apollinemike.com wrote:

 ivan.k.kuznet...@gmail.com wrote:
 
  I have my first page of music notated with lilypond here:
 
  http://www.flickr.com/photos/61572029@N04/5603253711/
 
 
  CONCERNING area's marked in red A1 and A2:
 
  Sometimes I require one note to have two stems indicating
  that the note belongs to two voices.  A2 worked out
  as I intended but for A1, ideally I would just like the
  half-note G# visible and the triplet eighth-note G# invisible,
  so that the first stem of the triplet is the a stem
  attached to the half-note G# (and the half-note G# still has
  its downward stem also).  How can this be achieved?
 

 \mergeDifferentlyHeadedOn

That worked well.  Thanks!

% m01

  {
\times 2/3 { \mergeDifferentlyHeadedOn  gs,8[ g8 d16 as16] }
\times 2/3 { \once \set tupletFullLength = ##t fs'4  d8  }
\times 2/3 {  e,8[ d8 g8] }
  }
  \\
  { gs,2e,4  }

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


  1   2   >