[ 
https://issues.apache.org/jira/browse/CASSANDRA-19565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838298#comment-17838298
 ] 

Brandon Williams edited comment on CASSANDRA-19565 at 4/17/24 5:01 PM:
-----------------------------------------------------------------------

If we change the '-M' flag to useradd to '-m' to create the home directory, 
that leaves us with:
{noformat}
drwx------ 6 cassandra cassandra 124 Apr 17 16:58 .
drwxr-xr-x 1 root      root      131 Apr 17 16:58 ..
-rw-r--r-- 1 cassandra cassandra  18 Aug  3  2022 .bash_logout
-rw-r--r-- 1 cassandra cassandra 141 Aug  3  2022 .bash_profile
-rw-r--r-- 1 cassandra cassandra 376 Aug  3  2022 .bashrc
drwxr-xr-x 2 cassandra cassandra   6 Apr 17 16:55 commitlog
drwxr-xr-x 2 cassandra cassandra   6 Apr 17 16:55 data
drwxr-xr-x 2 cassandra cassandra   6 Apr 17 16:55 hints
drwxr-xr-x 2 cassandra cassandra   6 Apr 17 16:55 saved_caches
{noformat}

Even though nothing else _should_ need to read or list this directory, we had 
more permissive perms before and perhaps should continue that here.  WDYT?


was (Author: brandon.williams):
If we change the '-M' flag to useradd to '-m' to create the home directory, 
that leaves us with:
{noformat}
drwx------ 6 cassandra cassandra 124 Apr 17 16:58 .
drwxr-xr-x 1 root      root      131 Apr 17 16:58 ..
-rw-r--r-- 1 cassandra cassandra  18 Aug  3  2022 .bash_logout
-rw-r--r-- 1 cassandra cassandra 141 Aug  3  2022 .bash_profile
-rw-r--r-- 1 cassandra cassandra 376 Aug  3  2022 .bashrc
drwxr-xr-x 2 cassandra cassandra   6 Apr 17 16:55 commitlog
drwxr-xr-x 2 cassandra cassandra   6 Apr 17 16:55 data
drwxr-xr-x 2 cassandra cassandra   6 Apr 17 16:55 hints
drwxr-xr-x 2 cassandra cassandra   6 Apr 17 16:55 saved_caches
{noformat}

Even though nothing else _should_ need to read or list this directory, we had 
more perms before and perhaps should continue that here.  WDYT?

> SIGSEGV on Cassandra v4.1.4
> ---------------------------
>
>                 Key: CASSANDRA-19565
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19565
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Thomas De Keulenaer
>            Priority: Normal
>             Fix For: 4.1.x
>
>         Attachments: hs_err_pid1116450.log
>
>
> Hello,
> Since upgrading to v4.1. we cannat run CAssandra any more. Each start 
> immediately crashes:
> {{Apr 17 08:58:34 SVALD108 cassandra[1116450]: # A fatal error has been 
> detected by the Java Runtime Environment:
> Apr 17 08:58:34 SVALD108 cassandra[1116450]: #  SIGSEGV (0xb) at 
> pc=0x00007fccaab4d152, pid=1116450, tid=1116451}}
> I have added the log from the coe dump.
> This issue is perhaps related to 
> https://davecturner.github.io/2021/08/30/seven-year-old-segfault.html ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to