Problems with /var/lib/sss/mc/passwd

Radim Vansa rvansa at azul.com
Thu May 18 09:58:04 UTC 2023


Hello Jack,

the proper venue could be the Foojay.io forums [1] (yes, only recently 
created) or #crac channel on Foojay slack, but this list will do :)

Can you try running the checkpoint with 
`-XX:CRaCIgnoredFileDescriptors=/var/lib/sss/mc/passwd` ? This should 
bypass the checks, though problems may arise on restore if this file 
changes when the application is in checkpoint.

Radim

[1] 
https://forums.foojay.io/forums/forum/coordinated-restore-at-checkpoint-crac/

On 18. 05. 23 3:37, Jack Koenig wrote:
>
> 	
> Caution: This email originated from outside of the organization. Do 
> not click links or open attachments unless you recognize the sender 
> and know the content is safe.
>
>
> Hello everyone,
>
> This is more of a user question, so I apologize if this is the wrong 
> venue--please direct me to the right place as appropriate.
>
> I am attempting to checkpoint my application but I get an exception 
> saying that /var/lib/sss/mc/passwd is open:
>
> An exception during a checkpoint operation:
>
> jdk.internal.crac.CheckpointException
>         at 
> java.base/jdk.internal.crac.Core.checkpointRestore1(Core.java:141)
>         at 
> java.base/jdk.internal.crac.Core.checkpointRestore(Core.java:246)
>         at 
> java.base/jdk.internal.crac.Core.checkpointRestoreInternal(Core.java:262)
>         Suppressed: 
> jdk.internal.crac.impl.CheckpointOpenFileException: /var/lib/sss/mc/passwd
>                 at 
> java.base/jdk.internal.crac.Core.translateJVMExceptions(Core.java:87)
>                 at 
> java.base/jdk.internal.crac.Core.checkpointRestore1(Core.java:145)
>                 ... 2 more
>
> The only thing I've found mentioning a similar issue is this old 
> thread: 
> https://mail.openjdk.org/pipermail/crac-dev/2022-January/000079.html
>
> The workaround posted there involves system-level configuration 
> changes, but I am an unprivileged user on a shared RHEL8 machine so 
> cannot apply such a workaround.
>
> Is there anything I can do to resolve or at least workaround this issue?
>
> Cheers,
> Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/crac-dev/attachments/20230518/22318f49/attachment.htm>


More information about the crac-dev mailing list