qubes-hcl-report error? (line 158: $HOME/$FILENAME.yml: ambiguous redirect)

44 views
Skip to first unread message

gaikokuji...@gmail.com

unread,
Jun 2, 2016, 7:04:34 PM6/2/16
to qubes-users
Since I finally got Qubes 3.1 working on my HP 8460p (thanks again to Marek for diag'ing the rdsosreport) and thought I would generate/upload the HCL yml file as most things seem to be working pretty well so far. Problem is I am not sure I am using it right as when I try typing
qubes-hcl-report personal

which I thought would send the file to my personal dom doesn't seem to be working? I thought I would see a report named Qubes-HCL-???? somewhere in my personal dom's filesystem but nothing, and when I try to generate the report qubes-hcl-report gives me the following error:

/user/bin/qubes-hcl-report: line 158: $HOME/$FILENAME.yml: ambiguous redirect

I first tried qubes-hcl-report from my personal dom term and was told the command didn't exist, then tried from a dom0 term and at least got the above errors. I also tried specifying:
qubes-hcl-report dom0

just to see if anything would happen, nada.

Finally I thought I'd try to copy/paste (copy to other AppVM) the output of qubes-hcl-report > report.txt but couldn't copy or move from dom0

sigh. thoughts?

Andrew David Wong

unread,
Jun 3, 2016, 5:10:45 PM6/3/16
to gaikokuji...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2016-06-02 16:04, gaikokuji...@gmail.com wrote:
> Since I finally got Qubes 3.1 working on my HP 8460p (thanks again
> to Marek for diag'ing the rdsosreport) and thought I would
> generate/upload the HCL yml file as most things seem to be working
> pretty well so far. Problem is I am not sure I am using it right
> as when I try typing qubes-hcl-report personal
>
> which I thought would send the file to my personal dom doesn't
> seem to be working? I thought I would see a report named
> Qubes-HCL-???? somewhere in my personal dom's filesystem but
> nothing, and when I try to generate the report qubes-hcl-report
> gives me the following error:
>
> /user/bin/qubes-hcl-report: line 158: $HOME/$FILENAME.yml:
> ambiguous redirect
>

Hm, that's strange. Not sure what the problem is, since this command
works on my system. Are you running R3.1 with all updates?

> I first tried qubes-hcl-report from my personal dom term and was
> told the command didn't exist, then tried from a dom0 term and at
> least got the above errors.

The command should be run from dom0.

> I also tried specifying: qubes-hcl-report dom0 just to see if
> anything would happen, nada.
>

To get the output in dom0, it would just be "qubes-hcl-report" (no
"dom0").

> Finally I thought I'd try to copy/paste (copy to other AppVM) the
> output of qubes-hcl-report > report.txt but couldn't copy or move
> from dom0
>

https://www.qubes-os.org/doc/copy-from-dom0/

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXUfIzAAoJENtN07w5UDAwFGYQAJA1ra8c5zQU0wY3rQZFtNKt
bqvoa6Lh1IGkc2bWq49GSnV4epFbKt3yXmf/f5JgAZZArLpYwlvtu8G7nrDYIveh
TMbbs3SVSQ9FklQfmq2MCqH9Ek7x8Gjo8Q4IPVlQWwqZJDnwaX11ESY+vwkVLRUN
xBMrQ2lKg9Qt4gMxiEi98jU+PlwAJHY7mVC69ATWSSeqpCuYA1Pvcc8XnJpD2hzW
usnrCi/OdEMZpmj8yL4dg/P2R0yCvjvRB7Y+QHY0Vr9p1FiFYCWGbo3XP/2SW+RM
e1vniP15m7eyuUZCAhCgfyy3PWhMIVlkTrjnFBJLMwR2Wq9UV2PE+5O41NDsdImA
goOcPdc7nRfSNIP6VyDGPliXkjhNZUL8FZTKCTYIDMdQnvM4uMa2HELHcyKWFlcf
6Pd0hfxirLvSPDQIhdhhbU7OiefH76OrfW5qmlZktcfGXfYPa1M95JSX9hCaHgZx
VxAgQGjENvz6UA0qi6t9rn8X3GY0ZaKUPuEi0hO83ee6buSbjc5O315VKXq3LPdo
utqrxC+5JLiVI7xZc7hIPHDGSfH/E2Z180RXmDnI4bNtMiBk18vrt0vL0KIe1BIW
l7UDtmXdirfkFfSNzBT4yozlL1Q/c7h6R53NHkKlfbCg6JuIAdNCq3XIH3z4tuUp
0JkRNhHUs1nbwldstz6W
=rCTd
-----END PGP SIGNATURE-----

Gaiko

unread,
Jun 3, 2016, 9:56:48 PM6/3/16
to qubes-users

Thanks for the reply.

I am running R3.1, and I am current on updates as far as I know (I have been prompted to update twice, once dom0 and once the fedora-23 template

ok, got it about running it from dom0, but still not getting any output other than whats being printed to the screen. I have been able to just redirect the output to a file but its just a plain txt file and not in yml so I assume of no use?

Thanks for the dom0 copying link, I still have quite a bit to read/learn about Qubes.

Any thoughts on how to resolve this, or perhaps its a bug? (how to submit bugs? can't imagine how to reproduce the error) and if the plain txt output would be useful to send for the HCL I'd be happy to do that.

Marek Marczykowski-Górecki

unread,
Jun 4, 2016, 7:40:50 AM6/4/16
to Andrew David Wong, gaikokuji...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Fri, Jun 03, 2016 at 02:10:40PM -0700, Andrew David Wong wrote:
> On 2016-06-02 16:04, gaikokuji...@gmail.com wrote:
> > Since I finally got Qubes 3.1 working on my HP 8460p (thanks again
> > to Marek for diag'ing the rdsosreport) and thought I would
> > generate/upload the HCL yml file as most things seem to be working
> > pretty well so far. Problem is I am not sure I am using it right
> > as when I try typing qubes-hcl-report personal
> >
> > which I thought would send the file to my personal dom doesn't
> > seem to be working? I thought I would see a report named
> > Qubes-HCL-???? somewhere in my personal dom's filesystem but
> > nothing, and when I try to generate the report qubes-hcl-report
> > gives me the following error:
> >
> > /user/bin/qubes-hcl-report: line 158: $HOME/$FILENAME.yml:
> > ambiguous redirect
> >
>
> Hm, that's strange. Not sure what the problem is, since this command
> works on my system. Are you running R3.1 with all updates?

It's about this bug:
https://github.com/QubesOS/qubes-issues/issues/1994

The fix isn't yet uploaded to 3.1 repository.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXUr45AAoJENuP0xzK19csS+EH/3E9992Jb1SngMz0EUJ/kWOK
0eAIj7NMVOqe+R1wEQcp5V+mqHiadephSSR3/E0zE7G/7zjLAcasombLdJ/dS+rX
EklQAYYjxVhaQhoRDNbMuL7cMQ0GUFv7Bma5JcnFHeLx1jFTqvNw/bmKA3vVfVE5
q0cc/xJ5nYwGHfBkLitsTz9Ehp/LLjmhVLd4BzYyhxBmO3uUV6FT//ja8GkUrmMA
V2FFSrWyuHJvrQGhrl0SPF4greH1tODbbDGSTk6ePXATek2jTqw37gx3ENU/7G0f
isTf3PC3qOI3w3Q15A7t/nUbXX0sr6yck40xAXAxVbNvaPwehFW3akDR+ZlIL5M=
=pJ4F
-----END PGP SIGNATURE-----

gaikokuji...@gmail.com

unread,
Jun 4, 2016, 12:53:45 PM6/4/16
to qubes-users, a...@qubes-os.org, gaikokuji...@gmail.com
Ah, ok then, no biggie, will wait for the bug to be fixed then will upload my yml. Cheers.
Reply all
Reply to author
Forward
0 new messages