Error: /etc/machine-id contains 32 characters (32 were expected)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Everytime I start chromium on debian 9, I get the following syslog error, which is very annoying:



ERROR:browser_dm_token_storage_linux.cc(93)] 
Error: /etc/machine-id contains 32 characters (32 were expected).


The message makes no sense to me as my /etc/machine contains 32 random characters as it should. But maybe someone knows why this happens?










share|improve this question























  • Did you look to actually find out what /etc/machine-id contains? Answerers have no access to your machine and cannot look for you, and are not telepathic so cannot reach into your mind to find out something that you know that you have not edited into the question.
    – JdeBP
    2 hours ago










  • @JdeBP - yeah, very smart. You don't need to be "telepathic", as the error message already implies, that my machine-id contains 32 characters. Anyway, I edited my question, thanks for your hint.
    – chevallier
    1 hour ago










  • Actually, answerers still do have to be telepathic, because the error message is known to be wrong and you still have not shown them in the question what is in the file. Your description of what it should contain is erroneous. Show answerers a hexdump of the file. Do not hand-wave an erroneous description of what it contains, because that just muddies the waters and requires more telepathy.
    – JdeBP
    1 hour ago










  • FWIW, od -c /etc/machine-id's output might be useful, to verify it doesn't contain some extra non-printing characters or similar.
    – muru
    1 hour ago















up vote
1
down vote

favorite












Everytime I start chromium on debian 9, I get the following syslog error, which is very annoying:



ERROR:browser_dm_token_storage_linux.cc(93)] 
Error: /etc/machine-id contains 32 characters (32 were expected).


The message makes no sense to me as my /etc/machine contains 32 random characters as it should. But maybe someone knows why this happens?










share|improve this question























  • Did you look to actually find out what /etc/machine-id contains? Answerers have no access to your machine and cannot look for you, and are not telepathic so cannot reach into your mind to find out something that you know that you have not edited into the question.
    – JdeBP
    2 hours ago










  • @JdeBP - yeah, very smart. You don't need to be "telepathic", as the error message already implies, that my machine-id contains 32 characters. Anyway, I edited my question, thanks for your hint.
    – chevallier
    1 hour ago










  • Actually, answerers still do have to be telepathic, because the error message is known to be wrong and you still have not shown them in the question what is in the file. Your description of what it should contain is erroneous. Show answerers a hexdump of the file. Do not hand-wave an erroneous description of what it contains, because that just muddies the waters and requires more telepathy.
    – JdeBP
    1 hour ago










  • FWIW, od -c /etc/machine-id's output might be useful, to verify it doesn't contain some extra non-printing characters or similar.
    – muru
    1 hour ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Everytime I start chromium on debian 9, I get the following syslog error, which is very annoying:



ERROR:browser_dm_token_storage_linux.cc(93)] 
Error: /etc/machine-id contains 32 characters (32 were expected).


The message makes no sense to me as my /etc/machine contains 32 random characters as it should. But maybe someone knows why this happens?










share|improve this question















Everytime I start chromium on debian 9, I get the following syslog error, which is very annoying:



ERROR:browser_dm_token_storage_linux.cc(93)] 
Error: /etc/machine-id contains 32 characters (32 were expected).


The message makes no sense to me as my /etc/machine contains 32 random characters as it should. But maybe someone knows why this happens?







debian chrome chromium-browser






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago

























asked 3 hours ago









chevallier

8711116




8711116











  • Did you look to actually find out what /etc/machine-id contains? Answerers have no access to your machine and cannot look for you, and are not telepathic so cannot reach into your mind to find out something that you know that you have not edited into the question.
    – JdeBP
    2 hours ago










  • @JdeBP - yeah, very smart. You don't need to be "telepathic", as the error message already implies, that my machine-id contains 32 characters. Anyway, I edited my question, thanks for your hint.
    – chevallier
    1 hour ago










  • Actually, answerers still do have to be telepathic, because the error message is known to be wrong and you still have not shown them in the question what is in the file. Your description of what it should contain is erroneous. Show answerers a hexdump of the file. Do not hand-wave an erroneous description of what it contains, because that just muddies the waters and requires more telepathy.
    – JdeBP
    1 hour ago










  • FWIW, od -c /etc/machine-id's output might be useful, to verify it doesn't contain some extra non-printing characters or similar.
    – muru
    1 hour ago

















  • Did you look to actually find out what /etc/machine-id contains? Answerers have no access to your machine and cannot look for you, and are not telepathic so cannot reach into your mind to find out something that you know that you have not edited into the question.
    – JdeBP
    2 hours ago










  • @JdeBP - yeah, very smart. You don't need to be "telepathic", as the error message already implies, that my machine-id contains 32 characters. Anyway, I edited my question, thanks for your hint.
    – chevallier
    1 hour ago










  • Actually, answerers still do have to be telepathic, because the error message is known to be wrong and you still have not shown them in the question what is in the file. Your description of what it should contain is erroneous. Show answerers a hexdump of the file. Do not hand-wave an erroneous description of what it contains, because that just muddies the waters and requires more telepathy.
    – JdeBP
    1 hour ago










  • FWIW, od -c /etc/machine-id's output might be useful, to verify it doesn't contain some extra non-printing characters or similar.
    – muru
    1 hour ago
















Did you look to actually find out what /etc/machine-id contains? Answerers have no access to your machine and cannot look for you, and are not telepathic so cannot reach into your mind to find out something that you know that you have not edited into the question.
– JdeBP
2 hours ago




Did you look to actually find out what /etc/machine-id contains? Answerers have no access to your machine and cannot look for you, and are not telepathic so cannot reach into your mind to find out something that you know that you have not edited into the question.
– JdeBP
2 hours ago












@JdeBP - yeah, very smart. You don't need to be "telepathic", as the error message already implies, that my machine-id contains 32 characters. Anyway, I edited my question, thanks for your hint.
– chevallier
1 hour ago




@JdeBP - yeah, very smart. You don't need to be "telepathic", as the error message already implies, that my machine-id contains 32 characters. Anyway, I edited my question, thanks for your hint.
– chevallier
1 hour ago












Actually, answerers still do have to be telepathic, because the error message is known to be wrong and you still have not shown them in the question what is in the file. Your description of what it should contain is erroneous. Show answerers a hexdump of the file. Do not hand-wave an erroneous description of what it contains, because that just muddies the waters and requires more telepathy.
– JdeBP
1 hour ago




Actually, answerers still do have to be telepathic, because the error message is known to be wrong and you still have not shown them in the question what is in the file. Your description of what it should contain is erroneous. Show answerers a hexdump of the file. Do not hand-wave an erroneous description of what it contains, because that just muddies the waters and requires more telepathy.
– JdeBP
1 hour ago












FWIW, od -c /etc/machine-id's output might be useful, to verify it doesn't contain some extra non-printing characters or similar.
– muru
1 hour ago





FWIW, od -c /etc/machine-id's output might be useful, to verify it doesn't contain some extra non-printing characters or similar.
– muru
1 hour ago











1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










There was a mistake in the logging code, which printed machine_id_size instead of the size of input read. That's why it says 32 both times. Since the mistake has been fixed, a more sensible message can be expected in a future release.



It's likely caused by some error in reading /etc/machine-id. If /etc/machine-id doesn't exist, try looking for /var/lib/dbus/machine-id or /var/db/dbus/machine-id. If one of those exists, move it to /etc/machine-id and make it a symlink to /etc/machine-id. (See JdeBP's answer for more.)



Sources:



  • comp.os.linux.misc post

  • Linux Questions post





share|improve this answer


















  • 1




    It's important to make that symbolic link that way around and not the other. unix.stackexchange.com/a/395460/5132 unix.stackexchange.com/a/396053/5132
    – JdeBP
    2 hours ago











  • As the error message implies: I truly do have a machine ID, which contains 32 characters.
    – chevallier
    1 hour ago










  • @chevallier and you're sure your version of chromium doesn't have the buggy logging code?
    – muru
    1 hour ago










  • It does, thanks @muru
    – chevallier
    1 hour ago










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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477180%2ferror-etc-machine-id-contains-32-characters-32-were-expected%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










There was a mistake in the logging code, which printed machine_id_size instead of the size of input read. That's why it says 32 both times. Since the mistake has been fixed, a more sensible message can be expected in a future release.



It's likely caused by some error in reading /etc/machine-id. If /etc/machine-id doesn't exist, try looking for /var/lib/dbus/machine-id or /var/db/dbus/machine-id. If one of those exists, move it to /etc/machine-id and make it a symlink to /etc/machine-id. (See JdeBP's answer for more.)



Sources:



  • comp.os.linux.misc post

  • Linux Questions post





share|improve this answer


















  • 1




    It's important to make that symbolic link that way around and not the other. unix.stackexchange.com/a/395460/5132 unix.stackexchange.com/a/396053/5132
    – JdeBP
    2 hours ago











  • As the error message implies: I truly do have a machine ID, which contains 32 characters.
    – chevallier
    1 hour ago










  • @chevallier and you're sure your version of chromium doesn't have the buggy logging code?
    – muru
    1 hour ago










  • It does, thanks @muru
    – chevallier
    1 hour ago














up vote
3
down vote



accepted










There was a mistake in the logging code, which printed machine_id_size instead of the size of input read. That's why it says 32 both times. Since the mistake has been fixed, a more sensible message can be expected in a future release.



It's likely caused by some error in reading /etc/machine-id. If /etc/machine-id doesn't exist, try looking for /var/lib/dbus/machine-id or /var/db/dbus/machine-id. If one of those exists, move it to /etc/machine-id and make it a symlink to /etc/machine-id. (See JdeBP's answer for more.)



Sources:



  • comp.os.linux.misc post

  • Linux Questions post





share|improve this answer


















  • 1




    It's important to make that symbolic link that way around and not the other. unix.stackexchange.com/a/395460/5132 unix.stackexchange.com/a/396053/5132
    – JdeBP
    2 hours ago











  • As the error message implies: I truly do have a machine ID, which contains 32 characters.
    – chevallier
    1 hour ago










  • @chevallier and you're sure your version of chromium doesn't have the buggy logging code?
    – muru
    1 hour ago










  • It does, thanks @muru
    – chevallier
    1 hour ago












up vote
3
down vote



accepted







up vote
3
down vote



accepted






There was a mistake in the logging code, which printed machine_id_size instead of the size of input read. That's why it says 32 both times. Since the mistake has been fixed, a more sensible message can be expected in a future release.



It's likely caused by some error in reading /etc/machine-id. If /etc/machine-id doesn't exist, try looking for /var/lib/dbus/machine-id or /var/db/dbus/machine-id. If one of those exists, move it to /etc/machine-id and make it a symlink to /etc/machine-id. (See JdeBP's answer for more.)



Sources:



  • comp.os.linux.misc post

  • Linux Questions post





share|improve this answer














There was a mistake in the logging code, which printed machine_id_size instead of the size of input read. That's why it says 32 both times. Since the mistake has been fixed, a more sensible message can be expected in a future release.



It's likely caused by some error in reading /etc/machine-id. If /etc/machine-id doesn't exist, try looking for /var/lib/dbus/machine-id or /var/db/dbus/machine-id. If one of those exists, move it to /etc/machine-id and make it a symlink to /etc/machine-id. (See JdeBP's answer for more.)



Sources:



  • comp.os.linux.misc post

  • Linux Questions post






share|improve this answer














share|improve this answer



share|improve this answer








edited 2 hours ago

























answered 2 hours ago









muru

34.2k578148




34.2k578148







  • 1




    It's important to make that symbolic link that way around and not the other. unix.stackexchange.com/a/395460/5132 unix.stackexchange.com/a/396053/5132
    – JdeBP
    2 hours ago











  • As the error message implies: I truly do have a machine ID, which contains 32 characters.
    – chevallier
    1 hour ago










  • @chevallier and you're sure your version of chromium doesn't have the buggy logging code?
    – muru
    1 hour ago










  • It does, thanks @muru
    – chevallier
    1 hour ago












  • 1




    It's important to make that symbolic link that way around and not the other. unix.stackexchange.com/a/395460/5132 unix.stackexchange.com/a/396053/5132
    – JdeBP
    2 hours ago











  • As the error message implies: I truly do have a machine ID, which contains 32 characters.
    – chevallier
    1 hour ago










  • @chevallier and you're sure your version of chromium doesn't have the buggy logging code?
    – muru
    1 hour ago










  • It does, thanks @muru
    – chevallier
    1 hour ago







1




1




It's important to make that symbolic link that way around and not the other. unix.stackexchange.com/a/395460/5132 unix.stackexchange.com/a/396053/5132
– JdeBP
2 hours ago





It's important to make that symbolic link that way around and not the other. unix.stackexchange.com/a/395460/5132 unix.stackexchange.com/a/396053/5132
– JdeBP
2 hours ago













As the error message implies: I truly do have a machine ID, which contains 32 characters.
– chevallier
1 hour ago




As the error message implies: I truly do have a machine ID, which contains 32 characters.
– chevallier
1 hour ago












@chevallier and you're sure your version of chromium doesn't have the buggy logging code?
– muru
1 hour ago




@chevallier and you're sure your version of chromium doesn't have the buggy logging code?
– muru
1 hour ago












It does, thanks @muru
– chevallier
1 hour ago




It does, thanks @muru
– chevallier
1 hour ago

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477180%2ferror-etc-machine-id-contains-32-characters-32-were-expected%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

List of Gilmore Girls characters

Confectionery