Skip to content

Conversation

@raghuvarya-sudheendra
Copy link
Contributor

@raghuvarya-sudheendra raghuvarya-sudheendra commented Aug 22, 2024

ConditionPathExists is set to /etc/usb-debugging-enabled as part of meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service file. However, in meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service file ConditionPathExists is set to /var/usb-debugging-enabled

This causes an internal inconsistency between selinux-enabled and -disabled configurations.

Hence, change ConditionPathExists=/var/usb-debugging-enabled to ConditionPathExists=/etc/usb-debugging-enabled

Reported-by: @lumag

@raghuvarya-sudheendra
Copy link
Contributor Author

Reported-by: @lumag

@lumag
Copy link
Contributor

lumag commented Aug 22, 2024

Missing DCO tag
Reported-by should also come as a commit message trailer rather than a useless GH commit.

@lumag
Copy link
Contributor

lumag commented Aug 22, 2024

Also rather than c&p original commit text, please explain that this change follows the earlier change and makes two instances of android-toold-adbd.service consistent with each other.

…d -disabled configurations

ConditionPathExists is set to /etc/usb-debugging-enabled as part of meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service file. However, in meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service file ConditionPathExists is set to /var/usb-debugging-enabled

This causes an internal inconsistency between selinux-enabled and -disabled configurations.

Hence, change ConditionPathExists=/var/usb-debugging-enabled to ConditionPathExists=/etc/usb-debugging-enabled

Reported-by: @lumag
ConditionPathExists is set to /etc/usb-debugging-enabled as part of meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service file. However, in meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service file ConditionPathExists is set to /var/usb-debugging-enabled

This causes an internal inconsistency between selinux-enabled and -disabled configurations.

Hence, change ConditionPathExists=/var/usb-debugging-enabled to ConditionPathExists=/etc/usb-debugging-enabled

Reported-by: @lumag
@raghuvarya-sudheendra raghuvarya-sudheendra changed the title android-tools-adbd.service: Change /var to /etc in ConditionPathExists android-toold-adbd: Fix inconsistency between selinux configurations Aug 22, 2024
@raghuvarya-sudheendra
Copy link
Contributor Author

@lumag Updated in commit 71d60d2a

@lumag
Copy link
Contributor

lumag commented Aug 23, 2024

Something strange happened with the commits in this PR. Please push a single commit with proper message, tags, etc.

@lumag
Copy link
Contributor

lumag commented Aug 26, 2024

@quic-raghuvar Also Reported-by trailer should use full name and email rather than the GitHub nickname.

@lumag
Copy link
Contributor

lumag commented Aug 26, 2024

@quic-raghuvar Please consult internal Qualcomm documentation on using Git and and on contributing to open-source projects.

@lumag
Copy link
Contributor

lumag commented Aug 30, 2024

@quic-raghuvar any updates? Or was it fire-and-forget request?

@lumag
Copy link
Contributor

lumag commented Sep 2, 2024

@quic-raghuvar so now this PR has 4 commits but 0 changes to the baseline.

@raghuvarya-sudheendra
Copy link
Contributor Author

This seems to have got merged on master. Hence, multiple commits are getting pushed and not able to ammend.

Rectified the commit message in the PR for scarthgap - PR866

@lumag
Copy link
Contributor

lumag commented Sep 2, 2024

@kraj any idea how it got merged, but the PR is not closed? (leaving the question of why it was merged aside).
Unfortunately git log doesn't shows useless data in the 'Commit' field.

@shr-project
Copy link
Contributor

@kraj any idea how it got merged, but the PR is not closed? (leaving the question of why it was merged aside). Unfortunately git log doesn't shows useless data in the 'Commit' field.

github is just read-only mirror of https://git.openembedded.org/meta-openembedded/. So the changes get merged on https://git.openembedded.org/meta-openembedded/ and PRs on github are manually closed after.

The changes are reviewed on openembedded-devel ML (see README) and @kraj accepts the PRs from github as well, but has extra manual work related to it, if you want the reviews to be more efficient than follow the README and use the ML to submit changes and to review them.

@lumag
Copy link
Contributor

lumag commented Sep 2, 2024

@shr-project yep, I'm using emails. @quic-raghuvar isn't (and it results in sad issues with these commits).

BTW: the README has text which can be interpreted as suggesting to send GH pull requests

You are encouraged to fork the mirror on GitHub https://github.com/openembedded/meta-openembedded
to share your patches, this is preferred for patch sets consisting of more than one patch.

I'll propose a change to README. But maybe pull requests should be closed / forbidden here.

@lumag
Copy link
Contributor

lumag commented Sep 2, 2024

@quic-raghuvar As this patch was merged, please close the pull request.

kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Mar 28, 2025
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.33.1

Bugfixes:

    Work around systemd-resolved quirk that returns unexpected codes for single
    label names. Also adds test cases to validate the work around works and
    will continue to work in future releases. PR openembedded#863, See Also systemd/systemd#34101
    Fix sysconfig ndots default value, also adds containerized test case to
    prevent future regressions. PR openembedded#862
    Fix blank DNS name returning error code rather than valid record for
    commands like: adig -t SOA .. Also adds test case to prevent future
    regressions. 9e574af
    Fix calculation of query times > 1s. 2b2eae7
    Fix building on old Linux releases that don't have TCP_FASTOPEN_CONNECT. b7a89b9
    Fix minor Android build warnings. PR openembedded#848

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Mar 29, 2025
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.33.1

Bugfixes:

    Work around systemd-resolved quirk that returns unexpected codes for single
    label names. Also adds test cases to validate the work around works and
    will continue to work in future releases. PR openembedded#863, See Also systemd/systemd#34101
    Fix sysconfig ndots default value, also adds containerized test case to
    prevent future regressions. PR openembedded#862
    Fix blank DNS name returning error code rather than valid record for
    commands like: adig -t SOA .. Also adds test case to prevent future
    regressions. 9e574af
    Fix calculation of query times > 1s. 2b2eae7
    Fix building on old Linux releases that don't have TCP_FASTOPEN_CONNECT. b7a89b9
    Fix minor Android build warnings. PR openembedded#848

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Mar 29, 2025
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.33.1

Bugfixes:

    Work around systemd-resolved quirk that returns unexpected codes for single
    label names. Also adds test cases to validate the work around works and
    will continue to work in future releases. PR openembedded#863, See Also systemd/systemd#34101
    Fix sysconfig ndots default value, also adds containerized test case to
    prevent future regressions. PR openembedded#862
    Fix blank DNS name returning error code rather than valid record for
    commands like: adig -t SOA .. Also adds test case to prevent future
    regressions. 9e574af
    Fix calculation of query times > 1s. 2b2eae7
    Fix building on old Linux releases that don't have TCP_FASTOPEN_CONNECT. b7a89b9
    Fix minor Android build warnings. PR openembedded#848

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants