Bug #2790
Hylafax: after migration faxes can't be sent or received
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-hylafax | |||
Target version: | v6.5 | |||
Security class: | Resolution: | |||
Affected version: | v6.5-final | NEEDINFO: | No |
Description
If the original backup contains seqf
files with the wrong owner (root), Hylafax can't receive and send faxes after migration.
The quick fix is:
chown uucp:uucp /var/spool/hylafax/docq/seqf chown uucp:uucp /var/spool/hylafax/recvq/seqf chown uucp:uucp /var/spool/hylafax/sendq/seqf chown uucp:uucp /var/spool/hylafax/log/seqf
These commands must be added to hylafax migration action: /etc/e-smith/events/actions/nethserver-hylafax-migrate
Associated revisions
Migration: fix sqf permission. Refs #2790
Migration: fix recvq perission. Refs #2790
History
#1 Updated by Giacomo Sanchietti about 7 years ago
- Status changed from NEW to TRIAGED
- Target version set to v6.5
- % Done changed from 0 to 20
#2 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from TRIAGED to ON_DEV
- % Done changed from 20 to 30
- Affected version changed from v6.5 to v6.5-final
#3 Updated by Giacomo Sanchietti almost 7 years ago
- Assignee set to Giacomo Sanchietti
#4 Updated by Giacomo Sanchietti almost 7 years ago
- Description updated (diff)
#5 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#6 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
Package in nethserver-testing:
- nethserver-hylafax-1.0.7-1.0git78ca0800.ns6.src.rpm
Test case
Create a fake migration set using the script below (or exploding an old backup):
DDIR="/home/e-smith/fax/docs" MDIR="/var/lib/nethserver/migrate" mkdir -p $MDIR/$DDIR/{sent,received,sentm} mkdir -p $MDIR/home/e-smith/hylafax/{log,sendq,docq,info,recvq} echo 1 > $MDIR/home/e-smith/hylafax/log/seqf echo 2 > $MDIR/home/e-smith/hylafax/sendq/seqf echo 3 > $MDIR/home/e-smith/hylafax/docq/seqf echo 4 > $MDIR/home/e-smith/hylafax/recvq/seqf mkdir -p /var/lib/nethserver/migrate/home/e-smith/db/ echo "hylafax=configuration|AreaNumber|0000|Auth|both|ClientShowReceived|enabled|CountryCode|39|DateFormat|DMY|Debug|disabled|DispatchFileType|pdf|FaxDevice|iax|FaxName|Ranocchi|FaxNumber|4455|InternationalPrefix|00|Lang|en_US|LongDistance|0|Mail2Fax|disabled|Mode|both|NotifyFileType|pdf|NotifyMaster|never|PBXPrefix||PaperSize|A4|PrinterDriver|ljet4|PrinterName|disabled|Resolution|196|RingsBeforeAnswer|1|SambaFax|enabled|SambaFaxName|SambaFax|SendReport|FaxMaster|SendTo|faxmaster|WaitDialTone|enabled" > /var/lib/nethserver/migrate/home/e-smith/db/configuration
Execute the migration action:
/etc/e-smith/events/actions/nethserver-hylafax-migrate migratation-import /var/lib/nethserver/migrateCheck following files are owned by uucp user and group:
- /var/spool/hylafax/docq/seqf
- /var/spool/hylafax/recvq/seqf
- /var/spool/hylafax/sendq/seqf
- /var/spool/hylafax/log/seqf
#7 Updated by Davide Principi almost 7 years ago
- Assignee set to Davide Principi
#8 Updated by Davide Principi almost 7 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Davide Principi) - % Done changed from 70 to 90
#9 Updated by Davide Principi almost 7 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
In nethserver-updates:
nethserver-hylafax-1.0.8-1.ns6.noarch.rpm