Opened 10 years ago
Closed 6 years ago
#12780 closed Bug Report - General (Unverified)
debian mythweb package fails to install if mysql password contains a forward slash
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | Packaging | Version: | 0.28.0 |
| Severity: | medium | Keywords: | debian mythweb |
| Cc: | Ticket locked: | no |
Description
my password to mysql contains a forward slash and when I try and install the mythweb debian package, it fails during postinst with:
sed: -e expression #1, char 209: unknown option to `s'
this is due to the string containing a / which interferes with sed's regex
s/^.*\(setenv\sdb_password\s\+\"\).*\"/\t\1$mythtv_password\"/g;
password should probably be escaped prior to using with sed. patch to follow
Attachments (1)
Change History (2)
by , 10 years ago
| Attachment: | mythweb.postinst.patch added |
|---|
comment:1 by , 6 years ago
| Resolution: | → Unverified |
|---|---|
| Status: | new → closed |
Closing all old tickets in trac.
If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues
and reference the existing trac ticket.
Note:
See TracTickets
for help on using tickets.

escape the password string before using in sed replace