PackageKit logs a message about “only_trusted:0” The 2019 Stack Overflow Developer Survey Results Are InIn Gnome, how do I decide whether to accept a PackageKit software source?Bot requesting odd resource in apache logsFinding the logs in a hacked server.Rotating iptables logs, strange message about script being converted to upstart jobCentralized logs for tomcat logsCRON session entries in logsHow to disable PackageKit software update password dialog?Will etckeeper do auto-commits when PackageKit-hif is used [i.e. Fedora Workstation]?GNOME Software/PackageKit lists only installed packageshow to update the log message about failure of service
The phrase "to the numbers born"?
Ubuntu Server install with full GUI
I am an eight letter word. What am I?
Are there any other methods to apply to solving simultaneous equations?
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
How do you keep chess fun when your opponent constantly beats you?
Why does the nucleus not repel itself?
Cooking pasta in a water boiler
Finding the area between two curves with Integrate
What is the meaning of Triage in Cybersec world?
writing variables above the numbers in tikz picture
Kerning for subscripts of sigma?
A female thief is not sold to make restitution -- so what happens instead?
Mathematics of imaging the black hole
How can I have a shield and a way of attacking with a ranged weapon at the same time?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
A word that means fill it to the required quantity
Short story: child made less intelligent and less attractive
Keeping a retro style to sci-fi spaceships?
Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past
How much of the clove should I use when using big garlic heads?
Why couldn't they take pictures of a closer black hole?
Output the Arecibo Message
PackageKit logs a message about “only_trusted:0”
The 2019 Stack Overflow Developer Survey Results Are InIn Gnome, how do I decide whether to accept a PackageKit software source?Bot requesting odd resource in apache logsFinding the logs in a hacked server.Rotating iptables logs, strange message about script being converted to upstart jobCentralized logs for tomcat logsCRON session entries in logsHow to disable PackageKit software update password dialog?Will etckeeper do auto-commits when PackageKit-hif is used [i.e. Fedora Workstation]?GNOME Software/PackageKit lists only installed packageshow to update the log message about failure of service
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I ran pkcon update force
. I noticed PackageKit is logging about only_trusted:0
. That is, an operation where the only_trusted
option is disabled. Even though I did not pass --allow-untrusted
to pkcon
.
PackageKit[19819]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
So PackageKit is writing a log message about allowing untrusted packages. I did not want it to do that. I did not ask it do that. Why is it logging this message? Is there a problem in PackageKit?
$ sudo systemctl status packagekit.service
● packagekit.service - PackageKit Daemon
Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor preset: disabled)
Active: active (running) since Mon 2019-04-08 12:34:58 BST; 1min 29s ago
Main PID: 19819 (packagekitd)
Tasks: 3 (limit: 4915)
Memory: 192.7M
CGroup: /system.slice/packagekit.service
└─19819 /usr/libexec/packagekitd
Apr 08 12:34:58 alan-laptop PackageKit[19819]: daemon start
Apr 08 12:34:58 alan-laptop systemd[1]: Starting PackageKit Daemon...
Apr 08 12:34:58 alan-laptop systemd[1]: Started PackageKit Daemon.
Apr 08 12:34:58 alan-laptop PackageKit[19819]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
Apr 08 12:34:58 alan-laptop PackageKit[19819]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh
Apr 08 12:35:09 alan-laptop PackageKit[19819]: refresh-cache transaction /17652_eabaebee from uid 1000 finished with success after 11018ms
$ rpm -q PackageKit
PackageKit-1.1.12-2.fc29.x86_64
security logs packagekit
add a comment |
I ran pkcon update force
. I noticed PackageKit is logging about only_trusted:0
. That is, an operation where the only_trusted
option is disabled. Even though I did not pass --allow-untrusted
to pkcon
.
PackageKit[19819]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
So PackageKit is writing a log message about allowing untrusted packages. I did not want it to do that. I did not ask it do that. Why is it logging this message? Is there a problem in PackageKit?
$ sudo systemctl status packagekit.service
● packagekit.service - PackageKit Daemon
Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor preset: disabled)
Active: active (running) since Mon 2019-04-08 12:34:58 BST; 1min 29s ago
Main PID: 19819 (packagekitd)
Tasks: 3 (limit: 4915)
Memory: 192.7M
CGroup: /system.slice/packagekit.service
└─19819 /usr/libexec/packagekitd
Apr 08 12:34:58 alan-laptop PackageKit[19819]: daemon start
Apr 08 12:34:58 alan-laptop systemd[1]: Starting PackageKit Daemon...
Apr 08 12:34:58 alan-laptop systemd[1]: Started PackageKit Daemon.
Apr 08 12:34:58 alan-laptop PackageKit[19819]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
Apr 08 12:34:58 alan-laptop PackageKit[19819]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh
Apr 08 12:35:09 alan-laptop PackageKit[19819]: refresh-cache transaction /17652_eabaebee from uid 1000 finished with success after 11018ms
$ rpm -q PackageKit
PackageKit-1.1.12-2.fc29.x86_64
security logs packagekit
add a comment |
I ran pkcon update force
. I noticed PackageKit is logging about only_trusted:0
. That is, an operation where the only_trusted
option is disabled. Even though I did not pass --allow-untrusted
to pkcon
.
PackageKit[19819]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
So PackageKit is writing a log message about allowing untrusted packages. I did not want it to do that. I did not ask it do that. Why is it logging this message? Is there a problem in PackageKit?
$ sudo systemctl status packagekit.service
● packagekit.service - PackageKit Daemon
Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor preset: disabled)
Active: active (running) since Mon 2019-04-08 12:34:58 BST; 1min 29s ago
Main PID: 19819 (packagekitd)
Tasks: 3 (limit: 4915)
Memory: 192.7M
CGroup: /system.slice/packagekit.service
└─19819 /usr/libexec/packagekitd
Apr 08 12:34:58 alan-laptop PackageKit[19819]: daemon start
Apr 08 12:34:58 alan-laptop systemd[1]: Starting PackageKit Daemon...
Apr 08 12:34:58 alan-laptop systemd[1]: Started PackageKit Daemon.
Apr 08 12:34:58 alan-laptop PackageKit[19819]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
Apr 08 12:34:58 alan-laptop PackageKit[19819]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh
Apr 08 12:35:09 alan-laptop PackageKit[19819]: refresh-cache transaction /17652_eabaebee from uid 1000 finished with success after 11018ms
$ rpm -q PackageKit
PackageKit-1.1.12-2.fc29.x86_64
security logs packagekit
I ran pkcon update force
. I noticed PackageKit is logging about only_trusted:0
. That is, an operation where the only_trusted
option is disabled. Even though I did not pass --allow-untrusted
to pkcon
.
PackageKit[19819]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
So PackageKit is writing a log message about allowing untrusted packages. I did not want it to do that. I did not ask it do that. Why is it logging this message? Is there a problem in PackageKit?
$ sudo systemctl status packagekit.service
● packagekit.service - PackageKit Daemon
Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor preset: disabled)
Active: active (running) since Mon 2019-04-08 12:34:58 BST; 1min 29s ago
Main PID: 19819 (packagekitd)
Tasks: 3 (limit: 4915)
Memory: 192.7M
CGroup: /system.slice/packagekit.service
└─19819 /usr/libexec/packagekitd
Apr 08 12:34:58 alan-laptop PackageKit[19819]: daemon start
Apr 08 12:34:58 alan-laptop systemd[1]: Starting PackageKit Daemon...
Apr 08 12:34:58 alan-laptop systemd[1]: Started PackageKit Daemon.
Apr 08 12:34:58 alan-laptop PackageKit[19819]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
Apr 08 12:34:58 alan-laptop PackageKit[19819]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh
Apr 08 12:35:09 alan-laptop PackageKit[19819]: refresh-cache transaction /17652_eabaebee from uid 1000 finished with success after 11018ms
$ rpm -q PackageKit
PackageKit-1.1.12-2.fc29.x86_64
security logs packagekit
security logs packagekit
edited Apr 8 at 11:50
sourcejedi
asked Apr 8 at 11:44
sourcejedisourcejedi
25.9k445114
25.9k445114
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The --allow-untrusted
option, and the only_trusted
flag, are not relevant when refreshing.
They are only relevant when you request that a package be installed or upgraded (or removed, possibly?).
On the client side:
pk-console.c
always checks whether thepkcon
command is run with--allow_untrusted
, and sets theonly_trusted
property ofpk_task
accordingly. However:pk_task_refresh_cache_async()
ignores thepk_task
property, and unconditionally setsPK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkTaskState::transaction_flags
.- This then calls
pk_task_do_async_action()
. But that function does not actually usePkTaskState::transaction_flags
for anything, ifPkTaskState::role
isPK_ROLE_ENUM_REFRESH_CACHE
.
On the dnf backend side:
- The only place that checks for
PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkBackendDnfJobData::transaction_flags
, ispk_backend_transaction_run()
. pk_backend_transaction_run()
is not called frompk_backend_refresh_cache_thread()
. It is only relevant for jobs which install or remove packages. For example, it is called frompk_backend_install_packages_thread()
.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511214%2fpackagekit-logs-a-message-about-only-trusted0%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The --allow-untrusted
option, and the only_trusted
flag, are not relevant when refreshing.
They are only relevant when you request that a package be installed or upgraded (or removed, possibly?).
On the client side:
pk-console.c
always checks whether thepkcon
command is run with--allow_untrusted
, and sets theonly_trusted
property ofpk_task
accordingly. However:pk_task_refresh_cache_async()
ignores thepk_task
property, and unconditionally setsPK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkTaskState::transaction_flags
.- This then calls
pk_task_do_async_action()
. But that function does not actually usePkTaskState::transaction_flags
for anything, ifPkTaskState::role
isPK_ROLE_ENUM_REFRESH_CACHE
.
On the dnf backend side:
- The only place that checks for
PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkBackendDnfJobData::transaction_flags
, ispk_backend_transaction_run()
. pk_backend_transaction_run()
is not called frompk_backend_refresh_cache_thread()
. It is only relevant for jobs which install or remove packages. For example, it is called frompk_backend_install_packages_thread()
.
add a comment |
The --allow-untrusted
option, and the only_trusted
flag, are not relevant when refreshing.
They are only relevant when you request that a package be installed or upgraded (or removed, possibly?).
On the client side:
pk-console.c
always checks whether thepkcon
command is run with--allow_untrusted
, and sets theonly_trusted
property ofpk_task
accordingly. However:pk_task_refresh_cache_async()
ignores thepk_task
property, and unconditionally setsPK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkTaskState::transaction_flags
.- This then calls
pk_task_do_async_action()
. But that function does not actually usePkTaskState::transaction_flags
for anything, ifPkTaskState::role
isPK_ROLE_ENUM_REFRESH_CACHE
.
On the dnf backend side:
- The only place that checks for
PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkBackendDnfJobData::transaction_flags
, ispk_backend_transaction_run()
. pk_backend_transaction_run()
is not called frompk_backend_refresh_cache_thread()
. It is only relevant for jobs which install or remove packages. For example, it is called frompk_backend_install_packages_thread()
.
add a comment |
The --allow-untrusted
option, and the only_trusted
flag, are not relevant when refreshing.
They are only relevant when you request that a package be installed or upgraded (or removed, possibly?).
On the client side:
pk-console.c
always checks whether thepkcon
command is run with--allow_untrusted
, and sets theonly_trusted
property ofpk_task
accordingly. However:pk_task_refresh_cache_async()
ignores thepk_task
property, and unconditionally setsPK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkTaskState::transaction_flags
.- This then calls
pk_task_do_async_action()
. But that function does not actually usePkTaskState::transaction_flags
for anything, ifPkTaskState::role
isPK_ROLE_ENUM_REFRESH_CACHE
.
On the dnf backend side:
- The only place that checks for
PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkBackendDnfJobData::transaction_flags
, ispk_backend_transaction_run()
. pk_backend_transaction_run()
is not called frompk_backend_refresh_cache_thread()
. It is only relevant for jobs which install or remove packages. For example, it is called frompk_backend_install_packages_thread()
.
The --allow-untrusted
option, and the only_trusted
flag, are not relevant when refreshing.
They are only relevant when you request that a package be installed or upgraded (or removed, possibly?).
On the client side:
pk-console.c
always checks whether thepkcon
command is run with--allow_untrusted
, and sets theonly_trusted
property ofpk_task
accordingly. However:pk_task_refresh_cache_async()
ignores thepk_task
property, and unconditionally setsPK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkTaskState::transaction_flags
.- This then calls
pk_task_do_async_action()
. But that function does not actually usePkTaskState::transaction_flags
for anything, ifPkTaskState::role
isPK_ROLE_ENUM_REFRESH_CACHE
.
On the dnf backend side:
- The only place that checks for
PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED
inPkBackendDnfJobData::transaction_flags
, ispk_backend_transaction_run()
. pk_backend_transaction_run()
is not called frompk_backend_refresh_cache_thread()
. It is only relevant for jobs which install or remove packages. For example, it is called frompk_backend_install_packages_thread()
.
answered 2 days ago
sourcejedisourcejedi
25.9k445114
25.9k445114
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511214%2fpackagekit-logs-a-message-about-only-trusted0%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown