Skip to content

Conversation

@BewareMyPower
Copy link
Contributor

Motivation

When I run ./pulsar-test-service-start.sh on macOS m1 13.4, the standalone failed to start due to the wrong permission of the test-conf directory that is copied into the container via docker cp:

I have no name!@a00f70265760:/pulsar$ ls -l | grep test-conf
drwx------ 3  501 dialout  4096 Jun  4 13:31 test-conf

It seems to be a bug: docker/for-mac#1814

Modifications

Execute docker run with the current username via id -u.

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

### Motivation

When I run `./pulsar-test-service-start.sh` on macOS m1 13.4, the
standalone failed to start due to the wrong permission of the
`test-conf` directory that is copied into the container via `docker cp`:

```
I have no name!@a00f70265760:/pulsar$ ls -l | grep test-conf
drwx------ 3  501 dialout  4096 Jun  4 13:31 test-conf
```

It seems to be a bug: docker/for-mac#1814

### Modifications

Execute `docker run` with the current username via `id -u`.
@BewareMyPower BewareMyPower added the bug Something isn't working label Jul 2, 2023
@BewareMyPower BewareMyPower added this to the 3.3.0 milestone Jul 2, 2023
@BewareMyPower BewareMyPower self-assigned this Jul 2, 2023
@shibd shibd merged commit 342aea4 into apache:main Jul 6, 2023
@BewareMyPower BewareMyPower deleted the bewaremypower/fix-macos-start-standalone branch July 6, 2023 14:30
BewareMyPower added a commit to BewareMyPower/pulsar-client-python that referenced this pull request Nov 16, 2023
See apache/pulsar-client-cpp#297

### Motivation

When I run `./pulsar-test-service-start.sh` on macOS m1 13.4, the standalone failed to start due to the wrong permission of the `test-conf` directory that is copied into the container via `docker cp`:

```
I have no name!@a00f70265760:/pulsar$ ls -l | grep test-conf
drwx------ 3  501 dialout  4096 Jun  4 13:31 test-conf
```

It seems to be a bug: docker/for-mac#1814

### Modifications

Execute `docker run` with the current username via `id -u`.
BewareMyPower added a commit to BewareMyPower/pulsar-client-python that referenced this pull request Nov 16, 2023
BewareMyPower added a commit to apache/pulsar-client-python that referenced this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants